Sync from SUSE:ALP:Source:Standard:1.0 pinentry revision a9c80f5987d3895ea86dd4c8f086520e

This commit is contained in:
Adrian Schröter 2023-06-07 09:18:22 +02:00
commit caa59472d6
9 changed files with 1499 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

4
_multibuild Normal file
View File

@ -0,0 +1,4 @@
<multibuild>
<package>gui</package>
</multibuild>

99
pinentry Normal file
View File

@ -0,0 +1,99 @@
#!/bin/sh
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2009 Fedora Project
# Copyright (c) 2014 Red Hat
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# Anna Bernathova <anicka@novell.com> 2006
# Pavel Nemec <pnemec@novell.com> 2006
# Rex Dieter <rdieter@fedoraproject.org> 2009
# Pavol Rusnak <prusnak@novell.com> 2009
# Boris Ranto <branto@redhat.com> 2014
# Andreas Stieger <andreas.stieger@gmx.de> 2014
#
# use proper binary (pinentry-qt5, pinentry-qt, pinentry-gtk-2 or pinentry-curses)
kde_running=
arg=
display=
# look for a --display option
for opt in "$@"; do
if [ "$opt" = "--display" ]; then
arg=1
elif [ -n "$arg" ]; then
display="$opt"
else
arg=
fi
done
# export DISPLAY if pinentry is meant to be run on a different display
# check the KDE_FULL_SESSION variable otherwise
if [ -n "$display" -a "$DISPLAY" != "$display" ]; then
export DISPLAY="$display"
elif [ -n "$KDE_FULL_SESSION" ]; then
kde_running=1
kde_ver="$KDE_SESSION_VERSION"
fi
# Check for presence of xprop binary
type xprop >/dev/null 2>/dev/null
XPROP=$?
if [ -n "$DISPLAY" -a $XPROP -eq 0 ]; then
xprop -root | grep "^KDE_FULL_SESSION" >/dev/null 2>/dev/null
if test $? -eq 0; then
kde_running=1
kde_ver="`xprop -root | sed -n 's/KDE_SESSION_VERSION(CARDINAL) = //p'`" 2>/dev/null
fi
fi
# if a user supplied a pinentry binary, use it
if [ -n "$PINENTRY_BINARY" ];
then
export PINENTRY_BINARY="$PINENTRY_BINARY"
# if KDE is detected and pinentry-qt5 exists, use pinentry-qt5
elif [ -n "$kde_running" -a "$kde_ver"x = 4x -a -x /usr/bin/pinentry-qt5 ]
then
export PINENTRY_BINARY="/usr/bin/pinentry-qt5"
# if KDE is detected and pinentry-qt exists, use pinentry-qt
elif [ -n "$kde_running" -a -x /usr/bin/pinentry-qt ]
then
export PINENTRY_BINARY="/usr/bin/pinentry-qt"
# otherwise test if pinentry-gnome3 is installed
elif [ -n "$DISPLAY" -a -x /usr/bin/pinentry-gnome3 ]
then
export PINENTRY_BINARY="/usr/bin/pinentry-gnome3"
# otherwise test if pinentry-gtk-2 is installed
elif [ -n "$DISPLAY" -a -x /usr/bin/pinentry-gtk-2 ]
then
export PINENTRY_BINARY="/usr/bin/pinentry-gtk-2"
# otherwise test if pinentry-qt5 exists although KDE is not detected
elif [ -n "$DISPLAY" -a -x /usr/bin/pinentry-qt5 ]
then
export PINENTRY_BINARY="/usr/bin/pinentry-qt5"
# otherwise test if pinentry-qt exists although KDE is not detected
elif [ -n "$DISPLAY" -a -x /usr/bin/pinentry-qt ]
then
export PINENTRY_BINARY="/usr/bin/pinentry-qt"
# otherwise test if pinentry-fltk exists
elif [ -n "$DISPLAY" -a -x /usr/bin/pinentry-fltk ]
then
export PINENTRY_BINARY="/usr/bin/pinentry-fltk"
# otherwise test if pinentry-efl exists
elif [ -n "$DISPLAY" -a -x /usr/bin/pinentry-efl ]
then
export PINENTRY_BINARY="/usr/bin/pinentry-efl"
# use pinentry-tty for modem / serial
elif [ "$TERM" = "dumb" ]
then
export PINENTRY_BINARY="/usr/bin/pinentry-tty"
# pinentry-curses is installed by default
else
export PINENTRY_BINARY="/usr/bin/pinentry-curses"
fi
exec $PINENTRY_BINARY "$@"

View File

@ -0,0 +1,406 @@
--- pinentry-0.7.2/gtk+-2/padlock-keyhole.xpm
+++ pinentry-0.7.2/gtk+-2/padlock-keyhole.xpm
@@ -0,0 +1,403 @@
+/* XPM */
+static const char * padlock_keyhole_xpm[] = {
+"48 48 352 2",
+" c None",
+". c #000000",
+"+ c #010101",
+"@ c #9B9B9B",
+"# c #D0D0D0",
+"$ c #E3E3E3",
+"% c #E9E9E9",
+"& c #DDDDDD",
+"* c #C6C6C6",
+"= c #919191",
+"- c #BEBEBE",
+"; c #EAEAEA",
+"> c #F1F1F1",
+", c #F3F3F3",
+"' c #EDEDED",
+") c #E6E6E6",
+"! c #E2E2E2",
+"~ c #D8D8D8",
+"{ c #9C9C9C",
+"] c #606060",
+"^ c #F0F0F0",
+"/ c #ECECEC",
+"( c #E4E4E4",
+"_ c #E1E1E1",
+": c #D6D6D6",
+"< c #B7B7B7",
+"[ c #454545",
+"} c #858585",
+"| c #D9D9D9",
+"1 c #CECECE",
+"2 c #C2C2C2",
+"3 c #CCCCCC",
+"4 c #D5D5D5",
+"5 c #DCDCDC",
+"6 c #E0E0E0",
+"7 c #C8C8C8",
+"8 c #B9B9B9",
+"9 c #626262",
+"0 c #5E5E5E",
+"a c #E8E8E8",
+"b c #BCBCBC",
+"c c #585858",
+"d c #141414",
+"e c #7B7B7B",
+"f c #DFDFDF",
+"g c #C3C3C3",
+"h c #BBBBBB",
+"i c #4C4C4C",
+"j c #979797",
+"k c #B6B6B6",
+"l c #EBEBEB",
+"m c #8A8A8A",
+"n c #929292",
+"o c #DBDBDB",
+"p c #B3B3B3",
+"q c #939393",
+"r c #C0C0C0",
+"s c #020202",
+"t c #A2A2A2",
+"u c #E5E5E5",
+"v c #A0A0A0",
+"w c #818181",
+"x c #D1D1D1",
+"y c #AEAEAE",
+"z c #767676",
+"A c #F2F2F2",
+"B c #2F2F2F",
+"C c #828282",
+"D c #EEEEEE",
+"E c #B5B5B5",
+"F c #9F9F9F",
+"G c #0F0F0F",
+"H c #1F1F1F",
+"I c #A8A8A8",
+"J c #EFEFEF",
+"K c #CBCBCB",
+"L c #C5C5C5",
+"M c #DADADA",
+"N c #CACACA",
+"O c #ABABAB",
+"P c #ADACAA",
+"Q c #371908",
+"R c #9C5217",
+"S c #B86E25",
+"T c #B96B26",
+"U c #A75A1C",
+"V c #A55E1F",
+"W c #BC732A",
+"X c #B86F27",
+"Y c #97551A",
+"Z c #C99C62",
+"` c #F4E1CB",
+" . c #F4E0C9",
+".. c #EFDBBE",
+"+. c #ECD5B7",
+"@. c #EBD2B4",
+"#. c #EAD2B3",
+"$. c #EBCFB0",
+"%. c #E9CEAE",
+"&. c #E8CCAB",
+"*. c #E7CCA8",
+"=. c #E8C7A1",
+"-. c #E6C6A1",
+";. c #E5C5A0",
+">. c #E3C29A",
+",. c #E0C09B",
+"'. c #E0BD93",
+"). c #DFBA92",
+"!. c #DFBA8E",
+"~. c #DDB386",
+"{. c #D5AC7C",
+"]. c #A2611B",
+"^. c #F5E6D0",
+"/. c #EAD3AF",
+"(. c #EACFAF",
+"_. c #DAB88B",
+":. c #DAB687",
+"<. c #D8B081",
+"[. c #D6AE7F",
+"}. c #D3AB7C",
+"|. c #D1A974",
+"1. c #CFA56E",
+"2. c #CCA36D",
+"3. c #CA9F67",
+"4. c #C89E67",
+"5. c #C69B63",
+"6. c #C29861",
+"7. c #C2935B",
+"8. c #BF9052",
+"9. c #BC884B",
+"0. c #BD8440",
+"a. c #BA7E3D",
+"b. c #B37634",
+"c. c #A76A22",
+"d. c #8D5314",
+"e. c #F5E4CE",
+"f. c #E7CDA8",
+"g. c #DFBD90",
+"h. c #D8B183",
+"i. c #D5AD7E",
+"j. c #D2AA7B",
+"k. c #D2A677",
+"l. c #D0A771",
+"m. c #CDA36C",
+"n. c #C89F68",
+"o. c #C59B64",
+"p. c #C49961",
+"q. c #C59A62",
+"r. c #C2985D",
+"s. c #C1945A",
+"t. c #BF9054",
+"u. c #BE8E4F",
+"v. c #BC8749",
+"w. c #BA823F",
+"x. c #B17432",
+"y. c #8B5214",
+"z. c #E0BF97",
+"A. c #DBB486",
+"B. c #D7AF80",
+"C. c #D2AC7B",
+"D. c #D0A66F",
+"E. c #B58E5C",
+"F. c #A07E50",
+"G. c #9A794D",
+"H. c #B28C59",
+"I. c #C79C64",
+"J. c #C2975F",
+"K. c #BC8441",
+"L. c #B57C38",
+"M. c #AF732C",
+"N. c #A3661E",
+"O. c #875014",
+"P. c #E8CDA9",
+"Q. c #DFBC92",
+"R. c #D2AB7D",
+"S. c #D0AB75",
+"T. c #B38E5D",
+"U. c #94744A",
+"V. c #775E3C",
+"W. c #201910",
+"X. c #79603E",
+"Y. c #C79D66",
+"Z. c #BF9156",
+"`. c #BE8645",
+" + c #BC833F",
+".+ c #B67C37",
+"++ c #AA6C23",
+"@+ c #8D5514",
+"#+ c #E8CEA9",
+"$+ c #E1BC94",
+"%+ c #DAB487",
+"&+ c #D8B281",
+"*+ c #D0A873",
+"=+ c #92744D",
+"-+ c #7A603E",
+";+ c #79603F",
+">+ c #BE8F51",
+",+ c #BA813D",
+"'+ c #B77E3A",
+")+ c #B37934",
+"!+ c #A66921",
+"~+ c #E5C9A4",
+"{+ c #DDBA90",
+"]+ c #D2A575",
+"^+ c #D1A770",
+"/+ c #95754C",
+"(+ c #201A10",
+"_+ c #211A10",
+":+ c #D7B78E",
+"<+ c #BD8C4C",
+"[+ c #BC8845",
+"}+ c #BB823E",
+"|+ c #A96B22",
+"1+ c #E9CDAC",
+"2+ c #E7CBA6",
+"3+ c #D1A572",
+"4+ c #96774E",
+"5+ c #E1CBAD",
+"6+ c #C09359",
+"7+ c #BC8543",
+"8+ c #B37832",
+"9+ c #E8CCA7",
+"0+ c #E5CAA4",
+"a+ c #DCB98F",
+"b+ c #CAA16B",
+"c+ c #20190F",
+"d+ c #DEC6A7",
+"e+ c #C19256",
+"f+ c #BD8D4E",
+"g+ c #B57D3A",
+"h+ c #B57836",
+"i+ c #AD722C",
+"j+ c #A4661D",
+"k+ c #D2AB79",
+"l+ c #D1A872",
+"m+ c #755C38",
+"n+ c #755B37",
+"o+ c #DDC7A7",
+"p+ c #B77F3C",
+"q+ c #B0752F",
+"r+ c #A46821",
+"s+ c #895114",
+"t+ c #E9CEAA",
+"u+ c #DAB385",
+"v+ c #201A11",
+"w+ c #927E63",
+"x+ c #E3CFB3",
+"y+ c #D4B388",
+"z+ c #BB8444",
+"A+ c #B67A39",
+"B+ c #B17630",
+"C+ c #D2AC77",
+"D+ c #CDA46E",
+"E+ c #A57D4D",
+"F+ c #D9BF9E",
+"G+ c #CAA371",
+"H+ c #B77D38",
+"I+ c #AD6F26",
+"J+ c #BA935E",
+"K+ c #95744A",
+"L+ c #C5B39B",
+"M+ c #B57938",
+"N+ c #AD762E",
+"O+ c #AF722A",
+"P+ c #E1BD96",
+"Q+ c #CAA069",
+"R+ c #B58F5D",
+"S+ c #836641",
+"T+ c #8F7554",
+"U+ c #BC8947",
+"V+ c #BD8242",
+"W+ c #DBB88E",
+"X+ c #D1A776",
+"Y+ c #CCA26B",
+"Z+ c #B48D59",
+"`+ c #6C5433",
+" @ c #6D5536",
+".@ c #B47B37",
+"+@ c #C08D51",
+"@@ c #894E14",
+"#@ c #DCB387",
+"$@ c #D1AB76",
+"%@ c #B28B57",
+"&@ c #AC834E",
+"*@ c #3F301C",
+"=@ c #40321E",
+"-@ c #D2BD9F",
+";@ c #C8A271",
+">@ c #B8803D",
+",@ c #AF742E",
+"'@ c #864C13",
+")@ c #E6CAA5",
+"!@ c #B28753",
+"~@ c #9A7545",
+"{@ c #89683E",
+"]@ c #DAC1A0",
+"^@ c #BD8E50",
+"/@ c #B17732",
+"(@ c #AD712A",
+"_@ c #CA9D63",
+":@ c #874D14",
+"<@ c #E4C8A3",
+"[@ c #DAB88D",
+"}@ c #CBA26C",
+"|@ c #B78F5B",
+"1@ c #7F633F",
+"2@ c #725938",
+"3@ c #D3B389",
+"4@ c #CC9F69",
+"5@ c #B87F3B",
+"6@ c #BC823D",
+"7@ c #CEA16B",
+"8@ c #E8CBA5",
+"9@ c #C1975C",
+"0@ c #C09257",
+"a@ c #B9813E",
+"b@ c #BC8545",
+"c@ c #CDA06A",
+"d@ c #E6C9A3",
+"e@ c #D9B888",
+"f@ c #D3A676",
+"g@ c #BC8C4D",
+"h@ c #BE8A4D",
+"i@ c #BE8B4F",
+"j@ c #C79D60",
+"k@ c #E6C8A1",
+"l@ c #E1C39C",
+"m@ c #C2995F",
+"n@ c #D2AA77",
+"o@ c #D4A773",
+"p@ c #BF8A4C",
+"q@ c #B17330",
+"r@ c #331707",
+"s@ c #B2752D",
+"t@ c #C49A5D",
+"u@ c #B87E39",
+"v@ c #B37532",
+"w@ c #AF772E",
+"x@ c #AC742B",
+"y@ c #AA7229",
+"z@ c #AE7129",
+"A@ c #A96D26",
+"B@ c #A56922",
+"C@ c #A36720",
+"D@ c #A2651D",
+"E@ c #9E6119",
+"F@ c #9B5F18",
+"G@ c #995D16",
+"H@ c #925615",
+"I@ c #58300D",
+"J@ c #261105",
+"K@ c #311607",
+" ",
+" ",
+" ",
+" ",
+" . . . + . . . ",
+" . . + @ # $ % & * = + . . ",
+" . + - ; > , > ' ; ) ! ~ { + . ",
+" . ] $ , ^ / ) ( $ ! ! ! _ : < [ . ",
+" . } / , ; $ | 1 2 2 3 4 5 6 & 7 8 9 . ",
+" . 0 / , a 5 b c d . . . e - 6 f 5 g h i . ",
+" . + ! , % ~ j . . . { & 6 ~ h k + ",
+" . 8 , l ~ m . . n o f 1 p q . ",
+" + ; > & r s . . t u & r k + ",
+" v > a * w . s 5 ; x y z . ",
+" . # A | r B . C D 5 E F . ",
+" . _ > 3 r G H / ! r I . ",
+" . ) J K < . . % u L y . ",
+" . M l N O . . ( $ N P . ",
+" Q Q Q R S T U Q Q Q Q Q Q Q Q Q Q Q Q Q Q Q V W X Y Q Q Q Q ",
+" Q Z ` ...+.@.#.$.%.&.*.=.-.-.-.-.-.=.=.-.;.;.>.,.'.).!.~.{.].Q ",
+" Q ^./.(.>._.:.<.[.}.|.1.2.3.3.3.3.3.3.3.4.5.6.7.8.9.0.a.b.c.d.Q ",
+" Q e.%.f.g.h.i.j.k.l.m.n.o.p.p.p.q.q.q.q.p.r.s.t.u.v.w.a.x.c.y.Q ",
+" Q ^.$.%.z.A.<.B.C.k.D.2.E.F.G.G.H.I.I.I.q.J.7.t.u.K.w.L.M.N.O.Q ",
+" Q e.(.P.Q.i.R.j.S.D.m.T.U.V.W.. W.X.n.3.Y.o.p.r.Z.u.`. +.+++@+Q ",
+" Q e.%.#+$+%+&+B.j.*+1.=+-+. . . . . ;+3.o.q.J.s.>+v.,+'+)+!+y.Q ",
+" Q ` P.~+{+i.j.j.]+^+2./+(+. . . . . _+:+4.5.p.J.Z.<+[+}+.+|+d.Q ",
+" Q e.1+2+Q.<.[.R.j.3+m.4+. . . . . . . 5+Y.p.J.6+>+<+7+a.8+c.y.Q ",
+" Q ` 9+0+a+[.}.j.]+1.b+/+W.. . . . . c+d+6.e+t.f+v.w.g+h+i+j+O.Q ",
+" Q e.1+2+{+i.k+l+1.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1.2.1.tar.bz2 (Stored with Git LFS) Normal file

Binary file not shown.

BIN
pinentry-1.2.1.tar.bz2.sig Normal file

Binary file not shown.

603
pinentry.changes Normal file
View File

@ -0,0 +1,603 @@
-------------------------------------------------------------------
Thu Jun 1 11:07:59 UTC 2023 - Frederic Crozat <fcrozat@suse.com>
- Update signature file and keyring with latest ones from download
site, they were updated by another approved upstream maintainer.
-------------------------------------------------------------------
Mon Feb 27 14:53:16 UTC 2023 - pgajdos@suse.com
- add %bcond option to disable fltk backend
-------------------------------------------------------------------
Thu Aug 25 07:51:50 UTC 2022 - Dirk Müller <dmueller@suse.com>
- update to 1.2.1:
* qt: Support building with Qt 5.9. [T5592]
* curses: Handle an error at curses initialization. [T5623]
* curses: Specify fg/bg when an extention of Ncurses is not available.
* qt: Fix translation of context menu entries. [T5786]
* qt: Further improve the accessibility. [T5863]
* qt: Fix moving focus to second input field when pressing Enter in
first input field. [T5866]
* qt: Update the cursor position when reformatting the text. [T5972]
* qt: Use foreground raising code also with the confirm prompt.
* Make the legacy qt4 version build again. [T5569]
* Make sure an entered PIN is always cleared from memory. [T5977]
* Build fixes for Windows. [T5893]
-------------------------------------------------------------------
Thu Mar 3 08:03:59 UTC 2022 - Dominique Leuenberger <dimstar@opensuse.org>
- Correction for previous change: ensure the packages built in the
gui flavor do not change their package name. e.g pinentry-qt5
wrongly got renamed to pinentry-gui-qt5.
-------------------------------------------------------------------
Thu Feb 24 10:50:46 UTC 2022 - Dominique Leuenberger <dimstar@opensuse.org>
- Fix name tag for multibuild: name tag should be conditional on
the multibuild flavor.
-------------------------------------------------------------------
Sat Aug 28 09:33:53 UTC 2021 - Andreas Stieger <andreas.stieger@gmx.de>
- pinentry 1.2.0:
* qt: Show a warning if Caps Lock is on
* qt: Support password formatting. This makes generated
passwords easier to transcribe
* qt: Fix showing of pinentry window on Wayland
* qt: Check passphrase constraints before accepting passphrase
if passphrase constraints are requested to be enforced
* qt: Improve detection of running in a GUI session
* qt: Improve accessibility when entering new password
-------------------------------------------------------------------
Fri Jan 29 22:35:17 UTC 2021 - Dirk Müller <dmueller@suse.com>
- add _multibuild to separate out gui client builds
-------------------------------------------------------------------
Wed Jan 27 17:20:58 UTC 2021 - Andreas Stieger <andreas.stieger@gmx.de>
- actually build efl based pinentry
- re-enable validation of upstream signing key
-------------------------------------------------------------------
Sun Jan 24 19:21:05 UTC 2021 - Dirk Müller <dmueller@suse.com>
- update to 1.1.1:
* A EFL-based pinentry has been contributed.
* Disable echoing in backspace key is pressed first
(GTK, Qt, TQt, and ncurses pinentries).
* Support line editing in TTY pinentry.
* Remove support for old GTK+2 (< 2.12.0).
* Various minor fixes.
- drop pinentry-qt-Fix-use-of-dangling-pointer.patch (upstream)
- drop pinentry-ncurses6.diff: obsolete
-------------------------------------------------------------------
Thu Jul 25 12:48:45 UTC 2019 - Pedro Monreal Gonzalez <pmonrealgonzalez@suse.com>
- Fix a dangling pointer in qt/main.cpp [bsc#1141883]
* Added pinentry-qt-Fix-use-of-dangling-pointer.patch
-------------------------------------------------------------------
Thu Jul 25 10:24:55 UTC 2019 - Pedro Monreal Gonzalez <pmonrealgonzalez@suse.com>
- Updated spec file with spec-cleaner
-------------------------------------------------------------------
Thu Feb 22 15:10:43 UTC 2018 - fvogt@suse.com
- Use %license (boo#1082318)
-------------------------------------------------------------------
Mon Dec 11 19:01:27 UTC 2017 - astieger@suse.com
- pinentry 1.1.0:
* Add FLTK1.3-based pinentry
* New option --ttyalert for pinentry-curses to alert the user.
* Don't show "save passphrase" checkbox if secret service is
unavailable.
* The GTK Pinentry shows on Linux some information anout the
process which invoked the Pinentry.
* The GTK Pinentry does not anymore show tooltips when keyboard
grabbing is enabled.
-------------------------------------------------------------------
Thu Dec 15 09:47:09 UTC 2016 - tchvatal@suse.com
- Build pinentry tui in build and not during install
-------------------------------------------------------------------
Wed Dec 14 14:04:38 UTC 2016 - astieger@suse.com
- pinentry 1.0.0:
* Qt pinentry now supports repeat mode in one dialog.
* Qt and GTK pinentries now make it possible to show the entered
value.
* Qt pinentry now only grabs the keyboard if an entry field is
focused.
* Fixed potential crash in Qt qualitybar calculation.
* GTK keyboard grabbing is now a bit more robust. The cursor is
changed to a big dot as a visual indication that a pinentry
has popped up and is waiting for input.
* The GNOME pinentry now falls back to curses if it can't use the
GCR system prompter or a screenlock is active.
* Fixed error output for cached passwords.
* A show/hide passphrase button or checkbox is now available with
some pinentry flavors.
* Improved diagnostics and error codes.
-------------------------------------------------------------------
Fri Jul 29 09:15:06 UTC 2016 - tchvatal@suse.com
- Update the conflict to bring back the self-deprecation broken in
previous change wrt boo#989554
-------------------------------------------------------------------
Wed Jan 20 08:49:48 UTC 2016 - astieger@suse.com
- completely rename to qt5 [boo#962076]
- fix self-deprecation rpmlint warning
-------------------------------------------------------------------
Wed Jan 13 10:07:36 UTC 2016 - tchvatal@suse.com
- Use qt5 instead of qt4 in pinentry-qt
-------------------------------------------------------------------
Mon Dec 14 19:50:38 UTC 2015 - andreas@suse.de
- pinentry 0.9.7:
* Fix regressions in the Qt pinentry.
(previsouly patched, removed
pinentry-qt4-fix-qstring-conversion.patch)
* Fix minor problems pinnetyr-tty.
* New option --invisible-char.
-------------------------------------------------------------------
Wed Oct 21 12:28:42 UTC 2015 - dmueller@suse.com
- add pinentry-qt4-fix-qstring-conversion.patch (bsc#951307)
-------------------------------------------------------------------
Tue Oct 6 13:10:29 UTC 2015 - kstreitova@suse.com
- update to 0.9.6
* changelog:
+ Many improvements for the dump tty pinentry
+ Use the standard GTK+-2 text entry widget instead of our outdated
and back-then-it-was-more-secure text widget
+ Use the standard Qt text widget
+ Allow for building a static Qt variant
+ Fix regression in w32 pinentry
* remove qt4-disable-inputmethod-for-passwords.diff (patched file
is no longer present)
* remove regenerating of qt4/qsecurelineedit.moc in specfile as
qt4/qsecurelineedit.h was deleted. Adjust paths for the rest
of the moc files (qt4 -> qt).
* '--enable-pinentry-qt4' is now '--enable-pinentry-qt'
* '--enable-pinentry-qt4-clipboard' option was removed
* add backward compatibility link for pinentry-qt4
- use spec-cleaner
-------------------------------------------------------------------
Fri Jul 10 08:54:22 UTC 2015 - werner@suse.de
- Make it build with every ncurses library ABI
adding pinentry-ncurses6.diff
-------------------------------------------------------------------
Wed Jul 1 18:28:48 UTC 2015 - astieger@suse.com
- pinentry 0.9.5:
* Replaced the internal Assuan and gpg-error code by the standard
libassuan and libgpg-error libraries.
* Add a new Emacs pinentry and use as fallback for GUI programs.
* gnome3: The use-password-manager checkbox does now work.
* Gtk: Improved fallback to curses feature.
* curses: Recognize DEL as backspace.
-------------------------------------------------------------------
Thu Jun 11 14:49:54 UTC 2015 - lnussel@suse.de
- build gui version with libsecret and text mode versions without to
avoid pulling in dbus-x11 on minimal installs (bnc#934214)
-------------------------------------------------------------------
Wed Jun 10 21:14:04 UTC 2015 - astieger@suse.com
- pinentry 0.9.4:
* Fix regression in GTK+ and curses pinentries [boo#934207]
-------------------------------------------------------------------
Fri Jun 5 17:06:23 UTC 2015 - astieger@suse.com
- No longer increase the default secure memory size from 16k to 64k,
as further memory would be locked from being paged to disk by the
pinentry-gnome3 UI, generating an error message and failing to
lock. Remove moreSecureMemoryForPinentry-qt.diff - [boo#933687]
-------------------------------------------------------------------
Thu Jun 4 21:49:01 UTC 2015 - astieger@suse.com
- pinentry 0.9.3:
* new pinentry-gnome3
* Improved documentation
* More improvements for pinentry-tty.
* Fixes for pinentry-curses including support for Ctrl-W, Ctrl-U,
Ctrl-H, Ctrl-L, and Alt-Backspace
* New Assuan command to request clearing an external cache.
* Fixed problems linking to ncursesw.
* All kind of other minor fixes.
- update pinentry script to use gnome3 if installed, no automation
- Enabled features:
* Support for saving the passphrase with libsecret.
-------------------------------------------------------------------
Tue May 12 20:41:19 UTC 2015 - astieger@suse.com
- pinentry 0.9.2:
* Escape key works in the Gtk+ pinentry.
* Improvements for pinentry-tty.
- Upstream supported but not enabled:
* Support for saving the passphrase with libsecret.
-------------------------------------------------------------------
Thu Mar 26 19:46:55 UTC 2015 - astieger@suse.com
- qt4 pasting was available upstream since 0.8.4 but not enabled.
Enable through configure option [boo#905155]
-------------------------------------------------------------------
Mon Mar 23 23:35:05 UTC 2015 - crrodriguez@opensuse.org
- Use -std=gnu++11 in CXXFLAGS, fix build with gcc5.
-------------------------------------------------------------------
Thu Mar 19 16:35:14 UTC 2015 - astieger@suse.com
- pinentry 0.9.1:
* Fixed build problems for systems without ncurses.
* Reworked the option parser to allow building on systems without
getopt_long.
* Fixed Qt4 build problems.
-------------------------------------------------------------------
Sat Nov 1 19:00:59 UTC 2014 - andreas.stieger@gmx.de
- pinentry 0.9.0:
* New command SETREPEAT. Currently only supported for Gtk+-2.
* Gtk+-2: Pasting using the mouse is now supported.
* curses: Check that it is actually connected to a tty.
* Removed the old qt-3 and gtk+-1 pinentries.
- remove obsolete patches:
pinentry-0.7.2-bnc179996_disable_inputmethod_for_passords.patch
pinentry-0.8.1-allow_paste_gtk2.patch
- remove build dependencies and autoconf call, removing patch
pinentry-0.8.1-tinfo.patch
-------------------------------------------------------------------
Tue Oct 21 10:57:43 UTC 2014 - tchvatal@suse.com
- Remove qt3 helpers
- Remove gpg verification in spec, it is done by obs automatically
- Some whitespace changes
- Add default defattr
-------------------------------------------------------------------
Sun Sep 21 22:21:38 UTC 2014 - andreas.stieger@gmx.de
- pinentry 0.8.4:
* New pinentry-tty version for dumb terminals.
* Qt4: New option to enable pasting the passphrase from clipboard
* Qt4: Improved accessiblity
* Qt4: Raise confirm message windows into foreground
* Improved the build system.
- remove pinentry-0.8.1-allow_paste_qt4.patch, functionality
implemented
- sync pinentry wrapper with Fedora
- update pinentry wrapper to use pinentry-tty on dumb terminals
-------------------------------------------------------------------
Sat Dec 21 08:07:10 UTC 2013 - coolo@suse.com
- disable qt3 support to avoid maintaining qt3 forever
-------------------------------------------------------------------
Mon Aug 19 21:53:03 UTC 2013 - andreas.stieger@gmx.de
- update to 0.8.3
* Add SETTIMEOUT command for the gtk+-2 pinentry.
- includes changes from 0.8.2:
* New SETTIMEOUT command for the qt4 pinentry.
* Wide character support for the curses pinentry.
( already present in openSUSE patched version)
* Various bug fixes.
- drop pinentry-0.7.2-curses-utf-8.diff, implemented upstream
- drop pinentry-0.8.1-editing-cancelled_warning.patch, same
- refresh qt4-disable-inputmethod-for-passwords.diff
-------------------------------------------------------------------
Mon Apr 22 11:47:26 UTC 2013 - meissner@suse.com
- %makeinstall instead of %make install.
-------------------------------------------------------------------
Mon Apr 15 10:16:54 UTC 2013 - idonmez@suse.com
- Add Source URL, see https://en.opensuse.org/SourceUrls
- Add GPG checking
-------------------------------------------------------------------
Mon Dec 5 09:02:39 UTC 2011 - vcizek@suse.com
- fixed licence of the pinentry-qt subpackage (bnc#734792)
-------------------------------------------------------------------
Wed Nov 30 14:22:55 UTC 2011 - coolo@suse.com
- add automake as buildrequire to avoid implicit dependency
-------------------------------------------------------------------
Tue Nov 22 15:57:45 UTC 2011 - vcizek@suse.com
- patch that fixes Glib warning (bnc#730453)
- add -ltinfo to fix build
-------------------------------------------------------------------
Fri Oct 21 14:08:20 CEST 2011 - tiwai@suse.de
- fix pinentry-qt4 not to allow triggering IM (bnc#725471)
-------------------------------------------------------------------
Wed Sep 14 15:43:02 UTC 2011 - vcizek@suse.com
- enable paste for pinentry-gtk2 (bnc#690514)
-------------------------------------------------------------------
Tue Sep 13 15:41:23 UTC 2011 - vcizek@suse.com
- enable paste for pinentry-qt4 (bnc#690514)
-------------------------------------------------------------------
Thu Mar 24 15:08:28 UTC 2011 - puzel@novell.com
- update to pinentry-0.8.1
* The GTK pinentry now always sticks to the top and properly grabs
the keyboard.
* The protocol options default-cancel and default-ok now work for
the pinentry-gtk2 and pinentry-qt (that is QT3).
- drop pinentry-qt-fix-1162.diff (in upstream)
- use spec-cleaner
-------------------------------------------------------------------
Tue Oct 5 18:28:51 UTC 2010 - cristian.rodriguez@opensuse.org
- Add missing buildrequires on libcap-devel
-------------------------------------------------------------------
Mon Aug 23 12:41:02 UTC 2010 - puzel@novell.com
- pinentry-qt-fix-1162.diff: fix active window issue (bnc#629502)
Upstream Patch: https://bugs.g10code.com/gnupg/issue1162
-------------------------------------------------------------------
Wed Jul 7 07:50:44 UTC 2010 - puzel@novell.com
- change pinentry script to not to rely on curses fallback
mechanism if DISPLAY is not set
-------------------------------------------------------------------
Wed Mar 17 09:55:17 UTC 2010 - puzel@novell.com
- update to pinentry-0.8.0
* Beautified the qt4 pinentry
* Minor enhancements.
-------------------------------------------------------------------
Sat Dec 19 22:54:19 CET 2009 - jengelh@medozas.de
- enable parallel build
-------------------------------------------------------------------
Wed Oct 7 10:21:25 UTC 2009 - puzel@novell.com
- do not fail when no graphical pinentry is installed -
try pinentry-curses instead (bnc#544365)
-------------------------------------------------------------------
Fri Aug 21 11:17:35 UTC 2009 - puzel@novell.com
- all graphical pinentry (-qt,qt4,-gtk2) now provide pinentry-gui
-------------------------------------------------------------------
Tue Jun 30 14:13:52 CEST 2009 - puzel@novell.com
- improve pinentry script: prefer pinentry-qt in KDE3 environment
(bnc#514688)
-------------------------------------------------------------------
Wed Jun 24 12:36:58 CEST 2009 - puzel@novell.com
- update to pinentry-0.7.6
* Make Gtk+-2 pinentry transient to the root window.
* Add Qt4 pinentry.
* Fix utf-8 problem in Qt pinentries.
* Return GPG_ERR_CANCELED if during a "CONFIRM" command the user
closed the window.
* Add quality bar.
- drop pinentry-gsize.patch (fixed in upstream)
- drop wrong-apostrophe.patch (fixed in upstream)
- drop pinentry-qt4.patch (native qt4 support added)
- simplify build section with configure macro and autoreconf
-------------------------------------------------------------------
Thu May 28 17:10:50 CEST 2009 - puzel@suse.cz
- pinentry-qt4 (bnc#505134)
- add pinentry-qt4.patch.bz2
-------------------------------------------------------------------
Mon Nov 10 14:57:29 CET 2008 - coolo@suse.de
- revert the last entry (reopened the bug)
-------------------------------------------------------------------
Wed Nov 5 12:10:12 CET 2008 - puzel@suse.cz
- pinentry requires pinentry-dialog (bnc#441084)
-------------------------------------------------------------------
Wed Jul 23 10:59:04 CEST 2008 - puzel@suse.cz
- added pinentry-0.7.5-wrong-apostrophe.patch
* fixes (bnc#411312)
-------------------------------------------------------------------
Mon Jun 16 13:14:52 CEST 2008 - puzel@suse.cz
- removed pinentry-0.7.2-qt-utf8.diff workaround patch
(not needed since [bnc#305725] is fixed)
-------------------------------------------------------------------
Wed Apr 16 20:43:26 CEST 2008 - pcerny@suse.cz
- update to 0.7.5
(small fixes, see package's changelog for details)
-------------------------------------------------------------------
Thu Apr 10 18:48:59 CEST 2008 - werner@suse.de
- Use correct ncurses header for libncursesw
- Handle info file
- Use RPM_OPT_FLAGS even for c++ files
-------------------------------------------------------------------
Mon Mar 31 01:03:15 CEST 2008 - ro@suse.de
- fix build with changed definition of g_malloc (gulong->gsize)
-------------------------------------------------------------------
Tue Sep 11 14:43:07 CEST 2007 - ltinkl@suse.cz
- fix various utf-8 problems (#305725)
-------------------------------------------------------------------
Fri Mar 30 01:23:32 CEST 2007 - ro@suse.de
- added ncurses-devel to buildreq
-------------------------------------------------------------------
Fri Jan 5 11:29:56 CET 2007 - anicka@suse.cz
- fix KDE detection in pinentry wrapper script
(thanks llunak for a patch)
-------------------------------------------------------------------
Wed Nov 22 13:12:34 CET 2006 - anicka@suse.cz
- fixed Provides [#223074]
-------------------------------------------------------------------
Tue Nov 21 18:09:45 CET 2006 - nadvornik@suse.cz
- fixed pinentry script: dont use pinentry-curses in GUI [#205688]
- removed useless provides
-------------------------------------------------------------------
Mon Nov 6 20:42:19 CET 2006 - anicka@suse.de
- split graphical frontends (#217373)
- rewrite pinentry wrapper to use the right binary
-------------------------------------------------------------------
Mon Nov 6 11:20:26 CET 2006 - pnemec@suse.cz
- Fixed pinnentry wrapper #218257
-------------------------------------------------------------------
Mon Oct 16 00:18:30 CEST 2006 - schwab@suse.de
- Make sure config.rpath is present.
-------------------------------------------------------------------
Tue Oct 3 10:37:48 CEST 2006 - pnemec@suse.cz
- removed static simlink to pinentry-qt
- add script which use pinentry-qt only when KDE is detected
-------------------------------------------------------------------
Mon Jun 26 18:56:26 CEST 2006 - mfabian@suse.de
- Bugzilla #179996: enable input methods in SecQlineEdit widgets
only when "mode == Normal" (i.e. not when "mode == NoEcho" or
"mode == Password"). Using input methods while inputting
passwords is useless. See also Bugzilla #117115.
-------------------------------------------------------------------
Wed Jan 25 21:40:19 CET 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
-------------------------------------------------------------------
Mon Dec 19 15:19:28 CET 2005 - ro@suse.de
- added symlink to filelist
-------------------------------------------------------------------
Fri Jul 29 19:01:54 CEST 2005 - anicka@suse.cz
- update to 0.7.2
- remove part of gtk2 patch contained in new version
-------------------------------------------------------------------
Tue Nov 02 14:47:19 CET 2004 - postadal@suse.cz
- added patch gtk+-2.4.diff.bz2 for gtk2 support (removing gtk1 dependency)
-------------------------------------------------------------------
Tue Jul 13 16:47:13 CEST 2004 - adrian@suse.de
- update to version 0.7.1
-------------------------------------------------------------------
Sat Jan 10 22:28:53 CET 2004 - adrian@suse.de
- build as user
-------------------------------------------------------------------
Tue Nov 18 12:37:30 CET 2003 - mc@suse.de
- increase secmem allocation for pinentry-qt to avoid
"Out of memory" errors.
(pinentry-0.6.9.moreSecureMemoryForPinentry-qt.diff)
-------------------------------------------------------------------
Mon Jun 2 13:26:39 CEST 2003 - mc@suse.de
- remove pinentry-0.6.8-prevent-assuan-stderr.dif; no longer needed
- switch to version 0.6.9
* a memory-issue present in 0.6.8
* a minor build problem (make distclean now cleans up .moc files)
* assuan protocol debug messages are not written to stderr
- fixed build on x86_64
-------------------------------------------------------------------
Tue Apr 8 11:49:53 CEST 2003 - mc@suse.de
- prevent pinentry-qt to print the assuan protocol to stderr
-------------------------------------------------------------------
Fri Feb 21 09:33:26 CET 2003 - ro@suse.de
- fixed neededforbuild
-------------------------------------------------------------------
Tue Feb 11 15:38:52 CET 2003 - mc@suse.de
- initial release

86
pinentry.keyring Normal file
View File

@ -0,0 +1,86 @@
-----BEGIN PGP PUBLIC KEY BLOCK-----
mQGNBFjLuq4BDACnM7zNSIaVMAacTwjXa5TGYe13i6ilHe4VL0NShzrgzjc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FPDn6ciIOryssRx2G4kCZ
t+nFB9JyDbBOZAR8DK4pN1mAxG/yLDt4oKcUQsP2xlEFum+phxyR8KyYCpkwKRxY
eK+6lfilQuveoUwp/Xx5wXPNUy6q4eOOovCW7gS7I7288NGHCa2ul8sD6vA9C4mM
4Zxaole9P9wwJe1zZFtCIy88zHM9vqv+YM9DxMCaW24+rUztr7eD4bCRdG+QlSh+
7R/TaqSxY1eAAd1J5tma9CNJO73pTKU+/JhTBGFpSqMTCSskAwMCCAEBBwIDBF6X
D9NmUQDgiyYNbhs1DMJ14mIw812wY1HVx/4QWYWiBunhrvSFxVbzsjD7/Wv+v3bm
MPrL+M2DLyFiSewNmcS0JEdudVBHLmNvbSAoUmVsZWFzZSBTaWduaW5nIEtleSAy
MDIxKYiaBBMTCABCFiEEAvON/3Mf+XywOaHaVJ5pXpBboggFAmFpSqMCGwMFCQ9x
14oFCwkIBwIDIgIBBhUKCQgLAgQWAgMBAh4HAheAAAoJEFSeaV6QW6IITkoA/RYa
jaTl1eEBU/Gdm12o3jrI55N5xZK2XTqSx25clVyjAP0XwMW/Og5+ND1ri3bAqADV
WlBDUswz8wYxsb0C4kYBkoh1BBAWCgAdFiEEbapuZKdtKEBXG0kCUoiXuCZAOtoF
AmFpTvEACgkQUoiXuCZAOtrJQAEAh7YyykjAy/Qs1yC3ji8iBfIVnPXvblrIx3SR
RyDwRC8BAKtZbEuKTtPlgkLUgMleTcZJ/vEhJE+GvfQ9o5gWCqEFiHUEEBYKAB0W
IQTB00tpIZ5K7sC6HCHj/f8hjkW3KwUCYWlPWgAKCRDj/f8hjkW3Kx4eAQDp6aGS
N/fU4xLl8RSvQUVjVA+aCTrMQR3hRwqw8liF2wEA3O3ECxz6e1+DoItYoJBBLKLw
eiInsGZ/+h5XYrpXTgA=
=4+Sn
-----END PGP PUBLIC KEY BLOCK-----

275
pinentry.spec Normal file
View File

@ -0,0 +1,275 @@
#
# spec file
#
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define ncurses %(xxx="`readlink -f %{_includedir}/ncurses.h`"; echo $xxx)
%define nmajor %(grep NCURSES_VERSION_MAJOR < %{_includedir}/ncurses.h)
%global flavor @BUILD_FLAVOR@%{nil}
%if "%{flavor}" != ""
%define nsuffix -%{flavor}
%endif
%bcond_without fltk
Name: pinentry%{?nsuffix}
Version: 1.2.1
Release: 0
Summary: Collection of Simple PIN or Passphrase Entry Dialogs
License: GPL-2.0-or-later
Group: Productivity/Other
URL: https://www.gnupg.org/aegypten/
Source: https://www.gnupg.org/ftp/gcrypt/pinentry/pinentry-%{version}.tar.bz2
Source1: https://www.gnupg.org/ftp/gcrypt/pinentry/pinentry-%{version}.tar.bz2.sig
# https://www.gnupg.org/signature_key.html
# https://incenp.org/srv/dgouttegattat.asc
Source2: pinentry.keyring
Source3: pinentry
Patch1: pinentry-0.7.2-gtk+-2.4.diff
BuildRequires: libassuan-devel >= 2.1.0
BuildRequires: libgpg-error-devel >= 1.16
BuildRequires: ncurses-devel
BuildRequires: pkgconfig
BuildRequires: update-desktop-files
Provides: pinentry-dialog
%if "%{flavor}" == "gui"
%if %{with fltk}
BuildRequires: fltk-devel >= 1.3
%endif
BuildRequires: pkgconfig(Qt5Core)
BuildRequires: pkgconfig(Qt5Gui)
BuildRequires: pkgconfig(Qt5Widgets)
BuildRequires: pkgconfig(Qt5X11Extras) >= 5.1.0
BuildRequires: pkgconfig(gcr-3)
BuildRequires: pkgconfig(gcr-base-3)
BuildRequires: pkgconfig(gtk+-2.0) >= 2.12.0
BuildRequires: pkgconfig(libsecret-1)
%ifnarch ppc
BuildRequires: pkgconfig(efl)
%endif
%endif
%description
This is a collection of simple PIN or passphrase entry dialogs which
utilize the Assuan protocol as described by the Aegypten project.
%if "%{flavor}" == "gui"
%package -n pinentry-emacs
Summary: Simple PIN or Passphrase Entry Dialog integrated into Emacs
Group: Productivity/Other
Requires: emacs
Requires: pinentry
Provides: pinentry-dialog
Provides: pinentry-gui
Provides: pinentry:%{_bindir}/pinentry-emacs
%description -n pinentry-emacs
A simple PIN or passphrase entry dialog utilize the Assuan protocol
as described by the Aegypten project, integrated into Emacs.
%package -n pinentry-efl
Summary: Simple PIN or Passphrase Entry Dialog for EFL
Group: Productivity/Other
Requires: pinentry
Provides: pinentry-dialog
Provides: pinentry-gui
Provides: pinentry:%{_bindir}/pinentry-efl
%description -n pinentry-efl
A simple PIN or passphrase entry dialog utilize the Assuan protocol
as described by the Aegypten project, using Enlightenment Foundation Libraries.
%package -n pinentry-gtk2
Summary: Simple PIN or Passphrase Entry Dialog for GTK2
Group: Productivity/Other
Requires: pinentry
Provides: pinentry-dialog
Provides: pinentry-gui
Provides: pinentry:%{_bindir}/pinentry-gtk-2
%description -n pinentry-gtk2
A simple PIN or passphrase entry dialog utilize the Assuan protocol
as described by the Aegypten project, using the GTK2 UI toolkit.
%package -n pinentry-gnome3
Summary: Simple PIN or Passphrase Entry Dialog for GNOME
Group: Productivity/Other
Requires: pinentry
Provides: pinentry-dialog
Provides: pinentry-gui
Provides: pinentry:%{_bindir}/pinentry-gnome3
%description -n pinentry-gnome3
A simple PIN or passphrase entry dialog utilize the Assuan protocol
as described by the Aegypten project, using GNOME libraries.
%if %{with fltk}
%package -n pinentry-fltk
Summary: Collection of Simple PIN or Passphrase Entry Dialogs
Group: Productivity/Other
Requires: pinentry
Provides: pinentry-dialog
Provides: pinentry-gui
Provides: pinentry:%{_bindir}/pinentry-fltk
%description -n pinentry-fltk
A simple PIN or passphrase entry dialog utilize the Assuan protocol
as described by the Aegypten project, using FLTK libraries.
%endif
%package -n pinentry-qt5
Summary: Simple PIN or Passphrase Entry Dialog for QT5
Group: Productivity/Other
Requires: pinentry
Provides: pinentry-dialog
Provides: pinentry-gui
Provides: pinentry-qt = %{version}
Obsoletes: pinentry-qt <= 0.8.3
Provides: pinentry-qt4 = %{version}-%{release}
Obsoletes: pinentry-qt4 <= 0.9.7
%description -n pinentry-qt5
A simple PIN or passphrase entry dialog utilize the Assuan protocol
as described by the Aegypten project, using the QT5 UI toolkit.
%endif
%prep
%autosetup -p1 -n pinentry-%{version}
%build
nmajor=$(sed -rn 's/^#define\s+NCURSES_VERSION_MAJOR\s+([0-9]+)/\1/p' %{_includedir}/ncurses.h)
CFLAGS="%{optflags} $(ncursesw${nmajor}-config --cflags)"
CXXFLAGS="%{optflags} -std=gnu++11 $(ncursesw${nmajor}-config --cflags)"
LDFLAGS="$(ncursesw${nmajor}-config --libs)"
export CFLAGS CXXFLAGS LDFLAGS
%define _configure ../configure
%if "%{flavor}" == "gui"
# Regenerate moc's
moc-qt5 qt/pinentrydialog.h > qt/pinentrydialog.moc
moc-qt5 qt/pinentryconfirm.h > qt/pinentryconfirm.moc
# build gui version with libsecret (bnc#934214)
mkdir gui
cd gui
%configure \
--disable-pinentry-curses \
--disable-pinentry-tty \
--enable-libsecret \
--enable-pinentry-qt \
--enable-pinentry-gtk2 \
--enable-pinentry-gnome3 \
--enable-pinentry-emacs \
--enable-inside-emacs \
%if %{with fltk}
--enable-pinentry-fltk \
%else
--disable-pinentry-fltk \
%endif
--enable-pinentry-efl \
--without-ncurses-include-dir
%make_build
# build text version without libsecret (bnc#934214)
cd ..
%else
mkdir tui
cd tui
%configure \
--enable-pinentry-curses \
--enable-pinentry-tty \
--disable-libsecret \
--disable-pinentry-qt \
--disable-pinentry-gtk2 \
--disable-pinentry-gnome3 \
--disable-pinentry-emacs \
--disable-inside-emacs \
--disable-pinentry-fltk \
--disable-pinentry-efl \
--without-ncurses-include-dir
%make_build
%endif
%install
%if "%{flavor}" == "gui"
cd gui
%make_install
cd ..
# backward compatibility symlinks
ln -s pinentry-qt %{buildroot}%{_bindir}/pinentry-qt5
ln -s pinentry-qt %{buildroot}%{_bindir}/pinentry-qt4
rm -rf %{buildroot}%{_infodir}
rm -rf %{buildroot}%{_bindir}/pinentry
%else
cd tui
%make_install
cd ..
# remove symlink
rm -rf %{buildroot}%{_bindir}/pinentry
install -p -m 755 -D %{SOURCE3} %{buildroot}%{_bindir}/pinentry
%post
%install_info --info-dir=.%{_infodir} .%{_infodir}/pinentry.info.gz
%postun
%install_info_delete --info-dir=.%{_infodir} .%{_infodir}/pinentry.info.gz
%endif
%if "%{flavor}" == "gui"
%ifnarch ppc
%files -n pinentry-efl
%license COPYING
%attr(755,root,root) %{_bindir}/pinentry-efl
%endif
%files -n pinentry-emacs
%license COPYING
%attr(755,root,root) %{_bindir}/pinentry-emacs
%files -n pinentry-gtk2
%license COPYING
%attr(755,root,root) %{_bindir}/pinentry-gtk-2
%files -n pinentry-gnome3
%license COPYING
%attr(755,root,root) %{_bindir}/pinentry-gnome3
%if %{with fltk}
%files -n pinentry-fltk
%license COPYING
%attr(755,root,root) %{_bindir}/pinentry-fltk
%endif
%files -n pinentry-qt5
%license COPYING
%{_bindir}/pinentry-qt5
%{_bindir}/pinentry-qt4
%attr(755,root,root) %{_bindir}/pinentry-qt
%else
%files
%license COPYING
%doc AUTHORS ChangeLog NEWS README
%{_infodir}/pinentry*
%attr(755,root,root) %{_bindir}/pinentry
%attr(755,root,root) %{_bindir}/pinentry-tty
%attr(755,root,root) %{_bindir}/pinentry-curses
%endif
%changelog