parent
86210a3f20
commit
182539ed36
1 changed files with 5 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'apache'
|
||||
pkgname=apache
|
||||
version=2.4.25
|
||||
revision=3
|
||||
revision=4
|
||||
wrksrc=httpd-${version}
|
||||
build_style=gnu-configure
|
||||
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|' \
|
||||
-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.
|
||||
vmkdir usr/share/apache/webroot
|
||||
mv ${DESTDIR}/srv/www/$pkgname/cgi-bin ${DESTDIR}/usr/share/apache/webroot
|
||||
|
|
Loading…
Reference in a new issue