summaryrefslogtreecommitdiff
path: root/security/php-sodium
diff options
context:
space:
mode:
Diffstat (limited to 'security/php-sodium')
-rw-r--r--security/php-sodium/DESCR3
-rw-r--r--security/php-sodium/Makefile13
2 files changed, 16 insertions, 0 deletions
diff --git a/security/php-sodium/DESCR b/security/php-sodium/DESCR
new file mode 100644
index 00000000000..266d24faa8c
--- /dev/null
+++ b/security/php-sodium/DESCR
@@ -0,0 +1,3 @@
+PHP is a programming language designed to be embedded into web
+pages. This module provides access to libsodium, a library for
+network communication, encryption, decryption, signatures, etc
diff --git a/security/php-sodium/Makefile b/security/php-sodium/Makefile
new file mode 100644
index 00000000000..d0be1c17867
--- /dev/null
+++ b/security/php-sodium/Makefile
@@ -0,0 +1,13 @@
+# $NetBSD: Makefile,v 1.1 2017/11/15 08:58:35 jdolecek Exp $
+
+MODNAME= sodium
+CATEGORIES+= security
+COMMENT= PHP extension for the sodium crypto algorithms library
+
+CONFIGURE_ARGS+= --with-${MODNAME}=shared
+
+PHP_VERSIONS_ACCEPTED= 72
+
+.include "../../lang/php/ext.mk"
+.include "../../security/libsodium/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"