aboutsummaryrefslogtreecommitdiff
path: root/security/gnutls
diff options
context:
space:
mode:
authorSergei Kolobov <sergei@FreeBSD.org>2004-10-13 09:08:06 +0000
committerSergei Kolobov <sergei@FreeBSD.org>2004-10-13 09:08:06 +0000
commit25d5793be7e9a5bc4ed6cf3fa33a4c26c5175c41 (patch)
tree00abd29bc341949f8c76c12739354b07b5a676c2 /security/gnutls
parent2386edf34e3a1558bcef17759cfb5a8e1a04f72a (diff)
- Update to 1.0.21
- Make security/libtasn1 and security/opencdk into optional dependencies, enabled by knobs: WITH_LIBTASN1 and WITH_OPENCDK, respectively. Default to using their included versions
Notes
Notes: svn path=/head/; revision=119186
Diffstat (limited to 'security/gnutls')
-rw-r--r--security/gnutls/Makefile20
-rw-r--r--security/gnutls/distinfo6
2 files changed, 17 insertions, 9 deletions
diff --git a/security/gnutls/Makefile b/security/gnutls/Makefile
index 844aebdc72de..e934142a7ba6 100644
--- a/security/gnutls/Makefile
+++ b/security/gnutls/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= gnutls
-PORTVERSION= 1.0.20
+PORTVERSION= 1.0.21
CATEGORIES= security net
MASTER_SITES= ${MASTER_SITE_GNUPG} \
http://www.mirrors.wiretapped.net/security/network-security/gnutls/ \
@@ -18,17 +18,23 @@ MAINTAINER= sergei@FreeBSD.org
COMMENT= GNU Transport Layer Security library
LIB_DEPENDS= gcrypt.12:${PORTSDIR}/security/libgcrypt \
- gpg-error.1:${PORTSDIR}/security/libgpg-error \
- opencdk.8:${PORTSDIR}/security/opencdk \
- tasn1.2:${PORTSDIR}/security/libtasn1
+ gpg-error.1:${PORTSDIR}/security/libgpg-error
-CONFLICTS= gnutls-devel-*
+.if defined(WITH_OPENCDK) || exists(${LOCALBASE}/lib/libopencdk.so.8)
+LIB_DEPENDS+= opencdk.8:${PORTSDIR}/security/opencdk
+.endif
+
+.if defined(WITH_LIBTASN1) || exists(${LOCALBASE}/lib/libtasn1.so.2)
+LIB_DEPENDS+= tasn1.2:${PORTSDIR}/security/libtasn1
+.endif
+
+CONFLICTS= gnutls-devel-[0-9]*
USE_GPG?= yes
-SIG_SUFFIX= .sig.asc
+SIG_SUFFIX= .sig
USE_ICONV= yes
USE_GETTEXT= yes
-USE_INC_LIBTOOL_VER=15
+USE_INC_LIBTOOL_VER= 15
INSTALLS_SHLIB= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
diff --git a/security/gnutls/distinfo b/security/gnutls/distinfo
index cb5d444293a0..f7b8a53ec879 100644
--- a/security/gnutls/distinfo
+++ b/security/gnutls/distinfo
@@ -1,2 +1,4 @@
-MD5 (gnutls-1.0.20.tar.gz) = 3a06e6db06c6c6c9a9929dfd9d361cbe
-SIZE (gnutls-1.0.20.tar.gz) = 1614092
+MD5 (gnutls-1.0.21.tar.gz) = 04ca543897549b96beda45ce050a0657
+SIZE (gnutls-1.0.21.tar.gz) = 1619467
+MD5 (gnutls-1.0.21.tar.gz.sig) = 2260c1d6be5ab9c441e26146e37f77c2
+SIZE (gnutls-1.0.21.tar.gz.sig) = 184