From owner-svn-ports-head@freebsd.org Fri Jul 17 15:49:11 2015 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 810C49A4A7B; Fri, 17 Jul 2015 15:49:11 +0000 (UTC) (envelope-from makc@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 667CE1547; Fri, 17 Jul 2015 15:49:11 +0000 (UTC) (envelope-from makc@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.70]) by repo.freebsd.org (8.14.9/8.14.9) with ESMTP id t6HFnBqE053334; Fri, 17 Jul 2015 15:49:11 GMT (envelope-from makc@FreeBSD.org) Received: (from makc@localhost) by repo.freebsd.org (8.14.9/8.14.9/Submit) id t6HFnAku053331; Fri, 17 Jul 2015 15:49:10 GMT (envelope-from makc@FreeBSD.org) Message-Id: <201507171549.t6HFnAku053331@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: makc set sender to makc@FreeBSD.org using -f From: Max Brazhnikov Date: Fri, 17 Jul 2015 15:49:10 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r392382 - in head/security: . pinentry pinentry-gnome3 X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Jul 2015 15:49:11 -0000 Author: makc Date: Fri Jul 17 15:49:09 2015 New Revision: 392382 URL: https://svnweb.freebsd.org/changeset/ports/392382 Log: security/pinentry: - Add GNOME 3 pinentry dialog Added: head/security/pinentry-gnome3/ head/security/pinentry-gnome3/Makefile (contents, props changed) Modified: head/security/Makefile head/security/pinentry/Makefile Modified: head/security/Makefile ============================================================================== --- head/security/Makefile Fri Jul 17 15:42:29 2015 (r392381) +++ head/security/Makefile Fri Jul 17 15:49:09 2015 (r392382) @@ -743,6 +743,7 @@ SUBDIR += pidgin-otr SUBDIR += pinentry SUBDIR += pinentry-curses + SUBDIR += pinentry-gnome3 SUBDIR += pinentry-gtk2 SUBDIR += pinentry-qt4 SUBDIR += pinentry-tty Added: head/security/pinentry-gnome3/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/security/pinentry-gnome3/Makefile Fri Jul 17 15:49:09 2015 (r392382) @@ -0,0 +1,12 @@ +# $FreeBSD$ + +PORTNAME= pinentry +PORTREVISION= 0 + +COMMENT= GNOME 3 version of the GnuPG password dialog + +PINENTRY_GUI= gnome3 + +MASTERDIR= ${.CURDIR}/../pinentry + +.include "${MASTERDIR}/Makefile" Modified: head/security/pinentry/Makefile ============================================================================== --- head/security/pinentry/Makefile Fri Jul 17 15:42:29 2015 (r392381) +++ head/security/pinentry/Makefile Fri Jul 17 15:49:09 2015 (r392382) @@ -19,7 +19,7 @@ NO_BUILD= yes PLIST_FILES= bin/pinentry OPTIONS_SINGLE= FRONTEND -OPTIONS_SINGLE_FRONTEND= TTY NCURSES GTK2 QT4 +OPTIONS_SINGLE_FRONTEND= TTY NCURSES GTK2 QT4 GNOME3 OPTIONS_DEFAULT= TTY FRONTEND_DESC= Default frontend @@ -44,6 +44,10 @@ QT4_DESC= Qt 4 frontend PINENTRY_QT4= pinentry-qt4 QT4_RUN_DEPENDS= ${PINENTRY_QT4}:${PORTSDIR}/security/pinentry-qt4 +GNOME3_DESC= GNOME 3 frontend +PINENTRY_GNOME3= pinentry-gnome3 +GNOME3_RUN_DEPENDS= ${PINENTRY_GNOME3}:${PORTSDIR}/security/pinentry-gnome3 + .include .for gui in ${OPTIONS_SINGLE_FRONTEND} @@ -64,8 +68,7 @@ LIB_DEPENDS= libassuan.so:${PORTSDIR}/se USES+= iconv gmake pkgconfig GNU_CONFIGURE= yes -CONFIGURE_ARGS= --disable-pinentry-emacs \ - --disable-pinentry-gnome3 +CONFIGURE_ARGS= --disable-pinentry-emacs CFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib @@ -76,6 +79,14 @@ LIBSECRET_DESC= Saving the passphrase wi LIBSECRET_CONFIGURE_ENABLE= libsecret LIBSECRET_LIB_DEPENDS= libsecret-1.so:${PORTSDIR}/security/libsecret +.if ${PINENTRY_GUI} == "gnome3" +USE_GNOME+= gtk20 +LIB_DEPENDS+= libgcr-base-3.so:${PORTSDIR}/security/gcr +PLIST_FILES= bin/pinentry-gnome3 +.else +CONFIGURE_ARGS+=--disable-pinentry-gnome3 +.endif + .if ${PINENTRY_GUI} == "qt4" USES+= compiler:c++11-lib USE_CXXSTD= c++11