|
Revision 1078, 3.8 kB
(checked in by benjamin, 3 years ago)
|
moving /etc/awstats rights to postinst + fix perms for /etc/awstats
|
- Property svn:eol-style set to
native
- Property svn:executable set to
*
- Property svn:keywords set to
Author Date Id Revision
|
| Line | |
|---|
| 1 |
|
|---|
| 2 |
|
|---|
| 3 |
|
|---|
| 4 |
|
|---|
| 5 |
|
|---|
| 6 |
|
|---|
| 7 |
|
|---|
| 8 |
|
|---|
| 9 |
export DH_VERBOSE=1 |
|---|
| 10 |
|
|---|
| 11 |
|
|---|
| 12 |
|
|---|
| 13 |
|
|---|
| 14 |
|
|---|
| 15 |
|
|---|
| 16 |
|
|---|
| 17 |
export DH_OPTIONS |
|---|
| 18 |
|
|---|
| 19 |
build: build-stamp |
|---|
| 20 |
build-stamp: |
|---|
| 21 |
dh_testdir |
|---|
| 22 |
|
|---|
| 23 |
|
|---|
| 24 |
|
|---|
| 25 |
|
|---|
| 26 |
touch build-stamp |
|---|
| 27 |
|
|---|
| 28 |
clean: |
|---|
| 29 |
dh_testdir |
|---|
| 30 |
dh_testroot |
|---|
| 31 |
rm -f build-stamp |
|---|
| 32 |
|
|---|
| 33 |
|
|---|
| 34 |
|
|---|
| 35 |
|
|---|
| 36 |
|
|---|
| 37 |
|
|---|
| 38 |
dh_clean |
|---|
| 39 |
|
|---|
| 40 |
install: DH_OPTIONS= |
|---|
| 41 |
install: build |
|---|
| 42 |
dh_testdir |
|---|
| 43 |
dh_testroot |
|---|
| 44 |
dh_clean -k |
|---|
| 45 |
dh_installdirs |
|---|
| 46 |
|
|---|
| 47 |
|
|---|
| 48 |
|
|---|
| 49 |
|
|---|
| 50 |
|
|---|
| 51 |
cp -r bureau debian/alternc-awstats/var/alternc/ |
|---|
| 52 |
rm debian/alternc-awstats/var/alternc/bureau/locales/README |
|---|
| 53 |
rm debian/alternc-awstats/var/alternc/bureau/locales/updatelang.sh |
|---|
| 54 |
|
|---|
| 55 |
|
|---|
| 56 |
find debian/alternc-awstats/ -depth \( -name CVS -o -name .svn \) -type d -exec rm -rf {} \; |
|---|
| 57 |
|
|---|
| 58 |
install -m 0644 -g www-data -o www-data alternc-awstats.conf debian/alternc-awstats/etc/apache/ |
|---|
| 59 |
install -m 0644 -g www-data -o www-data awstats_alternc.png debian/alternc-awstats/usr/share/awstats/icon/other/ |
|---|
| 60 |
install -m 0755 -g www-data -o www-data alternc-awstats debian/alternc-awstats/usr/lib/alternc/ |
|---|
| 61 |
install -m 0755 -g www-data -o www-data awstats.cache.php debian/alternc-awstats/usr/lib/alternc/ |
|---|
| 62 |
install -m 0644 awstats.sql debian/alternc-awstats/usr/share/alternc/ |
|---|
| 63 |
install -m 0644 -g www-data -o www-data awstats.template.conf debian/alternc-awstats/etc/alternc/ |
|---|
| 64 |
install -m 0444 debian/lintian-override debian/alternc-awstats/usr/share/lintian/overrides/alternc-awstats |
|---|
| 65 |
mkdir -p debian/alternc-awstats/var/cache/awstats |
|---|
| 66 |
|
|---|
| 67 |
touch debian/alternc-awstats/var/cache/awstats/.placeholder |
|---|
| 68 |
chown www-data:www-data debian/alternc-awstats/var/cache/awstats |
|---|
| 69 |
chmod 755 debian/alternc-awstats/var/cache/awstats |
|---|
| 70 |
|
|---|
| 71 |
|
|---|
| 72 |
|
|---|
| 73 |
|
|---|
| 74 |
|
|---|
| 75 |
|
|---|
| 76 |
|
|---|
| 77 |
|
|---|
| 78 |
binary-common: build install |
|---|
| 79 |
dh_testdir |
|---|
| 80 |
dh_testroot |
|---|
| 81 |
dh_installchangelogs |
|---|
| 82 |
dh_installdocs |
|---|
| 83 |
|
|---|
| 84 |
|
|---|
| 85 |
dh_installdebconf |
|---|
| 86 |
|
|---|
| 87 |
|
|---|
| 88 |
|
|---|
| 89 |
|
|---|
| 90 |
|
|---|
| 91 |
|
|---|
| 92 |
dh_installcron |
|---|
| 93 |
|
|---|
| 94 |
|
|---|
| 95 |
|
|---|
| 96 |
|
|---|
| 97 |
dh_link |
|---|
| 98 |
dh_compress |
|---|
| 99 |
dh_fixperms --exclude var/cache/awstats |
|---|
| 100 |
|
|---|
| 101 |
|
|---|
| 102 |
|
|---|
| 103 |
dh_installdeb |
|---|
| 104 |
dh_perl |
|---|
| 105 |
|
|---|
| 106 |
dh_gencontrol -- -cdebian/control |
|---|
| 107 |
dh_md5sums |
|---|
| 108 |
dh_builddeb |
|---|
| 109 |
|
|---|
| 110 |
|
|---|
| 111 |
binary-indep: build install binary-common |
|---|
| 112 |
|
|---|
| 113 |
|
|---|
| 114 |
|
|---|
| 115 |
|
|---|
| 116 |
binary-arch: build install binary-common |
|---|
| 117 |
|
|---|
| 118 |
|
|---|
| 119 |
|
|---|
| 120 |
|
|---|
| 121 |
|
|---|
| 122 |
|
|---|
| 123 |
|
|---|
| 124 |
|
|---|
| 125 |
|
|---|
| 126 |
binary: binary-common |
|---|
| 127 |
|
|---|
| 128 |
.PHONY: build clean binary install |
|---|