aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2006-01-07 15:52:57 +0800
committeredwin <edwin@FreeBSD.org>2006-01-07 15:52:57 +0800
commit815836349fadf08b2ccbc26138c2eaf255ebc3e2 (patch)
treec1bb7b9fba2212eb40a7cb1d72d9d05c3d96103a /databases
parentb59e4a1c7b232fdec032b36edffc826f96edcbed (diff)
downloadfreebsd-ports-gnome-815836349fadf08b2ccbc26138c2eaf255ebc3e2.tar.gz
freebsd-ports-gnome-815836349fadf08b2ccbc26138c2eaf255ebc3e2.tar.zst
freebsd-ports-gnome-815836349fadf08b2ccbc26138c2eaf255ebc3e2.zip
New port: security/pecl-hash pHASH Message Digest Framework for PHP (PECL module)
PR contains new port security/pecl-hash which provides possibility to install PHP PECL extension: pHASH Message Digest Framework PR: ports/90087 Submitted by: Alexander Zhuravlev <zaa@zaa.pp.ru>
Diffstat (limited to 'databases')
-rw-r--r--databases/Makefile1
-rw-r--r--databases/pecl-hash/Makefile31
-rw-r--r--databases/pecl-hash/distinfo3
-rw-r--r--databases/pecl-hash/pkg-descr12
4 files changed, 47 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile
index edeccde890ec..6a6e8dbd1859 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -271,6 +271,7 @@
SUBDIR += pecl-PDO_ODBC
SUBDIR += pecl-PDO_PGSQL
SUBDIR += pecl-PDO_SQLITE
+ SUBDIR += pecl-hash
SUBDIR += pecl-memcache
SUBDIR += pecl-sqlite
SUBDIR += pgaccess
diff --git a/databases/pecl-hash/Makefile b/databases/pecl-hash/Makefile
new file mode 100644
index 000000000000..c5f0023fc455
--- /dev/null
+++ b/databases/pecl-hash/Makefile
@@ -0,0 +1,31 @@
+# Ports collection makefile for: pecl-hash
+# Date created: 2005-12-07
+# Whom: Alexander Zhuravlev <zaa@zaa.pp.ru>
+#
+# $FreeBSD$
+#
+
+PORTNAME= hash
+DISTVERSION= 1.1
+CATEGORIES= databases www
+MASTER_SITES= http://pecl.php.net/get/
+PKGNAMEPREFIX= pecl-
+EXTRACT_SUFX= .tgz
+DIST_SUBDIR= PECL
+
+MAINTAINER= zaa@zaa.pp.ru
+COMMENT= pHASH Message Digest Framework for PHP
+
+USE_PHP= yes
+USE_PHPIZE= yes
+USE_PHPEXT= yes
+DEFAULT_PHP_VER=5
+PHP_MODNAME= hash
+
+.include <bsd.port.pre.mk>
+
+.if ${PHP_VER} == 4
+IGNORE= requires PHP version 5.0.3 or higher
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/databases/pecl-hash/distinfo b/databases/pecl-hash/distinfo
new file mode 100644
index 000000000000..3ea05932ea2d
--- /dev/null
+++ b/databases/pecl-hash/distinfo
@@ -0,0 +1,3 @@
+MD5 (PECL/hash-1.1.tgz) = cf33b7b723fed4abfefe33b0ebce74b2
+SHA256 (PECL/hash-1.1.tgz) = 56b0e7104beec4b845705f7550586f883cc8f27c079959a3b05b0be1639dfcc4
+SIZE (PECL/hash-1.1.tgz) = 100713
diff --git a/databases/pecl-hash/pkg-descr b/databases/pecl-hash/pkg-descr
new file mode 100644
index 000000000000..12d390d3882c
--- /dev/null
+++ b/databases/pecl-hash/pkg-descr
@@ -0,0 +1,12 @@
+Extension provides native implementations of common message digest algorithms
+using a generic factory method.
+At the moment it supports the following hashing algorithms:
+
+ * md4, md5
+ * sha1, sha256, sha384, sha512
+ * ripemd128, ripemd160
+ * tiger128, tiger160, tiger192 (3 and 4 passes)
+ * haval128, haval160, haval192, haval224, haval256 (3, 4 and 5 passes)
+ * crc32, crc32b, adler32, gost, snefru, whirlpool
+
+WWW: http://pecl.php.net/package/hash