aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorwg <wg@FreeBSD.org>2013-12-31 00:19:54 +0800
committerwg <wg@FreeBSD.org>2013-12-31 00:19:54 +0800
commit3fcee4e7e7ff5dc9f33fc535ef95452dc10c57df (patch)
tree7093a6915e33257fed81f917275736acff7fba50 /security
parent3d0197a7ac016abb66fdf6d523bebacf36f00b82 (diff)
downloadfreebsd-ports-gnome-3fcee4e7e7ff5dc9f33fc535ef95452dc10c57df.tar.gz
freebsd-ports-gnome-3fcee4e7e7ff5dc9f33fc535ef95452dc10c57df.tar.zst
freebsd-ports-gnome-3fcee4e7e7ff5dc9f33fc535ef95452dc10c57df.zip
security/gnutls3: make danetool3 work
PR: ports/185296
Diffstat (limited to 'security')
-rw-r--r--security/gnutls3/Makefile10
-rw-r--r--security/gnutls3/pkg-plist7
2 files changed, 16 insertions, 1 deletions
diff --git a/security/gnutls3/Makefile b/security/gnutls3/Makefile
index 35be1f26221d..0c32f54a1287 100644
--- a/security/gnutls3/Makefile
+++ b/security/gnutls3/Makefile
@@ -15,6 +15,7 @@ LIB_DEPENDS= libgpg-error.so:${PORTSDIR}/security/libgpg-error \
libnettle.so:${PORTSDIR}/security/nettle \
libp11-kit.so:${PORTSDIR}/security/p11-kit \
libidn.so:${PORTSDIR}/dns/libidn \
+ libunbound.so:${PORTSDIR}/dns/unbound \
libtspi.so:${PORTSDIR}/security/trousers
GNUTLS_SUFFIX= 3
@@ -62,12 +63,19 @@ EXAMPLES= doc/examples/*.c
#INFO= gnutls
+post-patch:
+ @${MV} ${WRKSRC}/libdane/gnutls-dane.pc.in \
+ ${WRKSRC}/libdane/gnutls${GNUTLS_SUFFIX}-dane.pc.in
+
pre-configure:
@${CP} ${WRKSRC}/lib/gnutls.pc.in ${WRKSRC}/lib/gnutls${GNUTLS_SUFFIX}.pc.in
@${REINPLACE_CMD} \
-e 's,(libdir)/pkgconfig,(prefix)/libdata/pkgconfig,' \
-e 's,gnutls\.pc,gnutls${GNUTLS_SUFFIX}\.pc,g' \
- ${WRKSRC}/lib/Makefile.in ${WRKSRC}/configure
+ -e 's,gnutls-dane\.pc,gnutls${GNUTLS_SUFFIX}-dane\.pc,g' \
+ ${WRKSRC}/lib/Makefile.in \
+ ${WRKSRC}/libdane/Makefile.in \
+ ${WRKSRC}/configure
@${REINPLACE_CMD} -e 's,(top_builddir)$$,(top_builddir) -I$$(top_builddir)/lib/includes -I$$(top_builddir)/libextra/includes,' \
${WRKSRC}/doc/Makefile.in
diff --git a/security/gnutls3/pkg-plist b/security/gnutls3/pkg-plist
index 535bfea4190a..cd96dda6a254 100644
--- a/security/gnutls3/pkg-plist
+++ b/security/gnutls3/pkg-plist
@@ -12,6 +12,7 @@ bin/tpmtool3
include/gnutls3/gnutls/abstract.h
include/gnutls3/gnutls/compat.h
include/gnutls3/gnutls/crypto.h
+include/gnutls3/gnutls/dane.h
include/gnutls3/gnutls/dtls.h
include/gnutls3/gnutls/gnutls.h
%%CXX%%include/gnutls3/gnutls/gnutlsxx.h
@@ -38,6 +39,10 @@ info/gnutls3/gnutls.info
info/gnutls3/gnutls.info-4
info/gnutls3/gnutls.info-5
info/gnutls3/pkcs11-vision.png
+lib/gnutls3/libgnutls-dane.a
+lib/gnutls3/libgnutls-dane.la
+lib/gnutls3/libgnutls-dane.so
+lib/gnutls3/libgnutls-dane.so.0
lib/gnutls3/libgnutls-openssl.a
lib/gnutls3/libgnutls-openssl.la
lib/gnutls3/libgnutls-openssl.so
@@ -55,6 +60,8 @@ lib/gnutls3/libgnutls.so.28
%%CXX%%lib/gnutls3/libgnutlsxx.so
%%CXX%%lib/gnutls3/libgnutlsxx.so.28
libdata/pkgconfig/gnutls3.pc
+libdata/pkgconfig/gnutls3-dane.pc
+man/man1/danetool3.1.gz
man/man1/certtool3.1.gz
man/man1/gnutls-cli-debug3.1.gz
man/man1/gnutls-cli3.1.gz