aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--security/Makefile1
-rw-r--r--security/pecl-libsodium/Makefile20
-rw-r--r--security/pecl-libsodium/distinfo3
-rw-r--r--security/pecl-libsodium/pkg-descr3
4 files changed, 27 insertions, 0 deletions
diff --git a/security/Makefile b/security/Makefile
index 49b8384aea47..ab839f7c10cd 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -755,6 +755,7 @@
SUBDIR += pecl-crack
SUBDIR += pecl-crypto
SUBDIR += pecl-gnupg
+ SUBDIR += pecl-libsodium
SUBDIR += pecl-pam
SUBDIR += pecl-scrypt
SUBDIR += pecl-ssh2
diff --git a/security/pecl-libsodium/Makefile b/security/pecl-libsodium/Makefile
new file mode 100644
index 000000000000..3cb423713d09
--- /dev/null
+++ b/security/pecl-libsodium/Makefile
@@ -0,0 +1,20 @@
+# Created by: Gasol Wu <gasol.wu@gmail.com>
+# $FreeBSD$
+
+PORTNAME= libsodium
+PORTVERSION= 1.0.6
+CATEGORIES= security
+MASTER_SITES= http://pecl.php.net/get/
+PKGNAMEPREFIX= pecl-
+DIST_SUBDIR= PECL
+
+MAINTAINER= gasol.wu@gmail.com
+COMMENT= PHP wrapper for the Sodium cryptographic library
+
+LICENSE= BSD2CLAUSE
+
+LIB_DEPENDS= libsodium.so:security/libsodium
+
+USES= php:ext tar:tgz
+
+.include <bsd.port.mk>
diff --git a/security/pecl-libsodium/distinfo b/security/pecl-libsodium/distinfo
new file mode 100644
index 000000000000..8514d98aa4bb
--- /dev/null
+++ b/security/pecl-libsodium/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1471026849
+SHA256 (PECL/libsodium-1.0.6.tgz) = 987df388210b498f3acf8ada368e56bece5b2b5ffe64564ecfffc27f17f1242f
+SIZE (PECL/libsodium-1.0.6.tgz) = 169817
diff --git a/security/pecl-libsodium/pkg-descr b/security/pecl-libsodium/pkg-descr
new file mode 100644
index 000000000000..f6b6ccf460ed
--- /dev/null
+++ b/security/pecl-libsodium/pkg-descr
@@ -0,0 +1,3 @@
+A simple, low-level PHP extension for libsodium.
+
+WWW: http://pecl.php.net/package/libsodium