mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-21 18:25:41 +03:00
62 lines
2.5 KiB
Text
62 lines
2.5 KiB
Text
# Contributor: Valery Kartel <valery.kartel@gmail.com>
|
|
# Contributor: Matt Smith <mcs@darkregion.net>
|
|
# Maintainer: Matt Smith <mcs@darkregion.net>
|
|
pkgname=apache2-mod-perl
|
|
_pkgreal=mod_perl
|
|
pkgver=2.0.10
|
|
pkgrel=5
|
|
pkgdesc="Perl Module for Apache2"
|
|
url="https://perl.apache.org/"
|
|
arch="" # disable til we figured out the problem with perl 5.30
|
|
license="Apache-2.0"
|
|
depends="apache2"
|
|
depends_dev="$pkgname"
|
|
makedepends="apache2-dev perl-dev perl-linux-pid apr-dev apr-util-dev"
|
|
subpackages="$pkgname-dbg $pkgname-doc $pkgname-dev"
|
|
source="https://www-eu.apache.org/dist/perl/$_pkgreal-$pkgver.tar.gz
|
|
mod_perl-2.0.10-http_syntax.patch
|
|
mod_perl-2.0.10-inject_header_line_terminators.patch
|
|
mod_perl-2.0.10-restrict_perl_section_to_server_scope.patch
|
|
mod_perl-2.0.7-fix_pipelines_reponse_deadlock_in_tests.patch
|
|
$pkgname.conf"
|
|
builddir="$srcdir/$_pkgreal-$pkgver"
|
|
|
|
build() {
|
|
cd "$builddir"
|
|
perl Makefile.PL \
|
|
INSTALLDIRS=vendor \
|
|
MP_APXS=/usr/bin/apxs
|
|
make
|
|
}
|
|
|
|
check() {
|
|
cd "$builddir"
|
|
make -j1 test
|
|
}
|
|
|
|
|
|
package() {
|
|
cd "$builddir"
|
|
make DESTDIR="$pkgdir" install
|
|
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
|
|
install -Dm644 "$srcdir"/$pkgname.conf \
|
|
"$pkgdir"/etc/apache2/conf.d/$_pkgreal.conf
|
|
}
|
|
|
|
dev() {
|
|
default_dev
|
|
|
|
mv "$pkgdir"/usr/bin "$subpkgdir"/usr
|
|
|
|
mkdir -p "$subpkgdir"/usr/lib/perl5/vendor_perl/auto/Apache2
|
|
mv "$pkgdir"/usr/lib/perl5/vendor_perl/auto/Apache2/Build \
|
|
"$pkgdir"/usr/lib/perl5/vendor_perl/auto/Apache2/typemap \
|
|
"$subpkgdir"/usr/lib/perl5/vendor_perl/auto/Apache2
|
|
}
|
|
|
|
sha512sums="0bf1a885cb32a3393e95f87e71983097613e263b9052dbf22494663b506e36a25d0256afed24285232276d9f43ebd3adaa18b91129bfb62116a8ccb023855bca mod_perl-2.0.10.tar.gz
|
|
bd4d84d4f464edaa59d514e604e3f33a7f7504084cb9f36ecff76a952cb2af1278185defdc2ad44bbc9f762bdfaabcca942808cf016ba5370e010db9f164f837 mod_perl-2.0.10-http_syntax.patch
|
|
5ad666766994116c59569581c5e9e09cec17e4122348885f639be1ad0a0efe57ba6694fd11af3acad9f66c85432f864dc627f2a6ee2cee4ead61a2e27af2c33f mod_perl-2.0.10-inject_header_line_terminators.patch
|
|
efc80b02b405f05dc1ed7648d7b838d09222049ce7e5487f50052c65c57ea6418a39e5abebc15e5a3cc670a10f0e80749cac0488961d71fa13b9dc86919f4400 mod_perl-2.0.10-restrict_perl_section_to_server_scope.patch
|
|
4529097462c5deb40ca548c91776638118a4ec7e2701e5b2b9c89dc0cf116574bcd2f5115afccc192a4cfd906916bc0a13489f4d77e9fe6d05c6017eb3c04004 mod_perl-2.0.7-fix_pipelines_reponse_deadlock_in_tests.patch
|
|
15a430ce597e370997a08d6aa1b5e55d4fa723ecac031fe39906c8cc767b90d5bf63e3026dfaa8b10ae8b09a17832f4f07cb8b2fdcd6c9ef427edfaf4e8a48b0 apache2-mod-perl.conf"
|