[arch-commits] Commit in php-snuffleupagus/repos/community-x86_64 (PKGBUILD PKGBUILD)
Kpcyrd
kpcyrd at gemini.archlinux.org
Sat May 21 18:59:30 UTC 2022
Date: Saturday, May 21, 2022 @ 18:59:30
Author: kpcyrd
Revision: 1209880
archrelease: copy trunk to community-x86_64
Added:
php-snuffleupagus/repos/community-x86_64/PKGBUILD
(from rev 1209879, php-snuffleupagus/trunk/PKGBUILD)
Deleted:
php-snuffleupagus/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 88 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 44 insertions(+), 44 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-05-21 18:59:09 UTC (rev 1209879)
+++ PKGBUILD 2022-05-21 18:59:30 UTC (rev 1209880)
@@ -1,44 +0,0 @@
-# Maintainer: kpcyrd <kpcyrd[at]archlinux[dot]org>
-# Contributor: Julien (jvoisin) Voisin <julien.voisin+snuffleupagus at dustri.org>
-
-pkgname=php-snuffleupagus
-_pkgname=snuffleupagus
-pkgver=0.8.1
-pkgrel=1
-pkgdesc="Security module for PHP"
-url='https://snuffleupagus.readthedocs.io/'
-arch=('x86_64')
-license=('LGPL3')
-depends=('php')
-backup=('etc/php/conf.d/snuffleupagus.ini'
- 'etc/php/conf.d/snuffleupagus.rules')
-source=(https://github.com/jvoisin/${_pkgname}/archive/v${pkgver}/${_pkgname}-${pkgver}.tar.gz)
-b2sums=('819d504cad8c1e98a7064bcb9a1b3e2427e0681dd2511d25f2f089f2f27f71b22cda5b709ca91a1c7351aed097786967c66ef7cbf8444a36b74a821e3fb8e65b')
-
-prepare() {
- cd ${_pkgname}-${pkgver}
-
- # tests are incompatible with PHP 8.1
- rm src/tests/{disable_function/disabled_functions_include_once,disable_function/disabled_functions_include_simulation,disable_function/disabled_functions_register_tick_function,disable_function/disabled_functions_require,disable_function/disabled_functions_require_once,disable_function/disabled_functions_require_simulation,strict_mode/strict_mode_enabled,stream_wrapper/stream_wrapper}.phpt
-}
-
-build() {
- cd ${_pkgname}-${pkgver}/src
- phpize
- ./configure --prefix=/usr --enable-"${_pkgname}"
- make
-}
-
-check() {
- cd ${_pkgname}-${pkgver}/src
- NO_INTERACTION=1 REPORT_EXIT_STATUS=1 make test
-}
-
-package() {
- cd ${_pkgname}-${pkgver}
- make -C src INSTALL_ROOT="${pkgdir}" install
- install -D -m644 "config/default.rules" "${pkgdir}/etc/php/conf.d/${_pkgname}.rules"
- install -D -m644 "config/${_pkgname}.ini" "${pkgdir}/etc/php/conf.d/${_pkgname}.ini"
-}
-
-# vim: ts=2 sw=2 et:
Copied: php-snuffleupagus/repos/community-x86_64/PKGBUILD (from rev 1209879, php-snuffleupagus/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-05-21 18:59:30 UTC (rev 1209880)
@@ -0,0 +1,44 @@
+# Maintainer: kpcyrd <kpcyrd[at]archlinux[dot]org>
+# Contributor: Julien (jvoisin) Voisin <julien.voisin+snuffleupagus at dustri.org>
+
+pkgname=php-snuffleupagus
+_pkgname=snuffleupagus
+pkgver=0.8.2
+pkgrel=1
+pkgdesc="Security module for PHP"
+url='https://snuffleupagus.readthedocs.io/'
+arch=('x86_64')
+license=('LGPL3')
+depends=('php')
+backup=('etc/php/conf.d/snuffleupagus.ini'
+ 'etc/php/conf.d/snuffleupagus.rules')
+source=(https://github.com/jvoisin/${_pkgname}/archive/v${pkgver}/${_pkgname}-${pkgver}.tar.gz)
+b2sums=('86ac9ec0855806f1d64a80e6d10a24e7f96ffee0c7d1e6421b57a856a081cdf0b4ad87ea3c5755bca4b85bda0aed352ec26e58827b1b1c43420f8c27328022dc')
+
+prepare() {
+ cd ${_pkgname}-${pkgver}
+
+ # tests are incompatible with PHP 8.1
+ rm src/tests/{disable_function/disabled_functions_include_once,disable_function/disabled_functions_include_simulation,disable_function/disabled_functions_register_tick_function,disable_function/disabled_functions_require,disable_function/disabled_functions_require_once,disable_function/disabled_functions_require_simulation,strict_mode/strict_mode_enabled,stream_wrapper/stream_wrapper}.phpt
+}
+
+build() {
+ cd ${_pkgname}-${pkgver}/src
+ phpize
+ ./configure --prefix=/usr --enable-"${_pkgname}"
+ make
+}
+
+check() {
+ cd ${_pkgname}-${pkgver}/src
+ NO_INTERACTION=1 REPORT_EXIT_STATUS=1 make test
+}
+
+package() {
+ cd ${_pkgname}-${pkgver}
+ make -C src INSTALL_ROOT="${pkgdir}" install
+ install -D -m644 "config/default.rules" "${pkgdir}/etc/php/conf.d/${_pkgname}.rules"
+ install -D -m644 "config/${_pkgname}.ini" "${pkgdir}/etc/php/conf.d/${_pkgname}.ini"
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list