Index: trunk/debs/wikimedia-task-appserver/debian/postrm |
— | — | @@ -31,6 +31,7 @@ |
32 | 32 | purge) |
33 | 33 | dpkg-divert --package wikimedia-task-appserver --rename --remove /etc/apache2/apache2.conf |
34 | 34 | dpkg-divert --package wikimedia-task-appserver --rename --remove /etc/php5/apache2/php.ini |
| 35 | + dpkg-divert --package wikimedia-task-appserver --rename --remove /etc/sudoers |
35 | 36 | ;; |
36 | 37 | remove) |
37 | 38 | removemount /mnt/upload3 |
Index: trunk/debs/wikimedia-task-appserver/debian/preinst |
— | — | @@ -21,6 +21,8 @@ |
22 | 22 | --divert /etc/apache2/apache2.conf.default /etc/apache2/apache2.conf |
23 | 23 | dpkg-divert --package wikimedia-task-appserver --add --rename \ |
24 | 24 | --divert /etc/php5/apache2/php.ini.default /etc/php5/apache2/php.ini |
| 25 | + dpkg-divert --package wikimedia-task-appserver --add --rename \ |
| 26 | + --divert /etc/sudoers.default /etc/sudoers |
25 | 27 | ;; |
26 | 28 | |
27 | 29 | upgrade|abort-upgrade) |
Index: trunk/debs/wikimedia-task-appserver/debian/changelog |
— | — | @@ -1,3 +1,10 @@ |
| 2 | +wikimedia-task-appserver (1.15) feisty; urgency=low |
| 3 | + |
| 4 | + * No, really, mode 400 for sudoers. |
| 5 | + * Diversion for sudoers |
| 6 | + |
| 7 | + -- Tim Starling <tstarling@wikimedia.org> Tue, 28 Aug 2007 23:56:38 +0000 |
| 8 | + |
2 | 9 | wikimedia-task-appserver (1.14) feisty; urgency=low |
3 | 10 | |
4 | 11 | * Remove conf file diversions on purge, not on remove |
Index: trunk/debs/wikimedia-task-appserver/debian/conffiles |
— | — | @@ -1,2 +1,3 @@ |
2 | 2 | /etc/apache2/apache2.conf |
3 | 3 | /etc/php5/apache2/php.ini |
| 4 | +/etc/sudoers |
Index: trunk/debs/wikimedia-task-appserver/debian/rules |
— | — | @@ -77,7 +77,7 @@ |
78 | 78 | dh_link |
79 | 79 | dh_strip |
80 | 80 | dh_compress |
81 | | - dh_fixperms |
| 81 | + dh_fixperms -X sudoers |
82 | 82 | # dh_perl |
83 | 83 | # dh_python |
84 | 84 | # dh_makeshlibs |