Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 May 2015 21:24:30 +0000 (UTC)
From:      Max Brazhnikov <makc@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r386717 - in head/security/pinentry: . files
Message-ID:  <201505182124.t4ILOUrh046632@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: makc
Date: Mon May 18 21:24:29 2015
New Revision: 386717
URL: https://svnweb.freebsd.org/changeset/ports/386717

Log:
  security/pinentry:
  - Update to 0.9.2
  - Add optional support for libsecret and enable it for GTK frontend

Added:
  head/security/pinentry/files/patch-pinentry_Makefile.in   (contents, props changed)
Modified:
  head/security/pinentry/Makefile
  head/security/pinentry/distinfo

Modified: head/security/pinentry/Makefile
==============================================================================
--- head/security/pinentry/Makefile	Mon May 18 21:00:22 2015	(r386716)
+++ head/security/pinentry/Makefile	Mon May 18 21:24:29 2015	(r386717)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	pinentry
-PORTVERSION=	0.9.1
+PORTVERSION=	0.9.2
 PORTREVISION?=	0
 CATEGORIES=	security
 MASTER_SITES=	GNUPG/pinentry
@@ -67,6 +67,12 @@ GNU_CONFIGURE=	yes
 CFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
 
+OPTIONS_DEFINE=	LIBSECRET
+
+LIBSECRET_DESC=	Saving the passphrase with libsecret
+LIBSECRET_CONFIGURE_ENABLE=	libsecret
+LIBSECRET_LIB_DEPENDS=	libsecret-1.so:${PORTSDIR}/security/libsecret
+
 .if ${PINENTRY_GUI} == "qt4"
 USES+=		compiler:c++11-lib
 USE_CXXSTD=	c++11
@@ -80,6 +86,7 @@ CONFIGURE_ARGS+=--disable-pinentry-qt4
 .endif
 
 .if ${PINENTRY_GUI} == "gtk2"
+OPTIONS_DEFAULT+=	LIBSECRET
 USE_GNOME+=	gtk20
 PLIST_FILES=	bin/pinentry-gtk-2
 .else

Modified: head/security/pinentry/distinfo
==============================================================================
--- head/security/pinentry/distinfo	Mon May 18 21:00:22 2015	(r386716)
+++ head/security/pinentry/distinfo	Mon May 18 21:24:29 2015	(r386717)
@@ -1,2 +1,2 @@
-SHA256 (pinentry-0.9.1.tar.bz2) = 9cd08e856b395df3adc7124170b53f77c6d5c8bf88e899e818648ec70d3e9695
-SIZE (pinentry-0.9.1.tar.bz2) = 482295
+SHA256 (pinentry-0.9.2.tar.bz2) = fd8bc1592ceb22bb492b07cb29b1b140bb882c859e6503b974254c0a4b4134d1
+SIZE (pinentry-0.9.2.tar.bz2) = 495742

Added: head/security/pinentry/files/patch-pinentry_Makefile.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/pinentry/files/patch-pinentry_Makefile.in	Mon May 18 21:24:29 2015	(r386717)
@@ -0,0 +1,13 @@
+# Rearrange includes to prevent picking up libassuan headers from LOCALBASE
+
+--- pinentry/Makefile.in.orig	2015-05-11 13:32:13 UTC
++++ pinentry/Makefile.in
+@@ -311,7 +311,7 @@ EXTRA_DIST = 
+ @BUILD_LIBPINENTRY_CURSES_TRUE@pinentry_curses = libpinentry-curses.a
+ noinst_LIBRARIES = libpinentry.a $(pinentry_curses)
+ LDADD = $(COMMON_LIBS)
+-AM_CPPFLAGS = $(COMMON_CFLAGS) -I$(top_srcdir)/assuan -I$(top_srcdir)/secmem
++AM_CPPFLAGS = -I$(top_srcdir)/assuan -I$(top_srcdir)/secmem $(COMMON_CFLAGS)
+ libpinentry_a_SOURCES = pinentry.h pinentry.c argparse.c argparse.h \
+ 	password-cache.h password-cache.c
+ 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201505182124.t4ILOUrh046632>