aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--security/Makefile1
-rw-r--r--security/borzoi/Makefile27
-rw-r--r--security/borzoi/distinfo1
-rw-r--r--security/borzoi/files/patch-configure11
-rw-r--r--security/borzoi/files/patch-src::Makefile.in20
-rw-r--r--security/borzoi/pkg-comment1
-rw-r--r--security/borzoi/pkg-descr3
-rw-r--r--security/borzoi/pkg-plist9
8 files changed, 73 insertions, 0 deletions
diff --git a/security/Makefile b/security/Makefile
index 5a8810441d56..7ac219faec3b 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -12,6 +12,7 @@
SUBDIR += beecrypt
SUBDIR += bfbtester
SUBDIR += bjorb
+ SUBDIR += borzoi
SUBDIR += bro
SUBDIR += bugs
SUBDIR += ca-roots
diff --git a/security/borzoi/Makefile b/security/borzoi/Makefile
new file mode 100644
index 000000000000..f1572ea7e53a
--- /dev/null
+++ b/security/borzoi/Makefile
@@ -0,0 +1,27 @@
+# ex:ts=8
+# New ports collection makefile for: borZoi
+# Date created: Aug 23, 2001
+# Whom: ijliao
+#
+# $FreeBSD$
+#
+
+PORTNAME= borzoi
+PORTVERSION= 0.8.3
+CATEGORIES= security
+MASTER_SITES= http://www1.kcn.ne.jp/~anthony/software/
+DISTNAME= borZoi-${PORTVERSION}
+
+MAINTAINER= ports@FreeBSD.org
+
+BUILD_DEPENDS= ${LOCALBASE}/lib/libntl.a:${PORTSDIR}/math/ntl
+RUN_DEPENDS= ${LOCALBASE}/lib/libntl.a:${PORTSDIR}/math/ntl
+
+USE_LIBTOOL= yes
+GNU_CONFIGURE= yes
+INSTALLS_SHLIB= yes
+
+post-patch:
+ @${PERL} -pi -e "s,%%LOCALBASE%%,${LOCALBASE},g" ${WRKSRC}/src/Makefile.in
+
+.include <bsd.port.mk>
diff --git a/security/borzoi/distinfo b/security/borzoi/distinfo
new file mode 100644
index 000000000000..c552c9efe723
--- /dev/null
+++ b/security/borzoi/distinfo
@@ -0,0 +1 @@
+MD5 (borZoi-0.8.3.tar.gz) = a1275a99b401fc441ac3ccd8ade35f39
diff --git a/security/borzoi/files/patch-configure b/security/borzoi/files/patch-configure
new file mode 100644
index 000000000000..f7dc269ac78a
--- /dev/null
+++ b/security/borzoi/files/patch-configure
@@ -0,0 +1,11 @@
+--- configure.orig Thu Aug 23 15:26:31 2001
++++ configure Thu Aug 23 15:26:49 2001
+@@ -461,7 +461,7 @@
+
+ # A filename unique to this package, relative to the directory that
+ # configure is in, which we can look for to find out if srcdir is correct.
+-ac_unique_file=src/borZoi.h
++ac_unique_file=src/borzoi.h
+
+ # Find the source files, if location was not specified.
+ if test -z "$srcdir"; then
diff --git a/security/borzoi/files/patch-src::Makefile.in b/security/borzoi/files/patch-src::Makefile.in
new file mode 100644
index 000000000000..22e1f68d8869
--- /dev/null
+++ b/security/borzoi/files/patch-src::Makefile.in
@@ -0,0 +1,20 @@
+--- src/Makefile.in.orig Sun Jun 24 08:15:31 2001
++++ src/Makefile.in Thu Aug 23 15:52:25 2001
+@@ -73,7 +73,7 @@
+ RANLIB = @RANLIB@
+ VERSION = @VERSION@
+
+-INCLUDES = -I$(top_srcdir)/src
++INCLUDES = -I%%LOCALBASE%%/include -I$(top_srcdir)/src
+
+ lib_LTLIBRARIES = libborzoi.la
+
+@@ -92,7 +92,7 @@
+
+ borzoi_SOURCES = test.cpp fips186_2.h
+
+-borzoi_LDADD = @BORZOI_LIBS@ -lntl
++borzoi_LDADD = @BORZOI_LIBS@ -lntl -L%%LOCALBASE%%/lib
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+ CONFIG_CLEAN_FILES =
+ LTLIBRARIES = $(lib_LTLIBRARIES)
diff --git a/security/borzoi/pkg-comment b/security/borzoi/pkg-comment
new file mode 100644
index 000000000000..c540a5c9711f
--- /dev/null
+++ b/security/borzoi/pkg-comment
@@ -0,0 +1 @@
+An Elliptic Curve Cryptography Library
diff --git a/security/borzoi/pkg-descr b/security/borzoi/pkg-descr
new file mode 100644
index 000000000000..b4c6d4314c6f
--- /dev/null
+++ b/security/borzoi/pkg-descr
@@ -0,0 +1,3 @@
+borZoi - An Elliptic Curve Cryptography Library
+
+WWW: http://www1.kcn.ne.jp/~anthony/software/
diff --git a/security/borzoi/pkg-plist b/security/borzoi/pkg-plist
new file mode 100644
index 000000000000..2f953f383563
--- /dev/null
+++ b/security/borzoi/pkg-plist
@@ -0,0 +1,9 @@
+bin/borzoi
+include/borzoi.h
+include/borzoi_util.h
+include/fips186_2.h
+include/rijndael-alg-fst.h
+include/rng.h
+lib/libborzoi.a
+lib/libborzoi.so
+lib/libborzoi.so.0