aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authornovel <novel@FreeBSD.org>2005-07-05 16:37:10 +0800
committernovel <novel@FreeBSD.org>2005-07-05 16:37:10 +0800
commit96a0bd03013913da69ae81350ce6f9073a011b12 (patch)
treef533da0458baac5530a09b08f65c1e180e5a8d9a /security
parentfe0c0da1d3ec7485ad7c8c92fa447a0a67044715 (diff)
downloadfreebsd-ports-gnome-96a0bd03013913da69ae81350ce6f9073a011b12.tar.gz
freebsd-ports-gnome-96a0bd03013913da69ae81350ce6f9073a011b12.tar.zst
freebsd-ports-gnome-96a0bd03013913da69ae81350ce6f9073a011b12.zip
Update to 0.11.0.
PR: 82954 Submitted by: Vsevolod Stakhov <vsevolod@highsecure.ru>
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