From 942a011ae749f52fa79c154739c1f5b997834aa6 Mon Sep 17 00:00:00 2001 From: Pirate Praveen Date: Thu, 6 Apr 2017 12:57:30 +0530 Subject: [PATCH] Import Debian patch 0.6.1-1 --- debian/changelog | 5 +++++ debian/compat | 1 + debian/control | 25 +++++++++++++++++++++++++ debian/copyright | 35 +++++++++++++++++++++++++++++++++++ debian/ruby-rack-proxy.docs | 1 + debian/ruby-tests.rake | 6 ++++++ debian/rules | 6 ++++++ debian/source/format | 1 + debian/watch | 2 ++ 9 files changed, 82 insertions(+) create mode 100644 debian/changelog create mode 100644 debian/compat create mode 100644 debian/control create mode 100644 debian/copyright create mode 100644 debian/ruby-rack-proxy.docs create mode 100644 debian/ruby-tests.rake create mode 100755 debian/rules create mode 100644 debian/source/format create mode 100644 debian/watch diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..f31ad18 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +ruby-rack-proxy (0.6.1-1) UNRELEASED; urgency=medium + + * Initial release (Closes: #nnnn) + + -- Pirate Praveen Thu, 06 Apr 2017 12:57:30 +0530 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..ec63514 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +9 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..42f76e2 --- /dev/null +++ b/debian/control @@ -0,0 +1,25 @@ +Source: ruby-rack-proxy +Section: ruby +Priority: optional +Maintainer: Debian Ruby Extras Maintainers +Uploaders: Pirate Praveen +Build-Depends: debhelper (>= 9~), + gem2deb, + rake, + ruby-rack +Standards-Version: 3.9.8 +Vcs-Git: https://anonscm.debian.org/git/pkg-ruby-extras/ruby-rack-proxy.git +Vcs-Browser: https://anonscm.debian.org/cgit/pkg-ruby-extras/ruby-rack-proxy.git +Homepage: http://rubygems.org/gems/rack-proxy +Testsuite: autopkgtest-pkg-ruby +XS-Ruby-Versions: all + +Package: ruby-rack-proxy +Architecture: all +XB-Ruby-Versions: ${ruby:Versions} +Depends: ruby | ruby-interpreter, + ruby-rack, + ${misc:Depends}, + ${shlibs:Depends} +Description: A request/response rewriting HTTP proxy. A Rack app. + A Rack app that provides request/response rewriting proxy capabilities with streaming. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..a6e86bf --- /dev/null +++ b/debian/copyright @@ -0,0 +1,35 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: rack-proxy +Source: http://rubygems.org/gems/rack-proxy + +Files: * +Copyright: + +License: GPL-2+ (FIXME) + +Files: debian/* +Copyright: 2017 Pirate Praveen +License: GPL-2+ (FIXME) +Comment: the Debian packaging is licensed under the same terms as the original package. + +License: GPL-2+ (FIXME) + This program is free software; you can redistribute it + and/or modify it under the terms of the GNU General Public + License as published by the Free Software Foundation; either + version 2 of the License, or (at your option) any later + version. + . + This program is distributed in the hope that it will be + useful, but WITHOUT ANY WARRANTY; without even the implied + warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR + PURPOSE. See the GNU General Public License for more + details. + . + You should have received a copy of the GNU General Public + License along with this package; if not, write to the Free + Software Foundation, Inc., 51 Franklin St, Fifth Floor, + Boston, MA 02110-1301 USA + . + On Debian systems, the full text of the GNU General Public + License version 2 can be found in the file + `/usr/share/common-licenses/GPL-2'. diff --git a/debian/ruby-rack-proxy.docs b/debian/ruby-rack-proxy.docs new file mode 100644 index 0000000..b43bf86 --- /dev/null +++ b/debian/ruby-rack-proxy.docs @@ -0,0 +1 @@ +README.md diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake new file mode 100644 index 0000000..63f3fd6 --- /dev/null +++ b/debian/ruby-tests.rake @@ -0,0 +1,6 @@ +require 'gem2deb/rake/testtask' + +Gem2Deb::Rake::TestTask.new do |t| + t.libs = ['test'] + t.test_files = FileList['test/**/*_test.rb'] + FileList['test/**/test_*.rb'] +end diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..3454d59 --- /dev/null +++ b/debian/rules @@ -0,0 +1,6 @@ +#!/usr/bin/make -f + +export GEM2DEB_TEST_RUNNER = --check-dependencies + +%: + dh $@ --buildsystem=ruby --with ruby diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..8d1285f --- /dev/null +++ b/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://pkg-ruby-extras.alioth.debian.org/cgi-bin/gemwatch/rack-proxy .*/rack-proxy-(.*).tar.gz