Gentoo Archives: gentoo-commits

From: Matt Turner <mattst88@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-crypt/pinentry/files/, app-crypt/pinentry/
Date: Sat, 01 Oct 2022 17:16:57
Message-Id: 1664644603.60eb28f5ab92091dc0f228dd84cb8c73aaf3a463.mattst88@gentoo
1 commit: 60eb28f5ab92091dc0f228dd84cb8c73aaf3a463
2 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
3 AuthorDate: Sat Oct 1 16:49:00 2022 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Sat Oct 1 17:16:43 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=60eb28f5
7
8 app-crypt/pinentry: Drop old versions
9
10 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
11
12 app-crypt/pinentry/Manifest | 1 -
13 .../pinentry/files/pinentry-0.8.2-ncurses.patch | 25 ------
14 ...1.0.0-make-icon-work-under-Plasma-Wayland.patch | 52 -------------
15 app-crypt/pinentry/pinentry-1.2.0-r1.ebuild | 89 ----------------------
16 app-crypt/pinentry/pinentry-1.2.0.ebuild | 88 ---------------------
17 5 files changed, 255 deletions(-)
18
19 diff --git a/app-crypt/pinentry/Manifest b/app-crypt/pinentry/Manifest
20 index e9aa99172347..303d4f9e286a 100644
21 --- a/app-crypt/pinentry/Manifest
22 +++ b/app-crypt/pinentry/Manifest
23 @@ -1,3 +1,2 @@
24 -DIST pinentry-1.2.0.tar.bz2 498390 BLAKE2B 6e97b55fe39e9c17f8a87fa669d23fca56c1095c2533a9eebe459fafc95a3fcb0a5ea502077aae5480b5259a3096c5f85e05d4872c0b19ad33f3d9084a220cc7 SHA512 19cea79aa3982d1f0d75220c8e24ca38d6c49475c6f4c5aa7101151b4690db23ed316096a4a411136e716ba4eb471f48f9b09556e5c9837533c2356b9b384b63
25 DIST pinentry-1.2.1.tar.bz2 547698 BLAKE2B aa47612aa3a6f74c3676bf4018780356cb22ed4078792c1f466f9e0465199428c151c0e20dfbe6c784ef93c2b42b673daff0b6adc74c8c98fed9921e65ed42ea SHA512 a665315628f4dcf07e16a22db3f3be15d7e7e93b3deec0546c7275b71b0e3bd65535a08af5e12d6339fd6595132df86529401d9d12bd17c428a3466e8dfafab6
26 DIST pinentry-1.2.1.tar.bz2.sig 119 BLAKE2B 6a9fc12a09b5122bf531e875977f63fa7caa75d39afcb4e9a9a957df87ba0a6f6156ad9799cdde8625debe0b7c3cb9482616b0ab57c133ffd2f9120ddf47815f SHA512 b14525f6ace3d1fc3dc9e1173de8821fa2a960b870876beb10b98f41222378c1e3f4f79481f3f3854c1753e8dc9a7eb92862ffa583c7be0788ec25045a4e1176
27
28 diff --git a/app-crypt/pinentry/files/pinentry-0.8.2-ncurses.patch b/app-crypt/pinentry/files/pinentry-0.8.2-ncurses.patch
29 deleted file mode 100644
30 index 3bb92c63d00c..000000000000
31 --- a/app-crypt/pinentry/files/pinentry-0.8.2-ncurses.patch
32 +++ /dev/null
33 @@ -1,25 +0,0 @@
34 -From bafe8608fc525ef103b3d1f3048ca28958bef596 Mon Sep 17 00:00:00 2001
35 -From: Alon Bar-Lev <alon.barlev@×××××.com>
36 -Date: Sun, 5 May 2013 02:23:08 +0300
37 -Subject: [PATCH] ncurses: link with optional tinfo
38 -
39 ----
40 - m4/curses.m4 | 2 ++
41 - 1 file changed, 2 insertions(+)
42 -
43 -diff --git a/m4/curses.m4 b/m4/curses.m4
44 -index 3a01881..ffb6bd1 100644
45 ---- a/m4/curses.m4
46 -+++ b/m4/curses.m4
47 -@@ -36,6 +36,8 @@ AC_DEFUN([IU_LIB_NCURSES], [
48 - have_ncursesw=no
49 - fi
50 - if test "$LIBNCURSES"; then
51 -+ AC_CHECK_LIB(tinfow, curs_set, LIBNCURSES="${LIBNCURSES} -ltinfow",
52 -+ AC_CHECK_LIB(tinfo, curs_set, LIBNCURSES="${LIBNCURSES} -ltinfo"))
53 - # Use ncurses header files instead of the ordinary ones, if possible;
54 - # is there a better way of doing this, that avoids looking in specific
55 - # directories?
56 ---
57 -1.8.1.5
58 -
59
60 diff --git a/app-crypt/pinentry/files/pinentry-1.0.0-make-icon-work-under-Plasma-Wayland.patch b/app-crypt/pinentry/files/pinentry-1.0.0-make-icon-work-under-Plasma-Wayland.patch
61 deleted file mode 100644
62 index 646df1963760..000000000000
63 --- a/app-crypt/pinentry/files/pinentry-1.0.0-make-icon-work-under-Plasma-Wayland.patch
64 +++ /dev/null
65 @@ -1,52 +0,0 @@
66 -From 7218becac7132c2508d4e8f42c693d69c406795a Mon Sep 17 00:00:00 2001
67 -From: =?UTF-8?q?Andrius=20=C5=A0tikonas?= <andrius@××××××××.eu>
68 -Date: Wed, 7 Mar 2018 15:14:22 +0100
69 -Subject: [PATCH] Make pinentry-qt icon work under Plasma Wayland.
70 -
71 ----
72 - qt/Makefile.am | 2 ++
73 - qt/main.cpp | 2 ++
74 - qt/org.gnupg.pinentry-qt.desktop | 5 +++++
75 - 3 files changed, 9 insertions(+)
76 - create mode 100644 qt/org.gnupg.pinentry-qt.desktop
77 -
78 -diff --git a/qt/Makefile.am b/qt/Makefile.am
79 -index 698005e..bbf39d1 100644
80 ---- a/qt/Makefile.am
81 -+++ b/qt/Makefile.am
82 -@@ -24,6 +24,8 @@ bin_PROGRAMS = pinentry-qt
83 -
84 - EXTRA_DIST = document-encrypt.png pinentry.qrc
85 -
86 -+desktopdir = $(datadir)/applications
87 -+dist_desktop_DATA = org.gnupg.pinentry-qt.desktop
88 -
89 - if FALLBACK_CURSES
90 - ncurses_include = $(NCURSES_INCLUDE)
91 -diff --git a/qt/main.cpp b/qt/main.cpp
92 -index fe88d26..b767cb4 100644
93 ---- a/qt/main.cpp
94 -+++ b/qt/main.cpp
95 -@@ -372,6 +372,8 @@ main(int argc, char *argv[])
96 - i = argc;
97 - app = new QApplication(i, new_argv);
98 - app->setWindowIcon(QIcon(QLatin1String(":/document-encrypt.png")));
99 -+ app->setOrganizationDomain(QStringLiteral("gnupg.org"));
100 -+ app->setDesktopFileName(QStringLiteral("org.gnupg.pinentry-qt"));
101 - }
102 -
103 - pinentry_parse_opts(argc, argv);
104 -diff --git a/qt/org.gnupg.pinentry-qt.desktop b/qt/org.gnupg.pinentry-qt.desktop
105 -new file mode 100644
106 -index 0000000..0ac89aa
107 ---- /dev/null
108 -+++ b/qt/org.gnupg.pinentry-qt.desktop
109 -@@ -0,0 +1,5 @@
110 -+[Desktop Entry]
111 -+Type=Application
112 -+Name=Pinentry dialog
113 -+Icon=document-encrypt
114 -+NoDisplay=true
115 ---
116 -2.16.1
117 -
118
119 diff --git a/app-crypt/pinentry/pinentry-1.2.0-r1.ebuild b/app-crypt/pinentry/pinentry-1.2.0-r1.ebuild
120 deleted file mode 100644
121 index f3494a8189a9..000000000000
122 --- a/app-crypt/pinentry/pinentry-1.2.0-r1.ebuild
123 +++ /dev/null
124 @@ -1,89 +0,0 @@
125 -# Copyright 1999-2022 Gentoo Authors
126 -# Distributed under the terms of the GNU General Public License v2
127 -
128 -EAPI=8
129 -
130 -inherit autotools qmake-utils
131 -
132 -DESCRIPTION="Simple passphrase entry dialogs which utilize the Assuan protocol"
133 -HOMEPAGE="https://gnupg.org/aegypten2"
134 -SRC_URI="mirror://gnupg/${PN}/${P}.tar.bz2"
135 -
136 -LICENSE="GPL-2"
137 -SLOT="0"
138 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
139 -IUSE="caps efl emacs gnome-keyring gtk ncurses qt5"
140 -
141 -DEPEND="
142 - >=dev-libs/libassuan-2.1
143 - >=dev-libs/libgcrypt-1.6.3
144 - >=dev-libs/libgpg-error-1.17
145 - caps? ( sys-libs/libcap )
146 - efl? ( dev-libs/efl[X] )
147 - gnome-keyring? ( app-crypt/libsecret )
148 - ncurses? ( sys-libs/ncurses:0= )
149 - qt5? (
150 - dev-qt/qtcore:5
151 - dev-qt/qtgui:5
152 - dev-qt/qtwidgets:5
153 - )
154 -"
155 -RDEPEND="${DEPEND}
156 - gtk? ( app-crypt/gcr[gtk] )
157 -"
158 -BDEPEND="
159 - sys-devel/gettext
160 - virtual/pkgconfig
161 -"
162 -IDEPEND=">=app-eselect/eselect-pinentry-0.7.2"
163 -
164 -DOCS=( AUTHORS ChangeLog NEWS README THANKS TODO )
165 -
166 -PATCHES=(
167 - "${FILESDIR}/${PN}-1.0.0-make-icon-work-under-Plasma-Wayland.patch"
168 - "${FILESDIR}/${PN}-0.8.2-ncurses.patch"
169 - "${FILESDIR}/${PN}-1.0.0-AR.patch"
170 -)
171 -
172 -src_prepare() {
173 - default
174 - unset FLTK_CONFIG
175 - eautoreconf
176 -}
177 -
178 -src_configure() {
179 - export QTLIB="$(qt5_get_libdir)"
180 -
181 - econf \
182 - $(use_enable efl pinentry-efl) \
183 - $(use_enable emacs pinentry-emacs) \
184 - $(use_enable gnome-keyring libsecret) \
185 - $(use_enable gtk pinentry-gnome3) \
186 - $(use_enable ncurses fallback-curses) \
187 - $(use_enable ncurses pinentry-curses) \
188 - $(use_enable qt5 pinentry-qt) \
189 - $(use_with caps libcap) \
190 - --enable-pinentry-tty \
191 - --disable-pinentry-fltk \
192 - --disable-pinentry-gtk2 \
193 - MOC="$(qt5_get_bindir)"/moc \
194 - GPG_ERROR_CONFIG="${ESYSROOT}/usr/bin/${CHOST}-gpg-error-config" \
195 - LIBASSUAN_CONFIG="${ESYSROOT}/usr/bin/libassuan-config" \
196 - $("${S}/configure" --help | grep -- '--without-.*-prefix' | sed -e 's/^ *\([^ ]*\) .*/\1/g')
197 -}
198 -
199 -src_install() {
200 - default
201 -
202 - rm "${ED}"/usr/bin/pinentry || die
203 -
204 - use qt5 && dosym pinentry-qt /usr/bin/pinentry-qt5
205 -}
206 -
207 -pkg_postinst() {
208 - eselect pinentry update ifunset
209 -}
210 -
211 -pkg_postrm() {
212 - eselect pinentry update ifunset
213 -}
214
215 diff --git a/app-crypt/pinentry/pinentry-1.2.0.ebuild b/app-crypt/pinentry/pinentry-1.2.0.ebuild
216 deleted file mode 100644
217 index 22f5e9b96eff..000000000000
218 --- a/app-crypt/pinentry/pinentry-1.2.0.ebuild
219 +++ /dev/null
220 @@ -1,88 +0,0 @@
221 -# Copyright 1999-2022 Gentoo Authors
222 -# Distributed under the terms of the GNU General Public License v2
223 -
224 -EAPI=7
225 -
226 -inherit autotools qmake-utils
227 -
228 -DESCRIPTION="Simple passphrase entry dialogs which utilize the Assuan protocol"
229 -HOMEPAGE="https://gnupg.org/aegypten2"
230 -SRC_URI="mirror://gnupg/${PN}/${P}.tar.bz2"
231 -
232 -LICENSE="GPL-2"
233 -SLOT="0"
234 -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
235 -IUSE="caps efl emacs gnome-keyring gtk ncurses qt5"
236 -
237 -DEPEND="
238 - >=app-eselect/eselect-pinentry-0.7.2
239 - >=dev-libs/libassuan-2.1
240 - >=dev-libs/libgcrypt-1.6.3
241 - >=dev-libs/libgpg-error-1.17
242 - caps? ( sys-libs/libcap )
243 - efl? ( dev-libs/efl[X] )
244 - gnome-keyring? ( app-crypt/libsecret )
245 - ncurses? ( sys-libs/ncurses:0= )
246 - qt5? (
247 - dev-qt/qtcore:5
248 - dev-qt/qtgui:5
249 - dev-qt/qtwidgets:5
250 - )
251 -"
252 -RDEPEND="${DEPEND}
253 - gtk? ( app-crypt/gcr[gtk] )
254 -"
255 -BDEPEND="
256 - sys-devel/gettext
257 - virtual/pkgconfig
258 -"
259 -
260 -DOCS=( AUTHORS ChangeLog NEWS README THANKS TODO )
261 -
262 -PATCHES=(
263 - "${FILESDIR}/${PN}-1.0.0-make-icon-work-under-Plasma-Wayland.patch"
264 - "${FILESDIR}/${PN}-0.8.2-ncurses.patch"
265 - "${FILESDIR}/${PN}-1.0.0-AR.patch"
266 -)
267 -
268 -src_prepare() {
269 - default
270 - unset FLTK_CONFIG
271 - eautoreconf
272 -}
273 -
274 -src_configure() {
275 - export QTLIB="$(qt5_get_libdir)"
276 -
277 - econf \
278 - $(use_enable efl pinentry-efl) \
279 - $(use_enable emacs pinentry-emacs) \
280 - $(use_enable gnome-keyring libsecret) \
281 - $(use_enable gtk pinentry-gnome3) \
282 - $(use_enable ncurses fallback-curses) \
283 - $(use_enable ncurses pinentry-curses) \
284 - $(use_enable qt5 pinentry-qt) \
285 - $(use_with caps libcap) \
286 - --enable-pinentry-tty \
287 - --disable-pinentry-fltk \
288 - --disable-pinentry-gtk2 \
289 - MOC="$(qt5_get_bindir)"/moc \
290 - GPG_ERROR_CONFIG="${ESYSROOT}/usr/bin/${CHOST}-gpg-error-config" \
291 - LIBASSUAN_CONFIG="${ESYSROOT}/usr/bin/libassuan-config" \
292 - $("${S}/configure" --help | grep -- '--without-.*-prefix' | sed -e 's/^ *\([^ ]*\) .*/\1/g')
293 -}
294 -
295 -src_install() {
296 - default
297 - rm "${ED}"/usr/bin/pinentry || die
298 -
299 - use qt5 && dosym pinentry-qt /usr/bin/pinentry-qt5
300 -}
301 -
302 -pkg_postinst() {
303 - eselect pinentry update ifunset
304 -}
305 -
306 -pkg_postrm() {
307 - eselect pinentry update ifunset
308 -}