diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..89df789 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +libhttp-message-perl (6.36-ok1) yangtze; urgency=medium + + * Initial release. + + -- Luoyaoming Thu, 22 Sep 2022 09:49:17 +0800 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..35f6544 --- /dev/null +++ b/debian/control @@ -0,0 +1,45 @@ +Source: libhttp-message-perl +Maintainer: Openkylin Developers +Uploaders: Luo Yaoming +Section: perl +Testsuite: autopkgtest-pkg-perl +Priority: optional +Build-Depends: debhelper-compat (= 13) +Build-Depends-Indep: libclone-perl , + libencode-locale-perl , + libencode-perl (>= 3.01) , + libhttp-date-perl , + libio-html-perl , + liblwp-mediatypes-perl , + libtry-tiny-perl , + liburi-perl , + perl +Standards-Version: 4.6.0 +Vcs-Browser: https://gitee/openkylin/libhttp-message-perl +Vcs-Git: https://gitee/openkylin/libhttp-message-perl.git +Homepage: https://metacpan.org/release/HTTP-Message +Rules-Requires-Root: no + +Package: libhttp-message-perl +Architecture: all +Depends: ${misc:Depends}, + ${perl:Depends}, + libencode-locale-perl, + libencode-perl (>= 3.01), + libhttp-date-perl, + libio-html-perl, + liblwp-mediatypes-perl, + liburi-perl +Recommends: libclone-perl +Description: perl interface to HTTP style messages + The HTTP::Message distribution contains classes useful for representing the + messages passed in HTTP style communication. These are classes representing + requests, responses and the headers contained within them. + . + The HTTP::Headers class encapsulates HTTP-style message headers. The headers + consist of attribute-value pairs also called fields, which may be repeated, + and which are printed in a particular order. The field names are cases + insensitive. + . + Instances of this class are usually created as member variables of the + HTTP::Request and HTTP::Response classes, internal to the library. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..87ffb80 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,28 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: HTTP-Message +Source: https://metacpan.org/release/HTTP-Message +Upstream-Contact: Karen Etheridge + +Files: * +Copyright: 1994, Gisle Aas +License: Artistic or GPL-1+ + +Files: debian/* +Copyright: 2022, Openkylin Developers +License: Artistic or GPL-1+ + +License: Artistic + This program is free software; you can redistribute it and/or modify + it under the terms of the Artistic License, which comes with Perl. + . + On Debian systems, the complete text of the Artistic License can be + found in `/usr/share/common-licenses/Artistic'. + +License: GPL-1+ + 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 1, or (at your option) + any later version. + . + On Debian systems, the complete text of version 1 of the GNU General + Public License can be found in `/usr/share/common-licenses/GPL-1'. diff --git a/debian/libhttp-message-perl.docs b/debian/libhttp-message-perl.docs new file mode 100644 index 0000000..a1892e3 --- /dev/null +++ b/debian/libhttp-message-perl.docs @@ -0,0 +1 @@ +CONTRIBUTING.md diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..af86aff --- /dev/null +++ b/debian/rules @@ -0,0 +1,12 @@ +#!/usr/bin/make -f + +PACKAGE = $(shell dh_listpackages) +TMP = $(CURDIR)/debian/$(PACKAGE) + +%: + dh $@ + +override_dh_auto_install: + dh_auto_install + $(RM) -v $(TMP)/usr/share/man/man3/HTTP::Headers::Auth.3pm \ + $(TMP)/usr/share/man/man3/HTTP::Headers::ETag.3pm 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/upstream/metadata b/debian/upstream/metadata new file mode 100644 index 0000000..3b7a790 --- /dev/null +++ b/debian/upstream/metadata @@ -0,0 +1,6 @@ +--- +Archive: CPAN +Bug-Database: https://github.com/libwww-perl/HTTP-Message/issues +Repository: https://github.com/libwww-perl/HTTP-Message.git +Repository-Browse: https://github.com/libwww-perl/HTTP-Message +Bug-Submit: https://github.com/libwww-perl/HTTP-Message/issues/new diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..5d18517 --- /dev/null +++ b/debian/watch @@ -0,0 +1,2 @@ +version=4 +https://metacpan.org/release/HTTP-Message .*/HTTP-Message-v?@ANY_VERSION@@ARCHIVE_EXT@$