svn commit: r338894 - in head/security: . pecl-crypto pecl-crypto/files
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Mon Jan 6 15:11:58 UTC 2014
Author: sunpoet
Date: Mon Jan 6 15:11:54 2014
New Revision: 338894
URL: http://svnweb.freebsd.org/changeset/ports/338894
Log:
- Add pecl-crypto 0.1.0
This package provides an objective wrapper for OpenSSL Crypto Library
WWW: http://pecl.php.net/package/crypto
PR: ports/185410
Submitted by: Gasol Wu <gasol.wu at gmail.com>
Added:
head/security/pecl-crypto/
head/security/pecl-crypto/Makefile (contents, props changed)
head/security/pecl-crypto/distinfo (contents, props changed)
head/security/pecl-crypto/files/
head/security/pecl-crypto/files/patch-config.m4 (contents, props changed)
head/security/pecl-crypto/pkg-descr (contents, props changed)
Modified:
head/security/Makefile
Modified: head/security/Makefile
==============================================================================
--- head/security/Makefile Mon Jan 6 15:11:48 2014 (r338893)
+++ head/security/Makefile Mon Jan 6 15:11:54 2014 (r338894)
@@ -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
Added: head/security/pecl-crypto/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/security/pecl-crypto/Makefile Mon Jan 6 15:11:54 2014 (r338894)
@@ -0,0 +1,23 @@
+# Created by: Gasol Wu <gasol.wu at 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 at 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>
Added: head/security/pecl-crypto/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/security/pecl-crypto/distinfo Mon Jan 6 15:11:54 2014 (r338894)
@@ -0,0 +1,2 @@
+SHA256 (PECL/crypto-0.1.1.tgz) = 9844e93078ac165255bdba6944abf6ec196be9964f9807df9f8f7d792a18807b
+SIZE (PECL/crypto-0.1.1.tgz) = 31097
Added: head/security/pecl-crypto/files/patch-config.m4
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/security/pecl-crypto/files/patch-config.m4 Mon Jan 6 15:11:54 2014 (r338894)
@@ -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])
Added: head/security/pecl-crypto/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/security/pecl-crypto/pkg-descr Mon Jan 6 15:11:54 2014 (r338894)
@@ -0,0 +1,3 @@
+This package provides an objective wrapper for OpenSSL Crypto Library
+
+WWW: http://pecl.php.net/package/crypto
More information about the svn-ports-all
mailing list