aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpawel <pawel@FreeBSD.org>2014-03-23 20:54:01 +0800
committerpawel <pawel@FreeBSD.org>2014-03-23 20:54:01 +0800
commitb60504f65a8ee7baa43829c09fcf35746b2aee2f (patch)
tree575d57135a383014ab5463fd567be69c1f8c5271
parent571412a5d3392cf164f0a0ea8a5415e09299b64f (diff)
downloadfreebsd-ports-gnome-b60504f65a8ee7baa43829c09fcf35746b2aee2f.tar.gz
freebsd-ports-gnome-b60504f65a8ee7baa43829c09fcf35746b2aee2f.tar.zst
freebsd-ports-gnome-b60504f65a8ee7baa43829c09fcf35746b2aee2f.zip
Cryptographic library to perform identification using Schnorr
Identification scheme and Blind RSA Signatures. WWW: https://github.com/divVerent/d0_blind_id PR: ports/187716 Submitted by: Jonathan Price <freebsd@jonathanprice.org>
-rw-r--r--security/Makefile1
-rw-r--r--security/d0_blind_id/Makefile27
-rw-r--r--security/d0_blind_id/distinfo2
-rw-r--r--security/d0_blind_id/files/patch-Makefile.am11
-rw-r--r--security/d0_blind_id/pkg-descr4
-rw-r--r--security/d0_blind_id/pkg-plist15
6 files changed, 60 insertions, 0 deletions
diff --git a/security/Makefile b/security/Makefile
index 55e9028497ec..aaa16279cb7e 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -100,6 +100,7 @@
SUBDIR += cyrus-sasl2-gssapi
SUBDIR += cyrus-sasl2-ldapdb
SUBDIR += cyrus-sasl2-saslauthd
+ SUBDIR += d0_blind_id
SUBDIR += dcetest
SUBDIR += ddos_scan
SUBDIR += denyhosts
diff --git a/security/d0_blind_id/Makefile b/security/d0_blind_id/Makefile
new file mode 100644
index 000000000000..255f6da0a150
--- /dev/null
+++ b/security/d0_blind_id/Makefile
@@ -0,0 +1,27 @@
+# $FreeBSD$
+
+PORTNAME= d0_blind_id
+PORTVERSION= 1.0
+CATEGORIES= security devel
+
+MAINTAINER= freebsd@jonathanprice.org
+COMMENT= Crypto library
+
+LICENSE= BSD3CLAUSE
+
+USE_GITHUB= yes
+GH_ACCOUNT= divVerent
+GH_TAGNAME= ${GH_COMMIT}
+GH_COMMIT= ff1ce7e
+
+CONFIGURE_ARGS= --with-openssl
+USE_LDCONFIG= yes
+
+USE_AUTOTOOLS= libtoolize aclocal autoconf automake
+AUTOMAKE_ARGS= --add-missing
+
+post-install:
+ @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/lib${PORTNAME}.so.0
+ @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libd0_rijndael.so.0
+
+.include <bsd.port.mk>
diff --git a/security/d0_blind_id/distinfo b/security/d0_blind_id/distinfo
new file mode 100644
index 000000000000..35ad2cd6dbd3
--- /dev/null
+++ b/security/d0_blind_id/distinfo
@@ -0,0 +1,2 @@
+SHA256 (d0_blind_id-1.0.tar.gz) = 74867ead1c5e879ce35f721b30312f9dee42cd97130c8e6fa5e1a6bb45a5e35d
+SIZE (d0_blind_id-1.0.tar.gz) = 49128
diff --git a/security/d0_blind_id/files/patch-Makefile.am b/security/d0_blind_id/files/patch-Makefile.am
new file mode 100644
index 000000000000..d9401ffa45eb
--- /dev/null
+++ b/security/d0_blind_id/files/patch-Makefile.am
@@ -0,0 +1,11 @@
+--- ./Makefile.am.orig 2014-03-17 06:18:23.208622713 +0000
++++ ./Makefile.am 2014-03-17 06:18:59.472680831 +0000
+@@ -33,7 +33,7 @@
+ libd0_blind_id_la_CFLAGS = -fvisibility=hidden -Wold-style-definition -Wstrict-prototypes -Wsign-compare -Wdeclaration-after-statement
+ library_includedir = $(includedir)/d0_blind_id
+ library_include_HEADERS = d0_blind_id.h d0.h
+-pkgconfigdir = $(libdir)/pkgconfig
++pkgconfigdir = $(prefix)/libdata/pkgconfig
+ pkgconfig_HEADERS = d0_blind_id.pc
+
+ if ENABLE_RIJNDAEL
diff --git a/security/d0_blind_id/pkg-descr b/security/d0_blind_id/pkg-descr
new file mode 100644
index 000000000000..60e191745cad
--- /dev/null
+++ b/security/d0_blind_id/pkg-descr
@@ -0,0 +1,4 @@
+Cryptographic library to perform identification using Schnorr
+Identification scheme and Blind RSA Signatures.
+
+WWW: https://github.com/divVerent/d0_blind_id
diff --git a/security/d0_blind_id/pkg-plist b/security/d0_blind_id/pkg-plist
new file mode 100644
index 000000000000..43ecd42bbaba
--- /dev/null
+++ b/security/d0_blind_id/pkg-plist
@@ -0,0 +1,15 @@
+bin/blind_id
+include/d0_blind_id/d0.h
+include/d0_blind_id/d0_blind_id.h
+include/d0_blind_id/d0_rijndael.h
+lib/libd0_blind_id.a
+lib/libd0_blind_id.la
+lib/libd0_blind_id.so
+lib/libd0_blind_id.so.0
+lib/libd0_rijndael.a
+lib/libd0_rijndael.la
+lib/libd0_rijndael.so
+lib/libd0_rijndael.so.0
+libdata/pkgconfig/d0_blind_id.pc
+libdata/pkgconfig/d0_rijndael.pc
+@dirrmtry include/d0_blind_id