[arch-commits] Commit in apache/trunk (PKGBUILD httpd)
Andrea Scarpino
andrea at archlinux.org
Mon Feb 1 19:07:11 UTC 2010
Date: Monday, February 1, 2010 @ 14:07:11
Author: andrea
Revision: 66834
check for /var/run/httpd dir before start (FS#17433)
Modified:
apache/trunk/PKGBUILD
apache/trunk/httpd
----------+
PKGBUILD | 7 +++++--
httpd | 1 +
2 files changed, 6 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2010-02-01 19:01:19 UTC (rev 66833)
+++ PKGBUILD 2010-02-01 19:07:11 UTC (rev 66834)
@@ -18,10 +18,12 @@
depends=('openssl' 'zlib' 'apr-util' 'pcre')
optdepends=('lynx: apachectl status')
source=("http://www.apache.org/dist/httpd/httpd-${pkgver}.tar.bz2"
- 'httpd.logrotate' 'httpd' 'arch.layout')
+ 'httpd.logrotate'
+ 'httpd'
+ 'arch.layout')
md5sums=('a5226203aaf97e5b941c41a71c112704'
'f4d627c64024c1b7b95efb5ffbaa625e'
- '3fb8b616e0b5f0118420edd26d8536bb'
+ '9e001fbb082a08113e7f4bc431085c11'
'3d659d41276ba3bfcb20c231eb254e0c')
build() {
@@ -81,3 +83,4 @@
rm -rf ${pkgdir}/srv/http
rmdir ${pkgdir}/usr/bin
}
+
Modified: httpd
===================================================================
--- httpd 2010-02-01 19:01:19 UTC (rev 66833)
+++ httpd 2010-02-01 19:07:11 UTC (rev 66834)
@@ -10,6 +10,7 @@
case "$1" in
start)
stat_busy "Starting Apache Web Server"
+ [ ! -d /var/run/httpd ] && install -d /var/run/httpd
if $APACHECTL start &>/dev/null ; then
add_daemon $daemon_name
stat_done
More information about the arch-commits
mailing list