Index: trunk/debs/wikimedia-task-appserver/debian/control |
— | — | @@ -6,7 +6,7 @@ |
7 | 7 | |
8 | 8 | Package: wikimedia-task-appserver |
9 | 9 | Architecture: all |
10 | | -Depends: wikimedia-nis-client, wikimedia-apache-config-appserver, wikimedia-lvs-realserver, apache2-mpm-prefork, librsvg2-bin, dvipng, tetex-bin, ocaml, ploticus, php5-mysql, php5-curl, php5-xmlrpc, php5-cli, php5-apc, php5-wikidiff2, php5-fss, libapache2-mod-php5, file, djvulibre-bin, imagemagick, ttf-bitstream-vera, ttf-arphic-gkai00mp, ttf-arphic-bkai00mp, ttf-baekmuk, ttf-kochi-gothic, ttf-kochi-mincho, ttf-arphic-bsmi00lp, ttf-arphic-gbsn00lp, gsfonts, xfonts-scalable, ttf-gujarati-fonts, ttf-bengali-fonts, ttf-devanagari-fonts, ttf-punjabi-fonts, ttf-tamil-fonts, wikimedia-fonts, xfonts-100dpi, xfonts-75dpi, xfonts-base, xfonts-mplus |
| 10 | +Depends: wikimedia-nis-client, wikimedia-apache-config-appserver, wikimedia-lvs-realserver, apache2-mpm-prefork, librsvg2-bin, dvipng, tetex-bin, ocaml, ploticus, php5-mysql, php5-curl, php5-xmlrpc, php5-cli, php5-apc, php5-wikidiff2, php5-fss, libapache2-mod-php5, file, djvulibre-bin, imagemagick, ttf-bitstream-vera, ttf-arphic-gkai00mp, ttf-arphic-bkai00mp, ttf-baekmuk, ttf-kochi-gothic, ttf-kochi-mincho, ttf-arphic-bsmi00lp, ttf-arphic-gbsn00lp, gsfonts, xfonts-scalable, ttf-gujarati-fonts, ttf-bengali-fonts, ttf-devanagari-fonts, ttf-punjabi-fonts, ttf-tamil-fonts, wikimedia-fonts, xfonts-100dpi, xfonts-75dpi, xfonts-base, xfonts-mplus, tidy (>= 20070821), libtidy-0.99 (>= 20070821) |
11 | 11 | Description: Wikimedia application server |
12 | 12 | This package depends on all packages needed to setup a standard |
13 | 13 | application server. |
Index: trunk/debs/wikimedia-task-appserver/debian/changelog |
— | — | @@ -1,3 +1,11 @@ |
| 2 | +wikimedia-task-appserver (1.6) feisty; urgency=low |
| 3 | + |
| 4 | + * Brion added depends php5-apc, php5-wikidiff2, php5-fss |
| 5 | + * Added depends tidy, libtidy-0.99 (both >= 20070821) |
| 6 | + * Include sudoers file |
| 7 | + |
| 8 | + -- Mark Bergsma <mark@wikimedia.org> Tue, 21 Aug 2007 19:36:50 +0000 |
| 9 | + |
2 | 10 | wikimedia-task-appserver (1.5) feisty; urgency=low |
3 | 11 | |
4 | 12 | * Depend on wikimedia-lvs-realserver |
Index: trunk/debs/wikimedia-task-appserver/debian/rules |
— | — | @@ -53,6 +53,8 @@ |
54 | 54 | ln -s common-local $(DESTDIR)/usr/local/apache/common |
55 | 55 | ln -s /home/wikipedia/common $(DESTDIR)/usr/local/apache/common-shared |
56 | 56 | ln -s /home/wikipedia/htdocs $(DESTDIR)/usr/local/apache |
| 57 | + install -d $(DESTDIR)/etc |
| 58 | + install sudoers $(DESTDIR)/etc/ |
57 | 59 | |
58 | 60 | # Build architecture-independent files here. |
59 | 61 | binary-indep: build install |
Index: trunk/debs/wikimedia-task-appserver/sudoers |
— | — | @@ -0,0 +1,42 @@ |
| 2 | +# sudoers file. |
| 3 | +# |
| 4 | +# ******************************************* |
| 5 | +# WIKIMEDIA SYSTEM ADMINISTRATORS PLEASE NOTE |
| 6 | +# ******************************************* |
| 7 | +# Please edit /home/config/others/etc/sudoers and copy to /etc on all machines with dshroot |
| 8 | +# |
| 9 | +# See the sudoers man page for the details on how to write a sudoers file. |
| 10 | +# |
| 11 | +# vim: sts=0 noet ts=8 |
| 12 | + |
| 13 | +# User alias specification |
| 14 | +User_Alias ADMINS = %wikidev |
| 15 | +User_Alias WIKIUSER = apache,%wikidev |
| 16 | + |
| 17 | +# Cmnd alias specification |
| 18 | +Cmnd_Alias ADMIN_COMMANDS = \ |
| 19 | + /usr/sbin/apache2ctl, \ |
| 20 | + /etc/init.d/apache2, \ |
| 21 | + /home/wikipedia/sbin/apache-kill-it, \ |
| 22 | + /home/wikipedia/sbin/sync-common-it, \ |
| 23 | + /home/wikipedia/sbin/sync-common-php, \ |
| 24 | + /home/wikipedia/sbin/scap15-2, \ |
| 25 | + /home/wikipedia/sbin/unscap-2, \ |
| 26 | + /home/wikipedia/sbin/set-group-write2, \ |
| 27 | + /usr/bin/renice |
| 28 | + |
| 29 | +# User privilege specification |
| 30 | +root ALL=(ALL) ALL |
| 31 | +ADMINS ALL= NOPASSWD: ADMIN_COMMANDS |
| 32 | +WIKIUSER ALL=NOPASSWD: /home/wikipedia/sbin/wikiuser_pass_real |
| 33 | + |
| 34 | +# Uncomment to allow people in group wheel to run all commands |
| 35 | +# %wheel ALL=(ALL) ALL |
| 36 | + |
| 37 | +# Same thing without a password |
| 38 | +# %wheel ALL=(ALL) NOPASSWD: ALL |
| 39 | + |
| 40 | +# Samples |
| 41 | +# %users ALL=/sbin/mount /cdrom,/sbin/umount /cdrom |
| 42 | +# %users localhost=/sbin/shutdown -h now |
| 43 | + |