[arch-commits] Commit in php-snuffleupagus/repos/community-x86_64 (PKGBUILD PKGBUILD)
Kpcyrd
kpcyrd at gemini.archlinux.org
Sun May 15 16:17:41 UTC 2022
Date: Sunday, May 15, 2022 @ 16:17:41
Author: kpcyrd
Revision: 1207467
archrelease: copy trunk to community-x86_64
Added:
php-snuffleupagus/repos/community-x86_64/PKGBUILD
(from rev 1207466, 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-15 16:17:23 UTC (rev 1207466)
+++ PKGBUILD 2022-05-15 16:17:41 UTC (rev 1207467)
@@ -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.7.1
-pkgrel=2
-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=('8504721ca08e727a5a6fa58c216a5dac7be3fe6e5a98cffcb17e44a2235628c26f02afd2159e9b1fbe8e40e26bc7c4e34a4ff027ee27b8ec29cf89865dbb8514')
-
-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 1207466, php-snuffleupagus/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-05-15 16:17:41 UTC (rev 1207467)
@@ -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.0
+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=('b7f63356daa325f8a7ad1442ecf2ed2321a93f8ef087f9572a24fc7e799cc2c90e54043922309e5f40411f245c3d5cd05bf516e806657141705ba6547b3ac048')
+
+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