summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
Diffstat (limited to 'security')
-rw-r--r--security/nettle/Makefile7
-rw-r--r--security/nettle/distinfo2
-rw-r--r--security/nettle/pkg-plist11
-rw-r--r--security/nettle2/Makefile7
-rw-r--r--security/nettle2/distinfo2
-rw-r--r--security/nettle2/pkg-plist11
6 files changed, 18 insertions, 22 deletions
diff --git a/security/nettle/Makefile b/security/nettle/Makefile
index 63adbf8d189f..fdd770f19bb9 100644
--- a/security/nettle/Makefile
+++ b/security/nettle/Makefile
@@ -7,14 +7,19 @@
#
PORTNAME= nettle
-PORTVERSION= 1.0
+PORTVERSION= 1.5
CATEGORIES= security
MASTER_SITES= http://www.lysator.liu.se/~nisse/archive/ \
ftp://ftp.lysator.liu.se/pub/security/lsh/
MAINTAINER= ports@FreeBSD.org
+LIB_DEPENDS= gmp.4:${PORTSDIR}/math/libgmp3
+
+USE_LIBTOOL= yes
GNU_CONFIGURE= yes
+CONFIGURE_ENV= CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
USE_GMAKE= yes
.include <bsd.port.mk>
diff --git a/security/nettle/distinfo b/security/nettle/distinfo
index a714892a32eb..0b0dff1b626a 100644
--- a/security/nettle/distinfo
+++ b/security/nettle/distinfo
@@ -1 +1 @@
-MD5 (nettle-1.0.tar.gz) = 36027a413ab12eb1e56404e02cffe735
+MD5 (nettle-1.5.tar.gz) = d66173646336e9e7b08deb3f9352248d
diff --git a/security/nettle/pkg-plist b/security/nettle/pkg-plist
index c4f83e7f521d..2a954351b6e1 100644
--- a/security/nettle/pkg-plist
+++ b/security/nettle/pkg-plist
@@ -1,17 +1,10 @@
include/nettle/aes.h
include/nettle/arcfour.h
include/nettle/blowfish.h
-include/nettle/cast128.h
-include/nettle/cbc.h
-include/nettle/des-compat.h
-include/nettle/des.h
-include/nettle/md5-compat.h
-include/nettle/md5.h
-include/nettle/serpent.h
-include/nettle/sha1.h
-include/nettle/twofish.h
@dirrm include/nettle
@unexec install-info --delete %D/info/nettle.info %D/info/dir
info/nettle.info
+info/nettle.info-1
+info/nettle.info-2
@exec install-info %D/info/nettle.info %D/info/dir
lib/libnettle.a
diff --git a/security/nettle2/Makefile b/security/nettle2/Makefile
index 63adbf8d189f..fdd770f19bb9 100644
--- a/security/nettle2/Makefile
+++ b/security/nettle2/Makefile
@@ -7,14 +7,19 @@
#
PORTNAME= nettle
-PORTVERSION= 1.0
+PORTVERSION= 1.5
CATEGORIES= security
MASTER_SITES= http://www.lysator.liu.se/~nisse/archive/ \
ftp://ftp.lysator.liu.se/pub/security/lsh/
MAINTAINER= ports@FreeBSD.org
+LIB_DEPENDS= gmp.4:${PORTSDIR}/math/libgmp3
+
+USE_LIBTOOL= yes
GNU_CONFIGURE= yes
+CONFIGURE_ENV= CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
USE_GMAKE= yes
.include <bsd.port.mk>
diff --git a/security/nettle2/distinfo b/security/nettle2/distinfo
index a714892a32eb..0b0dff1b626a 100644
--- a/security/nettle2/distinfo
+++ b/security/nettle2/distinfo
@@ -1 +1 @@
-MD5 (nettle-1.0.tar.gz) = 36027a413ab12eb1e56404e02cffe735
+MD5 (nettle-1.5.tar.gz) = d66173646336e9e7b08deb3f9352248d
diff --git a/security/nettle2/pkg-plist b/security/nettle2/pkg-plist
index c4f83e7f521d..2a954351b6e1 100644
--- a/security/nettle2/pkg-plist
+++ b/security/nettle2/pkg-plist
@@ -1,17 +1,10 @@
include/nettle/aes.h
include/nettle/arcfour.h
include/nettle/blowfish.h
-include/nettle/cast128.h
-include/nettle/cbc.h
-include/nettle/des-compat.h
-include/nettle/des.h
-include/nettle/md5-compat.h
-include/nettle/md5.h
-include/nettle/serpent.h
-include/nettle/sha1.h
-include/nettle/twofish.h
@dirrm include/nettle
@unexec install-info --delete %D/info/nettle.info %D/info/dir
info/nettle.info
+info/nettle.info-1
+info/nettle.info-2
@exec install-info %D/info/nettle.info %D/info/dir
lib/libnettle.a