aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Postnikov <apostnikov@gmail.com>2020-09-09 22:17:29 +0300
committerAndy Postnikov <apostnikov@gmail.com>2020-09-09 22:17:29 +0300
commit4ab848012f3c49636623ef32284d1b5dfeb494a8 (patch)
tree338577a096b82c0ef5db70914c9416acae99e02b
parent6984aa70ea7066b7aac7b69c4511a5697a557b03 (diff)
downloadaports-4ab848012f3c49636623ef32284d1b5dfeb494a8.tar.gz
aports-4ab848012f3c49636623ef32284d1b5dfeb494a8.tar.bz2
aports-4ab848012f3c49636623ef32284d1b5dfeb494a8.tar.xz
community/php7-pecl-oauth: upgrade to 2.0.6
-rw-r--r--community/php7-pecl-oauth/APKBUILD15
1 files changed, 11 insertions, 4 deletions
diff --git a/community/php7-pecl-oauth/APKBUILD b/community/php7-pecl-oauth/APKBUILD
index 3570926ceb..dea6e0c21e 100644
--- a/community/php7-pecl-oauth/APKBUILD
+++ b/community/php7-pecl-oauth/APKBUILD
@@ -2,14 +2,15 @@
# Maintainer: Fabio Ribeiro <fabiorphp@gmail.com>
pkgname=php7-pecl-oauth
_pkgreal=oauth
-pkgver=2.0.5
+pkgver=2.0.6
pkgrel=0
pkgdesc="OAuth is an authorization protocol built on top of HTTP."
url="https://pecl.php.net/package/oauth"
arch="all"
license="BSD-3-Clause"
depends="php7-common"
-makedepends="php7-dev autoconf re2c pcre2-dev curl-dev"
+makedepends="php7-dev re2c curl-dev"
+checkdepends="php7-openssl php7-pcntl php7-posix"
source="https://pecl.php.net/get/$_pkgreal-$pkgver.tgz
pcre.patch"
builddir="$srcdir"/$_pkgreal-$pkgver
@@ -23,7 +24,13 @@ build() {
}
check() {
- make NO_INTERACTION=1 REPORT_EXIT_STATUS=1 test
+ local modules="/usr/lib/php7/modules"
+ make NO_INTERACTION=1 REPORT_EXIT_STATUS=1 test \
+ PHP_TEST_SHARED_EXTENSIONS=" \
+ -d extension=$modules/openssl.so \
+ -d extension=$modules/pcntl.so \
+ -d extension=$modules/posix.so \
+ -d extension=modules/$_pkgreal.so"
}
package() {
@@ -32,5 +39,5 @@ package() {
echo "extension=$_pkgreal.so" > "$pkgdir"/etc/php7/conf.d/60_$_pkgreal.ini
}
-sha512sums="847f8a07aba930d606038a78915ddd9c24aab241d27b844a766e0da3caabf419fd891573524a55b40559a827b1adc1261748efabac5ed1bee45fa770935379ee oauth-2.0.5.tgz
+sha512sums="aa958988eff92d3db3774ac534bc969ecf8e2a1aa18e4854308598513d267eca83f1a4d1f29e0c9fc8ee7c478cdcc78b93366a26f9cdbe20643640188c7755a6 oauth-2.0.6.tgz
68d636032d2f3cb2822ea3121a80256b87a04cc5998c4775174366c6a3392dfe3abc00c84cc50aca5745a32ddd2246af129fe5aa17cc415652c52214a84feef9 pcre.patch"