diff options
Diffstat (limited to 'debian/pinentry-tqt/pinentry-tqt-1.2.1/debian')
23 files changed, 1257 insertions, 0 deletions
diff --git a/debian/pinentry-tqt/pinentry-tqt-1.2.1/debian/README.Debian b/debian/pinentry-tqt/pinentry-tqt-1.2.1/debian/README.Debian new file mode 100644 index 00000000..09d64a97 --- /dev/null +++ b/debian/pinentry-tqt/pinentry-tqt-1.2.1/debian/README.Debian @@ -0,0 +1,83 @@ +PIN entry for Debian - TQt flavor +--------------------------------- + +This package is derived from the pinentry Debian package. Only the +pinentry-tqt variant is built because it is not included in the +distribution packages. + +To avoid conflicts with the distribution package and to avoid having +other flavors built here, the source package is renamed pinentry-tqt. + + -- Slávek Banko <slavek.banko@axis.cz> Sun, 08 Nov 2020 16:37:59 +0100 + + +PIN entry for Debian +-------------------- + +This package and its sibling packages are intended to be used as a +pass-phrase entry dialog for the program gpg-agent (Debian package +gnupg-agent). To configure gpg-agent to use one of the provided +pinentry programs, put something like this into your +~/.gnupg/gpg-agent.conf: + + pinentry-program /usr/bin/pinentry-FLAVOR + +You have the following pinentry variants to choose from: + +/usr/bin/pinentry-tqt + Graphical PIN entry program that uses the TQt tool kit + (package pinentry-tqt). + +/usr/bin/pinentry + Generic name that points, via the Debian alternatives system, to + the "best" installed PIN entry program. gpg-agent uses this by + default. + +/usr/bin/pinentry-gnome + Graphical PIN entry program that uses GNOME's gcr prompter. This + package will work on systems that use Wayland as well as X11, and + it is the preferred pinentry for desktop systems (package + pinentry-gnome). + +/usr/bin/pinentry-x11 + Generic name that points, via the Debian alternatives system, to + the "best" installed PIN entry program with X11 support (that is, + one of the GNOME, Qt, GTK+2, or FLTK flavors). + +/usr/bin/pinentry-qt + Graphical PIN entry program that uses the Qt tool kit + (package pinentry-qt). + +/usr/bin/pinentry-curses + Text-mode PIN entry program that uses the curses tool kit (package + pinentry-curses). + +/usr/bin/pinentry-tty + Minimal Text-mode dumb-terminal PIN entry program (package + pinentry-tty). + +/usr/bin/pinentry-gtk-2 + Graphical PIN entry program that uses the GTK+ tool kit version 2 + (package pinentry-gtk2). + +/usr/bin/pinentry-fltk + Graphical PIN entry program that uses the Fast Light Toolkit (FLTK) + (package pinentry-fltk). + +The graphical variants automatically fall back to the curses interface +if no desktop environment is available. So for example, if you +frequently switch between text mode and KDE, and you want to use both +Mutt and KMail with GnuPG pass-phrase agent support, then configuring +/usr/bin/pinentry-qt would work. (In this case, leaving your +configuration alone would also work, if you only have pinentry-qt +installed) + +Note that while pinentry-curses and pinentry-tty will work in some +cases in a non-graphical environment, they are likely to fail when +used while sharing a tty with a terminal-intensive program like emacs. +If a graphical pinentry isn't possible, the recommended workaround is +to have a pinentry-tty or pinentry-curses attached to a separate, +dedicated pseudoterminal. (see https://dev.gnupg.org/T3217 for more +details) + + -- Daniel Kahn Gillmor <dkg@fifthhorseman.net>, Fri, 8 May 2020 12:11:12 -0400 diff --git a/debian/pinentry-tqt/pinentry-tqt-1.2.1/debian/changelog b/debian/pinentry-tqt/pinentry-tqt-1.2.1/debian/changelog new file mode 100644 index 00000000..3b3891fd --- /dev/null +++ b/debian/pinentry-tqt/pinentry-tqt-1.2.1/debian/changelog @@ -0,0 +1,508 @@ +pinentry-tqt (1.2.1-1~0) unstable; urgency=medium + + * Build pinentry only as pinentry-tqt for use with TDE. + + -- Slávek Banko <slavek.banko@axis.cz> Thu, 27 Oct 2022 14:17:15 +0200 + +pinentry (1.2.1-1) unstable; urgency=medium + + * new upstream release + * ensure that qt4 remains disabled + * remove patches/0003-qt-fix-floating-dialog-under-sway.patch + * pinentry-gtk2: drop stale NEWS entry (see #1021502) + + -- Daniel Kahn Gillmor <dkg@fifthhorseman.net> Tue, 18 Oct 2022 10:52:33 -0400 + +pinentry (1.2.0-2) unstable; urgency=medium + + * Fix --lc-ctype in manpages (Closes: #979412) + * wrap-and-sort -ast + * qt: fix floating dialog under sway (Closes: #1013318) + * Standards-Version: bump to 4.6.1 (no changes needed). + + -- Daniel Kahn Gillmor <dkg@fifthhorseman.net> Fri, 24 Jun 2022 22:38:56 -0400 + +pinentry (1.2.0-1) unstable; urgency=medium + + * New upstream release to unstable + * d/gbp.conf: use DEP-14 branch naming (return to unstable) + * standards version: bump to 4.6.0 (no changes needed) + * ensure qt5 works on wayland + * refresh version info patch + * Drop fix for rpath, fixed upstream + * drop tweaks for EFL configuration check + + -- Daniel Kahn Gillmor <dkg@fifthhorseman.net> Thu, 28 Apr 2022 08:33:01 -0400 + +pinentry (1.1.1-1) experimental; urgency=medium + + * new upstream release 1.1.1 + * dh 13 already does --fail-missing by default + * drop --as-needed linking flag, bullseye does this by default + * move to debian/sid branch for packaging + * update upstream signing keys + * drop patches already upstream + * standards-version: bump to 4.5.1 (no changes needed) + * refresh patches + * avoid rpath for pinentry-qt + * clean up use of pkg-config for EFL pinentry + * avoid trying to build pinentry-efl + + -- Daniel Kahn Gillmor <dkg@fifthhorseman.net> Wed, 17 Feb 2021 15:43:06 -0500 + +pinentry (1.1.0-4) unstable; urgency=medium + + [ Peter Eisentraut ] + * Remove myself from uploaders + + [ Daniel Kahn Gillmor ] + * make pinentry-doc multiarch: foreign + * refresh patches + * d/tests/simple-tty: introduce a delay in the test to avoid a race + * move to dh 13 + * Standards-Version: bump to 4.5.0 (no changes needed) + + [ Yuriy M. Kaminskiy ] + * Mark all pinentry packages as Multi-arch: foreign (Closes: #936048) + + [ Daniel Kahn Gillmor ] + * drop transitional pinentry-qt4 package (Closes: #940754) + * update README.Debian + + -- Daniel Kahn Gillmor <dkg@fifthhorseman.net> Fri, 08 May 2020 13:10:05 -0400 + +pinentry (1.1.0-3) unstable; urgency=medium + + * Standards-Version: bump to 4.4.0 (no changes needed) + * move to debhelper 12 + * apply upstream qt bugfix + * ship the version of pinentry.info installed (not from the source) + * avoid spuriously flagging /usr/bin/pinentry as not-installed + * drop shlibs:Depends from Arch: all pinentry-{doc,qt4} packages + * use dh_missing --fail-missing + * minimize debian/upstream/signing-key.asc + + -- Daniel Kahn Gillmor <dkg@fifthhorseman.net> Fri, 26 Jul 2019 20:37:37 -0400 + +pinentry (1.1.0-2) unstable; urgency=medium + + * use DEP-14 branch naming + * d/control: add Rules-Requires-Root: no + * standards-version: update to 4.3.0 (no changes needed) + * Test screenlock correctly from pinentry-gnome3 (Closes: #927105) + Thanks, Zephaniah E. Loss-Cutler-Hull! + + -- Daniel Kahn Gillmor <dkg@fifthhorseman.net> Wed, 17 Apr 2019 14:42:10 -0400 + +pinentry (1.1.0-1) unstable; urgency=medium + + * new upstream release + - added pinentry-fltk package + * move to debhelper 11 + * Standards-Version: bump to 4.1.3 (no changes needed) + * d/control: move Vcs*: to salsa + * d/copyright: Format: use https + * use https to point to upstream source + * d/changelog: strip trailing whitespace + * doc/pinentry.info is a generated file, drop it during import-orig + * drop patches already applied upstream, refresh remaining patches + * document tqt and fltk licensing + * fix formatting escapes in fltk + * clean up doc/pinentry.info + + -- Daniel Kahn Gillmor <dkg@fifthhorseman.net> Mon, 05 Feb 2018 20:18:30 -0500 + +pinentry (1.0.0-3) unstable; urgency=medium + + * added notes about how pinentry-curses is not intended + to work alongside emacs + * import improvements and bugfixes from upstream + * wrap-and-sort -ast + * Stanards-Version: update to 4.1.0 (no changes needed) + * drop unnecessary build-dep on autoreconf + * build-depend on pkg-config + * create simple autopkgtest for pinentry-tty + + -- Daniel Kahn Gillmor <dkg@fifthhorseman.net> Tue, 26 Sep 2017 17:52:43 -0400 + +pinentry (1.0.0-2) unstable; urgency=medium + + * fix documentation typos (Closes: #665879) + * pinentry-gnome3: Ask for new passwords twice (Closes: #851277) + * normalize window title behavior across graphical variants + * pinentry-gtk-2: busy-wait while pointer is already grabbed (Closes: #850708) + * pinentry-gtk-2: retry input grab based on real time delay (Closes: #851707) + + -- Daniel Kahn Gillmor <dkg@fifthhorseman.net> Mon, 06 Feb 2017 03:56:27 -0500 + +pinentry (1.0.0-1) unstable; urgency=medium + + * New upstream release. + * removed most patches, already imported upstream. + + -- Daniel Kahn Gillmor <dkg@fifthhorseman.net> Mon, 05 Dec 2016 22:24:12 -0500 + +pinentry (0.9.7-9) unstable; urgency=medium + + * more upstream patches (pinentry-gnome3 now falls back to curses when + screen is locked) + + -- Daniel Kahn Gillmor <dkg@fifthhorseman.net> Tue, 08 Nov 2016 14:02:47 -0600 + +pinentry (0.9.7-8) unstable; urgency=medium + + * more patches from upstream + * reduce work for the buildds by avoiding some duplicated builds. + + -- Daniel Kahn Gillmor <dkg@fifthhorseman.net> Sat, 05 Nov 2016 23:28:59 -0400 + +pinentry (0.9.7-7) unstable; urgency=medium + + * update debian/watch to use https + * cleanup patches from upstream + * pinentry-gnome3: improve fallback to curses (Closes: #841909) + + -- Daniel Kahn Gillmor <dkg@fifthhorseman.net> Fri, 04 Nov 2016 23:50:45 -0400 + +pinentry (0.9.7-6) unstable; urgency=medium + + * included several patches from upstream + * bumped to debhelper 10 + * p-gnome3 Recommends: dbus-user-session (addresses: #801247) + * added texinfo to build-dependencies for /usr/bin/makeinfo + * added bindnow hardening flag + * bumped standards-version to 3.9.8 (no changes needed) + + -- Daniel Kahn Gillmor <dkg@fifthhorseman.net> Tue, 11 Oct 2016 15:52:08 -0400 + +pinentry (0.9.7-5) unstable; urgency=medium + + * use https for Vcs-* fields + * bump standards-version to 3.9.7 + + -- Daniel Kahn Gillmor <dkg@fifthhorseman.net> Sun, 21 Feb 2016 09:53:59 -0800 + +pinentry (0.9.7-4) unstable; urgency=medium + + * avoid pinentry failures when bound to libsecret and the secret service + is not running. Thanks, Stef Walter. + + -- Daniel Kahn Gillmor <dkg@fifthhorseman.net> Sat, 20 Feb 2016 14:36:43 -0500 + +pinentry (0.9.7-3) unstable; urgency=medium + + * build -tty, -curses, and -qt without libsecret (Closes: #787883) + + -- Daniel Kahn Gillmor <dkg@fifthhorseman.net> Thu, 04 Feb 2016 18:13:01 -0500 + +pinentry (0.9.7-2) unstable; urgency=medium + + * avoid use-after-free in QT pw quality calculation (patch from upstream) + + -- Daniel Kahn Gillmor <dkg@fifthhorseman.net> Thu, 04 Feb 2016 16:53:15 -0500 + +pinentry (0.9.7-1) unstable; urgency=medium + + * New upstream release. + + -- Daniel Kahn Gillmor <dkg@fifthhorseman.net> Mon, 04 Jan 2016 10:44:50 -0500 + +pinentry (0.9.6-4) unstable; urgency=medium + + * make pinentry-qt use qt5 by default. (Closes: #802936) + + -- Daniel Kahn Gillmor <dkg@fifthhorseman.net> Wed, 28 Oct 2015 14:22:02 -0400 + +pinentry (0.9.6-3) unstable; urgency=medium + + * added NEWS entry for pinentry-gtk2 (Closes: #801757) + + -- Daniel Kahn Gillmor <dkg@fifthhorseman.net> Mon, 19 Oct 2015 20:40:16 -0400 + +pinentry (0.9.6-2) unstable; urgency=medium + + * dummy/transitional pinentry-qt4 package: update alternatives + + -- Daniel Kahn Gillmor <dkg@fifthhorseman.net> Mon, 05 Oct 2015 17:35:46 -0400 + +pinentry (0.9.6-1) unstable; urgency=medium + + * New upstream release + * fix pinentry-tty description typo (Closes: #798944) + Thanks, Yuri D'Elia + * introduce new pinentry-qt, which people should use instead of + pinentry-qt4. + * pinentry-qt4 is now a dummy transitional package. + + -- Daniel Kahn Gillmor <dkg@fifthhorseman.net> Thu, 01 Oct 2015 19:04:24 -0700 + +pinentry (0.9.5-4) unstable; urgency=medium + + * use -std=gnu++11 for pinentry-qt4 (Closes: #795175) + + -- Daniel Kahn Gillmor <dkg@fifthhorseman.net> Tue, 11 Aug 2015 13:03:19 -0400 + +pinentry (0.9.5-3) unstable; urgency=medium + + * added dependency from pinentry-gnome3 to gcr (Closes: #791379) + + -- Daniel Kahn Gillmor <dkg@fifthhorseman.net> Wed, 05 Aug 2015 00:39:02 -0400 + +pinentry (0.9.5-2) unstable; urgency=medium + + * disable emacs and emacs-fallback until we get a better description of + them in the upstream documentation + + -- Daniel Kahn Gillmor <dkg@fifthhorseman.net> Tue, 07 Jul 2015 14:43:33 -0400 + +pinentry (0.9.5-1) unstable; urgency=medium + + * new upstream release + * build-depends on libgpg-error and libassuan now + + -- Daniel Kahn Gillmor <dkg@fifthhorseman.net> Thu, 02 Jul 2015 18:01:23 -0400 + +pinentry (0.9.4-2) unstable; urgency=medium + + * rely on user's choice of password-manager with pinentry-gnome3 + + -- Daniel Kahn Gillmor <dkg@fifthhorseman.net> Tue, 09 Jun 2015 07:12:16 -0400 + +pinentry (0.9.4-1) unstable; urgency=medium + + * New upstream version (most d/patches applied upstream) + + -- Daniel Kahn Gillmor <dkg@fifthhorseman.net> Fri, 05 Jun 2015 17:33:37 -0400 + +pinentry (0.9.3-3) unstable; urgency=medium + + * fix secmem buffer over-clearing (Closes: #787690) + + -- Daniel Kahn Gillmor <dkg@fifthhorseman.net> Thu, 04 Jun 2015 23:48:26 -0400 + +pinentry (0.9.3-2) unstable; urgency=medium + + * fix pinentry-curses text entry (Closes: #787639) + + -- Daniel Kahn Gillmor <dkg@fifthhorseman.net> Wed, 03 Jun 2015 13:25:16 -0400 + +pinentry (0.9.3-1) unstable; urgency=medium + + * New upstream release. + * Help pinentry-qt4 show up above existing windows (Closes: #581617) + * add new pinentry-gnome3 package. + + -- Daniel Kahn Gillmor <dkg@fifthhorseman.net> Mon, 01 Jun 2015 19:09:28 -0400 + +pinentry (0.9.2-1) unstable; urgency=medium + + [ Eric Dorland ] + * debian/rules: Install README.Debian in all packages instead of using + symlinks. + + [ Daniel Kahn Gillmor ] + * new upstream version (Closes: #516489) + * add pinentry-tty package (Closes: #782888) + * debian/copyright: use DEP5 + * use --enable-pinentry-qt4-clipboard (Closes: #637029) + * terminate politely if TTY vanishes (Closes: #559936) + * use dh-autoreconf + + -- Daniel Kahn Gillmor <dkg@fifthhorseman.net> Wed, 13 May 2015 11:45:38 -0400 + +pinentry (0.9.1-1) experimental; urgency=medium + + * New Upstream Release + * Bringing package under team maintenance, with Peter's agreement. + + -- Daniel Kahn Gillmor <dkg@fifthhorseman.net> Sun, 12 Apr 2015 15:29:35 -0400 + +pinentry (0.9.0-0.1) experimental; urgency=medium + + * Non-maintainer upload + * new upstream release (Closes: #765532) + * bumped Standards-Version to 3.9.6 (no changes needed) + + -- Daniel Kahn Gillmor <dkg@fifthhorseman.net> Thu, 06 Nov 2014 17:53:20 -0500 + +pinentry (0.8.3-2) unstable; urgency=medium + + * Added libncursesw5-dev to build dependencies (closes: #728512, + #733268, #734179) + + -- Peter Eisentraut <petere@debian.org> Thu, 23 Jan 2014 22:28:38 -0500 + +pinentry (0.8.3-1) unstable; urgency=medium + + * New upstream release (closes: #731494) + * Updated watch file + * Updated standards version + + -- Peter Eisentraut <petere@debian.org> Sun, 15 Dec 2013 22:01:20 -0500 + +pinentry (0.8.1-1) unstable; urgency=low + + * New upstream release + - keyboard-race.patch incorporated upstream + - Fixed segmentation fault in pinentry-gtk2 (closes: #584947) + * Removed Qt 3 variant (closes: #604369) + * Updated standards version + * Changed to debhelper level 8 + + -- Peter Eisentraut <petere@debian.org> Wed, 16 Feb 2011 20:18:53 +0200 + +pinentry (0.8.0-1) unstable; urgency=low + + * New upstream release + * Changed source format to 3.0 (quilt) + * Updated standards version + + -- Peter Eisentraut <petere@debian.org> Thu, 18 Mar 2010 23:36:51 +0200 + +pinentry (0.7.6-1) unstable; urgency=low + + * New upstream release + - Includes Qt 4 variant, formerly in separate source package pinentry-qt4 + - Obsoletes gmalloc-prototypes.patch + - Made Gtk+-2 pinentry transient to the root window (closes: #445607) + * Changed copyright file to refer to GPL-2 file, per lintian + * Updated standards version + * Changed to debhelper level 7 and minimal version 7.2.17, to avoid obsolete + calls to install-info + + -- Peter Eisentraut <petere@debian.org> Mon, 13 Jul 2009 22:38:41 +0300 + +pinentry (0.7.5-3) unstable; urgency=low + + * Converted patches to quilt + * Updated standards version + * Dropped pinentry-gtk package (closes: #510740) + + -- Peter Eisentraut <petere@debian.org> Tue, 10 Feb 2009 22:32:43 +0200 + +pinentry (0.7.5-2.1) unstable; urgency=low + + * Non-maintainer upload. + * gtk+-2/pinentry-gtk-2.c: apply patch to avoid keyboard grab race on SMP + systems (closes: #401957). + + -- Pierre Habouzit <madcoder@debian.org> Mon, 20 Oct 2008 15:11:18 +0200 + +pinentry (0.7.5-2) unstable; urgency=high + + * gtk+-2/gtksecentry.c: Adjusted the g_*malloc*() overrides to have the same + prototype as glib, to fix FTBFS (closes: #471613) + * debian/control: Added Build-Depends on libglib2.0-dev (>= 2.15.5) to make + sure we don't run into the old prototypes of g_*malloc*() + + -- Peter Eisentraut <petere@debian.org> Tue, 29 Apr 2008 11:41:54 +0200 + +pinentry (0.7.5-1) unstable; urgency=low + + * New upstream release + + -- Peter Eisentraut <petere@debian.org> Sun, 17 Feb 2008 15:50:05 +0100 + +pinentry (0.7.4-2) unstable; urgency=low + + * debian/copyright: converted to UTF-8 (closes: #455738) + * Changed section of pinentry-doc to doc + * debian/watch: force passive FTP, since ftp.gnupg.org seems unhappy with + active (closes: #456468) + + -- Peter Eisentraut <petere@debian.org> Fri, 21 Dec 2007 14:53:11 +0100 + +pinentry (0.7.4-1) unstable; urgency=low + + * New upstream release + * Added Homepage control field + * Updated standards version + * Added configure option --without-libcap to get consistent builds + + -- Peter Eisentraut <petere@debian.org> Mon, 10 Dec 2007 13:33:34 +0100 + +pinentry (0.7.3-1) unstable; urgency=low + + * New upstream release + - Fixes segfault after confirm in pinentry-curses (closes: #311410) + * Updated standards version + * Changed to Debhelper level 5 + * Cleaned up build rules + + -- Peter Eisentraut <petere@debian.org> Tue, 17 Jul 2007 17:47:46 +0200 + +pinentry (0.7.2-3) unstable; urgency=low + + * Added linker option --as-needed + + -- Peter Eisentraut <petere@debian.org> Fri, 25 Nov 2005 21:12:12 +0100 + +pinentry (0.7.2-2) unstable; urgency=low + + * Changed maintainer address + * Updated standards version + * Rebuilt for new C++ ABI (closes: #324548) + * Tightened dependency on libgtk2.0-dev + + -- Peter Eisentraut <petere@debian.org> Mon, 29 Aug 2005 21:25:48 +0200 + +pinentry (0.7.2-1) unstable; urgency=low + + * New upstream release + * Added new -gtk2 flavor. + * Build dependencies revised accordingly. + * Added more copyright holders to debian/copyright. + * Removed compatibility symlinks. + * Converted to CDBS. + + -- Peter Eisentraut <peter_e@gmx.net> Thu, 27 Jan 2005 19:10:07 +0100 + +pinentry (0.7.1-5) unstable; urgency=low + + * Actually apply the dpatches + * Removed no longer needed pinentry-cppflags patch + + -- Peter Eisentraut <peter_e@gmx.net> Tue, 9 Nov 2004 22:27:14 +0100 + +pinentry (0.7.1-4) unstable; urgency=low + + * Converted to dpatch + * Moved programs to /usr/bin, made compatibility symlinks in + /usr/lib/pinentry + * Added Provides: pinentry, pinentry-x11 (closes: #274708) + * Created pinentry, pinentry-x11 alternatives (closes: #275711) + * Wrote man pages + * Use m4 to create the debhelper control files + * Added Enhances: gnupg-agent + * Use --disable-dependency-tracking + + -- Peter Eisentraut <peter_e@gmx.net> Sun, 10 Oct 2004 11:37:51 +0200 + +pinentry (0.7.1-3) unstable; urgency=low + + * Suggestions by Martin Pitt... + * Removed stale pinentry.substvars + * Changed pinentry-doc Recommends to Suggests + * Changed pinentry-doc to architecture-independent + * Added -g to CXXFLAGS + * Removed empty maintainer scripts + * Fixed configure build and host options as suggested by autotools-dev + + -- Peter Eisentraut <peter_e@gmx.net> Mon, 21 Jun 2004 09:17:23 +0200 + +pinentry (0.7.1-2) unstable; urgency=low + + * Revised synopses and descriptions + * Revised Debian.README + * Added watch file + * Enabled curses fallback + * Put Build-Depends onto one line only + + -- Peter Eisentraut <peter_e@gmx.net> Sun, 06 Jun 2004 16:53:05 +0200 + +pinentry (0.7.1-1) unstable; urgency=low + + * Initial public release (closes: #187546, #214578). + * Added missing include file path in qt/Makefile.am. + + -- Peter Eisentraut <peter_e@gmx.net> Fri, 07 May 2004 11:07:25 +0200 diff --git a/debian/pinentry-tqt/pinentry-tqt-1.2.1/debian/clean b/debian/pinentry-tqt/pinentry-tqt-1.2.1/debian/clean new file mode 100644 index 00000000..e06b79e9 --- /dev/null +++ b/debian/pinentry-tqt/pinentry-tqt-1.2.1/debian/clean @@ -0,0 +1,2 @@ +build-no-libsecret/ +doc/pinentry.info diff --git a/debian/pinentry-tqt/pinentry-tqt-1.2.1/debian/compat b/debian/pinentry-tqt/pinentry-tqt-1.2.1/debian/compat new file mode 100644 index 00000000..ec635144 --- /dev/null +++ b/debian/pinentry-tqt/pinentry-tqt-1.2.1/debian/compat @@ -0,0 +1 @@ +9 diff --git a/debian/pinentry-tqt/pinentry-tqt-1.2.1/debian/control b/debian/pinentry-tqt/pinentry-tqt-1.2.1/debian/control new file mode 100644 index 00000000..24220bcd --- /dev/null +++ b/debian/pinentry-tqt/pinentry-tqt-1.2.1/debian/control @@ -0,0 +1,47 @@ +Source: pinentry-tqt +Section: deps-r14/utils +Priority: optional +Maintainer: Debian GnuPG Maintainers <pkg-gnupg-maint@lists.alioth.debian.org> +Uploaders: + Daniel Kahn Gillmor <dkg@fifthhorseman.net>, +Build-Depends: + debhelper (>= 9~), + libassuan-dev (>= 2.1.0), + libgcr-3-dev, + libgpg-error-dev (>= 1.16), + libncurses5-dev, + libncursesw5-dev, + m4, + pkg-config, + libtqt3-mt-dev, tqt3-apps-dev, + texinfo, +Standards-Version: 4.6.1 +Homepage: https://www.gnupg.org/related_software/pinentry/ +Vcs-Git: https://salsa.debian.org/debian/pinentry.git +Vcs-Browser: https://salsa.debian.org/debian/pinentry +Rules-Requires-Root: no + +Package: pinentry-tqt +Architecture: any +Multi-Arch: foreign +Depends: + ${misc:Depends}, + ${shlibs:Depends}, +Suggests: + pinentry-doc, +Provides: + pinentry, + pinentry-x11, +Enhances: + gnupg-agent, +Description: TQt-based PIN or pass-phrase entry dialog for GnuPG + This package contains a program that allows for entry of PINs or pass + phrases. It is useful for entering pass phrases when using encryption + software such as GnuPG or e-mail clients using the same. It uses an open + protocol and is therefore not tied to particular software. + . + The program contained in this package implements a PIN entry dialog + using the TQt tool kit, so it is especially suitable for users of TDE. + If the X Window System is not active then an alternative text-mode + dialog will be used. There are sibling packages that implement PIN + entry dialogs using other tool kits. diff --git a/debian/pinentry-tqt/pinentry-tqt-1.2.1/debian/copyright b/debian/pinentry-tqt/pinentry-tqt-1.2.1/debian/copyright new file mode 100644 index 00000000..3711cad2 --- /dev/null +++ b/debian/pinentry-tqt/pinentry-tqt-1.2.1/debian/copyright @@ -0,0 +1,167 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: Pinentry +Upstream-Contact: gnupg-devel@gnupg.org +Source: https://gnupg.org/ftp/gcrypt/pinentry/ + +Files: * +Copyright: 2002-2021, g10 Code GmbH +License: GPL-2+ + +Files: fltk/* +Copyright: 2016 Anatoly madRat L. Berenblit +License: GPL-2+ + +Files: tqt/Makefile.am tqt/main.cpp tqt/pinentrydialog.h tqt/pinentrydialog.cpp +Copyright: 2002-2015 g10 Code GmbH + 2002 Klarälvdalens Datakonsult AB +License: GPL-2+ + +Files: tqt/secqinternal.cpp tqt/secqinternal_p.h +Copyright: 1992-2000 Trolltech AS +License: GPL-2 + +Files: tqt/secqlineedit.cpp tqt/secqlineedit.h tqt/secqstring.cpp tqt/secqstring.h +Copyright: 1992-2002 Trolltech AS + 2003 g10 Code GmbH +License: GPL-2 + +Files: build-aux/* depcomp doc/mdate-sh doc/texinfo.tex m4/curses.m4 m4/iconv.m4 missing secmem/secmem.c +Copyright: 1996-2007, Free Software Foundation +License: GPL-2+ + +Files: install-sh +Copyright: 1994 X Consortium +License: X11 + +Files: gtk+-2/pinentry-gtk-2.c +Copyright: 1999 Robert Bihlmeyer <robbe@orcus.priv.at> + 2001, 2002, 2007 g10 Code GmbH + 2004 Albrecht Dreß +License: GPL-2+ + +Files: m4/pkg.m4 +Copyright: 2004 Scott James Remnant <scott@netsplit.com> +License: GPL-2+ + +Files: m4/qt.m4 +Copyright: 1997 Janos Farkas (chexum@shadow.banki.hu)o + 1997,98,99 Stephan Kulow (coolo@kde.org) + 2002 g10 Code GmbH +License: GPL-2+ + +Files: pinentry/argparse.c +Copyright: 1998-2001, 2006-2008, 2012 Free Software Foundation, Inc. + 1997-2001, 2006-2008, 2013-2015 Werner Koch +License: LGPL-3+ or GPL-2+ + +Files: configure.ac secmem/util.* +Copyright: 1999, Robert Bihlmeyer <robbe@orcus.priv.at> + 2001, 2002, 2003, 2004, 2007 g10 Code GmbH +License: GPL-2+ + +Files: secmem/memory.h +Copyright: 1998,1999 Free Software Foundation, Inc. + 1999,2000 Robert Bihlmeyer <robbe@orcus.priv.at> +License: GPL-2+ + +Files: secmem/secmem++.h +Copyright: 2008 Marc Mutz <marc@kdab.com> +License: GPL-2+ + +Files: tty/pinentry-tty.c +Copyright: 2014 Serge Voilokov +License: GPL-2+ + +Files: qt/pinentrydialog.* +Copyright: 2002, 2008 Klarälvdalens Datakonsult AB <steffen@klaralvdalens-datakonsult.se> + 2007 Ingo Klöcker +License: GPL-2+ + +Files: qt/pinentryconfirm.* +Copyright: 2011 Ben Kibbey <bjk@luxsci.net> +License: GPL-2+ + +Files: qt/main.cpp +Copyright: 2002, 2008 Klarälvdalens Datakonsult AB (KDAB) + 2003 g10 Code GmbH + 2007 Ingo Klöcker +License: GPL-2+ + +Files: qt/Makefile.am +Copyright: 2002 Klarälvdalens Datakonsult AB (KDAB) + 2008 g10 Code GmbH +License: GPL-2+ + +Files: debian/* +Copyright: 2004-2022 Peter Eisentraut <petere@debian.org> + Marcus Brinkmann + Michael Brame + Daniel Kahn Gillmor <dkg@fifthhorseman.net> +License: GPL-2+ + +License: X11 + 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 + X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN + AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC- + TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + . + Except as contained in this notice, the name of the X Consortium shall not + be used in advertising or otherwise to promote the sale, use or other deal- + ings in this Software without prior written authorization from the X Consor- + tium. + +License: GPL-2+ + This 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. + . + It 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. + . + 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'. + +License: GPL-2 + This is free software; you can redistribute it and/or modify + it under the terms of version 2 of the GNU General Public License + as published by the Free Software Foundation. + . + It 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. + . + 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'. + +License: LGPL-3+ + This is free software; you can redistribute it and/or modify it under + the terms of the GNU Lesser General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + . + It 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 Lesser General Public License for more details. + . + On Debian systems, the full text of the GNU General Public + License version 2.1 can be found in the file + `/usr/share/common-licenses/LGPL-3. diff --git a/debian/pinentry-tqt/pinentry-tqt-1.2.1/debian/gbp.conf b/debian/pinentry-tqt/pinentry-tqt-1.2.1/debian/gbp.conf new file mode 100644 index 00000000..0c87d574 --- /dev/null +++ b/debian/pinentry-tqt/pinentry-tqt-1.2.1/debian/gbp.conf @@ -0,0 +1,21 @@ +[DEFAULT] +pristine-tar = True +upstream-vcs-tag = pinentry-%(version)s +debian-branch = debian/unstable + +[import-orig] +filter = [ + 'INSTALL', + 'Makefile.in', + 'aclocal.m4', + '*/Makefile.in', + 'build-aux/compile', + 'build-aux/depcomp', + 'build-aux/install-sh', + 'build-aux/mdate-sh', + 'build-aux/missing', + 'build-aux/texinfo.tex', + 'configure', + 'doc/pinentry.info', + ] +filter-pristine-tar = False diff --git a/debian/pinentry-tqt/pinentry-tqt-1.2.1/debian/not-installed b/debian/pinentry-tqt/pinentry-tqt-1.2.1/debian/not-installed new file mode 100644 index 00000000..4cf6e4ce --- /dev/null +++ b/debian/pinentry-tqt/pinentry-tqt-1.2.1/debian/not-installed @@ -0,0 +1 @@ +usr/bin/pinentry diff --git a/debian/pinentry-tqt/pinentry-tqt-1.2.1/debian/patches/0001-avoid-self-describing-as-a-beta.patch b/debian/pinentry-tqt/pinentry-tqt-1.2.1/debian/patches/0001-avoid-self-describing-as-a-beta.patch new file mode 100644 index 00000000..ac9b9137 --- /dev/null +++ b/debian/pinentry-tqt/pinentry-tqt-1.2.1/debian/patches/0001-avoid-self-describing-as-a-beta.patch @@ -0,0 +1,51 @@ +From: Daniel Kahn Gillmor <dkg@fifthhorseman.net> +Date: Wed, 13 May 2015 16:09:21 -0400 +Subject: avoid self-describing as a beta + +Using autoreconf against the source as distributed in tarball form +invariably results in a package that thinks it's a "beta" package, +which produces the "THIS IS A DEVELOPMENT VERSION" warning string. + +since we use dh_autoreconf, i need this patch to avoid producing +builds that announce themselves as DEVELOPMENT VERSIONs. + +See discussion at: + + http://lists.gnupg.org/pipermail/gnupg-devel/2014-November/029065.html +--- + autogen.sh | 8 ++++---- + 1 file changed, 4 insertions(+), 4 deletions(-) + +diff --git a/autogen.sh b/autogen.sh +index 9b36158..f381d48 100755 +--- a/autogen.sh ++++ b/autogen.sh +@@ -249,7 +249,7 @@ if [ "$myhost" = "find-version" ]; then + fi + + beta=no +- if [ -e .git ]; then ++ if false; then + ingit=yes + tmp=$(git describe --match "${matchstr1}" --long 2>/dev/null) + tmp=$(echo "$tmp" | sed s/^"$package"//) +@@ -265,8 +265,8 @@ if [ "$myhost" = "find-version" ]; then + rvd=$((0x$(echo ${rev} | dd bs=1 count=4 2>/dev/null))) + else + ingit=no +- beta=yes +- tmp="-unknown" ++ beta=no ++ tmp="" + rev="0000000" + rvd="0" + fi +@@ -453,7 +453,7 @@ EOF + fi + + # Check the git setup. +-if [ -d .git ]; then ++if false; then + CP="cp -p" + # If we have a GNU cp we can add -v + if cp --version >/dev/null 2>/dev/null; then diff --git a/debian/pinentry-tqt/pinentry-tqt-1.2.1/debian/patches/0002-gtk2-When-X11-input-grabbing-fails-try-again-over-0..patch b/debian/pinentry-tqt/pinentry-tqt-1.2.1/debian/patches/0002-gtk2-When-X11-input-grabbing-fails-try-again-over-0..patch new file mode 100644 index 00000000..294ff005 --- /dev/null +++ b/debian/pinentry-tqt/pinentry-tqt-1.2.1/debian/patches/0002-gtk2-When-X11-input-grabbing-fails-try-again-over-0..patch @@ -0,0 +1,62 @@ +From: Vincent Bernat <bernat@debian.org> +Date: Mon, 6 Feb 2017 02:38:59 -0500 +Subject: gtk2: When X11 input grabbing fails, try again over ~0.4 seconds. + +* gtk+-2/pinentry-gtk-2.c (grab_keyboard): Delay 1 ms before retrying +keyboard grab, limit to about 0.2 seconds. +(grab_pointer): Delay 1 ms before retrying pointer_grab, limit to +about 0.2 seconds. + +-- + +These changes were proposed by Vincent Bernat in +https://bugs.debian.org/851707#124 + +Debian-bug-id: 851707 +Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net> +--- + gtk+-2/pinentry-gtk-2.c | 10 ++++++---- + 1 file changed, 6 insertions(+), 4 deletions(-) + +diff --git a/gtk+-2/pinentry-gtk-2.c b/gtk+-2/pinentry-gtk-2.c +index 6d626cc..f329910 100644 +--- a/gtk+-2/pinentry-gtk-2.c ++++ b/gtk+-2/pinentry-gtk-2.c +@@ -161,7 +161,7 @@ static int + grab_keyboard (GtkWidget *win, GdkEvent *event, gpointer data) + { + GdkGrabStatus err; +- int tries = 0, max_tries = 4096; ++ int tries = 0, max_tries = 2048; + (void)data; + + if (! pinentry->grab) +@@ -170,7 +170,8 @@ grab_keyboard (GtkWidget *win, GdkEvent *event, gpointer data) + do + err = gdk_keyboard_grab (gtk_widget_get_window (win), + FALSE, gdk_event_get_time (event)); +- while (tries++ < max_tries && err == GDK_GRAB_NOT_VIEWABLE); ++ while (tries++ < max_tries && err == GDK_GRAB_NOT_VIEWABLE ++ && (usleep(100), TRUE)); + + if (err) + { +@@ -194,7 +195,7 @@ grab_pointer (GtkWidget *win, GdkEvent *event, gpointer data) + { + GdkGrabStatus err; + GdkCursor *cursor; +- int tries = 0, max_tries = 4096; ++ int tries = 0, max_tries = 2048; + (void)data; + + /* Change the cursor for the duration of the grab to indicate that +@@ -216,7 +217,8 @@ grab_pointer (GtkWidget *win, GdkEvent *event, gpointer data) + cursor, + gdk_event_get_time (event)); + while (tries++ < max_tries && (err == GDK_GRAB_NOT_VIEWABLE +- || err == GDK_GRAB_ALREADY_GRABBED)); ++ || err == GDK_GRAB_ALREADY_GRABBED) ++ && (usleep (100), TRUE)); + + if (err) + { diff --git a/debian/pinentry-tqt/pinentry-tqt-1.2.1/debian/patches/series b/debian/pinentry-tqt/pinentry-tqt-1.2.1/debian/patches/series new file mode 100644 index 00000000..6be995ed --- /dev/null +++ b/debian/pinentry-tqt/pinentry-tqt-1.2.1/debian/patches/series @@ -0,0 +1,2 @@ +0001-avoid-self-describing-as-a-beta.patch +0002-gtk2-When-X11-input-grabbing-fails-try-again-over-0..patch diff --git a/debian/pinentry-tqt/pinentry-tqt-1.2.1/debian/pinentry-tqt.1 b/debian/pinentry-tqt/pinentry-tqt-1.2.1/debian/pinentry-tqt.1 new file mode 100644 index 00000000..862aead7 --- /dev/null +++ b/debian/pinentry-tqt/pinentry-tqt-1.2.1/debian/pinentry-tqt.1 @@ -0,0 +1,78 @@ +.TH PINENTRY-TQT 1 "27 Jan 2005" +.SH NAME +pinentry\-tqt \- PIN or pass-phrase entry dialog for GnuPG +.PP +.SH SYNOPSIS +\fBpinentry-tqt\fB [\fIOPTION\fR...] +.SH DESCRIPTION +\fBpinentry\-tqt\fR is a program that allows for secure entry of PINs or +pass phrases. That means it tries to take care that the entered +information is not swapped to disk or temporarily stored anywhere. +This functionality is particularly useful for entering pass phrases +when using encryption software such as GnuPG or e-mail clients using +the same. It uses an open protocol and is therefore not tied to +particular software. +.PP +\fBpinentry-tqt\fR implements a PIN entry dialog +using the TQt tool kit, so it is especially suitable for users of TDE. +If the X Window System is not active then an alternative text-mode +dialog will be used. There are other flavors that implement PIN +entry dialogs using other tool kits. +.PP +\fBpinentry\-tqt\fR is typically used internally by \fBgpg-agent\fR. +Users don't normally have a reason to call it directly. +.SH OPTIONS +.TP +\fB\-\-version\fR +Print the program version and licensing information. +.TP +\fB\-\-help\fR +Print a usage message summarizing the most useful command-line options. +.TP +\fB\-\-debug\fR, \fB\-d\fR +Turn on some debugging. Mostly useful for the maintainers. Note +that this may reveal sensitive information like the entered pass phrase. +.TP +\fB\-\-enhanced\fR, \fB\-e\fR +Ask for timeouts and insurance, too. Note that this is currently +not fully supported. +.TP +\fB\-\-no\-global\-grab\fR, \fB\-g\fR +Grab the keyboard only when the window is focused. Use this +option if you are debugging software using \fBpinentry\-tqt\fR; +otherwise you may not be able to to access your X session anymore (unless +you have other means to connect to the machine to kill +\fBpinentry\-tqt\fR). +.TP +\fB\-\-parent\-wid\fR \fIN\fR +Use window ID \fIN\fR as the parent window for positioning the window. +Note, that this is not fully supported by all flavors of \fBpinentry\fR. +.TP +\fB--display\fR \fISTRING\fR, \fB--ttyname\fR \fISTRING\fR, \fB--ttytype\fR \fISTRING\fR, \fB--lc-type\fR \fISTRING\fR, \fB--lc-messages\fR \fISTRING\fR +These options are used to pass localization information to +\fBpinentry-tqt\fR. They are required because +\fBpinentry-tqt\fR is usually called by +some background process which does not have any information on the +locale and terminal to use. Assuan protocol options are an +alternative way to pass these information. +.SH "SEE ALSO" +.BR pinentry-curses (1), +.BR pinentry-gnome3 (1), +.BR pinentry-fltk (1), +.BR pinentry-gtk-2 (1), +.BR pinentry-qt (1), +.BR pinentry-tty (1), +.BR gpg (1), +.BR gpg-agent (1) +.PP +The full documentation for +.B pinentry-tqt +is maintained as a Texinfo manual. If the +.B pinentry-doc +package is installed, the command +.IP +.B info pinentry +.PP +should give you access to the complete manual. +.SH AUTHOR +This manual page was written by Peter Eisentraut for the Debian project. diff --git a/debian/pinentry-tqt/pinentry-tqt-1.2.1/debian/pinentry-tqt.install b/debian/pinentry-tqt/pinentry-tqt-1.2.1/debian/pinentry-tqt.install new file mode 100644 index 00000000..fb5a1347 --- /dev/null +++ b/debian/pinentry-tqt/pinentry-tqt-1.2.1/debian/pinentry-tqt.install @@ -0,0 +1 @@ +build-no-libsecret/tqt/pinentry-tqt usr/bin diff --git a/debian/pinentry-tqt/pinentry-tqt-1.2.1/debian/pinentry-tqt.manpages b/debian/pinentry-tqt/pinentry-tqt-1.2.1/debian/pinentry-tqt.manpages new file mode 100644 index 00000000..7c89b9a4 --- /dev/null +++ b/debian/pinentry-tqt/pinentry-tqt-1.2.1/debian/pinentry-tqt.manpages @@ -0,0 +1 @@ +debian/pinentry-tqt.1 diff --git a/debian/pinentry-tqt/pinentry-tqt-1.2.1/debian/pinentry-tqt.postinst b/debian/pinentry-tqt/pinentry-tqt-1.2.1/debian/pinentry-tqt.postinst new file mode 100644 index 00000000..3e07e8ac --- /dev/null +++ b/debian/pinentry-tqt/pinentry-tqt-1.2.1/debian/pinentry-tqt.postinst @@ -0,0 +1,14 @@ +#! /bin/sh + +set -e + +if [ "$1" = configure ]; then + update-alternatives --quiet \ + --install /usr/bin/pinentry pinentry /usr/bin/pinentry-tqt 80 \ + --slave /usr/share/man/man1/pinentry.1.gz pinentry.1.gz /usr/share/man/man1/pinentry-tqt.1.gz + update-alternatives --quiet \ + --install /usr/bin/pinentry-x11 pinentry-x11 /usr/bin/pinentry-tqt 80 \ + --slave /usr/share/man/man1/pinentry-x11.1.gz pinentry-x11.1.gz /usr/share/man/man1/pinentry-tqt.1.gz +fi + +#DEBHELPER# diff --git a/debian/pinentry-tqt/pinentry-tqt-1.2.1/debian/pinentry-tqt.prerm b/debian/pinentry-tqt/pinentry-tqt-1.2.1/debian/pinentry-tqt.prerm new file mode 100644 index 00000000..2febd750 --- /dev/null +++ b/debian/pinentry-tqt/pinentry-tqt-1.2.1/debian/pinentry-tqt.prerm @@ -0,0 +1,10 @@ +#! /bin/sh + +set -e + +if [ "$1" = remove ]; then + update-alternatives --quiet --remove pinentry-x11 /usr/bin/pinentry-tqt + update-alternatives --quiet --remove pinentry /usr/bin/pinentry-tqt +fi + +#DEBHELPER# diff --git a/debian/pinentry-tqt/pinentry-tqt-1.2.1/debian/rules b/debian/pinentry-tqt/pinentry-tqt-1.2.1/debian/rules new file mode 100755 index 00000000..6e5f6619 --- /dev/null +++ b/debian/pinentry-tqt/pinentry-tqt-1.2.1/debian/rules @@ -0,0 +1,28 @@ +#!/usr/bin/make -f + +QT_SELECT = qt5 +export QT_SELECT +SHARED_CONFIGS = --disable-rpath --without-libcap --disable-pinentry-emacs --disable-inside-emacs --enable-fallback-curses --disable-pinentry-efl +export DEB_BUILD_MAINT_OPTIONS = hardening=+bindnow + +%: + dh $@ + +override_dh_auto_configure: + dh_auto_configure --builddirectory=build-no-libsecret -- \ + $(SHARED_CONFIGS) --disable-libsecret \ + --disable-pinentry-tty \ + --disable-pinentry-curses \ + --disable-pinentry-qt \ + --disable-pinentry-qt4 \ + --disable-pinentry-fltk \ + --disable-pinentry-gtk2 \ + --disable-pinentry-gnome3 \ + --enable-pinentry-tqt + +override_dh_auto_build: + dh_auto_build --builddirectory=build-no-libsecret + dh_auto_build + +override_dh_installdocs: + dh_installdocs -A NEWS AUTHORS diff --git a/debian/pinentry-tqt/pinentry-tqt-1.2.1/debian/source/format b/debian/pinentry-tqt/pinentry-tqt-1.2.1/debian/source/format new file mode 100644 index 00000000..163aaf8d --- /dev/null +++ b/debian/pinentry-tqt/pinentry-tqt-1.2.1/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/debian/pinentry-tqt/pinentry-tqt-1.2.1/debian/source/options b/debian/pinentry-tqt/pinentry-tqt-1.2.1/debian/source/options new file mode 100644 index 00000000..d71748bb --- /dev/null +++ b/debian/pinentry-tqt/pinentry-tqt-1.2.1/debian/source/options @@ -0,0 +1,3 @@ +# Use xz instead of gzip +compression = "xz" +compression-level = 9 diff --git a/debian/pinentry-tqt/pinentry-tqt-1.2.1/debian/tests/control b/debian/pinentry-tqt/pinentry-tqt-1.2.1/debian/tests/control new file mode 100644 index 00000000..af216f95 --- /dev/null +++ b/debian/pinentry-tqt/pinentry-tqt-1.2.1/debian/tests/control @@ -0,0 +1,4 @@ +Tests: simple-tty +Depends: + pinentry-tty, + python3, diff --git a/debian/pinentry-tqt/pinentry-tqt-1.2.1/debian/tests/simple-tty b/debian/pinentry-tqt/pinentry-tqt-1.2.1/debian/tests/simple-tty new file mode 100755 index 00000000..cbe0a103 --- /dev/null +++ b/debian/pinentry-tqt/pinentry-tqt-1.2.1/debian/tests/simple-tty @@ -0,0 +1,64 @@ +#!/usr/bin/env python3 + +# Daniel Kahn Gillmor <dkg@fifthhorseman.net> + +# put pinentry-tty through its paces on an otherwise clean +# pseudoterminal. + +import posix +import subprocess +import codecs +import time + +# block on pinentry verification: +def isok(pinentry): + l = pinentry.stdout.readline() + if not l.startswith('OK'): + raise Exception("notok: " + l if l else '<None>') + + +(master, pty) = posix.openpty() +# depends on /proc! +ptyname = posix.readlink("/proc/self/fd/%d"%(pty)) + +p = subprocess.Popen(['pinentry-tty'], + shell=False, + stdin=subprocess.PIPE, + stdout=subprocess.PIPE, + universal_newlines=True, + bufsize=1) +isok(p) + +p.stdin.write("option ttyname %s\n"%(ptyname)) +isok(p) + +p.stdin.write("setprompt foo bar\n") +isok(p) + +p.stdin.write("getpin\n") +p.stdin.flush() + +# avoid failures on laggy build daemons +time.sleep(2.0) + +prompt = codecs.decode(posix.read(master, 1000)) +print("---begin pinentry prompt---") +print(prompt) +print("---end pinentry prompt---") + +posix.write(master, codecs.encode("abc123\n")) + +answer = p.stdout.readline() +if answer.strip() != "D abc123": + raise Exception("wrongpass" + answer) +isok(p) + +p.stdin.write("bye\n") +isok(p) + +ret = p.wait() +if ret: + raise Exception("pinentry terminated wrong: %d!"%(ret)) + +posix.close(pty) +posix.close(master) diff --git a/debian/pinentry-tqt/pinentry-tqt-1.2.1/debian/upstream/signing-key.asc b/debian/pinentry-tqt/pinentry-tqt-1.2.1/debian/upstream/signing-key.asc new file mode 100644 index 00000000..8e2ce73d --- /dev/null +++ b/debian/pinentry-tqt/pinentry-tqt-1.2.1/debian/upstream/signing-key.asc @@ -0,0 +1,103 @@ +-----BEGIN PGP PUBLIC KEY BLOCK----- + +mQINBFMjh+8BEADUIP+QH8EirR4MvDr/Veg9fELo7vLWGXXt3yjVW1rARX6pyJy9 +OR46NpwH65p7R2X6Gqgm1NBEmY6weoloRZodV5MrvoLurR0NPjX9bOatsjCH8o4I +nB4W1mdVzrP1FTauG2OfBCUm1FRnKGCdndCAG8AiE6gTtr8SdvVa/2aPhsOGUEjd +f1To8X6OPyRMeNgAkPyQhHDOWgEAxzIz5z8MEnoyt5Gl1d6G5qciKxWGx/0V4x9E +6UGbuAsuepKlusKCz8JlEe+nOTRfrivO8+kOQ106z/WJgauIRwjd3x0WjpvYFGyQ +BfztPiCLobjvWaFW2I0Mh5DlG5q9hrWvw5RzOFD/Qct+oGRnvpY6iUzGZaM8jZcB +X5Knhr6yvUNr8BtON/LJ0Y2wae+sWwGotTZOlUsOyjmgnx326CkgeAQ9Moonjvqw +73TqgOMpmtTwWkWrZylGkGgD0CoJVg5R9NNKWIthTSpuRm1TKle69IoguWLSvtin +upWl6mN7EmXCkatjJEmR+wCAczkquWk3Qo966w6r/WLKbDkd8RrPCh5WjvpqnLKA +C9Zuk4ssw1i1Pwv+F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dY6JVTksGeCXlSDxz1em8pBl68U97dY6jPC7tpPnc3HFJp53p8/7J +zYsuZj9nmDMEX0PliRYJKwYBBAHaRw8BAQdAz75Hlekc16JhhfI0MKdEVxLdkxhc +MCO0ZG6WMBAmNpe0H1dlcm5lciBLb2NoIChkaXN0IHNpZ25pbmcgMjAyMCmImgQT +FgoAQhYhBG2qbmSnbShAVxtJAlKIl7gmQDraBQJfQ+w1AhsDBQkShccRBQsJCAcC +AyICAQYVCgkICwIEFgIDAQIeBwIXgAAKCRBSiJe4JkA62nmuAP9uL/HOdB0gvwWr +H+FpURJLs4bnaZaPIk9ARrU0EXRgJgD/YCGfHQXpIPT0ZaXuwJexK04Z+qMFR/bM +1q1Leo5CjgY= +=278x +-----END PGP PUBLIC KEY BLOCK----- diff --git a/debian/pinentry-tqt/pinentry-tqt-1.2.1/debian/watch b/debian/pinentry-tqt/pinentry-tqt-1.2.1/debian/watch new file mode 100644 index 00000000..0f219698 --- /dev/null +++ b/debian/pinentry-tqt/pinentry-tqt-1.2.1/debian/watch @@ -0,0 +1,5 @@ +version=4 + +opts=pgpsigurlmangle=s/$/.sig/ \ + https://gnupg.org/ftp/gcrypt/@PACKAGE@/@PACKAGE@@ANY_VERSION@@ARCHIVE_EXT@ \ + debian uupdate |