[libfurl-perl] 01/01: Initial packaging.

Jonas Smedegaard dr at jones.dk
Fri May 30 22:08:11 UTC 2014


This is an automated email from the git hooks/post-receive script.

js pushed a commit to branch master
in repository libfurl-perl.

commit 47fe7e9ff25740a891a059d24f69dc24f3c0f56a
Author: Jonas Smedegaard <dr at jones.dk>
Date:   Sat May 31 00:00:05 2014 +0200

    Initial packaging.
---
 .gitignore                                       |   1 +
 debian/README.source                             |  11 ++
 debian/changelog                                 |   6 ++
 debian/compat                                    |   1 +
 debian/control                                   |  45 ++++++++
 debian/control.in                                |  21 ++++
 debian/copyright                                 |  54 ++++++++++
 debian/copyright_hints                           | 127 +++++++++++++++++++++++
 debian/gbp.conf                                  |   8 ++
 debian/patches/1001_relax_timeout_errormsg.patch |  11 ++
 debian/patches/README                            |   3 +
 debian/patches/series                            |   1 +
 debian/rules                                     |  55 ++++++++++
 debian/source/format                             |   1 +
 debian/watch                                     |   4 +
 15 files changed, 349 insertions(+)

diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..b408e6c
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+/.pc
diff --git a/debian/README.source b/debian/README.source
new file mode 100644
index 0000000..f88449e
--- /dev/null
+++ b/debian/README.source
@@ -0,0 +1,11 @@
+CDBS+git-buildpackage
+---------------------
+
+This source package uses CDBS and git-buildpackage.  NMUs need not (but
+are encouraged to) make special use of these tools.  In particular, the
+debian/control.in file can be completely ignored.
+
+More info here: http://wiki.debian.org/CDBS+git-buildpackage
+
+
+ -- Jonas Smedegaard <dr at jones.dk>  Mon, 18 Feb 2013 12:55:37 +0100
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..f8959ea
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,6 @@
+libfurl-perl (3.02-1) unstable; urgency=low
+
+  * Initial Release.
+    Closes: bug#749085.
+
+ -- Jonas Smedegaard <dr at jones.dk>  Fri, 30 May 2014 23:59:46 +0200
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..45a4fb7
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+8
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..67f4c0f
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,45 @@
+Source: libfurl-perl
+Section: perl
+Priority: optional
+Build-Depends: cdbs,
+ devscripts,
+ perl,
+ debhelper,
+ dh-buildinfo,
+ perl (>= 5.13.10) | libcpan-meta-perl,
+ perl (>= 5.13.11) | libmodule-build-perl (>= 0.38),
+ perl (<< 5.19.0) | libmodule-build-perl (>= 0.38),
+ libclass-accessor-lite-perl,
+ libhttp-parser-xs-perl (>= 0.11),
+ libtest-requires-perl,
+ libtest-tcp-perl,
+ perl (>= 5.13.4) | libtest-simple-perl (>= 0.96),
+ libhttp-proxy-perl,
+ libplack-perl,
+ libtest-fake-httpd-perl,
+ libtest-sharedfork-perl,
+ liburi-perl,
+ libtest-valgrind-perl,
+ libplack-middleware-deflater-perl,
+ libio-callback-perl,
+ starlet,
+ libhttp-cookiejar-perl,
+ libio-socket-ssl-perl,
+ libnet-idn-encode-perl
+Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
+Uploaders: Jonas Smedegaard <dr at jones.dk>
+Standards-Version: 3.9.5
+Vcs-Git: git://anonscm.debian.org/pkg-perl/packages/libfurl-perl
+Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/libfurl-perl.git
+Homepage: https://github.com/tokuhirom/Furl
+
+Package: libfurl-perl
+Architecture: all
+Depends: ${perl:Depends}, ${misc:Depends}, ${cdbs:Depends}
+Recommends: ${cdbs:Recommends}
+Suggests: ${cdbs:Suggests}
+Description: lightning-fast URL fetcher
+ Furl is yet another HTTP client library.  LWP is the de facto standard
+ HTTP client for Perl 5, but it is too slow for some critical jobs, and
+ too complex for weekend hacking.  Furl resolves these issues.  Enjoy
+ it!
diff --git a/debian/control.in b/debian/control.in
new file mode 100644
index 0000000..8960d1d
--- /dev/null
+++ b/debian/control.in
@@ -0,0 +1,21 @@
+Source: libfurl-perl
+Section: perl
+Priority: optional
+Build-Depends: @cdbs@
+Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
+Uploaders: Jonas Smedegaard <dr at jones.dk>
+Standards-Version: 3.9.5
+Vcs-Git: git://anonscm.debian.org/pkg-perl/packages/libfurl-perl
+Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/libfurl-perl.git
+Homepage: https://github.com/tokuhirom/Furl
+
+Package: libfurl-perl
+Architecture: all
+Depends: ${perl:Depends}, ${misc:Depends}, ${cdbs:Depends}
+Recommends: ${cdbs:Recommends}
+Suggests: ${cdbs:Suggests}
+Description: lightning-fast URL fetcher
+ Furl is yet another HTTP client library.  LWP is the de facto standard
+ HTTP client for Perl 5, but it is too slow for some critical jobs, and
+ too complex for weekend hacking.  Furl resolves these issues.  Enjoy
+ it!
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..86c5cde
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,54 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: Furl
+Upstream-Contact: https://github.com/tokuhirom/Furl/issues
+Source: http://www.cpan.org/authors/id/T/TO/TOKUHIROM
+ git://github.com/tokuhirom/Furl
+
+Files: *
+Copyright: Tokuhiro Matsuno <tokuhirom at gmail.com>
+License: Artistic or GPL-1+
+ License:
+ .
+ This library is free software; you can redistribute it and/or modify it
+ under the same terms as Perl itself.
+ .
+ Comment:
+ .
+ Perl 5 is licensed under either the 'Artistic license' or the 'GNU
+ General Public License' version 1 or later.
+
+Files: debian/*
+Copyright: 2014, Jonas Smedegaard <dr at jones.dk>
+License: GPL-3+
+
+Files: debian/patches/*
+Copyright: 2014, Jonas Smedegaard <dr at jones.dk>
+License: Artistic or GPL-1+
+
+License: Artistic
+ Comment:
+ .
+ On Debian systems the 'Artistic License' is located in
+ '/usr/share/common-licenses/Artistic'.
+
+License: GPL-1+
+ Comment:
+ .
+ On Debian systems the 'GNU General Public License' version 1 is located
+ in '/usr/share/common-licenses/GPL-1'.
+
+License: GPL-3+
+ 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 3 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.
+ .
+ Comment:
+ .
+ On Debian systems the 'GNU General Public License' version 3 is located
+ in '/usr/share/common-licenses/GPL-3'.
diff --git a/debian/copyright_hints b/debian/copyright_hints
new file mode 100644
index 0000000..ef11820
--- /dev/null
+++ b/debian/copyright_hints
@@ -0,0 +1,127 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: FIXME
+Upstream-Contact: FIXME
+Source: FIXME
+Disclaimer: Autogenerated by CDBS
+
+Files: Build.PL
+ Changes
+ MANIFEST
+ META.json
+ META.yml
+ TODO
+ author/benchmark/byown.pl
+ author/benchmark/note.mkdn
+ author/benchmark/profile.pl
+ author/benchmark/simple.pl
+ author/mk-chunked-response.pl
+ cpanfile
+ debian/README.source
+ debian/compat
+ debian/control
+ debian/control.in
+ debian/patches/1001_relax_timeout_errormsg.patch
+ debian/patches/README
+ debian/patches/series
+ debian/source/format
+ debian/watch
+ example/get.pl
+ lib/Furl/ConnectionCache.pm
+ lib/Furl/Headers.pm
+ lib/Furl/Request.pm
+ lib/Furl/Response.pm
+ lib/Furl/ZlibStream.pm
+ t/00_compile.t
+ t/01_version.t
+ t/100_low/01_simple.t
+ t/100_low/03_redirect.t
+ t/100_low/04_chunked.t
+ t/100_low/05_slowloris.t
+ t/100_low/06_errors.t
+ t/100_low/07_timeout.t
+ t/100_low/08_proxy.t
+ t/100_low/09_body.t
+ t/100_low/11_write_file.t
+ t/100_low/12_write_code.t
+ t/100_low/13_deflate.t
+ t/100_low/15_multiline_header.t
+ t/100_low/16_read_callback.t
+ t/100_low/17_keep_alive.t
+ t/100_low/18_no_proxy.t
+ t/100_low/19_special_headers.t
+ t/100_low/20_header_format_none.t
+ t/100_low/21_keep_alive_timedout.t
+ t/100_low/22_keep_alive_http10.t
+ t/100_low/23_redirect_relative.t
+ t/100_low/24_no_content.t
+ t/100_low/25_signal.t
+ t/100_low/26_headers_only.t
+ t/100_low/27_close_on_eof.t
+ t/100_low/28_idn.t
+ t/100_low/29_completion_slash.t
+ t/100_low/30_user_agent.t
+ t/100_low/31_chunked_unexpected_eof.t
+ t/100_low/32_proxy_auth.t
+ t/100_low/33_basic_auth.t
+ t/100_low/34_keep_request.t
+ t/100_low/35_get_address.t
+ t/100_low/36_inactivity_timeout.t
+ t/300_high/01_simple.t
+ t/300_high/02_agent.t
+ t/300_high/04_http_request.t
+ t/300_high/05_suppress_dup_host_header.t
+ t/300_high/06_keep_request.t
+ t/300_high/07_cookie.t
+ t/300_high/99_error.t
+ t/400_components/001_response-coding/01-file.t
+ t/400_components/001_response-coding/t-euc-jp.html
+ t/400_components/001_response-coding/t-iso-2022-jp.html
+ t/400_components/001_response-coding/t-null.html
+ t/400_components/001_response-coding/t-shiftjis.html
+ t/400_components/001_response-coding/t-utf-8.html
+ t/400_components/01_headers.t
+ t/400_components/02_response.t
+ t/400_components/03_request.t
+ t/800_regression/01_capture_request.t
+ t/999_intrenal/parse_url.t
+ t/HTTPServer.pm
+ t/Slowloris.pm
+ t/Util.pm
+ xt/02_perlcritic.t
+ xt/04_leaktrace.t
+ xt/05_valgrind.t
+ xt/200_online/01_idn.t
+ xt/200_online/02_google.t
+ xt/200_online/03_yahoo_com.t
+ xt/200_online/04_ssl.t
+ xt/200_online/05_connect_error.t
+ xt/200_online/06_net-dns-lite.t
+ xt/200_online/07_ssl_shutdown.t
+ xt/perlcriticrc
+Copyright: *No copyright*
+License: UNKNOWN
+ FIXME
+
+Files: README.md
+ lib/Furl.pm
+ lib/Furl/HTTP.pm
+Copyright: Tokuhiro Matsuno
+License: UNKNOWN
+ FIXME
+
+Files: debian/rules
+Copyright: 2014, Jonas Smedegaard <dr at jones.dk>
+License: GPL-3+
+ FIXME
+
+Files: LICENSE
+Copyright: 1989, Free Software Foundation, Inc
+  19xx name of author
+  19yy <name of author>
+  2013, unknown
+  disclaimer" for the program, if
+  interest in the
+  the software, and
+License: GPL-ever
+ FIXME
+
diff --git a/debian/gbp.conf b/debian/gbp.conf
new file mode 100644
index 0000000..790a2f9
--- /dev/null
+++ b/debian/gbp.conf
@@ -0,0 +1,8 @@
+# Configuration file for git-buildpackage and friends
+
+[DEFAULT]
+pristine-tar = True
+sign-tags = True
+
+[git-import-orig]
+filter = .gitignore
diff --git a/debian/patches/1001_relax_timeout_errormsg.patch b/debian/patches/1001_relax_timeout_errormsg.patch
new file mode 100644
index 0000000..90f0c2a
--- /dev/null
+++ b/debian/patches/1001_relax_timeout_errormsg.patch
@@ -0,0 +1,11 @@
+--- a/t/100_low/07_timeout.t
++++ b/t/100_low/07_timeout.t
+@@ -55,7 +55,7 @@
+                 );
+             my $elapsed = time - $start_at;
+             is $code, 500, "request()/$_";
+-            like $msg, qr/Internal Response: Failed to send content: timeout/;
++            like $msg, qr/Internal Response: ([^:]+): timeout/;
+             is ref($headers), "ARRAY";
+             is Plack::Util::header_get($headers, 'X-Internal-Response'), 1;
+             ok $content, 'content: ' . $content;
diff --git a/debian/patches/README b/debian/patches/README
new file mode 100644
index 0000000..80c1584
--- /dev/null
+++ b/debian/patches/README
@@ -0,0 +1,3 @@
+0xxx: Grabbed from upstream development.
+1xxx: Possibly relevant for upstream adoption.
+2xxx: Only relevant for official Debian release.
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..71c6ed1
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+1001_relax_timeout_errormsg.patch
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..2dd5517
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,55 @@
+#!/usr/bin/make -f
+# -*- mode: makefile; coding: utf-8 -*-
+# Copyright © 2014 Jonas Smedegaard <dr at jones.dk>
+# Description: Main Debian packaging script for Furl
+#
+# 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 3, 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 program.  If not, see <http://www.gnu.org/licenses/>.
+
+include /usr/share/cdbs/1/rules/upstream-tarball.mk
+include /usr/share/cdbs/1/rules/utils.mk
+include /usr/share/cdbs/1/class/perl-build.mk
+include /usr/share/cdbs/1/rules/debhelper.mk
+
+pkg = $(DEB_SOURCE_PACKAGE)
+
+DEB_UPSTREAM_PACKAGE = Furl
+DEB_UPSTREAM_URL = http://www.cpan.org/authors/id/T/TO/TOKUHIROM
+
+# Needed by upstream build
+bdeps = perl (>= 5.13.10) | libcpan-meta-perl
+bdeps +=, perl (>= 5.13.11) | libmodule-build-perl (>= 0.38)
+bdeps +=, perl (<< 5.19.0) | libmodule-build-perl (>= 0.38)
+
+# Needed by upstream build and (always) at runtime
+deps = libclass-accessor-lite-perl
+deps +=, libhttp-parser-xs-perl (>= 0.11)
+
+# Needed (optionally) by upstream testsuite and (often/seldom) at runtime
+deps-test-opt-recommend = libhttp-cookiejar-perl, libio-socket-ssl-perl
+deps-test-opt-recommend +=, libnet-idn-encode-perl
+deps-test-opt-suggest = libhttp-message-perl
+
+# Needed (always/optionally) by upstream testsuite
+deps-test = libtest-requires-perl, libtest-tcp-perl
+deps-test +=, perl (>= 5.13.4) | libtest-simple-perl (>= 0.96)
+perl-deps-test-opt = http-proxy plack test-fake-httpd test-sharedfork uri
+perl-deps-test-opt += test-valgrind plack-middleware-deflater io-callback
+deps-test-opt = $(patsubst %,$(comma) lib%-perl,$(perl-deps-test-opt))
+deps-test-opt +=, starlet
+
+CDBS_BUILD_DEPENDS +=, $(bdeps), $(deps), $(deps-test)
+CDBS_BUILD_DEPENDS +=, $(deps-test-opt), $(deps-test-opt-recommend)
+CDBS_DEPENDS_$(pkg) = $(deps)
+CDBS_RECOMMENDS_$(pkg) = $(deps-test-opt-recommend)
+CDBS_SUGGESTS_$(pkg) = $(deps-test-opt-suggest)
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..46ebe02
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
\ No newline at end of file
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..1d7fbdd
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,4 @@
+# Run the "uscan" command to check for upstream updates and more.
+version = 3
+https://metacpan.org/release/Furl .*/Furl-([\d.]+)\.tar\.gz
+http://www.cpan.org/authors/id/T/TO/TOKUHIROM/Furl-([\d.]+)\.tar\.gz

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libfurl-perl.git



More information about the Pkg-perl-cvs-commits mailing list