summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjunovitch <junovitch@FreeBSD.org>2015-11-20 03:55:34 +0000
committerjunovitch <junovitch@FreeBSD.org>2015-11-20 03:55:34 +0000
commite9a5f2db61f4f2f021c0a5044642070d77fed654 (patch)
tree8af4a66feaa887aca6f25c01769230421d969c86
parent6a1cd53379afa9a12ecfe97a7aba10aa8de47944 (diff)
downloadFreeBSD-ports-e9a5f2db61f4f2f021c0a5044642070d77fed654.zip
FreeBSD-ports-e9a5f2db61f4f2f021c0a5044642070d77fed654.tar.gz
security/pecl-crypto: update 0.1.1 -> 0.2.1
- Update PORTVERSION and distinfo for the new release (0.2.1) - USES: tar:tgz instead of EXTRACT_SUFX - Regenerate patch while here (portlint) Changes: | 0.2.1 * Fixed C89 compatibility issue in Base64 | 0.2.0 * Support for PHP 7 * Added Crypto stream BIO wrapper * Improved error handling * Added an integer overflow checking * Removed Algorithm class and AlogirithmException class * Introduced a MAC class as a subclass of Hash and parent of HMAC and CMAC * Added MACException class subclassing HashException * Fixed HMAC and CMAC implementation and added key param to constructor * Fixed and tested CCM mode * Added new error code for failed tag verification (TAG_VERIFY_FAILED) * Add setTagLength Cipher method replacing length param in getTag * Removed Rand::egd * Created a complete API documentation PR: 204668 Submitted by: Gasol Wu <gasol.wu@gmail.com> (maintainer)
-rw-r--r--security/pecl-crypto/Makefile4
-rw-r--r--security/pecl-crypto/distinfo4
-rw-r--r--security/pecl-crypto/files/patch-config.m46
3 files changed, 7 insertions, 7 deletions
diff --git a/security/pecl-crypto/Makefile b/security/pecl-crypto/Makefile
index 6b6c631..3388481 100644
--- a/security/pecl-crypto/Makefile
+++ b/security/pecl-crypto/Makefile
@@ -2,11 +2,10 @@
# $FreeBSD$
PORTNAME= crypto
-PORTVERSION= 0.1.1
+PORTVERSION= 0.2.1
CATEGORIES= security
MASTER_SITES= http://pecl.php.net/get/
PKGNAMEPREFIX= pecl-
-EXTRACT_SUFX= .tgz
DIST_SUBDIR= PECL
MAINTAINER= gasol.wu@gmail.com
@@ -14,6 +13,7 @@ COMMENT= Objective wrapper for OpenSSL Crypto Library
LICENSE= PHP301
+USES= tar:tgz
CONFIGURE_ARGS= --with-crypto
USE_OPENSSL= yes
USE_PHP= yes
diff --git a/security/pecl-crypto/distinfo b/security/pecl-crypto/distinfo
index 9775492..cea9a22 100644
--- a/security/pecl-crypto/distinfo
+++ b/security/pecl-crypto/distinfo
@@ -1,2 +1,2 @@
-SHA256 (PECL/crypto-0.1.1.tgz) = 9844e93078ac165255bdba6944abf6ec196be9964f9807df9f8f7d792a18807b
-SIZE (PECL/crypto-0.1.1.tgz) = 31097
+SHA256 (PECL/crypto-0.2.1.tgz) = de43f7616ebb604ea8dee21ce7a8219d57aaf400b4651fd55cab9198c2666bca
+SIZE (PECL/crypto-0.2.1.tgz) = 66286
diff --git a/security/pecl-crypto/files/patch-config.m4 b/security/pecl-crypto/files/patch-config.m4
index 20120bc..632dd37 100644
--- a/security/pecl-crypto/files/patch-config.m4
+++ b/security/pecl-crypto/files/patch-config.m4
@@ -1,6 +1,6 @@
---- ./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 @@
+--- config.m4.orig 2015-11-15 21:36:25 UTC
++++ config.m4
+@@ -17,6 +17,8 @@ if test "$PHP_CRYPTO" != "no"; then
PHP_ADD_INCLUDE($OPENSSL_INCDIR)
CRYPTO_LIBS=`$PKG_CONFIG --libs openssl`
PHP_EVAL_LIBLINE($CRYPTO_LIBS, CRYPTO_SHARED_LIBADD)
OpenPOWER on IntegriCloud