[arch-commits] Commit in apache/repos (3 files)

Pierre Schmitz pierre at archlinux.org
Wed Jul 9 17:51:30 EDT 2008


    Date: Wednesday, July 9, 2008 @ 17:51:30
  Author: pierre
Revision: 4776

Merged revisions 4553-4775 via svnmerge from 
svn+ssh://svn.archlinux.org/home/svn-packages/apache/trunk

........
  r4678 | pierre | 2008-07-08 19:23:48 +0000 (Di, 08 Jul 2008) | 1 line
  
  http user/group is now provided by the filesystem package
........

Modified:
  apache/repos/testing-i686/	(properties)
  apache/repos/testing-i686/PKGBUILD
  apache/repos/testing-i686/httpd.install

---------------+
 PKGBUILD      |    3 +--
 httpd.install |   16 ----------------
 2 files changed, 1 insertion(+), 18 deletions(-)


Property changes on: apache/repos/testing-i686
___________________________________________________________________
Name: svnmerge-integrated
   - /apache/trunk:1-4552
   + /apache/trunk:1-4775

Modified: testing-i686/PKGBUILD
===================================================================
--- testing-i686/PKGBUILD	2008-07-09 21:40:37 UTC (rev 4775)
+++ testing-i686/PKGBUILD	2008-07-09 21:51:30 UTC (rev 4776)
@@ -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: testing-i686/httpd.install
===================================================================
--- testing-i686/httpd.install	2008-07-09 21:40:37 UTC (rev 4775)
+++ testing-i686/httpd.install	2008-07-09 21:51:30 UTC (rev 4776)
@@ -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