aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>2015-01-27 14:32:33 +0800
committervanilla <vanilla@FreeBSD.org>2015-01-27 14:32:33 +0800
commit2f509325281085af55fd95e8669afa571abb39f0 (patch)
treed6b6048bc23d100aea49c4164d9e8d53165adb1d /security
parente693f4f5dd85344434d69f575ebd8de3ee9e3d96 (diff)
downloadfreebsd-ports-gnome-2f509325281085af55fd95e8669afa571abb39f0.tar.gz
freebsd-ports-gnome-2f509325281085af55fd95e8669afa571abb39f0.tar.zst
freebsd-ports-gnome-2f509325281085af55fd95e8669afa571abb39f0.zip
Add p5-Crypt-Sodium 0.06, perl bindings for portable NaCL (libsodium).
PR: 197088 Submitted by: Thomas von Dein <freebsd@daemon.de>
Diffstat (limited to 'security')
-rw-r--r--security/Makefile1
-rw-r--r--security/p5-Crypt-Sodium/Makefile22
-rw-r--r--security/p5-Crypt-Sodium/distinfo2
-rw-r--r--security/p5-Crypt-Sodium/pkg-descr5
-rw-r--r--security/p5-Crypt-Sodium/pkg-plist3
5 files changed, 33 insertions, 0 deletions
diff --git a/security/Makefile b/security/Makefile
index 53c9d5bccb7d..aab27a51ac76 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -519,6 +519,7 @@
SUBDIR += p5-Crypt-Shark
SUBDIR += p5-Crypt-Simple
SUBDIR += p5-Crypt-SmbHash
+ SUBDIR += p5-Crypt-Sodium
SUBDIR += p5-Crypt-Solitaire
SUBDIR += p5-Crypt-TEA
SUBDIR += p5-Crypt-T_e_a
diff --git a/security/p5-Crypt-Sodium/Makefile b/security/p5-Crypt-Sodium/Makefile
new file mode 100644
index 000000000000..edc7e194386a
--- /dev/null
+++ b/security/p5-Crypt-Sodium/Makefile
@@ -0,0 +1,22 @@
+# Created by: Thomas von Dein <freebsd@daemon.de>
+# $FreeBSD$
+
+PORTNAME= Crypt-Sodium
+PORTVERSION= 0.06
+CATEGORIES= security perl5
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= freebsd@daemon.de
+COMMENT= Perl bindings for portable NaCL (libsodium)
+
+LICENSE= ART10 GPLv1
+LICENSE_COMB= dual
+
+USES= perl5
+USE_PERL5= configure
+
+LIB_DEPENDS+= libsodium.so:${PORTSDIR}/security/libsodium
+CFLAGS+= -I${LOCALBASE}/include
+
+.include <bsd.port.mk>
diff --git a/security/p5-Crypt-Sodium/distinfo b/security/p5-Crypt-Sodium/distinfo
new file mode 100644
index 000000000000..bb474a505542
--- /dev/null
+++ b/security/p5-Crypt-Sodium/distinfo
@@ -0,0 +1,2 @@
+SHA256 (Crypt-Sodium-0.06.tar.gz) = 556ccd221feafc3fc12856a1732388de547b07bf35fe50b0a7a0a1f7e14948d6
+SIZE (Crypt-Sodium-0.06.tar.gz) = 50125
diff --git a/security/p5-Crypt-Sodium/pkg-descr b/security/p5-Crypt-Sodium/pkg-descr
new file mode 100644
index 000000000000..4adab78226b7
--- /dev/null
+++ b/security/p5-Crypt-Sodium/pkg-descr
@@ -0,0 +1,5 @@
+This module provides perl bindings for the portable
+NaCL implementation libsodium, a library for network
+communication, encryption, decryption and signatures.
+
+WWW: http://search.cpan.org/dist/Crypt-Sodium/
diff --git a/security/p5-Crypt-Sodium/pkg-plist b/security/p5-Crypt-Sodium/pkg-plist
new file mode 100644
index 000000000000..367b1dbb8a03
--- /dev/null
+++ b/security/p5-Crypt-Sodium/pkg-plist
@@ -0,0 +1,3 @@
+%%SITE_ARCH%%/Crypt/Sodium.pm
+%%SITE_ARCH%%/auto/Crypt/Sodium/Sodium.so
+%%PERL5_MAN3%%/Crypt::Sodium.3.gz