mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-01 18:32:58 +02:00
parent
86210a3f20
commit
182539ed36
1 changed files with 5 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'apache'
|
# Template file for 'apache'
|
||||||
pkgname=apache
|
pkgname=apache
|
||||||
version=2.4.25
|
version=2.4.25
|
||||||
revision=3
|
revision=4
|
||||||
wrksrc=httpd-${version}
|
wrksrc=httpd-${version}
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--prefix= --sbindir=/usr/bin --enable-pie --enable-modules=all
|
configure_args="--prefix= --sbindir=/usr/bin --enable-pie --enable-modules=all
|
||||||
|
@ -110,6 +110,10 @@ post_install() {
|
||||||
-e 's|#\(Include /etc/apache/extra/httpd-default.conf\)|\1|' \
|
-e 's|#\(Include /etc/apache/extra/httpd-default.conf\)|\1|' \
|
||||||
-i "${DESTDIR}/etc/apache/httpd.conf"
|
-i "${DESTDIR}/etc/apache/httpd.conf"
|
||||||
|
|
||||||
|
# Remove references to hardening -specs.
|
||||||
|
sed -e "s|\(-specs=.*hardened-ld\)||g" -e "s|\(-specs=.*hardened-cc1\)||g" -i \
|
||||||
|
${DESTDIR}/usr/share/apache/webroot/build/config{.nice,_vars.mk}
|
||||||
|
|
||||||
# Remove unused stuff.
|
# Remove unused stuff.
|
||||||
vmkdir usr/share/apache/webroot
|
vmkdir usr/share/apache/webroot
|
||||||
mv ${DESTDIR}/srv/www/$pkgname/cgi-bin ${DESTDIR}/usr/share/apache/webroot
|
mv ${DESTDIR}/srv/www/$pkgname/cgi-bin ${DESTDIR}/usr/share/apache/webroot
|
||||||
|
|
Loading…
Add table
Reference in a new issue