public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/qt:master commit in: app-crypt/pinentry/
@ 2014-06-09 19:50 Davide Pesavento
  0 siblings, 0 replies; 4+ messages in thread
From: Davide Pesavento @ 2014-06-09 19:50 UTC (permalink / raw
  To: gentoo-commits

commit:     598ae188c58a0cf8a41903658f019af50a15f2e5
Author:     Jim Porter <jameslporter <AT> gmail <DOT> com>
AuthorDate: Sun Jun  8 20:49:22 2014 +0000
Commit:     Davide Pesavento <pesa <AT> gentoo <DOT> org>
CommitDate: Mon Jun  9 19:45:00 2014 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/qt.git;a=commit;h=598ae188

[app-crypt/pinentry] Upstream has moved to git.

---
 app-crypt/pinentry/pinentry-9999.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-crypt/pinentry/pinentry-9999.ebuild b/app-crypt/pinentry/pinentry-9999.ebuild
index 4a2c3d7..390de36 100644
--- a/app-crypt/pinentry/pinentry-9999.ebuild
+++ b/app-crypt/pinentry/pinentry-9999.ebuild
@@ -4,11 +4,11 @@
 
 EAPI="2"
 
-inherit autotools multilib eutils flag-o-matic subversion
+inherit autotools multilib eutils flag-o-matic git-r3
 
 DESCRIPTION="Collection of simple PIN or passphrase entry dialogs which utilize the Assuan protocol"
 HOMEPAGE="http://www.gnupg.org/aegypten/"
-ESVN_REPO_URI="svn://cvs.gnupg.org/pinentry/trunk"
+EGIT_REPO_URI="git://git.gnupg.org/pinentry.git"
 
 LICENSE="GPL-2"
 KEYWORDS=""


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] proj/qt:master commit in: app-crypt/pinentry/
@ 2014-06-09 20:06 Davide Pesavento
  0 siblings, 0 replies; 4+ messages in thread
From: Davide Pesavento @ 2014-06-09 20:06 UTC (permalink / raw
  To: gentoo-commits

commit:     3e8d6a5cbfe7b3a16c59fd90f90c75215d51714d
Author:     Davide Pesavento <pesa <AT> gentoo <DOT> org>
AuthorDate: Mon Jun  9 20:06:30 2014 +0000
Commit:     Davide Pesavento <pesa <AT> gentoo <DOT> org>
CommitDate: Mon Jun  9 20:06:30 2014 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/qt.git;a=commit;h=3e8d6a5c

[app-crypt/pinentry] Sync with portage.

Package-Manager: portage-2.2.10

---
 app-crypt/pinentry/metadata.xml         |   6 +-
 app-crypt/pinentry/pinentry-9999.ebuild | 114 +++++++++++++++++---------------
 2 files changed, 63 insertions(+), 57 deletions(-)

diff --git a/app-crypt/pinentry/metadata.xml b/app-crypt/pinentry/metadata.xml
index 2cfa47f..d68fe97 100644
--- a/app-crypt/pinentry/metadata.xml
+++ b/app-crypt/pinentry/metadata.xml
@@ -1,9 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-	<herd></herd>
-	<maintainer>
-		<email>swegener@gentoo.org</email>
-		<description>Primary Maintainer</description>
-	</maintainer>
+<herd>crypto</herd>
 </pkgmetadata>

diff --git a/app-crypt/pinentry/pinentry-9999.ebuild b/app-crypt/pinentry/pinentry-9999.ebuild
index 390de36..3399b9b 100644
--- a/app-crypt/pinentry/pinentry-9999.ebuild
+++ b/app-crypt/pinentry/pinentry-9999.ebuild
@@ -1,93 +1,103 @@
 # Copyright 1999-2014 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: $
+# $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="2"
+EAPI=5
 
-inherit autotools multilib eutils flag-o-matic git-r3
+inherit 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://www.gnupg.org/aegypten/"
+HOMEPAGE="http://gnupg.org/aegypten2/index.html"
 EGIT_REPO_URI="git://git.gnupg.org/pinentry.git"
 
 LICENSE="GPL-2"
-KEYWORDS=""
 SLOT="0"
-IUSE="caps gtk ncurses qt4 static"
+KEYWORDS=""
+IUSE="gtk ncurses qt4 caps static"
 
-DEPEND="
+RDEPEND="
+	app-admin/eselect-pinentry
 	caps? ( sys-libs/libcap )
-	static? ( sys-libs/ncurses )
-	!static? (
-		gtk? ( x11-libs/gtk+:2 )
-		!gtk? (
-			!qt4? ( sys-libs/ncurses )
-		)
-		ncurses? ( sys-libs/ncurses )
-		qt4? ( dev-qt/qtgui:4 )
-	)
+	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 )
 "
-RDEPEND="${DEPEND}"
 
-pkg_setup() {
-	if use static; then
-		append-ldflags -static
-		if use gtk || use qt4; then
-			ewarn
-			ewarn "The static USE flag is only supported with the ncurses USE flags, disabling the gtk and qt4 USE flags."
-			ewarn
-		fi
-	fi
-}
+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
-	elibtoolize
 }
 
 src_configure() {
-	local myconf=""
+	use static && append-ldflags -static
 
-	if use gtk || use ncurses || use qt4; then
-		myconf="--enable-pinentry-curses --enable-fallback-curses"
-	elif use static; then
-		myconf="--enable-pinentry-curses --enable-fallback-curses --disable-pinentry-gtk2 --disable-pinentry-qt --disable-pinentry-qt4"
+	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) \
-		$(use_enable qt4 pinentry-qt4) \
+		--disable-pinentry-qt \
 		$(use_enable ncurses pinentry-curses) \
 		$(use_enable ncurses fallback-curses) \
+		$(use_enable qt4 pinentry-qt4) \
 		$(use_with caps libcap) \
-		${myconf}
+		--without-x
 }
 
 src_compile() {
-	# Generated meta-object files manually
-	if use qt4; then
-		moc qt4/pinentrydialog.h -o qt4/pinentrydialog.moc && \
-		moc qt4/qsecurelineedit.h -o qt4/qsecurelineedit.moc \
-		|| die "failed to regenerate .moc files"
-	fi
-
-	emake || die "emake failed"
+	emake AR="$(tc-getAR)"
 }
 
 src_install() {
-	emake DESTDIR="${D}" install || die "make install failed"
-	dodoc AUTHORS ChangeLog NEWS README THANKS TODO || die "dodoc failed"
+	default
+	rm -f "${ED}"/usr/bin/pinentry || die
 }
 
 pkg_postinst() {
-	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."
+	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
 }


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] proj/qt:master commit in: app-crypt/pinentry/
@ 2015-04-17 23:07 Davide Pesavento
  0 siblings, 0 replies; 4+ messages in thread
From: Davide Pesavento @ 2015-04-17 23:07 UTC (permalink / raw
  To: gentoo-commits

commit:     e220340cf25a790f6c43630cd1ee753a5dfe513a
Author:     Davide Pesavento <pesa <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 17 23:07:05 2015 +0000
Commit:     Davide Pesavento <pesa <AT> gentoo <DOT> org>
CommitDate: Fri Apr 17 23:07:05 2015 +0000
URL:        https://gitweb.gentoo.org/proj/qt.git/commit/?id=e220340c

[app-crypt/pinentry] Sync.

Also fixes bug #546856.

Package-Manager: portage-2.2.18

 app-crypt/pinentry/metadata.xml         |  3 +++
 app-crypt/pinentry/pinentry-9999.ebuild | 14 ++++++--------
 2 files changed, 9 insertions(+), 8 deletions(-)

diff --git a/app-crypt/pinentry/metadata.xml b/app-crypt/pinentry/metadata.xml
index d68fe97..3c50ec9 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-9999.ebuild b/app-crypt/pinentry/pinentry-9999.ebuild
index 60e7626..21584c1 100644
--- a/app-crypt/pinentry/pinentry-9999.ebuild
+++ b/app-crypt/pinentry/pinentry-9999.ebuild
@@ -4,7 +4,7 @@
 
 EAPI=5
 
-inherit autotools multilib eutils flag-o-matic git-r3 toolchain-funcs
+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"
@@ -13,10 +13,10 @@ EGIT_REPO_URI="git://git.gnupg.org/pinentry.git"
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS=""
-IUSE="gtk ncurses qt4 caps static"
+IUSE="clipboard gtk ncurses qt4 caps static"
 
 RDEPEND="
-	app-admin/eselect-pinentry
+	app-eselect/eselect-pinentry
 	caps? ( sys-libs/libcap )
 	gtk? ( x11-libs/gtk+:2 )
 	ncurses? ( sys-libs/ncurses )
@@ -42,7 +42,7 @@ src_prepare() {
 	if use qt4; then
 		local f
 		for f in qt4/*.moc; do
-			"${EPREFIX}"/usr/bin/moc ${f/.moc/.h} > ${f} || die
+			"$(qt4_get_bindir)"/moc ${f/.moc/.h} > ${f} || die
 		done
 	fi
 	epatch "${FILESDIR}/${PN}-0.8.2-ncurses.patch"
@@ -63,15 +63,13 @@ src_configure() {
 	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
+		$(use qt4 && use_enable clipboard pinentry-qt4-clipboard) \
+		$(use_with caps libcap)
 }
 
 src_compile() {


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] proj/qt:master commit in: app-crypt/pinentry/
@ 2015-09-27 19:02 Michael Palimaka
  0 siblings, 0 replies; 4+ messages in thread
From: Michael Palimaka @ 2015-09-27 19:02 UTC (permalink / raw
  To: gentoo-commits

commit:     8db62ccf60a4b35aa2ba7b58611d07264215362a
Author:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 27 19:00:59 2015 +0000
Commit:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Sun Sep 27 19:00:59 2015 +0000
URL:        https://gitweb.gentoo.org/proj/qt.git/commit/?id=8db62ccf

app-crypt/pinentry: set sys-libs/ncurses SLOT

Package-Manager: portage-2.2.20.1

 app-crypt/pinentry/pinentry-9999.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-crypt/pinentry/pinentry-9999.ebuild b/app-crypt/pinentry/pinentry-9999.ebuild
index 7752e5b..bb8830c 100644
--- a/app-crypt/pinentry/pinentry-9999.ebuild
+++ b/app-crypt/pinentry/pinentry-9999.ebuild
@@ -19,7 +19,7 @@ RDEPEND="
 	app-eselect/eselect-pinentry
 	caps? ( sys-libs/libcap )
 	gtk? ( x11-libs/gtk+:2 )
-	ncurses? ( sys-libs/ncurses )
+	ncurses? ( sys-libs/ncurses:0 )
 	qt4? ( >=dev-qt/qtgui-4.4.1:4 )
 	static? ( >=sys-libs/ncurses-5.7-r5[static-libs,-gpm] )
 "


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-09-27 19:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-17 23:07 [gentoo-commits] proj/qt:master commit in: app-crypt/pinentry/ Davide Pesavento
  -- strict thread matches above, loose matches on Subject: below --
2015-09-27 19:02 Michael Palimaka
2014-06-09 20:06 Davide Pesavento
2014-06-09 19:50 Davide Pesavento

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox