diff options
author | Max Brazhnikov <makc@FreeBSD.org> | 2015-05-18 21:24:29 +0000 |
---|---|---|
committer | Max Brazhnikov <makc@FreeBSD.org> | 2015-05-18 21:24:29 +0000 |
commit | 3ebfd7377f8b66b84568a2b600490418f3b33ab8 (patch) | |
tree | e463e8a03615bb9dd264f5467d935279b2ce00b9 /security/pinentry | |
parent | 35ff0626de1f5ab27e21ffc422c85ee1fa3aebf5 (diff) | |
download | ports-3ebfd7377f8b66b84568a2b600490418f3b33ab8.tar.gz ports-3ebfd7377f8b66b84568a2b600490418f3b33ab8.zip |
Notes
Diffstat (limited to 'security/pinentry')
-rw-r--r-- | security/pinentry/Makefile | 9 | ||||
-rw-r--r-- | security/pinentry/distinfo | 4 | ||||
-rw-r--r-- | security/pinentry/files/patch-pinentry_Makefile.in | 13 |
3 files changed, 23 insertions, 3 deletions
diff --git a/security/pinentry/Makefile b/security/pinentry/Makefile index 383d0075de97..a03bf80437d9 100644 --- a/security/pinentry/Makefile +++ b/security/pinentry/Makefile @@ -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 diff --git a/security/pinentry/distinfo b/security/pinentry/distinfo index 9049d49f6364..3a84d28c53fd 100644 --- a/security/pinentry/distinfo +++ b/security/pinentry/distinfo @@ -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 diff --git a/security/pinentry/files/patch-pinentry_Makefile.in b/security/pinentry/files/patch-pinentry_Makefile.in new file mode 100644 index 000000000000..9ef228202a27 --- /dev/null +++ b/security/pinentry/files/patch-pinentry_Makefile.in @@ -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 + |