mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-02 10:52:57 +02:00
apache: do not install anything to wwwroot.
This commit is contained in:
parent
021ddb16ee
commit
5d51ff68aa
1 changed files with 3 additions and 4 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'apache'
|
# Template file for 'apache'
|
||||||
pkgname=apache
|
pkgname=apache
|
||||||
version=2.4.12
|
version=2.4.12
|
||||||
revision=2
|
revision=3
|
||||||
wrksrc=httpd-${version}
|
wrksrc=httpd-${version}
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--prefix= --enable-pie --enable-modules=all
|
configure_args="--prefix= --enable-pie --enable-modules=all
|
||||||
|
@ -111,9 +111,8 @@ post_install() {
|
||||||
ln -fs /usr/share/apache-httpd/build ${DESTDIR}/etc/httpd/build
|
ln -fs /usr/share/apache-httpd/build ${DESTDIR}/etc/httpd/build
|
||||||
|
|
||||||
# Remove unused stuff.
|
# Remove unused stuff.
|
||||||
rm -f ${DESTDIR}/srv/httpd/cgi-bin/test-cgi
|
mv ${DESTDIR}/srv/httpd/cgi-bin ${DESTDIR}/usr/share/apache-httpd
|
||||||
rm -f ${DESTDIR}/srv/httpd/cgi-bin/printenv
|
rm -rf ${DESTDIR}/srv/httpd
|
||||||
rm -f ${DESTDIR}/srv/httpd/index.html
|
|
||||||
|
|
||||||
# systemd and logrotate files.
|
# systemd and logrotate files.
|
||||||
vinstall ${FILESDIR}/apache.logrotate 644 etc/logrotate.d apache
|
vinstall ${FILESDIR}/apache.logrotate 644 etc/logrotate.d apache
|
||||||
|
|
Loading…
Add table
Reference in a new issue