diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..05a2939 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +libemail-address-xs-perl (1.05-ok1) yangtze; urgency=medium + + * Build for openkylin. + + -- sufang Tue, 20 Sep 2022 15:00:58 +0800 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..fdaad72 --- /dev/null +++ b/debian/control @@ -0,0 +1,30 @@ +Source: libemail-address-xs-perl +Section: perl +Priority: optional +Maintainer: OpenKylin Developers +Build-Depends: debhelper-compat (= 13), + perl-xs-dev, + perl:native +Standards-Version: 4.6.1 +Vcs-Browser: https://gitee.com/openkylin/libemail-address-xs-perl +Vcs-Git: https://gitee.com/openkylin/libemail-address-xs-perl.git +Homepage: https://metacpan.org/release/Email-Address-XS +Rules-Requires-Root: no +Testsuite: autopkgtest-pkg-perl + +Package: libemail-address-xs-perl +Architecture: any +Depends: ${misc:Depends}, + ${perl:Depends}, + ${shlibs:Depends} +Description: Perl library for RFC 5322 address/group parsing and formatting + Email::Address::XS implements RFC 5322 parser and formatter of email + addresses and groups. It parses an input string from email headers which + contain a list of email addresses or a groups of email addresses (like From, + To, Cc, Bcc, Reply-To, Sender, ...). Also it can generate a string value for + those headers from a list of email addresses objects. + . + Parser and formatter functionality is implemented in XS and uses shared code + from Dovecot IMAP server. + . + It is a drop-in replacement for the Email::Address module. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..c32de69 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,63 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: libemail-address-xs-perl +Source: +# +# Please double check copyright with the licensecheck(1) command. + +Files: Changes + MANIFEST + META.json + META.yml + Makefile.PL + dovecot-parser.h +Copyright: __NO_COPYRIGHT_NOR_LICENSE__ +License: __NO_COPYRIGHT_NOR_LICENSE__ + +Files: Email-Address-XS.xs + lib/Email/Address/XS.pm + t/taint-Email-Address-XS.t +Copyright: 2015-2018 Pali +License: __NO_LICENSE__ + +Files: dovecot-parser.c +Copyright: 2002-2018 Dovecot authors + 2015-2018 Pali +License: Expat + Permission is hereby granted, free of charge, to any person obtaining a + copy of this software and associated documentation files (the "Software"), + to deal in the Software without restriction, including without limitation + the rights to use, copy, modify, merge, publish, distribute, sublicense, + and/or sell copies of the Software, and to permit persons to whom the + Software is furnished to do so, subject to the following conditions: + . + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + . + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER + DEALINGS IN THE SOFTWARE. + +Files: README +Copyright: 2015-2018 Pali + AND LICENCE +License: __UNKNOWN__ + This library is free software; you can redistribute it and/or modify + it under the same terms as Perl itself, either Perl version 5.6.0 or, + at your option, any later version of Perl 5 you may have available. + . + Dovecot parser is licensed under The MIT License and copyrighted by + Dovecot authors. + +Files: t/Email-Address-XS.t +Copyright: 2015-2018 Pali +License: __UNKNOWN__ + Before `make install' is performed this script should be runnable with + `make test'. After `make install' it should work as `perl Email-Address-XS.t' + +#---------------------------------------------------------------------------- +# Files marked as NO_LICENSE_TEXT_FOUND may be covered by the following +# license/copyright files. diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..4a97dfa --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +# You must remove unused comment lines for the released package. diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..d8309f6 --- /dev/null +++ b/debian/rules @@ -0,0 +1,6 @@ +#!/usr/bin/make -f + +export DEB_BUILD_MAINT_OPTIONS = hardening=+all + +%: + dh $@ 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..31c9cca --- /dev/null +++ b/debian/upstream/metadata @@ -0,0 +1,6 @@ +--- +Archive: CPAN +Bug-Database: https://github.com/pali/Email-Address-XS/issues +Bug-Submit: https://github.com/pali/Email-Address-XS/issues/new +Repository: https://github.com/pali/Email-Address-XS.git +Repository-Browse: https://github.com/pali/Email-Address-XS diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..6e8108d --- /dev/null +++ b/debian/watch @@ -0,0 +1,2 @@ +version=4 +https://metacpan.org/release/Email-Address-XS .*/Email-Address-XS-v?@ANY_VERSION@@ARCHIVE_EXT@$