summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Bar-Lev <alonbl@gentoo.org>2015-02-28 19:40:40 +0000
committerAlon Bar-Lev <alonbl@gentoo.org>2015-02-28 19:40:40 +0000
commit76761c4215830655f7ff8d92d88feb667f35660c (patch)
treed71b1631e404bb88aa0429ade9773ff119438a66 /app-crypt
parentStable for amd64, wrt bug #541598 (diff)
downloadhistorical-76761c4215830655f7ff8d92d88feb667f35660c.tar.gz
historical-76761c4215830655f7ff8d92d88feb667f35660c.tar.bz2
historical-76761c4215830655f7ff8d92d88feb667f35660c.zip
Cleanup
Package-Manager: portage-2.2.17/cvs/Linux x86_64 Manifest-Sign-Key: 0xBF20DC51
Diffstat (limited to 'app-crypt')
-rw-r--r--app-crypt/pinentry/ChangeLog6
-rw-r--r--app-crypt/pinentry/Manifest24
-rw-r--r--app-crypt/pinentry/pinentry-0.8.2.ebuild96
-rw-r--r--app-crypt/pinentry/pinentry-0.8.3.ebuild103
-rw-r--r--app-crypt/pinentry/pinentry-0.8.4.ebuild101
5 files changed, 9 insertions, 321 deletions
diff --git a/app-crypt/pinentry/ChangeLog b/app-crypt/pinentry/ChangeLog
index 6995c24cf933..e1f99bbd65c3 100644
--- a/app-crypt/pinentry/ChangeLog
+++ b/app-crypt/pinentry/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-crypt/pinentry
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-crypt/pinentry/ChangeLog,v 1.163 2015/02/28 13:23:13 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-crypt/pinentry/ChangeLog,v 1.164 2015/02/28 19:40:33 alonbl Exp $
+
+ 28 Feb 2015; Alon Bar-Lev <alonbl@gentoo.org> -pinentry-0.8.2.ebuild,
+ -pinentry-0.8.3.ebuild, -pinentry-0.8.4.ebuild:
+ Cleanup
28 Feb 2015; Agostino Sarubbo <ago@gentoo.org> pinentry-0.9.0.ebuild:
Stable for ia64, wrt bug #540002
diff --git a/app-crypt/pinentry/Manifest b/app-crypt/pinentry/Manifest
index 615993ae0e0d..d99911543b07 100644
--- a/app-crypt/pinentry/Manifest
+++ b/app-crypt/pinentry/Manifest
@@ -3,31 +3,15 @@ Hash: SHA256
AUX pinentry-0.8.2-ncurses.patch 824 SHA256 7d5e485e2c6dcce80ab63055d24761f53ae28e19b5ab2dacc424ebc7677805e8 SHA512 415ad55fd7a4ab66e87e5db76b1314b00f5a86552804f1f431a533ba1e7ec3f2c7136096106688b572639ceb637fdf0c3e25d96aa2e07fd1f6f295d39e1d4901 WHIRLPOOL 5483ccb6041e769387685ce987a19a2aa50835781a391169abbe7a838325149b81ce186692dbdc588858f74ef912a80f1eca6efb0f3421ace57925ca9c6f9ca5
AUX pinentry-0.8.2-texi.patch 688 SHA256 47c5280fb82d0ba15338c60765c1ee37b368baf774a821f7afe85a7bf16dcbbc SHA512 4cd0b58a8719d0569d9a3c7c8258e609ccd6239436e3b981afcfb95859f8f4b898a8c29db3b310fb3611b285e58f89b09c9c9f8607a9168ee26ffc054ed9f680 WHIRLPOOL fd574ed478dcd9ff1a9306da1122f20d6f894ca055ed4f368f6796c5b41bfcff9c7842c8ed9a9b8a235ccd4031a153d9f0cf43e60e0cec16e482bcc021a21388
-DIST pinentry-0.8.2.tar.bz2 428514 SHA256 5084b7b6aac5725303f3b0185f126daa8b33ee78ade538edf1e20034594a39b1 SHA512 f012ed163b8905e10714e8667a4434eb192e9519e0fa91a686b097224252bf2e73c3b35d682b6fd4a9df80eefcb3afbf2ec763aef58a3ab5a1e71268fd83e158 WHIRLPOOL 0a17bf30390895dddbaad14bcf07b3064fb7e3c1ed97ba22231e13201f24cfc194a8ef110da7316f137ed3942c094c1990aa51a80b352c5572748b42f40a77d7
-DIST pinentry-0.8.3.tar.bz2 430753 SHA256 568b0b09b50b2388a4f94d704d5bcb28718ecd4654ed1acc43ab1f97d921a0ad SHA512 942aad8db63d5e2f7b576ef6286edf6ce5fdb7c2a0a82deb864fa22963b183dd12a235f12277a6dade9d914b5e76302f1ab35ae78b0f595e84fff77d8f417a18 WHIRLPOOL 0d0e905b79eb6d7727f1de57be058b3c3885b577124cb1fdebca4e0b81d085070f1953b307b506a602de4055bdca6886e7f56e17b5d6978e161eaedf170785e2
-DIST pinentry-0.8.4.tar.bz2 516975 SHA256 359db3bf46cb743ba0b3aeef259f6107271ca888ba3e22c1cba525c9aca35612 SHA512 2538630e238e9b4f8263d20a23eea2c79610ad661bd55e82180ab78fd783c7d32b755b2831ea6806d24216bc3075f2fd400411452e3cae6536210d8f38cfe079 WHIRLPOOL 779e8ff0ef6e44303e6a2fdeed91103efc99c89b6cd28bce661867a211a9bb3af1a3c0ae13516dea138c89f4c6f5f1c31537525d4000caa6a06cc9d27009fbf5
DIST pinentry-0.9.0.tar.bz2 464272 SHA256 90045a07ab8e1a8e1ecf5d19b51691f195525e579fa5d71d7e92c120b05490ab SHA512 2cc53a5c3852edaf6e940228d9b43fe4709344eba5fe230b7afd22b2c0239d0b258917d75661d80590b2d61c6fe9dac8ad15a0b4a0a0e7fba90a9e1c07364edd WHIRLPOOL 3f77a8aa2d44c7206d877e31088ec927473441e61f06e788330545d75ac489e6e9d5bf0026b23d0824304dad54ce8e61c4571d186df7ad0edc2d644ca3af04ac
-EBUILD pinentry-0.8.2.ebuild 2826 SHA256 b34a912e138261a3d80556cb3d908f691e8fed82a25a122e36c3bbb3af3e5d91 SHA512 f502afb2f84cc7242ecde6611ca3d0f9d85c876a73e7de2990439a31b6e43c37551c335315da4dbfb27377c350d53b85fdaa22e9037a72fe7d830f7caebbcc9d WHIRLPOOL b4f45b1088c244e944cd3e7a7e4b2c5723a7b306862876e597b22eba5eb42e2c2d8a44290637fdccdf8914185bdd1e9003ede7b02177c779d296490325a26aa5
-EBUILD pinentry-0.8.3.ebuild 3084 SHA256 854844f845fd9700c15fec8560a94269b5b09d8401d5e22dfcd18c72e076c8f4 SHA512 b7fe9243a5ed7fa59d04bc20ceeb21109299d90c4d2a8ad48b7176664b095e70423143a30faee16cdb931ff2a145e647331633f1d971a5fe2b34d09bb0c1d05a WHIRLPOOL dfad1fa92a4da23c7a37b80146bda7d6ca10583684f182367ee30edb97166a5a68ea67bf299d32533493496cd22ddfe3c7038ec81feb9c089fb7f58c696b9772
-EBUILD pinentry-0.8.4.ebuild 2979 SHA256 53f82665cf90f4ef5e2e4dcc562409843dcb8f531d6d88f0a9bba1e027ea9e96 SHA512 bfa86150185a1dc0b4ac570a334e72c043dd1711d10d548e32d35fe15cc34f1a59e6a95f45099abf9a782b8cdafc6367ee1b77b400c419c1609f686b027b1775 WHIRLPOOL edac0665349baa0e873b8c086d9894d3c106d51e64afa262fb2fff0f03f12acdb4cf71f89c119487643ab39c4f6e3bcd005b0f3dbb69176a3047a2181fe48800
EBUILD pinentry-0.9.0-r1.ebuild 2985 SHA256 b2bc39db7bf74f20cce4f14b8ba194e8e9e2d34b9f68f122c8c0487c62541815 SHA512 b17b889479003a87a663103ed78b25476e2af111a21c5bad416706176da100f3ed632f60906ebcab8fa4f2f122430642a97bf2b2a7f1bf4e5143c5e0d94bf26f WHIRLPOOL 6250f45c5ea2cff95638aa276953d0a43f7889c3d8c16bfbb1d10e151df54021af295f7bb048c235bfdeaeee2039fc0032c7bc81777e4fce759ab3c5705c3974
EBUILD pinentry-0.9.0.ebuild 2899 SHA256 e47fabd6a6b36a4653332ee1dc81dce47f94d7606f3ac867f247ec2c5d9b41e5 SHA512 9e6e6b3b75c6c8e276b9996c3d22ca35917a44c2bdf67dac49d46a6762b2988be827af10ff950785f92328424a92e965fb96456bcb365fb40b20585af5579ff4 WHIRLPOOL f94e0084731cd592830a760628a42df75bb9215ee80e8120cc8775cc277568a65ce5eb23fbdd02e64931a415ad0e3eb7a932462e29db43abb7445e13c04f0db7
-MISC ChangeLog 21720 SHA256 7da3b5236ec5aa3238b7c5571938b304dd36535b9d507212fed1714c52008745 SHA512 0a31cd8180ac51608e61d1e0b9b6b328a69ab0bb309c2fccf7f066d71dcee4c9f8d7dcf5ca900ac8b1d63eb6d12106f2a0cd514f75fabca2fe22d824f0bb56f7 WHIRLPOOL b6ebf29a55ac9ae5c73e9b20778d0297005cb207d03fdcd017aa5a4adb860df3cfc134ce216f043befb01e2bae1b38ed60f0a2e9fd9b846d396421d6678d58d5
+MISC ChangeLog 21856 SHA256 1d47ae631361e9b3cb24e9d379e6e94b6e046865a180a5589a2394f391350cde SHA512 d520fadac01c6f1e4b4c328cb99dba0df4e9ad0817d288c2298f1f848de9f993eab5763548a250367125514be678301996b45b16350f73b84752f1e7788b22f3 WHIRLPOOL 9f99fd82cb1ecc40ee3db6eacae5b0d041f0b374b76379bb04853c63488db80a56217e16cf03310d9a6844a7e7e3f110ac28df818c9d5ecafc7e054585c6f808
MISC metadata.xml 232 SHA256 0f9362f8e4539dec9b2feb1bd93d34e4dff44290f4dac44dd50f9d44de62360e SHA512 79b3d9679dd2d61479a24ef159f6a23758dad2b77679824bae7758c8f47375b4548e0adf135b3dae5c6d6eff23d134f9477a06fd29789d4fb98670431670bb01 WHIRLPOOL 2ac86da5a1d1512f358400d0616ca3baba6ad55d68ad68296975192cf4f60ed55a3faefe0c3290720d61f117e6c8b24b37cd017e8b8c21c77f977dda8d3212fa
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
-iQIcBAEBCAAGBQJU8cFCAAoJELp701BxlEWfVIwQAKOBATGXJ9/AZ9+LXwuQpXBe
-akZprkoAxSDPyL/NjjNi5pH4OZiKHIRhUJu9KUIwjOldckzHQPjtaYeGCDnjteS/
-WiRcDdbpaATOaSwLTJvqxKex+OCOruEGeOEchNzLxu/IAfu9mjS+4QqDiQ5LkWa6
-io0DWH6ERoGGj+a5R9Po34dbOOj64AJWaDQIppLy0firXiN0cWUjAOJm+Up97jpA
-JKppLGDX84njgj+l+7YqwRcgf245fo3Kbucl4e6VN1pMEDe1st5+uk4YHlJkEKLt
-rzoF+2vTbVp/0nBl92SY6GAMsCLFAyztZWAuBHHKx9PmUfnHnCzo9BYsH131r/6C
-wS/p8qf0bJPzYU1xfUV5x1yHZWPXVWnsxwv2VEyTsjYLHq5RJ38bLAMGzChE9Bme
-hdyq3OmQJrHgzulols5sle4DtdU/Ka+ObJb6K8ambWIaJLAS7H+eE3yhvYGVtyvp
-VpA/rVuSKXyfm5crIeIO4BQ92tzZtuxYKKRwKHBkO+m76I48H5sV+aB2dm3NMkRK
-C6RlaopfArrVXthepM0JoAkJNIDjSVEGx5AapBHyAsq71KiHXBKlQxL7f908JHk5
-yf+yAsgtMlcCyvyvzmrUSrAnYQHwuggozjQ/KGR7hY8ALsmQWANFOeYI3xYHuKKJ
-5/N8Tle0lyW+WKLtfMbH
-=DlB5
+iF4EAREIAAYFAlTyGbUACgkQXYk9GL8g3FHDWgD/cN5BE1uelwvu11yMzCWX+4zA
+pgcuPHT+bEk+9naaEjwBAJ/Ydcc4aD4OMPjoJCg0PRXt+GBPDrCzpv84zPNBOuTv
+=c2fH
-----END PGP SIGNATURE-----
diff --git a/app-crypt/pinentry/pinentry-0.8.2.ebuild b/app-crypt/pinentry/pinentry-0.8.2.ebuild
deleted file mode 100644
index c29a7c7a80ce..000000000000
--- a/app-crypt/pinentry/pinentry-0.8.2.ebuild
+++ /dev/null
@@ -1,96 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-crypt/pinentry/pinentry-0.8.2.ebuild,v 1.19 2014/01/20 20:25:47 vapier Exp $
-
-EAPI=5
-
-inherit autotools multilib eutils flag-o-matic
-
-DESCRIPTION="Collection of simple PIN or passphrase entry dialogs which utilize the Assuan protocol"
-HOMEPAGE="http://gnupg.org/aegypten2/index.html"
-SRC_URI="mirror://gnupg/${PN}/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
-IUSE="gtk ncurses qt4 caps static"
-
-RDEPEND="
- app-admin/eselect-pinentry
- caps? ( sys-libs/libcap )
- gtk? ( x11-libs/gtk+:2 )
- ncurses? ( sys-libs/ncurses )
- qt4? ( >=dev-qt/qtgui-4.4.1:4 )
- static? ( >=sys-libs/ncurses-5.7-r5[static-libs,-gpm] )
-"
-DEPEND="${RDEPEND}
- sys-devel/gettext
- gtk? ( virtual/pkgconfig )
- qt4? ( virtual/pkgconfig )
-"
-REQUIRED_USE="
- || ( ncurses gtk qt4 )
- gtk? ( !static )
- qt4? ( !static )
- static? ( ncurses )
-"
-
-DOCS=( AUTHORS ChangeLog NEWS README THANKS TODO )
-
-src_prepare() {
- if use qt4; then
- local f
- for f in qt4/*.moc; do
- "${EPREFIX}"/usr/bin/moc ${f/.moc/.h} > ${f} || die
- done
- fi
- epatch "${FILESDIR}/${P}-ncurses.patch"
- epatch "${FILESDIR}/${P}-texi.patch"
- sed -i 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/g' configure.ac || die
- eautoreconf
-}
-
-src_configure() {
- use static && append-ldflags -static
-
- # Issues finding qt on multilib systems
- export QTLIB="${QTDIR}/$(get_libdir)"
-
- econf \
- --disable-dependency-tracking \
- --enable-maintainer-mode \
- --disable-pinentry-gtk \
- $(use_enable gtk pinentry-gtk2) \
- --disable-pinentry-qt \
- $(use_enable ncurses pinentry-curses) \
- $(use_enable ncurses fallback-curses) \
- $(use_enable qt4 pinentry-qt4) \
- $(use_with caps libcap) \
- --without-x
-}
-
-src_compile() {
- emake AR="$(tc-getAR)"
-}
-
-src_install() {
- default
- rm -f "${ED}"/usr/bin/pinentry || die
-}
-
-pkg_postinst() {
- if ! has_version 'app-crypt/pinentry' || has_version '<app-crypt/pinentry-0.7.3'; then
- elog "We no longer install pinentry-curses and pinentry-qt SUID root by default."
- elog "Linux kernels >=2.6.9 support memory locking for unprivileged processes."
- elog "The soft resource limit for memory locking specifies the limit an"
- elog "unprivileged process may lock into memory. You can also use POSIX"
- elog "capabilities to allow pinentry to lock memory. To do so activate the caps"
- elog "USE flag and add the CAP_IPC_LOCK capability to the permitted set of"
- elog "your users."
- fi
- eselect pinentry update ifunset
-}
-
-pkg_postrm() {
- eselect pinentry update ifunset
-}
diff --git a/app-crypt/pinentry/pinentry-0.8.3.ebuild b/app-crypt/pinentry/pinentry-0.8.3.ebuild
deleted file mode 100644
index b9dba8d8aff4..000000000000
--- a/app-crypt/pinentry/pinentry-0.8.3.ebuild
+++ /dev/null
@@ -1,103 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-crypt/pinentry/pinentry-0.8.3.ebuild,v 1.5 2014/04/03 19:40:59 haubi Exp $
-
-EAPI=5
-
-inherit autotools multilib eutils flag-o-matic
-
-DESCRIPTION="Collection of simple PIN or passphrase entry dialogs which utilize the Assuan protocol"
-HOMEPAGE="http://gnupg.org/aegypten2/index.html"
-SRC_URI="mirror://gnupg/${PN}/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
-IUSE="gtk ncurses qt4 caps static"
-
-RDEPEND="
- app-admin/eselect-pinentry
- caps? ( sys-libs/libcap )
- gtk? ( x11-libs/gtk+:2 )
- ncurses? ( sys-libs/ncurses )
- qt4? ( >=dev-qt/qtgui-4.4.1:4 )
- static? ( >=sys-libs/ncurses-5.7-r5[static-libs,-gpm] )
-"
-DEPEND="${RDEPEND}
- sys-devel/gettext
- gtk? ( virtual/pkgconfig )
- qt4? ( virtual/pkgconfig )
- ppc-aix? ( dev-libs/gnulib )
-"
-REQUIRED_USE="
- || ( ncurses gtk qt4 )
- gtk? ( !static )
- qt4? ( !static )
- static? ( ncurses )
-"
-
-DOCS=( AUTHORS ChangeLog NEWS README THANKS TODO )
-
-src_prepare() {
- if use qt4; then
- local f
- for f in qt4/*.moc; do
- "${EPREFIX}"/usr/bin/moc ${f/.moc/.h} > ${f} || die
- done
- fi
- epatch "${FILESDIR}/${PN}-0.8.2-ncurses.patch"
- epatch "${FILESDIR}/${PN}-0.8.2-texi.patch"
- sed -i 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/g' configure.ac || die
- eautoreconf
-}
-
-src_configure() {
- use static && append-ldflags -static
-
- if [[ ${CHOST} == *-aix* ]] ; then
- append-flags -I"${EPREFIX}/usr/$(get_libdir)/gnulib/include"
- append-ldflags -L"${EPREFIX}/usr/$(get_libdir)/gnulib/$(get_libdir)"
- append-libs -lgnu
- fi
-
- # Issues finding qt on multilib systems
- export QTLIB="${QTDIR}/$(get_libdir)"
-
- econf \
- --disable-dependency-tracking \
- --enable-maintainer-mode \
- --disable-pinentry-gtk \
- $(use_enable gtk pinentry-gtk2) \
- --disable-pinentry-qt \
- $(use_enable ncurses pinentry-curses) \
- $(use_enable ncurses fallback-curses) \
- $(use_enable qt4 pinentry-qt4) \
- $(use_with caps libcap) \
- --without-x
-}
-
-src_compile() {
- emake AR="$(tc-getAR)"
-}
-
-src_install() {
- default
- rm -f "${ED}"/usr/bin/pinentry || die
-}
-
-pkg_postinst() {
- if ! has_version 'app-crypt/pinentry' || has_version '<app-crypt/pinentry-0.7.3'; then
- elog "We no longer install pinentry-curses and pinentry-qt SUID root by default."
- elog "Linux kernels >=2.6.9 support memory locking for unprivileged processes."
- elog "The soft resource limit for memory locking specifies the limit an"
- elog "unprivileged process may lock into memory. You can also use POSIX"
- elog "capabilities to allow pinentry to lock memory. To do so activate the caps"
- elog "USE flag and add the CAP_IPC_LOCK capability to the permitted set of"
- elog "your users."
- fi
- eselect pinentry update ifunset
-}
-
-pkg_postrm() {
- eselect pinentry update ifunset
-}
diff --git a/app-crypt/pinentry/pinentry-0.8.4.ebuild b/app-crypt/pinentry/pinentry-0.8.4.ebuild
deleted file mode 100644
index c5ca12c7fbd2..000000000000
--- a/app-crypt/pinentry/pinentry-0.8.4.ebuild
+++ /dev/null
@@ -1,101 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-crypt/pinentry/pinentry-0.8.4.ebuild,v 1.1 2014/10/08 06:39:06 alonbl Exp $
-
-EAPI=5
-
-inherit autotools multilib eutils flag-o-matic
-
-DESCRIPTION="Collection of simple PIN or passphrase entry dialogs which utilize the Assuan protocol"
-HOMEPAGE="http://gnupg.org/aegypten2/index.html"
-SRC_URI="mirror://gnupg/${PN}/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
-IUSE="gtk ncurses qt4 caps static"
-
-RDEPEND="
- app-admin/eselect-pinentry
- caps? ( sys-libs/libcap )
- gtk? ( x11-libs/gtk+:2 )
- ncurses? ( sys-libs/ncurses )
- qt4? ( >=dev-qt/qtgui-4.4.1:4 )
- static? ( >=sys-libs/ncurses-5.7-r5[static-libs,-gpm] )
-"
-DEPEND="${RDEPEND}
- sys-devel/gettext
- gtk? ( virtual/pkgconfig )
- qt4? ( virtual/pkgconfig )
- ppc-aix? ( dev-libs/gnulib )
-"
-REQUIRED_USE="
- || ( ncurses gtk qt4 )
- gtk? ( !static )
- qt4? ( !static )
- static? ( ncurses )
-"
-
-DOCS=( AUTHORS ChangeLog NEWS README THANKS TODO )
-
-src_prepare() {
- if use qt4; then
- local f
- for f in qt4/*.moc; do
- "${EPREFIX}"/usr/bin/moc ${f/.moc/.h} > ${f} || die
- done
- fi
- epatch "${FILESDIR}/${PN}-0.8.2-ncurses.patch"
- epatch "${FILESDIR}/${PN}-0.8.2-texi.patch"
- eautoreconf
-}
-
-src_configure() {
- use static && append-ldflags -static
-
- if [[ ${CHOST} == *-aix* ]] ; then
- append-flags -I"${EPREFIX}/usr/$(get_libdir)/gnulib/include"
- append-ldflags -L"${EPREFIX}/usr/$(get_libdir)/gnulib/$(get_libdir)"
- append-libs -lgnu
- fi
-
- # Issues finding qt on multilib systems
- export QTLIB="${QTDIR}/$(get_libdir)"
-
- econf \
- --disable-pinentry-gtk \
- --disable-pinentry-qt \
- --enable-pinentry-tty \
- $(use_enable gtk pinentry-gtk2) \
- $(use_enable ncurses pinentry-curses) \
- $(use_enable ncurses fallback-curses) \
- $(use_enable qt4 pinentry-qt4) \
- $(use_with caps libcap) \
- --without-x
-}
-
-src_compile() {
- emake AR="$(tc-getAR)"
-}
-
-src_install() {
- default
- rm -f "${ED}"/usr/bin/pinentry || die
-}
-
-pkg_postinst() {
- if ! has_version 'app-crypt/pinentry' || has_version '<app-crypt/pinentry-0.7.3'; then
- elog "We no longer install pinentry-curses and pinentry-qt SUID root by default."
- elog "Linux kernels >=2.6.9 support memory locking for unprivileged processes."
- elog "The soft resource limit for memory locking specifies the limit an"
- elog "unprivileged process may lock into memory. You can also use POSIX"
- elog "capabilities to allow pinentry to lock memory. To do so activate the caps"
- elog "USE flag and add the CAP_IPC_LOCK capability to the permitted set of"
- elog "your users."
- fi
- eselect pinentry update ifunset
-}
-
-pkg_postrm() {
- eselect pinentry update ifunset
-}