commit: 1b1e664cf555b7531f6aef354aafd94fb1847d2e Author: Davide Pesavento <pesa <AT> gentoo <DOT> org> AuthorDate: Sat Oct 31 17:03:43 2015 +0000 Commit: Davide Pesavento <pesa <AT> gentoo <DOT> org> CommitDate: Sat Oct 31 17:03:43 2015 +0000 URL: https://gitweb.gentoo.org/proj/qt.git/commit/?id=1b1e664c
app-crypt/pinentry: drop live ebuild It doesn't belong here, and is poorly maintained by us. A different herd (crypto) maintains the in-tree versions. As a result the live ebuild is significantly outdated and not useful. Signed-off-by: Davide Pesavento <pesa <AT> gentoo.org> .../pinentry/files/pinentry-0.8.2-ncurses.patch | 25 ------ app-crypt/pinentry/metadata.xml | 8 -- app-crypt/pinentry/pinentry-9999.ebuild | 98 ---------------------- 3 files changed, 131 deletions(-) diff --git a/app-crypt/pinentry/files/pinentry-0.8.2-ncurses.patch b/app-crypt/pinentry/files/pinentry-0.8.2-ncurses.patch deleted file mode 100644 index 3bb92c6..0000000 --- a/app-crypt/pinentry/files/pinentry-0.8.2-ncurses.patch +++ /dev/null @@ -1,25 +0,0 @@ -From bafe8608fc525ef103b3d1f3048ca28958bef596 Mon Sep 17 00:00:00 2001 -From: Alon Bar-Lev <[email protected]> -Date: Sun, 5 May 2013 02:23:08 +0300 -Subject: [PATCH] ncurses: link with optional tinfo - ---- - m4/curses.m4 | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/m4/curses.m4 b/m4/curses.m4 -index 3a01881..ffb6bd1 100644 ---- a/m4/curses.m4 -+++ b/m4/curses.m4 -@@ -36,6 +36,8 @@ AC_DEFUN([IU_LIB_NCURSES], [ - have_ncursesw=no - fi - if test "$LIBNCURSES"; then -+ AC_CHECK_LIB(tinfow, curs_set, LIBNCURSES="${LIBNCURSES} -ltinfow", -+ AC_CHECK_LIB(tinfo, curs_set, LIBNCURSES="${LIBNCURSES} -ltinfo")) - # Use ncurses header files instead of the ordinary ones, if possible; - # is there a better way of doing this, that avoids looking in specific - # directories? --- -1.8.1.5 - diff --git a/app-crypt/pinentry/metadata.xml b/app-crypt/pinentry/metadata.xml deleted file mode 100644 index 3c50ec9..0000000 --- a/app-crypt/pinentry/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!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-9999.ebuild b/app-crypt/pinentry/pinentry-9999.ebuild deleted file mode 100644 index bb8830c..0000000 --- a/app-crypt/pinentry/pinentry-9999.ebuild +++ /dev/null @@ -1,98 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -inherit qmake-utils autotools multilib eutils flag-o-matic git-r3 toolchain-funcs - -DESCRIPTION="Collection of simple PIN or passphrase entry dialogs which utilize the Assuan protocol" -HOMEPAGE="http://gnupg.org/aegypten2/index.html" -EGIT_REPO_URI="git://git.gnupg.org/pinentry.git" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="" -IUSE="clipboard gtk ncurses qt4 caps static" - -RDEPEND=" - app-eselect/eselect-pinentry - caps? ( sys-libs/libcap ) - gtk? ( x11-libs/gtk+:2 ) - ncurses? ( sys-libs/ncurses:0 ) - 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 - "$(qt4_get_bindir)"/moc ${f/.moc/.h} > ${f} || die - done - fi - epatch "${FILESDIR}/${PN}-0.8.2-ncurses.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 -}
