diff options
author | Alon Bar-Lev <alonbl@gentoo.org> | 2015-02-17 09:58:41 +0000 |
---|---|---|
committer | Alon Bar-Lev <alonbl@gentoo.org> | 2015-02-17 09:58:41 +0000 |
commit | 458650b49441b627751bddcda05bf64e02249e54 (patch) | |
tree | 2164f8b6126b6c6bff499bb2c4e010b916a7be6c /app-crypt | |
parent | Drop missing patch (diff) | |
download | historical-458650b49441b627751bddcda05bf64e02249e54.tar.gz historical-458650b49441b627751bddcda05bf64e02249e54.tar.bz2 historical-458650b49441b627751bddcda05bf64e02249e54.zip |
Add support to clipboard in qt, bug#540348, thanks to Ezio
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/ChangeLog | 8 | ||||
-rw-r--r-- | app-crypt/pinentry/Manifest | 15 | ||||
-rw-r--r-- | app-crypt/pinentry/metadata.xml | 3 | ||||
-rw-r--r-- | app-crypt/pinentry/pinentry-0.9.0-r1.ebuild | 99 |
4 files changed, 112 insertions, 13 deletions
diff --git a/app-crypt/pinentry/ChangeLog b/app-crypt/pinentry/ChangeLog index 4787084cca9a..9273e94f8c5a 100644 --- a/app-crypt/pinentry/ChangeLog +++ b/app-crypt/pinentry/ChangeLog @@ -1,6 +1,12 @@ # 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.154 2015/02/14 11:18:33 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-crypt/pinentry/ChangeLog,v 1.155 2015/02/17 09:58:36 alonbl Exp $ + +*pinentry-0.9.0-r1 (17 Feb 2015) + + 17 Feb 2015; Alon Bar-Lev <alonbl@gentoo.org> +pinentry-0.9.0-r1.ebuild, + metadata.xml: + Add support to clipboard in qt, bug#540348, thanks to Ezio 14 Feb 2015; Jeroen Roovers <jer@gentoo.org> pinentry-0.9.0.ebuild: Stable for HPPA (bug #540002). diff --git a/app-crypt/pinentry/Manifest b/app-crypt/pinentry/Manifest index 30498d0a5d44..b21bb46744b0 100644 --- a/app-crypt/pinentry/Manifest +++ b/app-crypt/pinentry/Manifest @@ -1,6 +1,3 @@ ------BEGIN PGP SIGNED MESSAGE----- -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 @@ -10,13 +7,7 @@ DIST pinentry-0.9.0.tar.bz2 464272 SHA256 90045a07ab8e1a8e1ecf5d19b51691f195525e 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 2906 SHA256 9beb9427822a0418833b9bbe4a35009679cb73b6f1722101b688b984087eafd9 SHA512 8200c94d70055fd7e48c05cb37f003be6dca2ae4a00d8d4a98171a1cd497f6278099e48535e85283d62fd35fc123c972803274a0e4d9324f78b0702d9652f718 WHIRLPOOL 7295b749a227a6ff699fce4ac1d27cb27cabc9d1ff34cbb704113b8b2a68089d2c1b9cb09519862a348cefa6f04ddc2cbf95799c83705aa19b3161b032e258ca -MISC ChangeLog 20677 SHA256 d4e68b931639a36ab840e3f37743f9f1191e23591fc32cf4d5dd8f0bf18113e6 SHA512 7a853102ee262e9cce36727c3a08d4b8fa1b4937ff07cb9a15c45c81023484cd093037dd59c651bc97c1515f7d92052c0cc0adc790ce46f3e9c04373e97b4939 WHIRLPOOL 99811d07416b75ff0827acb441f009c59ea5eb746760aa561b57dff8b9263e8b2bebce81b99c37c663ebe1e1666dfddcef7ac619ea37d0a600f0c9d51aee55d2 -MISC metadata.xml 159 SHA256 fabd15e2740a2a68e0bda738d0cd4300b133ff11239802afe7e60aa3862c9c03 SHA512 96a1f7f082adc57e52a1a32666e1206e68f8ff03c728fdb7666ff98c255905977491fc4dfc37bc8bdf5da0eb50cdc408adec357bbd75bd980bc90659cc157194 WHIRLPOOL 82fca1c4b75b090abdb0a4233c8e49fc43535ca6e470f725c1872653ea922b6693e9646bc3ee1fd6f1293ebedad661642cec13b2817fb5315268300f7675a751 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2 - -iEYEAREIAAYFAlTfLwoACgkQVWmRsqeSphP8CgCeL6oE7YqNRDRNGJvAtxfgH7NV -h/gAnRswh9vYuymDmu9kLNdxRp51DKQ6 -=SobE ------END PGP SIGNATURE----- +MISC ChangeLog 20867 SHA256 71f154fff062d703e5974774fc9ac90222afb31dd62fc0ac69146f335a1bc6b4 SHA512 9ba158077f84a902691903cd80b285323b5e710a116c3158857232787a57ca72484b3e9f168b2a89b0cd7de12c7b9fef14c955e51082ac747e3645d548d054bc WHIRLPOOL a044ef183a68fcbe6f8633e1dfb08f294ff149cd14c0f87911a56166ac159f972dee6375cd44a220948ff358fc37e08abc4e52b9abe773ec240636d58d6a89a3 +MISC metadata.xml 232 SHA256 0f9362f8e4539dec9b2feb1bd93d34e4dff44290f4dac44dd50f9d44de62360e SHA512 79b3d9679dd2d61479a24ef159f6a23758dad2b77679824bae7758c8f47375b4548e0adf135b3dae5c6d6eff23d134f9477a06fd29789d4fb98670431670bb01 WHIRLPOOL 2ac86da5a1d1512f358400d0616ca3baba6ad55d68ad68296975192cf4f60ed55a3faefe0c3290720d61f117e6c8b24b37cd017e8b8c21c77f977dda8d3212fa diff --git a/app-crypt/pinentry/metadata.xml b/app-crypt/pinentry/metadata.xml index d68fe974c15a..3c50ec9eb99a 100644 --- a/app-crypt/pinentry/metadata.xml +++ b/app-crypt/pinentry/metadata.xml @@ -2,4 +2,7 @@ <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <herd>crypto</herd> +<use> + <flag name='clipboard'>Enable clipboard integration</flag> +</use> </pkgmetadata> diff --git a/app-crypt/pinentry/pinentry-0.9.0-r1.ebuild b/app-crypt/pinentry/pinentry-0.9.0-r1.ebuild new file mode 100644 index 000000000000..e6309d0ba012 --- /dev/null +++ b/app-crypt/pinentry/pinentry-0.9.0-r1.ebuild @@ -0,0 +1,99 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-crypt/pinentry/pinentry-0.9.0-r1.ebuild,v 1.1 2015/02/17 09:58:36 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="clipboard 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 \ + --enable-pinentry-tty \ + $(use_enable gtk pinentry-gtk2) \ + $(use_enable ncurses pinentry-curses) \ + $(use_enable ncurses fallback-curses) \ + $(use_enable qt4 pinentry-qt4) \ + $(use qt4 && use_enable clipboard pinentry-qt4-clipboard) \ + $(use_with caps libcap) +} + +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 +} |