r25262 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r25261‎ | r25262 | r25263 >
Date:00:47, 29 August 2007
Author:tstarling
Status:old
Tags:
Comment:
Added /etc/apache2/envvars
Modified paths:
  • /trunk/debs/wikimedia-task-appserver/debian/changelog (modified) (history)
  • /trunk/debs/wikimedia-task-appserver/debian/conffiles (modified) (history)
  • /trunk/debs/wikimedia-task-appserver/debian/postrm (modified) (history)
  • /trunk/debs/wikimedia-task-appserver/debian/preinst (modified) (history)
  • /trunk/debs/wikimedia-task-appserver/debian/rules (modified) (history)
  • /trunk/debs/wikimedia-task-appserver/envvars (added) (history)

Diff [purge]

Index: trunk/debs/wikimedia-task-appserver/debian/postrm
@@ -32,6 +32,7 @@
3333 dpkg-divert --package wikimedia-task-appserver --rename --remove /etc/apache2/apache2.conf
3434 dpkg-divert --package wikimedia-task-appserver --rename --remove /etc/php5/apache2/php.ini
3535 dpkg-divert --package wikimedia-task-appserver --rename --remove /etc/sudoers
 36+ dpkg-divert --package wikimedia-task-appserver --rename --remove /etc/apache2/envvars
3637 ;;
3738 remove)
3839 removemount /mnt/upload3
Index: trunk/debs/wikimedia-task-appserver/debian/preinst
@@ -23,6 +23,8 @@
2424 --divert /etc/php5/apache2/php.ini.default /etc/php5/apache2/php.ini
2525 dpkg-divert --package wikimedia-task-appserver --add --rename \
2626 --divert /etc/sudoers.default /etc/sudoers
 27+ dpkg-divert --package wikimedia-task-appserver --add --rename \
 28+ --divert /etc/apache2/envvars.default /etc/apache2/envvars
2729 ;;
2830
2931 upgrade|abort-upgrade)
Index: trunk/debs/wikimedia-task-appserver/debian/changelog
@@ -1,3 +1,9 @@
 2+wikimedia-task-appserver (1.16) feisty; urgency=low
 3+
 4+ * Added /etc/apache2/envvars
 5+
 6+ -- Tim Starling <tstarling@wikimedia.org> Wed, 29 Aug 2007 00:46:34 +0000
 7+
28 wikimedia-task-appserver (1.15) feisty; urgency=low
39
410 * No, really, mode 400 for sudoers.
Index: trunk/debs/wikimedia-task-appserver/debian/conffiles
@@ -1,3 +1,4 @@
22 /etc/apache2/apache2.conf
33 /etc/php5/apache2/php.ini
44 /etc/sudoers
 5+/etc/apache2/envvars
Index: trunk/debs/wikimedia-task-appserver/debian/rules
@@ -49,6 +49,7 @@
5050 dh_link
5151
5252 install -m 0644 apache2.conf $(DESTDIR)/etc/apache2
 53+ install -m 0644 envvars $(DESTDIR)/etc/apache2
5354 install -m 0644 php.ini $(DESTDIR)/etc/php5/apache2
5455 install -m 0400 sudoers $(DESTDIR)/etc/
5556
Index: trunk/debs/wikimedia-task-appserver/envvars
@@ -0,0 +1,11 @@
 2+# Wikimedia configuration file, a hook into apache2ctl
 3+# vim: ft=sh :
 4+
 5+# Set nice level
 6+HTTPD="nice -n10 /usr/sbin/apache2 -DPHP5"
 7+
 8+# Image scaler detection
 9+if [ -e /etc/wikimedia-image-scaler ]; then
 10+ HTTPD="$HTTPD -DSCALER"
 11+fi
 12+

Status & tagging log