diff options
author | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2014-01-06 15:11:54 +0000 |
---|---|---|
committer | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2014-01-06 15:11:54 +0000 |
commit | f5deb59c80f33e4bfcd4bd92e119b9d672163e9f (patch) | |
tree | 7b71248bab500ea59d3917c0481e0aa045c7e49f | |
parent | 9958ccb34565d49fc1402bda7ac3bb7863e0d08c (diff) |
Notes
-rw-r--r-- | security/Makefile | 1 | ||||
-rw-r--r-- | security/pecl-crypto/Makefile | 23 | ||||
-rw-r--r-- | security/pecl-crypto/distinfo | 2 | ||||
-rw-r--r-- | security/pecl-crypto/files/patch-config.m4 | 11 | ||||
-rw-r--r-- | security/pecl-crypto/pkg-descr | 3 |
5 files changed, 40 insertions, 0 deletions
diff --git a/security/Makefile b/security/Makefile index d32ed9fec094..00fff2988d17 100644 --- a/security/Makefile +++ b/security/Makefile @@ -671,6 +671,7 @@ SUBDIR += pear-Net_Portscan SUBDIR += pear-Text_Password SUBDIR += pecl-crack + SUBDIR += pecl-crypto SUBDIR += pecl-gnupg SUBDIR += pecl-pam SUBDIR += pecl-scrypt diff --git a/security/pecl-crypto/Makefile b/security/pecl-crypto/Makefile new file mode 100644 index 000000000000..6b6c631b9268 --- /dev/null +++ b/security/pecl-crypto/Makefile @@ -0,0 +1,23 @@ +# Created by: Gasol Wu <gasol.wu@gmail.com> +# $FreeBSD$ + +PORTNAME= crypto +PORTVERSION= 0.1.1 +CATEGORIES= security +MASTER_SITES= http://pecl.php.net/get/ +PKGNAMEPREFIX= pecl- +EXTRACT_SUFX= .tgz +DIST_SUBDIR= PECL + +MAINTAINER= gasol.wu@gmail.com +COMMENT= Objective wrapper for OpenSSL Crypto Library + +LICENSE= PHP301 + +CONFIGURE_ARGS= --with-crypto +USE_OPENSSL= yes +USE_PHP= yes +USE_PHPEXT= yes +USE_PHPIZE= yes + +.include <bsd.port.mk> diff --git a/security/pecl-crypto/distinfo b/security/pecl-crypto/distinfo new file mode 100644 index 000000000000..9775492859fc --- /dev/null +++ b/security/pecl-crypto/distinfo @@ -0,0 +1,2 @@ +SHA256 (PECL/crypto-0.1.1.tgz) = 9844e93078ac165255bdba6944abf6ec196be9964f9807df9f8f7d792a18807b +SIZE (PECL/crypto-0.1.1.tgz) = 31097 diff --git a/security/pecl-crypto/files/patch-config.m4 b/security/pecl-crypto/files/patch-config.m4 new file mode 100644 index 000000000000..20120bc9846b --- /dev/null +++ b/security/pecl-crypto/files/patch-config.m4 @@ -0,0 +1,11 @@ +--- ./config.m4.orig 2014-01-06 13:47:54.000000000 +0800 ++++ ./config.m4 2014-01-06 13:48:11.000000000 +0800 +@@ -17,6 +17,8 @@ + PHP_ADD_INCLUDE($OPENSSL_INCDIR) + CRYPTO_LIBS=`$PKG_CONFIG --libs openssl` + PHP_EVAL_LIBLINE($CRYPTO_LIBS, CRYPTO_SHARED_LIBADD) ++ else ++ PHP_EVAL_LIBLINE("-lssl -lcrypto", CRYPTO_SHARED_LIBADD) + fi + + AC_DEFINE(HAVE_CRYPTOLIB,1,[Enable objective OpenSSL Crypto wrapper]) diff --git a/security/pecl-crypto/pkg-descr b/security/pecl-crypto/pkg-descr new file mode 100644 index 000000000000..17a5b2fd2e8e --- /dev/null +++ b/security/pecl-crypto/pkg-descr @@ -0,0 +1,3 @@ +This package provides an objective wrapper for OpenSSL Crypto Library + +WWW: http://pecl.php.net/package/crypto |