summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDominic Hargreaves <dom@earth.li>2021-02-10 22:50:05 +0100
committerDominic Hargreaves <dom@earth.li>2021-02-10 22:50:05 +0100
commit913c723d33fa382d911cb17c41a7478a0423b4d2 (patch)
tree191ebf5e688b288fab9393c7f26716c4d0328562
parentfc8114aea66ceaa97fe08e11fc4868c54913143e (diff)
parent2e1570e2c8f5034e265143d4fe13457273bc085a (diff)
libgnupg-interface-perl (1.01-2) unstable; urgency=high
* Explicitly specify path to gpg to avoid taint mode problems (Closes: #981647) [dgit import unpatched libgnupg-interface-perl 1.01-2]
-rw-r--r--debian/changelog591
-rw-r--r--debian/clean7
-rw-r--r--debian/control41
-rw-r--r--debian/copyright53
-rw-r--r--debian/patches/detect-taint-mode36
-rw-r--r--debian/patches/hardcode-path31
-rw-r--r--debian/patches/series6
-rw-r--r--debian/patches/test-allow-interface-to-fail26
-rw-r--r--debian/patches/test-dummy-binaries65
-rw-r--r--debian/patches/test-gnupg118
-rw-r--r--debian/patches/test_reset_version_on_call_change42
-rwxr-xr-xdebian/rules12
-rw-r--r--debian/source/format1
-rw-r--r--debian/source/lintian-overrides2
-rw-r--r--debian/tests/pkg-perl/smoke-env2
-rw-r--r--debian/tests/pkg-perl/smoke-files2
-rwxr-xr-xdebian/tests/pkg-perl/smoke-setup5
-rw-r--r--debian/upstream/metadata5
-rw-r--r--debian/watch2
19 files changed, 947 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..d144493
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,591 @@
+libgnupg-interface-perl (1.01-2) unstable; urgency=high
+
+ * Explicitly specify path to gpg to avoid taint mode problems
+ (Closes: #981647)
+
+ -- Dominic Hargreaves <dom@earth.li> Wed, 10 Feb 2021 21:50:05 +0000
+
+libgnupg-interface-perl (1.01-1) unstable; urgency=medium
+
+ * Team upload.
+ * New upstream release.
+ * Update patches to reflect merging of some patches upstream.
+ * Bump standards version to 4.5.1.
+
+ -- Andrew Ruthven <andrew@etc.gen.nz> Thu, 28 Jan 2021 22:29:06 +1300
+
+libgnupg-interface-perl (1.00-2) unstable; urgency=medium
+
+ * Team upload.
+
+ [ Andrew Ruthven ]
+ * Test against both gpg v1 and v2.
+ * Add patch to update GPG version if program is changed. (Closes: #964879)
+ * Add patch so that trying to run gnupg in t/Interfaces.t doesn't
+ cause a warning to be displayed.
+ * Add patch to allow GnuPG::Interface to work in Taint mode. (Closes: #964878)
+ * Produce a t/taint.t file that can be sent upstream.
+
+ [ gregor herrmann ]
+ * Add debian/tests/pkg-perl/smoke-setup to make dummy scripts executable
+ during autopkgtests like we do in debian/rules for the build tests.
+
+ -- gregor herrmann <gregoa@debian.org> Fri, 24 Jul 2020 14:22:25 +0200
+
+libgnupg-interface-perl (1.00-1) unstable; urgency=medium
+
+ * Team upload.
+
+ [ Debian Janitor ]
+ * Update standards version to 4.4.1, no changes needed.
+
+ [ gregor herrmann ]
+ * debian/watch: use uscan version 4.
+
+ [ Debian Janitor ]
+ * Update standards version to 4.5.0, no changes needed.
+
+ [ Salvatore Bonaccorso ]
+ * New upstream version 1.00
+
+ [ Andrew Ruthven ]
+ * Remove patches no longer needed due to being included in version 1.00:
+ - 0002-Generalize-the-test-suite.patch
+ - 0003-subkey-validity-of-an-key-when-we-have-established-n.patch
+ - 0004-ensure-that-test-covers-all-signatures.patch
+ - 0006-Modern-GnuPG-2.1-reports-more-detail-about-secret-ke.patch
+ - 0007-test-suite-match-plaintext-output-across-versions-of.patch
+ - 0008-fix-test_default_key_passphrase-when-passphrase-come.patch
+ - 0009-clean-up-trailing-whitespace.patch
+ - 0010-fix-capitalization-of-GnuPG.patch
+ - 0011-ommand_args-should-be-command_args.patch
+ - 0012-use-fingerprints-as-inputs-during-tests-to-demonstra.patch
+ - 0013-move-key-files-to-generic-names.patch
+ - 0014-fix-spelling-s-convience-convenience.patch
+ - 0015-added-new-secret-key-with-different-passphrase.patch
+ - 0016-Test-use-of-gpg-without-explicit-passphrase-agent-pi.patch
+ - 0017-Kill-any-GnuPG-agent-before-and-after-the-test-suite.patch
+ - 0018-Use-a-short-temporary-homedir-during-the-test-suite.patch
+ - 0019-Make-things-work-with-gpg1-assuming-plain-gpg-is-mod.patch
+ * Remove patch as implemented upstream in a different way:
+ - 0005-add-gpg_is_modern-to-test-suite.patch
+ * Neither GnuPG 2.2.6 or 2.2.8 are in Debian any longer, remove patches:
+ - 0001-Fix-test-suite-for-GnuPG-2.2.6-compatibility.patch
+ - 0001-Fix-test-suite-for-GnuPG-2.2.8-compatibility.patch
+ * Update debian/copyright
+ * Add a debian/upstream/metadata file
+ * Bump debhelper-compat to 13.
+ * Fix dependency on gnupg to be gnupg | gnupg1.
+ * Limit build dependency on gnupg2 to >= 2.2.9.
+
+ [ gregor herrmann ]
+ * debian/rules: drop manual handling of $HOME.
+ debhelper 13 takes care of that automatically.
+ * Drop debian/tests/pkg-perl/smoke-setup.
+ Remove the same chmod as in debian/rules.
+ * Annotate test-only build dependencies with <!nocheck>.
+ * Run tests with LC_ALL=C.
+ t/list_secret_keys.t fails under non-English locales, even though it sets
+ LC_MESSAGES to C.
+ Thanks to reprotest.
+
+ -- gregor herrmann <gregoa@debian.org> Fri, 10 Jul 2020 17:13:05 +0200
+
+libgnupg-interface-perl (0.52-11) unstable; urgency=medium
+
+ [ gregor herrmann ]
+ * debian/*: replace ADTTMP with AUTOPKGTEST_TMP.
+
+ [ intrigeri ]
+ * Bump debhelper compat level to 12.
+ Accordingly, enable the embedded inc::Module::Install in dh_auto_configure.
+ * Explicitly list build and runtime dependencies provided by perl.
+ * Declare compliance with Debian policy 4.4.0.
+
+ -- intrigeri <intrigeri@debian.org> Mon, 30 Sep 2019 12:12:13 +0000
+
+libgnupg-interface-perl (0.52-10) unstable; urgency=medium
+
+ * Team upload.
+
+ [ Salvatore Bonaccorso ]
+ * Update Vcs-* headers for switch to salsa.debian.org
+
+ [ Niko Tyni ]
+ * Patch the test suite for GnuPG >= 2.2.8 compatibility.
+ (Closes: #900051)
+ * Update to debhelper compat level 10
+ * Update to Standards-Version 4.1.4
+ * Declare that the package does not need (fake)root to build
+
+ -- Niko Tyni <ntyni@debian.org> Fri, 29 Jun 2018 11:20:20 +0300
+
+libgnupg-interface-perl (0.52-9) unstable; urgency=medium
+
+ * upload to unstable
+
+ -- Daniel Kahn Gillmor <dkg@fifthhorseman.net> Sun, 28 May 2017 10:48:21 -0400
+
+libgnupg-interface-perl (0.52-8) experimental; urgency=medium
+
+ * enable working with gpg1 and in-band passwords
+
+ -- Daniel Kahn Gillmor <dkg@fifthhorseman.net> Fri, 26 May 2017 19:55:07 -0400
+
+libgnupg-interface-perl (0.52-7) experimental; urgency=medium
+
+ * Use temporary, short-path GNUPGHOME for test suites (Closes: #861591)
+
+ -- Daniel Kahn Gillmor <dkg@fifthhorseman.net> Fri, 26 May 2017 14:37:11 -0400
+
+libgnupg-interface-perl (0.52-6) experimental; urgency=medium
+
+ * more tweaks to test suite and use of passphrase (enables in-band
+ passphrases to work again, not just via fake-pinentry.pl)
+ See https://rt.cpan.org/Ticket/Display.html?id=102651 and
+ https://github.com/bestpractical/gnupg-interface/pull/1
+ * force dependency on gnupg package to version 2.1 or later due to use
+ of pinentry-mode=loopback.
+
+ -- Daniel Kahn Gillmor <dkg@fifthhorseman.net> Wed, 23 Nov 2016 13:58:40 -0500
+
+libgnupg-interface-perl (0.52-5) unstable; urgency=medium
+
+ * Team upload.
+ * Fix autopkgtest smoke tests:
+ - Add debian/tests/pkg-perl/smoke-setup.
+ Make test/fake-pinentry.pl executable.
+ - Add debian/tests/pkg-perl/smoke-env.
+ Set HOME, needed for one smoke test.
+ Closes: #838141
+
+ -- gregor herrmann <gregoa@debian.org> Sat, 17 Sep 2016 22:38:18 +0200
+
+libgnupg-interface-perl (0.52-4) unstable; urgency=medium
+
+ * move to debhelper 9
+ * bumped Standards-Version to 3.9.8 (no changes needed)
+ * remove switch to gpg1 (Closes: #835770)
+ * fix test suite so that it works with GnuPG 2.1 as well
+ * added myself to Uploaders
+
+ -- Daniel Kahn Gillmor <dkg@fifthhorseman.net> Wed, 14 Sep 2016 14:44:07 -0400
+
+libgnupg-interface-perl (0.52-3) unstable; urgency=medium
+
+ [ gregor herrmann ]
+ * Rename autopkgtest configuration file(s) as per new pkg-perl-
+ autopkgtest schema.
+
+ [ Salvatore Bonaccorso ]
+ * debian/control: Use HTTPS transport protocol for Vcs-Git URI
+
+ [ gregor herrmann ]
+ * debian/copyright: change Copyright-Format 1.0 URL to HTTPS.
+ * Remove Tim Retout from Uploaders. Thanks for your work!
+
+ [ intrigeri ]
+ * New patch: use GnuPG 1.x by default. (Closes: #834281)
+ * Update build and runtime dependency to pull in gnupg1: this is
+ the only well supported version at the moment.
+
+ -- intrigeri <intrigeri@debian.org> Thu, 25 Aug 2016 08:24:04 +0000
+
+libgnupg-interface-perl (0.52-2) unstable; urgency=medium
+
+ * Update copyright years for debian/* packaging files
+ * Create writable build HOME used for testsuite.
+ Fixes "FTBFS in sid: test failures". (Closes: #789828)
+
+ -- Salvatore Bonaccorso <carnil@debian.org> Tue, 30 Jun 2015 06:47:51 +0200
+
+libgnupg-interface-perl (0.52-1) unstable; urgency=medium
+
+ [ Salvatore Bonaccorso ]
+ * Remove Testsuite field (added automatically by dpkg in jessie)
+
+ [ gregor herrmann ]
+ * debian/tests/control: add stanza for new runtime-deps-and-recommends
+ tests.
+ * Rename debian/tests/test-files to debian/tests/pkg-perl/test-files.
+ * Drop debian/tests/control, add Testsuite field to debian/control
+ instead.
+
+ [ intrigeri ]
+ * Imported Upstream version 0.52
+ * Declare compliance with Standards-Version 3.9.6 (no change required).
+ * Clean debian/control with cme.
+ * Bump copyright years for debian/*.
+
+ -- intrigeri <intrigeri@debian.org> Mon, 27 Apr 2015 11:23:13 +0200
+
+libgnupg-interface-perl (0.50-3) unstable; urgency=medium
+
+ * Team upload
+ [ Salvatore Bonaccorso ]
+ * Update Vcs-Browser URL to cgit web frontend
+
+ [ David Bremner ]
+ * Add autopkgtest support
+
+ [ Salvatore Bonaccorso ]
+ * autopkgtest: Make script executable
+ * autopkgtest: Add shebang for tests/regression test
+ * autopkgtest: Also set explicitly set -e for the regression test script
+
+ [ gregor herrmann ]
+ * autopktest: add Depends to control file.
+ * autopkgtest: move tests to temporary directory and run them from there
+ to avoid (b)lib/ being used.
+
+ -- David Bremner <bremner@debian.org> Mon, 01 Sep 2014 11:43:16 -0700
+
+libgnupg-interface-perl (0.50-2) unstable; urgency=medium
+
+ * Drop Make-get_secret_keys-and-get_public_keys-methods-wor.patch:
+ neither upstream nor I can reproduce the bug it fixed anymore
+ (https://rt.cpan.org/Ticket/Display.html?id=62177).
+
+ -- intrigeri <intrigeri@debian.org> Mon, 31 Mar 2014 13:08:59 +0200
+
+libgnupg-interface-perl (0.50-1) unstable; urgency=medium
+
+ * Imported Upstream version 0.50
+ * Drop {build,runtime}-dependency on Moose, again.
+ * Do not install NEWS and THANKS: upstream does not ship it anymore.
+
+ -- intrigeri <intrigeri@debian.org> Fri, 14 Mar 2014 21:01:21 +0100
+
+libgnupg-interface-perl (0.49-1) unstable; urgency=medium
+
+ * Imported Upstream version 0.49
+ * Reintroduce {build,runtime}-dependency on Moose.
+
+ -- intrigeri <intrigeri@debian.org> Fri, 14 Mar 2014 11:02:58 +0100
+
+libgnupg-interface-perl (0.48-1) unstable; urgency=medium
+
+ * Imported Upstream version 0.48
+ * Refresh Make-get_secret_keys-and-get_public_keys-methods-wor.patch patch
+ * Update copyright years for debian/* packaging
+
+ -- Salvatore Bonaccorso <carnil@debian.org> Mon, 10 Mar 2014 21:40:35 +0100
+
+libgnupg-interface-perl (0.47-1) unstable; urgency=medium
+
+ [ gregor herrmann ]
+ * Strip trailing slash from metacpan URLs.
+
+ [ intrigeri ]
+ * Imported Upstream version 0.47
+ * libgnupg-interface-perl (0.47-1~1.gbpb39567)
+ * Update {build,runtime}-dependencies according to new upstream release,
+ that migrated from Any::Moose to Moo.
+ * Declare compliance with Standards-Version 3.9.5.
+
+ -- intrigeri <intrigeri@debian.org> Mon, 10 Mar 2014 17:15:55 +0100
+
+libgnupg-interface-perl (0.46-3) unstable; urgency=low
+
+ * remove Peter Palfrader from Uploaders on his request
+
+ -- Damyan Ivanov <dmn@debian.org> Tue, 07 May 2013 16:32:12 +0300
+
+libgnupg-interface-perl (0.46-2) unstable; urgency=low
+
+ * Upload to unstable
+ * Change Vcs-Git to canonical URI (git://anonscm.debian.org)
+ * Change search.cpan.org based URIs to metacpan.org based URIs
+ * Update copyright years for debian/* packaging files
+
+ -- Salvatore Bonaccorso <carnil@debian.org> Mon, 06 May 2013 16:18:58 +0200
+
+libgnupg-interface-perl (0.46-1) experimental; urgency=low
+
+ [ intrigeri ]
+ * Email change: intrigeri -> intrigeri@debian.org
+
+ [ Salvatore Bonaccorso ]
+ * Imported Upstream version 0.46
+ * Update debian/copyright file.
+ Update format to copyright-format 1.0 as released together with Debian
+ policy 3.9.3.
+ Update Upstream-Contact to Alex Vandiver <alexmv@cpan.org> and update
+ comment on license.
+ Update copyright years for bundled copy of Module::Install.
+ Update copyright years for debian/* packaging.
+ * Bump Standards-Version to 3.9.4
+ * Refresh Make-get_secret_keys-and-get_public_keys-methods-wor.patch patch
+
+ -- Salvatore Bonaccorso <carnil@debian.org> Fri, 26 Oct 2012 21:41:43 +0200
+
+libgnupg-interface-perl (0.45-1) unstable; urgency=low
+
+ * Imported Upstream version 0.45
+ * Update copyright information.
+ Update copyright years for files in inc/Module/*
+
+ -- Salvatore Bonaccorso <carnil@debian.org> Wed, 26 Oct 2011 20:48:42 +0200
+
+libgnupg-interface-perl (0.44-2) unstable; urgency=low
+
+ [ Ansgar Burchardt ]
+ * debian/control: Convert Vcs-* fields to Git.
+
+ [ Salvatore Bonaccorso ]
+ * debian/copyright: Replace DEP5 Format-Specification URL from
+ svn.debian.org to anonscm.debian.org URL.
+
+ [ intrigeri ]
+ * Add myself to uploaders.
+ * debian/patches:
+ - Add patch Make-get_secret_keys-and-get_public_keys-methods-wor.patch
+ to make get_secret_keys and get_public_keys methods work silently with
+ no arguments (Closes: #600290).
+
+ -- intrigeri <intrigeri+debian@boum.org> Tue, 18 Oct 2011 01:10:21 +0200
+
+libgnupg-interface-perl (0.44-1) unstable; urgency=low
+
+ * New upstream release
+ * Bump Standards-Version to 3.9.2.
+
+ -- Salvatore Bonaccorso <carnil@debian.org> Sat, 07 May 2011 17:36:32 +0200
+
+libgnupg-interface-perl (0.43-1) unstable; urgency=low
+
+ * New upstream release (Closes: #617398)
+ * Bump Debhelper compat level to 8.
+ * debian/control: Bump versioned Build-Depends on debhelper to
+ debhelper (>= 8).
+
+ -- Salvatore Bonaccorso <carnil@debian.org> Tue, 08 Mar 2011 19:08:13 +0100
+
+libgnupg-interface-perl (0.42.002-2) unstable; urgency=low
+
+ [ Tim Retout ]
+ * debian/control: Update my email address.
+
+ [ Salvatore Bonaccorso ]
+ * Upload to unstable.
+ * Email change: Salvatore Bonaccorso -> carnil@debian.org
+ * debian/copyright:
+ - Update copyright years for debian/* packaging.
+ - Explicitly point to GPL-1 license text in common-licenses.
+ - Refer to Debian systems in general instead of only Debian GNU/Linux
+ systems.
+ * debian/control: Make versioned (Build-)Depends(-Indep) on
+ libany-moose-perl unversioned.
+ * Bump Standards-Version to 3.9.1.
+
+ -- Salvatore Bonaccorso <carnil@debian.org> Wed, 09 Feb 2011 14:21:51 +0100
+
+libgnupg-interface-perl (0.42.002-1) experimental; urgency=low
+
+ [ Salvatore Bonaccorso ]
+ * New upstream release (Closes: #584836, #579672, #579863, #579873, #579897,
+ #579898, #579666, #579900).
+ - Uploading to experimental.
+ * debian/patches: Drop patches applied upstream:
+ - fix-gnupg-options-pod-errors.patch
+ - fix-gnupg-options-copy.patch
+ - fix-gnupg_key-docs.patch
+ - fix_publickey_doc.patch
+ - fix-list_public_keys-pod.patch
+
+ [ gregor herrmann ]
+ * Add copyright info for two new files.
+
+ -- Salvatore Bonaccorso <salvatore.bonaccorso@gmail.com> Mon, 07 Jun 2010 12:33:26 +0200
+
+libgnupg-interface-perl (0.42-3) unstable; urgency=low
+
+ [ Salvatore Bonaccorso ]
+ * Convert to '3.0 (quilt)' package source format.
+ * debian/patches:
+ - Add patch fix-gnupg_key-docs.patch to fix missing newline in GnuPG::Key on
+ expiration_date_string item. (Closes: #579613).
+ - Add patch fix_publickey_doc.patch to fix missing 'not' in documentation of
+ GnuPG::PublicKey. (Closes: #579589).
+ - Add patch fix-list_public_keys-pod.patch to fix example in
+ GnuPG::Interface documentation for the list_public_keys functionality.
+ (Closes: #579587).
+ - Thanks to Daniel Kahn Gillmor for reporting this issues.
+ * Bump Standards-Version to 3.8.4 (no changes).
+ * Refresh debian/copyright to revision 135 of machine readable format-
+ specification for copyright file in DEP5.
+
+ [ gregor herrmann ]
+ * debian/copyright: add information about inc/Module/*.
+
+ -- Salvatore Bonaccorso <salvatore.bonaccorso@gmail.com> Thu, 29 Apr 2010 12:17:10 +0200
+
+libgnupg-interface-perl (0.42-2) unstable; urgency=low
+
+ * debian/patches/fix-gnupg-options-copy.patch: New patch to fix copy
+ method of GnuPG::Options. Fixes FTBFS. (Closes: #549743)
+ * debian/control: Add self to uploaders.
+
+ -- Tim Retout <tim@retout.co.uk> Fri, 06 Nov 2009 00:28:38 +0000
+
+libgnupg-interface-perl (0.42-1) unstable; urgency=low
+
+ [ gregor herrmann ]
+ * debian/control: Changed: Switched Vcs-Browser field to ViewSVN
+ (source stanza).
+
+ [ Nathan Handler ]
+ * debian/watch: Update to ignore development releases.
+
+ [ Salvatore Bonaccorso ]
+ * New upstream release
+ + Adds support for gpg2.
+ * debian/control:
+ + Add myself to Uploaders
+ + Drop libclass-methodmaker-perl Build-Depends-Indep and Depends.
+ + Add dependencies on gnupg | gnupg2
+ + Add versioned Build-Depends-Indep and Depends on libany-moose-perl
+ (>= 0.04).
+ * Update debian/copyright to the current proposed DEP5 format specification.
+ * Bump Standards-Version to 3.8.3 (no changes).
+ * Add fix-gnupg-options-pod-errors.patch to fix some POD errors in the
+ GnuPG::Options module. Add Build-Depends on quilt (>= 0.46-7) and update
+ Build-Depends on debhelper (>= 7.0.8).
+ * Add debian/README.source to document quilt usage, as required by
+ Debian Policy since 3.8.0.
+
+ -- Salvatore Bonaccorso <salvatore.bonaccorso@gmail.com> Thu, 01 Oct 2009 21:36:46 +0200
+
+libgnupg-interface-perl (0.36-1) unstable; urgency=low
+
+ * Take over for the Debian Perl Group on maintainer's request
+ (http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/2008-
+ June/014128.html)
+ * debian/control: Added: Vcs-Svn field (source stanza); Vcs-Browser
+ field (source stanza); Homepage field (source stanza). Changed:
+ Maintainer set to Debian Perl Group <pkg-perl-
+ maintainers@lists.alioth.debian.org> (was: Peter Palfrader
+ <weasel@debian.org>); Peter Palfrader <weasel@debian.org> moved to
+ Uploaders.
+ * Add debian/watch.
+ * New upstream release
+ * debian/copyright
+ + module uses "same as Perl" license
+ + update upstream author information
+ + use dist-based upstream sources location
+ * minimize debian/rules using debhelper 7; adjust debhelper build-dependency
+ and compatibility level accordingly
+ * control:
+ + add perl and libclass-methodmaker-perl to Build-Depends-Indep
+ + add ${perl:Depends} and ${misc:Depends} to Depends
+ + Bump Standards-Version to 3.8.0
+ * add myself to Uploaders
+ * add THANKS to debian/docs
+
+ -- Damyan Ivanov <dmn@debian.org> Tue, 24 Jun 2008 09:28:58 +0300
+
+libgnupg-interface-perl (0.33-6) unstable; urgency=low
+
+ * Change the Build-Depends-Indep on debhelper to a Build-Depends (no -Indep).
+ * Increase Standards-Version from 3.6.1 to 3.7.2 (no additional changes).
+ * Update my email address in debian/copyright.
+ * Remove lots of commented-out cruft from debian/rules.
+ * Change to debhelper compatibility level 4 (from 1):
+ - Change DH_COMPAT to 4 in debian/rules,
+ - Change build dependency to a versioned one,
+ - Install to debian/code2html/ instead of debian/tmp.
+ * Instead of defining INSTALLBIN, INSTALLSCRIPT, etc just say
+ INSTALLDIRS=vendor in debian/rules, and set PREFIX for the install.
+ * Also use make install and not make pure_install.
+ * Remove code to remove .packlist files from the install target.
+ * Remove empty usr/lib/perl5 and usr/lib after make install.
+
+ -- Peter Palfrader <weasel@debian.org> Sun, 18 Jun 2006 01:25:31 +0200
+
+libgnupg-interface-perl (0.33-5) unstable; urgency=low
+
+ * Change section to perl to fix override disparity.
+
+ -- Peter Palfrader <weasel@debian.org> Sun, 25 Apr 2004 16:44:48 +0200
+
+libgnupg-interface-perl (0.33-4) unstable; urgency=low
+
+ * Install non binary perl into usr/share rather than usr/lib.
+ * Slight changes to debian/copyright: replace "author(s)" with
+ "author", refer to GPL-2 rather than GPL.
+ * Update standards version to 3.6.1.
+
+ -- Peter Palfrader <weasel@debian.org> Sun, 25 Apr 2004 15:04:13 +0200
+
+libgnupg-interface-perl (0.33-3) unstable; urgency=low
+
+ * New Standards-Version: 3.5.7
+ - Change Build-Depends to Build-Depends-Indep
+ - Have no /usr/doc link anymore (actually building against the new
+ debhelper will fix this - I'll not depend on it tho to make
+ building it on older releases easier)
+
+ -- Peter Palfrader <weasel@debian.org> Mon, 11 Nov 2002 12:59:27 +0100
+
+libgnupg-interface-perl (0.33-2) unstable; urgency=low
+
+ * Change Section to interpreters (fixes override disparity).
+
+ -- Peter Palfrader <weasel@debian.org> Sun, 16 Jun 2002 09:31:25 +0200
+
+libgnupg-interface-perl (0.33-1) unstable; urgency=low
+
+ * New upstream version:
+ - closes: #149964: GnuPG::Interface 0.32 is available
+ - closes: #149966: GnuPG::Interface, command_args and import_keys (et al)
+ Thank's a lot to upstream author Frank J. Tobin for providing a fix for
+ #149966 that fast.
+
+ -- Peter Palfrader <weasel@debian.org> Sun, 16 Jun 2002 08:05:46 +0200
+
+libgnupg-interface-perl (0.31-3) unstable; urgency=low
+
+ * Moved from non-US to main (Section: libs; closes: #140524).
+
+ -- Peter Palfrader <weasel@debian.org> Sun, 31 Mar 2002 20:54:51 +0200
+
+libgnupg-interface-perl (0.31-2) unstable; urgency=low
+
+ * Removed emacs stuff from changelog.
+ * Fixed minor typos in docmumentation (closes: #96148).
+ * Remove empty dirs in usr/lib/perl.
+
+ -- Peter Palfrader <weasel@debian.org> Sat, 17 Nov 2001 17:34:18 +0100
+
+libgnupg-interface-perl (0.31-1) unstable; urgency=low
+
+ * New upstream release.
+ * Fixed a typo in the long description.
+ * Removed dependency and build time dependency on perl5. The perl-base
+ package should suffice.
+ * Changed maintainer email address.
+ * Upgraded Standards-Version to 3.5.4.
+ * Removed build time dependency on libclass-methodmaker-perl. It's not
+ needed to build the package.
+ * Removed .packlist file from the package.
+
+ -- Peter Palfrader <weasel@debian.org> Sun, 6 May 2001 18:07:05 +0200
+
+libgnupg-interface-perl (0.11-3) unstable; urgency=low
+
+ * Changed Architecture to all (Closes: #71508)
+
+ -- Peter Palfrader <ppalfrad@cosy.sbg.ac.at> Wed, 13 Sep 2000 21:36:37 +0200
+
+libgnupg-interface-perl (0.11-2) unstable; urgency=low
+
+ * Changed section from libs to non-US/main.
+ * Removed README from docs. It only has install instructions.
+
+ -- Peter Palfrader <ppalfrad@cosy.sbg.ac.at> Sat, 9 Sep 2000 17:02:07 +0200
+
+libgnupg-interface-perl (0.11-1) unstable; urgency=low
+
+ * Initial Release (closes: #69479).
+
+ -- Peter Palfrader <ppalfrad@cosy.sbg.ac.at> Sun, 20 Aug 2000 17:18:33 +0200
diff --git a/debian/clean b/debian/clean
new file mode 100644
index 0000000..83e3e37
--- /dev/null
+++ b/debian/clean
@@ -0,0 +1,7 @@
+test/public-keys-sigs/1.out
+test/public-keys-sigs/2.out
+test/public-keys/1.out
+test/public-keys/2.out
+test/secret-keys/1.out
+test/secret-keys/2.out
+test/temp
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..3b30263
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,41 @@
+Source: libgnupg-interface-perl
+Maintainer: Debian Perl Group <pkg-perl-maintainers@lists.alioth.debian.org>
+Uploaders: Damyan Ivanov <dmn@debian.org>,
+ intrigeri <intrigeri@debian.org>,
+ Salvatore Bonaccorso <carnil@debian.org>,
+ Daniel Kahn Gillmor <dkg@fifthhorseman.net>,
+ Dominic Hargreaves <dom@earth.li>,
+Section: perl
+Testsuite: autopkgtest-pkg-perl
+Priority: optional
+Build-Depends: debhelper-compat (= 13)
+Build-Depends-Indep: gnupg (>= 2.2.9),
+ gnupg1 <!nocheck>,
+ libautodie-perl <!nocheck>,
+ libmath-bigint-perl <!nocheck>,
+ libmoo-perl <!nocheck>,
+ libmoox-handlesvia-perl <!nocheck>,
+ libmoox-late-perl <!nocheck>,
+ perl
+Standards-Version: 4.5.1
+Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libgnupg-interface-perl
+Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libgnupg-interface-perl.git
+Homepage: https://metacpan.org/release/GnuPG-Interface
+Rules-Requires-Root: no
+
+Package: libgnupg-interface-perl
+Architecture: all
+Depends: ${misc:Depends},
+ ${perl:Depends},
+ gnupg (>= 2.2.9) | gnupg1,
+ libautodie-perl,
+ libmath-bigint-perl,
+ libmoo-perl,
+ libmoox-handlesvia-perl,
+ libmoox-late-perl
+Description: Perl interface to GnuPG
+ GnuPG::Interface and its associated modules are designed
+ to provide an object-oriented method for interacting with
+ GnuPG, being able to perform functions such as but not
+ limited to encrypting, signing, decryption, verification,
+ and key-listing parsing.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..1cc8747
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,53 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: GnuPG-Interface
+Upstream-Contact: Alex Vandiver <alexmv@cpan.org>
+Source: https://metacpan.org/release/GnuPG-Interface
+
+Files: *
+Copyright: 2000, Frank J. Tobin <ftobin@uiuc.edu>
+License: Artistic or GPL-1+
+Comment:
+ GnuPG::Interface is currently maintained by Best Practical Solutions
+ Alex Vandiver <alexmv@cpan.org> has been a past maintainer. Frank J. Tobin,
+ ftobin@cpan.org was the original author of the package.
+
+Files: lib/GnuPG/Revoker.pm
+ lib/GnuPG/UserAttribute.pm
+Copyright: 2010, Daniel Kahn Gillmor <dkg@fifthhorseman.net>
+License: Artistic or GPL-1+
+
+Files: inc/Module/*
+Copyright: 2002-2012, Adam Kennedy <adamk@cpan.org>
+ 2002-2012, Audrey Tang <autrijus@autrijus.org>
+ 2002-2012, Brian Ingerson <ingy@cpan.org>
+License: Artistic or GPL-1+
+
+Files: debian/*
+Copyright: 2000, Peter Palfrader <ppalfrad@cosy.sbg.ac.at>
+ 2001, 2002, 2004, 2006, Peter Palfrader <weasel@debian.org>
+ 2008, 2013, Damyan Ivanov <dmn@debian.org>
+ 2009-2020, Salvatore Bonaccorso <carnil@debian.org>
+ 2009-2010, Tim Retout <tim@retout.co.uk>
+ 2011, 2014-2016, 2019 intrigeri <intrigeri@debian.org>
+ 2014, David Bremner <david@tethera.net>
+ 2010, 2014-2020, gregor herrmann <gregoa@debian.org>
+ 2016-2017, Daniel Kahn Gillmor <dkg@fifthhorseman.net>
+ 2018, Niko Tyni <ntyni@debian.org>
+ 2020-2021, Andrew Ruthven <andrew@etc.gen.nz>
+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/patches/detect-taint-mode b/debian/patches/detect-taint-mode
new file mode 100644
index 0000000..f43bed4
--- /dev/null
+++ b/debian/patches/detect-taint-mode
@@ -0,0 +1,36 @@
+Description: Test that Taint mode works
+Author: Andrew Ruthven
+Bug: https://rt.cpan.org/Ticket/Display.html?id=133041
+Last-Update: 2021-01-28
+
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- /dev/null
++++ b/t/taint.t
+@@ -0,0 +1,26 @@
++#!/usr/bin/perl -wT
++#
++# Ensure we can instatiate in Taint mode. Don't need to
++# do any work, as GnuPG::Interface runs the command we're going
++# to use to detect the version.
++
++use strict;
++
++use lib './t';
++use MyTest;
++
++use GnuPG::Interface;
++
++my $gnupg;
++
++# See that we instantiate an object in Taint mode
++TEST
++{
++ $gnupg = GnuPG::Interface->new( call => '/usr/bin/gpg' );
++};
++
++# See that version is set
++TEST
++{
++ defined $gnupg->version;
++};
diff --git a/debian/patches/hardcode-path b/debian/patches/hardcode-path
new file mode 100644
index 0000000..1c6d8bc
--- /dev/null
+++ b/debian/patches/hardcode-path
@@ -0,0 +1,31 @@
+Description: Hardcode path to /usr/bin/gpg
+Author: Dominic Hargreaves
+Last-Update: 2021-02-10
+Forwarded: Not-Needed
+Bug-Debian: https://bugs.debian.org/981647
+
+diff --git a/lib/GnuPG/Interface.pm b/lib/GnuPG/Interface.pm
+index 13b313e..84312e2 100644
+--- a/lib/GnuPG/Interface.pm
++++ b/lib/GnuPG/Interface.pm
+@@ -76,7 +76,7 @@ sub gnupg_call { shift->call(@_); }
+
+ sub BUILD {
+ my ( $self, $args ) = @_;
+- $self->hash_init( call => 'gpg', %$args );
++ $self->hash_init( call => '/usr/bin/gpg', %$args );
+ }
+
+ struct(
+@@ -1190,9 +1190,8 @@ keys to list in a key-listing.
+
+ =item call
+
+-This defines the call made to invoke GnuPG. Defaults to 'gpg'; this
+-should be changed if 'gpg' is not in your path, or there is a different
+-name for the binary on your system.
++This defines the call made to invoke GnuPG. Defaults to '/usr/bin/gpg'; this
++should be changed if there is a different name for the binary on your system.
+
+ =item passphrase
+
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..19ecc7a
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,6 @@
+test_reset_version_on_call_change
+test-gnupg1
+test-allow-interface-to-fail
+test-dummy-binaries
+detect-taint-mode
+hardcode-path
diff --git a/debian/patches/test-allow-interface-to-fail b/debian/patches/test-allow-interface-to-fail
new file mode 100644
index 0000000..d8db0a7
--- /dev/null
+++ b/debian/patches/test-allow-interface-to-fail
@@ -0,0 +1,26 @@
+Description: Allow setting the call program to fail
+ This test is checking that the old setter/getter interface
+ works. My fix to resetting the version causes this test to
+ fail on Debian as we have no binary called 'gnupg'. Since
+ the test is testing the setter/getter we don't care if
+ loading the version fails.
+Author: Andrew Ruthven <andrew@etc.gen.nz>
+Bug: https://rt.cpan.org/Ticket/Display.html?id=133021
+Last-Update: 2020-07-19
+
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/t/Interface.t
++++ b/t/Interface.t
+@@ -24,6 +24,10 @@
+ # deprecation test
+ TEST
+ {
+- $gnupg->gnupg_call( $v2 );
++ # Setting the program to call now calls the program to
++ # determine the version, but if gnupg doesn't exist we
++ # can't run it. Since we're just checking that call()
++ # has changed, let setting the variable fail.
++ eval { $gnupg->gnupg_call( $v2 ) };
+ $gnupg->call() eq $v2;
+ };
diff --git a/debian/patches/test-dummy-binaries b/debian/patches/test-dummy-binaries
new file mode 100644
index 0000000..9010cf0
--- /dev/null
+++ b/debian/patches/test-dummy-binaries
@@ -0,0 +1,65 @@
+Description: Ensure that we have some dummy "binaries" around for testing.
+ The test scripts require that gpg1, gpg and gnupg all exist and are
+ executable, otherwise warnings will be thrown.
+
+ This patch provides those "binaries", but they actually only print the
+ a version number that matches the binary.
+
+ It is still necessary to have at least one real GnuPG binary installed
+ for the test suite to pass. For Debian, but gpg and gpg1 need to be
+ present.
+
+ The patch to t/update_version.t isn't required on Debian, but is included
+ as this patch set has been forwarded upstream, and may be required
+ elsewhere. This is also why dummy scripts for gpg, gpg1 and gnupg are
+ provided.
+Author: Andrew Ruthven
+Bug: https://rt.cpan.org/Ticket/Display.html?id=133039
+Last-Update: 2020-07-23
+
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/t/Interface.t
++++ b/t/Interface.t
+@@ -8,6 +8,10 @@
+ use lib './t';
+ use MyTest;
+
++# Make sure that there are some dummy scripts available so no warnings
++# are thrown.
++$ENV{PATH} .= ":t/bin";
++
+ use GnuPG::Interface;
+
+ my $v1 = './test/fake-gpg-v1';
+--- /dev/null
++++ b/t/bin/gnupg
+@@ -0,0 +1,3 @@
++#!/bin/sh
++
++echo "gpg (GnuPG) 2.2.20"
+--- /dev/null
++++ b/t/bin/gpg
+@@ -0,0 +1,3 @@
++#!/bin/sh
++
++echo "gpg (GnuPG) 2.2.20"
+--- /dev/null
++++ b/t/bin/gpg1
+@@ -0,0 +1,3 @@
++#!/bin/sh
++
++echo "gpg (GnuPG) 1.4.23"
+--- a/t/update_version.t
++++ b/t/update_version.t
+@@ -14,6 +14,10 @@
+ use lib './t';
+ use MyTest;
+
++# Make sure that there are some dummy scripts available so no warnings
++# are thrown.
++$ENV{PATH} .= ":t/bin";
++
+ use GnuPG::Interface;
+
+ my $gnupg = GnuPG::Interface->new();
diff --git a/debian/patches/test-gnupg1 b/debian/patches/test-gnupg1
new file mode 100644
index 0000000..ceaaf58
--- /dev/null
+++ b/debian/patches/test-gnupg1
@@ -0,0 +1,18 @@
+Description: Test against GnuPG v1
+ The test cases only test "gpg" which for Debian is v2. As the module also
+ supports v1 which we ship, we should test against it.
+Author: Andrew Ruthven <andrew@etc.gen.nz>
+Forwarded: not-needed
+Last-Update: 2020-07-18
+
+--- a/t/MyTestSpecific.pm
++++ b/t/MyTestSpecific.pm
+@@ -53,7 +53,7 @@
+
+ $ENV{'GNUPGHOME'} = $homedir;
+
+-$gnupg = GnuPG::Interface->new( passphrase => 'test' );
++$gnupg = GnuPG::Interface->new( passphrase => 'test', call => ($ENV{'CALL'} || 'gpg') );
+ $gnupg->options->hash_init( homedir => $homedir,
+ armor => 1,
+ meta_interactive => 0,
diff --git a/debian/patches/test_reset_version_on_call_change b/debian/patches/test_reset_version_on_call_change
new file mode 100644
index 0000000..3d6ae06
--- /dev/null
+++ b/debian/patches/test_reset_version_on_call_change
@@ -0,0 +1,42 @@
+Description: Using 'call' method doesn't reset gpg version
+ GnuPG::Interface allows the use of the 'call' method to change
+ the program to be used. Test that this works.
+Author: Andrew Ruthven <andrew@etc.gen.nz>
+Bug: https://rt.cpan.org/Ticket/Display.html?id=133021
+Last-Update: 2021-01-28
+--- /dev/null
++++ b/t/update_version.t
+@@ -0,0 +1,33 @@
++#!/usr/bin/perl -w
++#
++# Request Tracker 4 tests use call() to change the program
++# to use to gpg1, however GnuPG::Interface has already set
++# the version to 2.2.x and didn't clear the version, therefore
++# GnuPG::Interface tried to use --pinentry-mode which
++# would fail.
++#
++# Test to ensure that version is cleared - which is then
++# lazy loaded when needed.
++
++use strict;
++
++use lib './t';
++use MyTest;
++
++use GnuPG::Interface;
++
++my $gnupg = GnuPG::Interface->new();
++
++# See that version is set
++TEST
++{
++ $gnupg->cmp_version($gnupg->version, '2.2') > 0;
++};
++
++$gnupg->call('gpg1');
++
++# See that version is set to 1.4.x.
++TEST
++{
++ $gnupg->cmp_version($gnupg->version, '1.5') < 0;
++};
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..673b83d
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,12 @@
+#!/usr/bin/make -f
+
+%:
+ dh $@
+
+override_dh_auto_test:
+ # We need to make the dummy scripts executable.
+ chmod 755 t/bin/*
+ # Test using gpg
+ LC_ALL=C dh_auto_test
+ # Test using gpg1
+ LC_ALL=C CALL=/usr/bin/gpg1 dh_auto_test
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/source/lintian-overrides b/debian/source/lintian-overrides
new file mode 100644
index 0000000..72ceaba
--- /dev/null
+++ b/debian/source/lintian-overrides
@@ -0,0 +1,2 @@
+# Upstream doesn't GPG sign releases.
+debian-watch-does-not-check-gpg-signature
diff --git a/debian/tests/pkg-perl/smoke-env b/debian/tests/pkg-perl/smoke-env
new file mode 100644
index 0000000..7eb9357
--- /dev/null
+++ b/debian/tests/pkg-perl/smoke-env
@@ -0,0 +1,2 @@
+HOME=${AUTOPKGTEST_TMP}
+LC_ALL=C
diff --git a/debian/tests/pkg-perl/smoke-files b/debian/tests/pkg-perl/smoke-files
new file mode 100644
index 0000000..1c4084d
--- /dev/null
+++ b/debian/tests/pkg-perl/smoke-files
@@ -0,0 +1,2 @@
+t
+test
diff --git a/debian/tests/pkg-perl/smoke-setup b/debian/tests/pkg-perl/smoke-setup
new file mode 100755
index 0000000..62c47b0
--- /dev/null
+++ b/debian/tests/pkg-perl/smoke-setup
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+# make dummy scripts executable
+
+chmod 755 $TDIR/t/bin/*
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 0000000..8fb30b1
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,5 @@
+---
+Archive: CPAN
+Bug-Database: https://rt.cpan.org/Public/Dist/Display.html?Name=GnuPG-Interface
+Repository: https://github.com/bestpractical/gnupg-interface.git
+Repository-Browse: https://github.com/bestpractical/gnupg-interface
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..eb62ddb
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=4
+https://metacpan.org/release/GnuPG-Interface .+/GnuPG-Interface-v?@ANY_VERSION@@ARCHIVE_EXT@$