From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Oct 27 15:00:30 2004 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 48F9416A4CF for ; Wed, 27 Oct 2004 15:00:30 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2693F43D5F for ; Wed, 27 Oct 2004 15:00:30 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i9RF0UYm066066 for ; Wed, 27 Oct 2004 15:00:30 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i9RF0U6a066065; Wed, 27 Oct 2004 15:00:30 GMT (envelope-from gnats) Resent-Date: Wed, 27 Oct 2004 15:00:30 GMT Resent-Message-Id: <200410271500.i9RF0U6a066065@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Jean-Yves Lefort Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 20F1816A4CE; Wed, 27 Oct 2004 14:54:02 +0000 (GMT) Received: from gateway.lefort.net (212.68.242.203.brutele.be [212.68.242.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0C63843D5A; Wed, 27 Oct 2004 14:54:01 +0000 (GMT) (envelope-from jylefort@brutele.be) Received: from jsite.lefort.net (jsite.lefort.net [192.168.1.2]) by gateway.lefort.net (Postfix) with ESMTP id DBC2D54F2; Wed, 27 Oct 2004 16:53:29 +0200 (CEST) Received: by jsite.lefort.net (Postfix, from userid 1000) id 4520622E09; Wed, 27 Oct 2004 16:53:29 +0200 (CEST) Message-Id: <20041027145329.4520622E09@jsite.lefort.net> Date: Wed, 27 Oct 2004 16:53:29 +0200 (CEST) From: Jean-Yves Lefort To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 cc: lofi@FreeBSD.org Subject: ports/73199: New port: security/pinentry-gtk2, a GTK+ 2.0 passphrase dialog for GnuPG X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Jean-Yves Lefort List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Oct 2004 15:00:30 -0000 >Number: 73199 >Category: ports >Synopsis: New port: security/pinentry-gtk2, a GTK+ 2.0 passphrase dialog for GnuPG >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Oct 27 15:00:29 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Jean-Yves Lefort >Release: FreeBSD 5.3-BETA6 i386 >Organization: >Environment: System: FreeBSD jsite.lefort.net 5.3-BETA6 FreeBSD 5.3-BETA6 #0: Tue Oct 26 11:26:46 CEST 2004 jylefort@jsite.lefort.net:/usr/obj/usr/src/sys/JSITE i386 >Description: >How-To-Repeat: >Fix: The new port: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # pinentry-gtk2 # pinentry-gtk2/Makefile # echo c - pinentry-gtk2 mkdir -p pinentry-gtk2 > /dev/null 2>&1 echo x - pinentry-gtk2/Makefile sed 's/^X//' >pinentry-gtk2/Makefile << 'END-of-pinentry-gtk2/Makefile' X# New ports collection makefile for: pinentry-gtk2 X# Date created: 27 Oct 2004 X# Whom: Jean-Yves Lefort X# X# $FreeBSD$ X# X XPORTNAME= pinentry X XCOMMENT= GTK+ 2.0 version of the GnuPG password dialog X XCONFLICTS= pinentry-0.7.1 X XPINENTRY_GTK2= yes X XPKGNAMESUFFIX= -gtk2 X XMASTERDIR= ${.CURDIR}/../pinentry X X.include "${MASTERDIR}/Makefile" END-of-pinentry-gtk2/Makefile exit And the patch for security/pinentry: diff -ruN /usr/ports/security/pinentry/Makefile pinentry/Makefile --- /usr/ports/security/pinentry/Makefile Thu Aug 5 12:28:06 2004 +++ pinentry/Makefile Wed Oct 27 16:30:42 2004 @@ -30,7 +30,7 @@ CONFIGURE_ARGS+=--with-libiconv-prefix=${LOCALBASE} -.if defined(PINENTRY_QT) || defined(PINENTRY_GTK) || defined(PINENTRY_CURSES) +.if defined(PINENTRY_QT) || defined(PINENTRY_GTK) || defined(PINENTRY_GTK2) || defined(PINENTRY_CURSES) .if defined(PINENTRY_QT) USE_QT_VER= 3 PLIST_SUB+= WITH_QT="" @@ -47,6 +47,23 @@ PLIST_SUB+= WITH_GTK="@comment " .endif +.if defined(PINENTRY_GTK2) +USE_GNOME+= gtk20 +PLIST_SUB+= WITH_GTK2="" + +PATCH_SITES= http://home.arcor.de/dralbrecht.dress/GnuPG/ +PATCHFILES= pinentry-0.7.1-gtk+-2.4.diff.bz2 +PATCH_DIST_STRIP= -p1 + +USE_AUTOCONF_VER= 259 +USE_AUTOMAKE_VER= 19 + +pre-configure: + @cd ${WRKSRC}; ${ACLOCAL} +.else +CONFIGURE_ARGS+=--disable-pinentry-gtk2 +.endif + .if defined(PINENTRY_CURSES) PLIST_SUB+= WITH_CURSES="" .else @@ -61,7 +78,7 @@ PLIST_SUB+= WITH_CURSES="" .endif -pre-configure: +post-patch: ${REINPLACE_CMD} -e "s@-lpthread@${PTHREAD_LIBS}@g" \ ${WRKSRC}/acinclude.m4 ${WRKSRC}/aclocal.m4 ${WRKSRC}/configure diff -ruN /usr/ports/security/pinentry/distinfo pinentry/distinfo --- /usr/ports/security/pinentry/distinfo Fri May 7 05:08:13 2004 +++ pinentry/distinfo Wed Oct 27 16:12:52 2004 @@ -1,2 +1,4 @@ MD5 (pinentry-0.7.1.tar.gz) = 7861d63dea6434a5a05da84e83f209e6 SIZE (pinentry-0.7.1.tar.gz) = 347047 +MD5 (pinentry-0.7.1-gtk+-2.4.diff.bz2) = 824144322bcfbba4d291e293b352610a +SIZE (pinentry-0.7.1-gtk+-2.4.diff.bz2) = 26267 diff -ruN /usr/ports/security/pinentry/pkg-plist pinentry/pkg-plist --- /usr/ports/security/pinentry/pkg-plist Fri May 7 05:08:19 2004 +++ pinentry/pkg-plist Wed Oct 27 16:33:36 2004 @@ -1,3 +1,4 @@ %%WITH_CURSES%%bin/pinentry-curses %%WITH_GTK%%bin/pinentry-gtk +%%WITH_GTK2%%bin/pinentry-gtk-2 %%WITH_QT%%bin/pinentry-qt >Release-Note: >Audit-Trail: >Unformatted: