aboutsummaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorRoman Bogorodskiy <novel@FreeBSD.org>2005-07-05 08:37:10 +0000
committerRoman Bogorodskiy <novel@FreeBSD.org>2005-07-05 08:37:10 +0000
commitf4129178764bbcfc38945106b7ea7562e34cc26e (patch)
tree86789acef2364d0a141901250484871993595bcb /security
parent8a6eb345cd7352a139550efeebc5f3d431cb0ee4 (diff)
downloadports-f4129178764bbcfc38945106b7ea7562e34cc26e.tar.gz
ports-f4129178764bbcfc38945106b7ea7562e34cc26e.zip
Notes
Diffstat (limited to 'security')
-rw-r--r--security/libecc/Makefile9
-rw-r--r--security/libecc/distinfo4
-rw-r--r--security/libecc/files/patch-include_libecc_Makefile.in11
-rw-r--r--security/libecc/pkg-plist9
4 files changed, 26 insertions, 7 deletions
diff --git a/security/libecc/Makefile b/security/libecc/Makefile
index bd61797131e6..7e9fcb165964 100644
--- a/security/libecc/Makefile
+++ b/security/libecc/Makefile
@@ -7,7 +7,7 @@
#
PORTNAME= libecc
-PORTVERSION= 0.3.0
+PORTVERSION= 0.11.0
CATEGORIES= security
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -15,10 +15,15 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= C++ Elliptic Curve Library
-USE_GCC= 3.3
+LIB_DEPENDS= gmp.6:${PORTSDIR}/math/libgmp4
+
+USE_GCC= 3.3+
GNU_CONFIGURE= yes
INSTALLS_SHLIB= yes
+CONFIGURE_ENV+= LDFLAGS="-L${PREFIX}/lib -L${LOCALBASE}/lib" \
+ CPPFLAGS="-I${PREFIX}/include -I${LOCALBASE}/include"
+
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 501103
diff --git a/security/libecc/distinfo b/security/libecc/distinfo
index 4e8bcf080c71..fdbfbbf589e4 100644
--- a/security/libecc/distinfo
+++ b/security/libecc/distinfo
@@ -1,2 +1,2 @@
-MD5 (libecc-0.3.0.tar.gz) = 6b359fc3de2e86612182514320b593eb
-SIZE (libecc-0.3.0.tar.gz) = 536198
+MD5 (libecc-0.11.0.tar.gz) = f7f701fb1461fc6b11bf9f5d4ae236cd
+SIZE (libecc-0.11.0.tar.gz) = 1494532
diff --git a/security/libecc/files/patch-include_libecc_Makefile.in b/security/libecc/files/patch-include_libecc_Makefile.in
new file mode 100644
index 000000000000..fed79eb49d0c
--- /dev/null
+++ b/security/libecc/files/patch-include_libecc_Makefile.in
@@ -0,0 +1,11 @@
+--- include/libecc/Makefile.in.orig Mon Jul 4 01:05:30 2005
++++ include/libecc/Makefile.in Mon Jul 4 01:06:20 2005
+@@ -206,7 +206,7 @@
+ polynomial.h \
+ square.hcc \
+ fieldmath.h
+-
++EXTRA_HEADERS = $(libecc_HEADERS)
+
+ # point.h
+
diff --git a/security/libecc/pkg-plist b/security/libecc/pkg-plist
index a6cd6029a05f..3dc278443ad4 100644
--- a/security/libecc/pkg-plist
+++ b/security/libecc/pkg-plist
@@ -1,8 +1,11 @@
include/libecc/bitset.h
-include/libecc/config.h
include/libecc/debug.h
+include/libecc/fieldmath.h
+include/libecc/polynomial.h
include/libecc/rng.h
include/libecc/sha.h
-@dirrm include/libecc
+include/libecc/square.hcc
lib/libecc.so
-lib/libecc.so.3
+lib/libecc.so.11
+
+@dirrm include/libecc