diff options
Diffstat (limited to 'app-crypt')
-rw-r--r-- | app-crypt/pinentry/ChangeLog | 9 | ||||
-rw-r--r-- | app-crypt/pinentry/Manifest | 29 | ||||
-rw-r--r-- | app-crypt/pinentry/files/0.7.2-libcap.patch | 26 | ||||
-rw-r--r-- | app-crypt/pinentry/files/digest-pinentry-0.7.2 | 2 | ||||
-rw-r--r-- | app-crypt/pinentry/files/digest-pinentry-0.7.2-r3 | 3 | ||||
-rw-r--r-- | app-crypt/pinentry/pinentry-0.7.2-r3.ebuild | 77 |
6 files changed, 135 insertions, 11 deletions
diff --git a/app-crypt/pinentry/ChangeLog b/app-crypt/pinentry/ChangeLog index bda2276e3615..63fed436829d 100644 --- a/app-crypt/pinentry/ChangeLog +++ b/app-crypt/pinentry/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for app-crypt/pinentry # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-crypt/pinentry/ChangeLog,v 1.39 2006/02/06 10:19:22 herbs Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-crypt/pinentry/ChangeLog,v 1.40 2006/02/23 22:43:26 swegener Exp $ + +*pinentry-0.7.2-r3 (23 Feb 2006) + + 23 Feb 2006; Sven Wegener <swegener@gentoo.org> +files/0.7.2-libcap.patch, + +pinentry-0.7.2-r3.ebuild: + Revision bump to include optional capabilities support. Thanks to Diego in + bug #108845. 06 Feb 2006; Herbie Hopkins <herbs@gentoo.org> pinentry-0.7.2-r2.ebuild: Fix problem detecting qt on amd64's no-symlink profile. diff --git a/app-crypt/pinentry/Manifest b/app-crypt/pinentry/Manifest index aee5e734a54e..3ab861eca8d5 100644 --- a/app-crypt/pinentry/Manifest +++ b/app-crypt/pinentry/Manifest @@ -1,28 +1,37 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 -MD5 a5c2ba42cdced208505dc53801173639 ChangeLog 5470 -RMD160 a5b36feaff63e286bf167163dbd307600bc474f6 ChangeLog 5470 -SHA256 3450bc86f7c797d8a65b8b8a7c1762705696cf9cc6d6adf89cba7393ab6f9f33 ChangeLog 5470 -MD5 02dafe3ffd79fb8be8ffce90a4ccf86f files/digest-pinentry-0.7.2 66 -RMD160 26c59f8b844379548401e5948d425614ece9320f files/digest-pinentry-0.7.2 66 -SHA256 22d7076018315851342483fb0292fbe217fb30e626ca1c4b2a59a822b70faea6 files/digest-pinentry-0.7.2 66 +MD5 1dd8a42b5dc36b71a4fd29ecad6e6c81 ChangeLog 5706 +RMD160 a1a04be938cf5c1ccdb862cdaeba3446a0037f69 ChangeLog 5706 +SHA256 6fa3d003c60c6fd1dd55c4c2d56b28f842ef52018044836e08775e8955cb491e ChangeLog 5706 +MD5 136f0f72a38f70865f50397f0a5a3412 files/0.7.2-libcap.patch 910 +RMD160 21292ff64730826431d78d1f96a1909cb2c8997c files/0.7.2-libcap.patch 910 +SHA256 4d142f836bcbcbfcf21412d891335e6d4351ebced3c5a699e493e5f6a4599701 files/0.7.2-libcap.patch 910 +MD5 7d8048c5acbc16a530110855e138fb4b files/digest-pinentry-0.7.2 244 +RMD160 6a932f6a2c823cd50888292148c57a74dfe696f6 files/digest-pinentry-0.7.2 244 +SHA256 bbae1d7066b9be143e20e3537349feb9f7f3eaa6e0ef1aa12289140f1693c2d5 files/digest-pinentry-0.7.2 244 MD5 7d8048c5acbc16a530110855e138fb4b files/digest-pinentry-0.7.2-r2 244 RMD160 6a932f6a2c823cd50888292148c57a74dfe696f6 files/digest-pinentry-0.7.2-r2 244 SHA256 bbae1d7066b9be143e20e3537349feb9f7f3eaa6e0ef1aa12289140f1693c2d5 files/digest-pinentry-0.7.2-r2 244 +MD5 7d8048c5acbc16a530110855e138fb4b files/digest-pinentry-0.7.2-r3 244 +RMD160 6a932f6a2c823cd50888292148c57a74dfe696f6 files/digest-pinentry-0.7.2-r3 244 +SHA256 bbae1d7066b9be143e20e3537349feb9f7f3eaa6e0ef1aa12289140f1693c2d5 files/digest-pinentry-0.7.2-r3 244 MD5 f5775272cd7e22ae38566107c416c1e4 metadata.xml 275 RMD160 7aca4724ede81b0eaad9b4536f00a6a805727cef metadata.xml 275 SHA256 1e9c7343efc06a4d4143421f4bf3740c30f71ed6ce5011231505e7e911f31548 metadata.xml 275 MD5 bd4879c422d925ecce8ef6dc7d3d9c11 pinentry-0.7.2-r2.ebuild 1869 RMD160 d50d7287679a99a5a050066a055e94766daa78ec pinentry-0.7.2-r2.ebuild 1869 SHA256 48081544bd89860fe48df7c25937f0228cdb0a0196271cf6b012f7d5d4492985 pinentry-0.7.2-r2.ebuild 1869 +MD5 d6fed2785b2bd3efb59f56de7026bfd7 pinentry-0.7.2-r3.ebuild 2125 +RMD160 a685c9a9e51db6582b09e774e687351ef25b80ac pinentry-0.7.2-r3.ebuild 2125 +SHA256 869a4ca56c9f6622e1304759812bcc392d7b4fbe54df55c1171545d71cc6a811 pinentry-0.7.2-r3.ebuild 2125 MD5 0807a36278225cc9824f5466b1a0e0e6 pinentry-0.7.2.ebuild 2023 RMD160 edf3dfb26806d79d38059fb6295f5b4e0bebd7d9 pinentry-0.7.2.ebuild 2023 SHA256 cf5fedeac334a77d2ca85f0c04c2bbebda06b39cf6b5ff75b1e72a4d2410786f pinentry-0.7.2.ebuild 2023 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.2 (GNU/Linux) +Version: GnuPG v1.4.2.1 (GNU/Linux) -iD8DBQFD5yLC2G5bA0cA/ScRAltqAJ9w+HCFpey+Z0cWzLIB09x0Qw5daQCeJdie -uJa4gkBVOapeFMN7ERkTtLM= -=LGOH +iD8DBQFD/jqkI1lqEGTUzyQRAg/qAJ4+GHkK5IPtjfaxu5QJ2PPy4txo0gCggLFU +oG1mx7CL4em3ExvQStJVgPI= +=d392 -----END PGP SIGNATURE----- diff --git a/app-crypt/pinentry/files/0.7.2-libcap.patch b/app-crypt/pinentry/files/0.7.2-libcap.patch new file mode 100644 index 000000000000..5d0829059a05 --- /dev/null +++ b/app-crypt/pinentry/files/0.7.2-libcap.patch @@ -0,0 +1,26 @@ +Index: pinentry-0.7.2/configure.ac +=================================================================== +--- pinentry-0.7.2.orig/configure.ac ++++ pinentry-0.7.2/configure.ac +@@ -116,11 +116,16 @@ dnl Checks for libsecmem. + GNUPG_CHECK_TYPEDEF(byte, HAVE_BYTE_TYPEDEF) + GNUPG_CHECK_TYPEDEF(ulong, HAVE_ULONG_TYPEDEF) + +-AC_PATH_PROG(SETCAP, setcap, :, "$PATH:/sbin:/usr/sbin") +-AC_CHECK_LIB(cap, cap_set_proc, [ +- AC_DEFINE(USE_CAPABILITIES,1,[The capabilities support library is installed]) +- LIBCAP=-lcap +-]) ++dnl Check for libcap ++AC_ARG_WITH([libcap], AC_HELP_STRING([--without-libcap], [Disable support for capabilities library])) ++ ++if test "x$with_libcap" != "xno"; then ++ AC_PATH_PROG(SETCAP, setcap, :, "$PATH:/sbin:/usr/sbin") ++ AC_CHECK_LIB(cap, cap_set_proc, [ ++ AC_DEFINE(USE_CAPABILITIES,1,[The capabilities support library is installed]) ++ LIBCAP=-lcap ++ ]) ++fi + AC_SUBST(LIBCAP) + + dnl diff --git a/app-crypt/pinentry/files/digest-pinentry-0.7.2 b/app-crypt/pinentry/files/digest-pinentry-0.7.2 index a609eac13900..2a510de272a6 100644 --- a/app-crypt/pinentry/files/digest-pinentry-0.7.2 +++ b/app-crypt/pinentry/files/digest-pinentry-0.7.2 @@ -1 +1,3 @@ MD5 55626ce13ed76d82ec5330d19bdf3ab4 pinentry-0.7.2.tar.gz 398775 +RMD160 db667256801545ef065d9d47cafe5e67137fa6ce pinentry-0.7.2.tar.gz 398775 +SHA256 2e77d2c1361939830ed2681c9e10d6ee9a79ce5a69b41fd386f3278cb116dcc8 pinentry-0.7.2.tar.gz 398775 diff --git a/app-crypt/pinentry/files/digest-pinentry-0.7.2-r3 b/app-crypt/pinentry/files/digest-pinentry-0.7.2-r3 new file mode 100644 index 000000000000..2a510de272a6 --- /dev/null +++ b/app-crypt/pinentry/files/digest-pinentry-0.7.2-r3 @@ -0,0 +1,3 @@ +MD5 55626ce13ed76d82ec5330d19bdf3ab4 pinentry-0.7.2.tar.gz 398775 +RMD160 db667256801545ef065d9d47cafe5e67137fa6ce pinentry-0.7.2.tar.gz 398775 +SHA256 2e77d2c1361939830ed2681c9e10d6ee9a79ce5a69b41fd386f3278cb116dcc8 pinentry-0.7.2.tar.gz 398775 diff --git a/app-crypt/pinentry/pinentry-0.7.2-r3.ebuild b/app-crypt/pinentry/pinentry-0.7.2-r3.ebuild new file mode 100644 index 000000000000..b00146babae4 --- /dev/null +++ b/app-crypt/pinentry/pinentry-0.7.2-r3.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-crypt/pinentry/pinentry-0.7.2-r3.ebuild,v 1.1 2006/02/23 22:43:26 swegener Exp $ + +inherit flag-o-matic qt3 multilib eutils autotools + +DESCRIPTION="Collection of simple PIN or passphrase entry dialogs which utilize the Assuan protocol" +HOMEPAGE="http://www.gnupg.org/aegypten/" +SRC_URI="mirror://gnupg/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ia64 ~mips ~ppc ~sparc ~x86" +IUSE="gtk ncurses qt caps" + +DEPEND="gtk? ( =x11-libs/gtk+-2* ) + ncurses? ( sys-libs/ncurses ) + qt? ( $(qt_min_version 3.3) ) + !gtk? ( !qt? ( !ncurses? ( sys-libs/ncurses ) ) ) + caps? ( sys-libs/libcap )" + +src_unpack() { + unpack ${A} + cd "${S}" + + epatch "${FILESDIR}"/${PV}-libcap.patch + AT_M4DIR="m4" eautoreconf +} + +src_compile() { + local myconf="" + + if ! ( use qt || use gtk || use ncurses ) + then + myconf="--enable-pinentry-curses --enable-fallback-curses" + fi + + append-ldflags $(bindnow-flags) + + # 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) \ + $(use_enable qt pinentry-qt) \ + $(use_enable ncurses pinentry-curses) \ + $(use_enable ncurses fallback-curses) \ + $(use_with caps libcap) \ + ${myconf} \ + || die "econf failed" + emake || die "emake failed" +} + +src_install() { + make DESTDIR="${D}" install || die "make install failed" + dodoc AUTHORS ChangeLog NEWS README THANKS TODO || die "dodoc failed" + + if ! use caps; then + # gtk versions of pinentry refuse to start when suid root + for x in curses qt + do + [ -f "${D}"/usr/bin/pinentry-${x} ] && fperms u+s /usr/bin/pinentry-${x} + done + fi +} + +pkg_postinst() { + if ! use caps; then + einfo "pinentry-curses and pinentry-qt are installed SUID root to make use of" + einfo "protected memory space. This is needed in order to have a secure place" + einfo "to store your passphrases, etc. at runtime but may make some sysadmins" + einfo "nervous." + fi +} |