[arch-commits] Commit in apache/trunk (httpd.install)

Pierre Schmitz pierre at archlinux.org
Sun Jun 22 12:26:14 UTC 2008


    Date: Sunday, June 22, 2008 @ 08:26:14
  Author: pierre
Revision: 3344

upgpkg: apache 2.2.9-2

Modified:
  apache/trunk/httpd.install

---------------+
 httpd.install |   15 +++++++++++++++
 1 file changed, 15 insertions(+)

Modified: httpd.install
===================================================================
--- httpd.install	2008-06-22 12:01:07 UTC (rev 3343)
+++ httpd.install	2008-06-22 12:26:14 UTC (rev 3344)
@@ -9,6 +9,21 @@
 
 post_upgrade() {
 	post_install
+
+	if [ $(vercmp '2.2.8' $2) -ge 0 ]; then
+	echo '
+	==> New default DocumentRoot
+
+	Apache httpd uses /srv/http as default DocumentRoot.
+	You can still use your current DocumentRoot
+
+	==> New default user and group
+
+	Instead of "nobody" apache runs as user/group "http" by default now. You might
+	want to adjust your httpd.conf according to this change. But you can still
+	run httpd as nobody.
+	'
+	fi
 }
 
 pre_remove() {





More information about the arch-commits mailing list