[arch-commits] Commit in apache/trunk (PKGBUILD httpd.install)
Pierre Schmitz
pierre at archlinux.org
Tue Jul 8 19:23:48 UTC 2008
Date: Tuesday, July 8, 2008 @ 15:23:48
Author: pierre
Revision: 4678
http user/group is now provided by the filesystem package
Modified:
apache/trunk/PKGBUILD
apache/trunk/httpd.install
---------------+
PKGBUILD | 3 +--
httpd.install | 16 ----------------
2 files changed, 1 insertion(+), 18 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2008-07-08 19:22:22 UTC (rev 4677)
+++ PKGBUILD 2008-07-08 19:23:48 UTC (rev 4678)
@@ -3,7 +3,7 @@
pkgname=apache
pkgver=2.2.9
-pkgrel=3
+pkgrel=4
pkgdesc="A high performance Unix-based HTTP server"
arch=('i686' 'x86_64')
options=('!libtool')
@@ -78,4 +78,4 @@
rm -rf ${pkgdir}/etc/httpd/conf/original
rm -rf ${pkgdir}/srv/http/*
rmdir ${pkgdir}/usr/bin
-}
\ No newline at end of file
+}
Modified: httpd.install
===================================================================
--- httpd.install 2008-07-08 19:22:22 UTC (rev 4677)
+++ httpd.install 2008-07-08 19:23:48 UTC (rev 4678)
@@ -1,15 +1,4 @@
-post_install() {
- if [ -z "`grep '^http::' /etc/group`" ]; then
- groupadd -g 33 http >& /dev/null
- fi
- if [ -z "`grep '^http:' /etc/passwd`" ]; then
- useradd -u 33 -d /srv/http -g http -s /bin/false http &>/dev/null
- fi
-}
-
post_upgrade() {
- post_install
-
if [ $(vercmp '2.2.8' $2) -ge 0 ]; then
echo '
==> New default DocumentRoot
@@ -24,9 +13,4 @@
run httpd as nobody.
'
fi
-}
-
-pre_remove() {
- userdel http &> /dev/null
- groupdel http &> /dev/null
}
\ No newline at end of file
More information about the arch-commits
mailing list