[arch-commits] Commit in lighttpd/trunk (PKGBUILD lighttpd.install)

Pierre Schmitz pierre at archlinux.org
Fri Oct 24 16:22:02 UTC 2008


    Date: Friday, October 24, 2008 @ 12:22:02
  Author: pierre
Revision: 17046

upgpkg: lighttpd 1.4.20-2

Modified:
  lighttpd/trunk/PKGBUILD
Deleted:
  lighttpd/trunk/lighttpd.install

------------------+
 PKGBUILD         |    5 ++---
 lighttpd.install |   16 ----------------
 2 files changed, 2 insertions(+), 19 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2008-10-24 16:02:11 UTC (rev 17045)
+++ PKGBUILD	2008-10-24 16:22:02 UTC (rev 17046)
@@ -3,7 +3,7 @@
 
 pkgname=lighttpd
 pkgver=1.4.20
-pkgrel=1
+pkgrel=2
 pkgdesc='a secure, fast, compliant and very flexible web-server'
 license=('custom')
 arch=('i686' 'x86_64')
@@ -19,7 +19,6 @@
             )
 backup=('etc/lighttpd/lighttpd.conf' 'etc/logrotate.d/lighttpd')
 options=('!libtool' 'emptydirs')
-install='lighttpd.install'
 source=("http://www.lighttpd.net/download/lighttpd-${pkgver}.tar.bz2" \
         'lighttpd.rc.d' 'lighttpd.logrotate.d')
 
@@ -52,7 +51,7 @@
 
 	install -D -m755 ../lighttpd.rc.d $pkgdir/etc/rc.d/lighttpd
 	install -D -m644 ../lighttpd.logrotate.d $pkgdir/etc/logrotate.d/lighttpd
-	install -d -m755 $pkgdir/var/run/lighttpd/
+	install -d -m755 -o http -g http $pkgdir/var/run/lighttpd/
 	install -d -m755 -o http -g http $pkgdir/var/log/lighttpd/
 
 	install -D -m644 doc/lighttpd.conf $pkgdir/etc/lighttpd/lighttpd.conf

Deleted: lighttpd.install
===================================================================
--- lighttpd.install	2008-10-24 16:02:11 UTC (rev 17045)
+++ lighttpd.install	2008-10-24 16:22:02 UTC (rev 17046)
@@ -1,16 +0,0 @@
-post_upgrade() {
-	if [ $(vercmp '1.4.19-1' $2) -ge 0 ]; then
-	echo '
-	==> New default DocumentRoot
-
-	lighttpd uses /srv/http as default DocumentRoot.
-	You can still use your current DocumentRoot
-
-	==> New default user and group
-
-	Instead of "nobody" lighttpd runs as user/group "http" by default now. You might
-	want to adjust your lighttpd.conf according to this change. But you can still
-	run lighttpd as nobody.
-	'
-	fi
-}




More information about the arch-commits mailing list