summaryrefslogtreecommitdiff
path: root/security/php-sodium
diff options
context:
space:
mode:
authorjdolecek <jdolecek@pkgsrc.org>2017-11-15 08:58:35 +0000
committerjdolecek <jdolecek@pkgsrc.org>2017-11-15 08:58:35 +0000
commit7687444842110e62ca4f3ab26f67dc428a81ca27 (patch)
tree1ba7106897b09bc461afd85ff4159f62456aaaf3 /security/php-sodium
parent25ed8789c50d28957af1bb81fe633c1547a121e8 (diff)
downloadpkgsrc-7687444842110e62ca4f3ab26f67dc428a81ca27.tar.gz
Add php-sodim - php module for libsodium library, new module for PHP 7.2
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"