summaryrefslogtreecommitdiff
path: root/extra/apache/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/apache/PKGBUILD')
-rw-r--r--extra/apache/PKGBUILD9
1 files changed, 7 insertions, 2 deletions
diff --git a/extra/apache/PKGBUILD b/extra/apache/PKGBUILD
index 5b41fe9ff..1f6fff129 100644
--- a/extra/apache/PKGBUILD
+++ b/extra/apache/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 149928 2012-02-11 23:28:51Z allan $
+# $Id: PKGBUILD 161295 2012-06-08 23:50:11Z heftig $
# Maintainer: Jan de Groot <jgc@archlinux.org>
# Contributor: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Pierre Schmitz <pierre@archlinux.de>
pkgname=apache
pkgver=2.2.22
-pkgrel=3
+pkgrel=4
pkgdesc='A high performance Unix-based HTTP server'
arch=('i686' 'x86_64' 'mips64el')
options=('!libtool')
@@ -18,6 +18,7 @@ backup=(etc/conf.d/apache etc/httpd/conf/httpd.conf
etc/logrotate.d/httpd)
depends=('openssl' 'zlib' 'apr-util' 'pcre')
optdepends=('lynx: apachectl status')
+install=apache.install
_itkurl=http://mpm-itk.sesse.net/apache2.2-mpm-itk-2.2.17-01
source=(http://www.apache.org/dist/httpd/httpd-${pkgver}.tar.bz2
http://www.apache.org/dist/httpd/httpd-${pkgver}.tar.bz2.asc
@@ -33,6 +34,7 @@ source=(http://www.apache.org/dist/httpd/httpd-${pkgver}.tar.bz2
${_itkurl}/11-fix-htaccess-reads-for-persistent-connections.patch
apachectl-confd.patch
apache.conf.d
+ apache.tmpfiles.conf
httpd.logrotate
httpd
arch.layout
@@ -51,6 +53,7 @@ md5sums=('9fe3093194c8a57f085ff7c3fc43715f'
'1e5b222edcfbf99a3edc56fcb2074fbe'
'4ac64df6e019edbe137017cba1ff2f51'
'08b3c875f6260644f2f52b4056d656b0'
+ '82068753dab92fe86312b1010a2904d7'
'6382331e9700ed9e8cc78ea51887b537'
'c7e300a287ef7e2e066ac7639536f87e'
'3d659d41276ba3bfcb20c231eb254e0c'
@@ -126,6 +129,7 @@ build() {
install -D -m755 "${srcdir}/httpd" "${pkgdir}/etc/rc.d/httpd"
install -D -m644 "${srcdir}/httpd.logrotate" "${pkgdir}/etc/logrotate.d/httpd"
install -D -m644 "${srcdir}/apache.conf.d" "${pkgdir}/etc/conf.d/apache"
+ install -D -m644 "${srcdir}/apache.tmpfiles.conf" "${pkgdir}/usr/lib/tmpfiles.d/apache.conf"
# symlinks for /etc/httpd
ln -fs /var/log/httpd "${pkgdir}/etc/httpd/logs"
@@ -147,4 +151,5 @@ build() {
rm -rf "${pkgdir}/etc/httpd/conf/original"
rm -rf "${pkgdir}/srv/"
rm -rf "${pkgdir}/usr/bin"
+ rm -rf "${pkgdir}/var/run"
}