apache: added systemd build option; fix -mpm-{event,worker} builds with libressl.
This commit is contained in:
1
srcpkgs/apache-mpm-worker/patches
Symbolic link
1
srcpkgs/apache-mpm-worker/patches
Symbolic link
@@ -0,0 +1 @@
|
||||
../apache/patches
|
||||
@@ -20,7 +20,9 @@ short_desc="Apache HTTP Server - high speed threaded mode"
|
||||
|
||||
# dlopen(3) run-time dependencies.
|
||||
depends="apache>=$version"
|
||||
systemd_services="apache-mpm-worker.service on"
|
||||
if [ "$build_option_systemd" ]; then
|
||||
systemd_services="apache-mpm-worker.service on"
|
||||
fi
|
||||
|
||||
pre_configure() {
|
||||
cat ${XBPS_SRCPKGDIR}/apache/files/xbps.layout >> config.layout
|
||||
@@ -31,5 +33,7 @@ post_install() {
|
||||
cp -f ${DESTDIR}/usr/sbin/httpd ${wrksrc}
|
||||
rm -rf ${DESTDIR}/*
|
||||
vinstall httpd 755 usr/sbin httpd.worker
|
||||
vinstall ${FILESDIR}/${pkgname}.service 644 usr/lib/systemd/system
|
||||
if [ "$build_option_systemd" ]; then
|
||||
vinstall ${FILESDIR}/${pkgname}.service 644 usr/lib/systemd/system
|
||||
fi
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user