Import of pkgsrc-2016Q3

This commit is contained in:
2016-10-14 07:49:11 +02:00
committed by Lionel Sambuc
parent 9d819b6d54
commit 1242aa1e36
35952 changed files with 949749 additions and 377083 deletions

View File

@@ -1,18 +1,20 @@
# $NetBSD: Makefile,v 1.3 2015/09/03 06:19:26 fhajny Exp $
# $NetBSD: Makefile,v 1.7 2016/05/07 10:09:07 joerg Exp $
MODNAME= oauth
PKGREVISION= 2
PECL_VERSION= 1.2.3
PECL_VERSION= 2.0.1
CATEGORIES+= security
MAINTAINER= pkgsrc-users@NetBSD.org
COMMENT= PHP oauth consumer extension
LICENSE= modified-bsd
PHP_VERSIONS_ACCEPTED= 70
USE_LANGUAGES= c c++
CONFIGURE_ARGS+= --with-curl=${BUILDLINK_PREFIX.curl}
.include "../../lang/php/ext.mk"
.include "../../devel/pcre/buildlink3.mk"
.include "../../www/curl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

View File

@@ -1,6 +1,6 @@
$NetBSD: distinfo,v 1.2 2015/09/03 06:19:26 fhajny Exp $
$NetBSD: distinfo,v 1.4 2016/03/12 09:42:48 fhajny Exp $
SHA1 (php-oauth/oauth-1.2.3.tgz) = e2a42961c8134746fc0cd8ef9bd433f760b94975
RMD160 (php-oauth/oauth-1.2.3.tgz) = 506f0644b22323a4d1ad6794433768d83357b5ba
Size (php-oauth/oauth-1.2.3.tgz) = 45531 bytes
SHA1 (patch-config.m4) = c64940fc005c3f61a4c2bd8f370a4e16d434c336
SHA1 (php-oauth/oauth-2.0.1.tgz) = 9e6cc27823a3e6055199580769d66638252a1d18
RMD160 (php-oauth/oauth-2.0.1.tgz) = d50d585731a68da9099b5538cdb0e08a747c8158
SHA512 (php-oauth/oauth-2.0.1.tgz) = 904eb945303fdbe4c36fa7ba80ebe56796eb2d3b506140827ddcb50fce94b3fab98ed67e7b93b6b56acb20251e79dd8de6218bbfe064ae4cdbe78d9720ac93f7
Size (php-oauth/oauth-2.0.1.tgz) = 49064 bytes

View File

@@ -1,25 +0,0 @@
$NetBSD: patch-config.m4,v 1.1 2015/09/03 06:19:26 fhajny Exp $
Make sure configure can find our curl.
--- config.m4.orig 1970-01-01 09:13:08.000000000 +0000
+++ config.m4
@@ -5,6 +5,9 @@ dnl
PHP_ARG_ENABLE(oauth, for oauth support,
[ --enable-oauth Include oauth support])
+PHP_ARG_WITH([curl], [whether to enable cURL engine support],
+[ --with-curl[=PATH] Include cURL engine support], $PHP_OAUTH, $PHP_OAUTH)
+
if test "$PHP_OAUTH" != "no"; then
PHP_SUBST(OAUTH_SHARED_LIBADD)
@@ -12,7 +15,7 @@ if test "$PHP_OAUTH" != "no"; then
CFLAGS="$CFLAGS -Wall -g"
AC_MSG_CHECKING(for cURL in default path)
- for i in /usr/local /usr; do
+ for i in "$PHP_CURL" /usr/local /usr; do
if test -r $i/include/curl/easy.h; then
CURL_DIR=$i
AC_MSG_RESULT(found in $i)