Index: trunk/debs/wikimedia-apache-deflate/debian/control |
— | — | @@ -0,0 +1,11 @@ |
| 2 | +Source: wikimedia-apache-deflate |
| 3 | +Section: unknown |
| 4 | +Priority: optional |
| 5 | +Maintainer: Domas Mituzas <domas@wikimedia.org> |
| 6 | +Standards-Version: 3.6.2 |
| 7 | +Build-Depends: debhelper |
| 8 | + |
| 9 | +Package: wikimedia-apache-deflate |
| 10 | +Architecture: all |
| 11 | +Depends: apache2.2-common |
| 12 | +Description: Sets Wikimedia Apaches to compress Javascript and CSS |
Index: trunk/debs/wikimedia-apache-deflate/debian/dirs |
— | — | @@ -0,0 +1 @@ |
| 2 | +etc/apache2/conf.d |
Index: trunk/debs/wikimedia-apache-deflate/debian/compat |
— | — | @@ -0,0 +1 @@ |
| 2 | +4 |
Index: trunk/debs/wikimedia-apache-deflate/debian/postinst |
— | — | @@ -0,0 +1,41 @@ |
| 2 | +#!/bin/sh |
| 3 | +# |
| 4 | +# see: dh_installdeb(1) |
| 5 | + |
| 6 | +set -e |
| 7 | + |
| 8 | +# summary of how this script can be called: |
| 9 | +# * <postinst> `configure' <most-recently-configured-version> |
| 10 | +# * <old-postinst> `abort-upgrade' <new version> |
| 11 | +# * <conflictor's-postinst> `abort-remove' `in-favour' <package> |
| 12 | +# <new-version> |
| 13 | +# * <postinst> `abort-remove' |
| 14 | +# * <deconfigured's-postinst> `abort-deconfigure' `in-favour' |
| 15 | +# <failed-install-package> <version> `removing' |
| 16 | +# <conflicting-package> <version> |
| 17 | +# for details, see http://www.debian.org/doc/debian-policy/ or |
| 18 | +# the debian-policy package |
| 19 | + |
| 20 | + |
| 21 | +case "$1" in |
| 22 | + configure) |
| 23 | + /etc/init.d/apache2 force-reload |
| 24 | + ;; |
| 25 | + |
| 26 | + abort-upgrade|abort-remove|abort-deconfigure) |
| 27 | + ;; |
| 28 | + |
| 29 | + *) |
| 30 | + echo "postinst called with unknown argument \`$1'" >&2 |
| 31 | + exit 1 |
| 32 | + ;; |
| 33 | +esac |
| 34 | + |
| 35 | +# dh_installdeb will replace this with shell code automatically |
| 36 | +# generated by other debhelper scripts. |
| 37 | + |
| 38 | +#DEBHELPER# |
| 39 | + |
| 40 | +exit 0 |
| 41 | + |
| 42 | + |
Index: trunk/debs/wikimedia-apache-deflate/debian/postrm |
— | — | @@ -0,0 +1,26 @@ |
| 2 | +#!/bin/sh |
| 3 | +# postrm script for aaaa |
| 4 | +# |
| 5 | +# see: dh_installdeb(1) |
| 6 | + |
| 7 | +set -e |
| 8 | + |
| 9 | +case "$1" in |
| 10 | + purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) |
| 11 | + /etc/init.d/apache2 force-reload |
| 12 | + ;; |
| 13 | + |
| 14 | + *) |
| 15 | + echo "postrm called with unknown argument \`$1'" >&2 |
| 16 | + exit 1 |
| 17 | + ;; |
| 18 | +esac |
| 19 | + |
| 20 | +# dh_installdeb will replace this with shell code automatically |
| 21 | +# generated by other debhelper scripts. |
| 22 | + |
| 23 | +#DEBHELPER# |
| 24 | + |
| 25 | +exit 0 |
| 26 | + |
| 27 | + |
Index: trunk/debs/wikimedia-apache-deflate/debian/changelog |
— | — | @@ -0,0 +1,5 @@ |
| 2 | +wikimedia-apache-deflate (0.1) hardy; urgency=low |
| 3 | + |
| 4 | + * Deploy deflate configuration |
| 5 | + |
| 6 | + -- Domas Mituzas <domas@wikimedia.org> Thu, 07 May 2009 17:46:15 +0300 |
Index: trunk/debs/wikimedia-apache-deflate/debian/deflate.default |
— | — | @@ -0,0 +1,5 @@ |
| 2 | +LoadModule deflate_module /usr/lib/apache2/modules/mod_deflate.so |
| 3 | +<IfModule mod_deflate.c> |
| 4 | + AddOutputFilterByType DEFLATE text/css text/javascript application/x-javascript |
| 5 | +</IfModule> |
| 6 | + |
Index: trunk/debs/wikimedia-apache-deflate/debian/copyright |
— | — | @@ -0,0 +1,5 @@ |
| 2 | +Copyright Holder: Domas Mituzas <domas@wikimedia.org> |
| 3 | + |
| 4 | +License: |
| 5 | + |
| 6 | +Public domain |
Index: trunk/debs/wikimedia-apache-deflate/debian/docs |
Index: trunk/debs/wikimedia-apache-deflate/debian/rules |
— | — | @@ -0,0 +1,23 @@ |
| 2 | +#!/usr/bin/make -f |
| 3 | + |
| 4 | +install: |
| 5 | + dh_testdir |
| 6 | + dh_testroot |
| 7 | + dh_clean -k |
| 8 | + dh_installdirs |
| 9 | + install -Dm 0644 debian/deflate.default debian/wikimedia-apache-deflate/etc/apache2/conf.d/deflate |
| 10 | + |
| 11 | +clean: |
| 12 | + dh_clean |
| 13 | + |
| 14 | +build: |
| 15 | + |
| 16 | +binary: binary-indep |
| 17 | +binary-indep: install |
| 18 | + dh_testdir |
| 19 | + dh_testroot |
| 20 | + dh_installchangelogs |
| 21 | + dh_installdeb |
| 22 | + dh_gencontrol |
| 23 | + dh_md5sums |
| 24 | + dh_builddeb |
Property changes on: trunk/debs/wikimedia-apache-deflate/debian/rules |
___________________________________________________________________ |
Name: svn:executable |
1 | 25 | + |