~clint-fewbar/ubuntu/maverick/apache2/maverick-passphrase-plymouth-change

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Stefan Fritsch
  • Date: 2007-07-03 21:23:40 UTC
  • mfrom: (0.9.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20070703212340-ezgz2fwx00jiiiox
Tags: 2.2.4-2
* Modularize config: Move module specific configuration from apache2.conf
  to mods-available/*conf (Closes: #338472)
* Remove the NO_START kludge. Now you have to use rc*.d symlinks to disable
  apache2. (Closes: #408462, #275561)
* Create run and lock directores in apache2ctl to make it work on fresh
  installations before the first call of the init script. Together with
  the previous item, this closes: #418499
* Disable AddDefaultCharset again (Closes: #397886)
* Make ports.conf, conf.d/charset, and /etc/default/apache2 conffiles
  managed by dpkg
* Listen on port 443 by default if mod_ssl is loaded (Closes: #404598)
* Add logic to start htcacheclean as daemon or cronjob. The configuration
  is in /etc/default/apache2
* Fix security issues:
  - CVE-2007-3304: prevent parent process to send SIGUSR1 to arbitrary
    processes
  - CVE-2006-5752: XSS in mod_status
* Add init.d dependency info from insserv overrides to /etc/init.d/apache2
* Replace apachectl with apache2ctl in docs (Closes: #164493)
* Add usage message to apache2ctl (Closes: #359008)
* Make -dev packages priority extra
* Add secure example cipher/protocol configuration to ssl.conf
* Update watch file (Closes: #433552)
* Bump dh_compat to 5
* Add new package apache2-dbg with debugging symbols
* Fix mod_cache returning 304 instead of 200 on HEAD requests

Show diffs side-by-side

added added

removed removed

Lines of Context:
78
78
AP2_CONFLAGS += -O2
79
79
endif
80
80
 
 
81
ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS)))
 
82
DEB_BUILD_STRIP = yes
 
83
endif
 
84
 
81
85
BUILD=debian/build-tree
82
86
REALCURDIR=$(CURDIR)
83
87
INSTALL=/usr/bin/install
177
181
 
178
182
        cp debian/apache2-doc.conf debian/apache2-doc/etc/apache2/conf.d/apache2-doc
179
183
        install -m644 debian/apache2-doc.lintian-overrides debian/apache2-doc/usr/share/lintian/overrides/apache2-doc
 
184
        grep -rl apachectl debian/apache2-doc/usr/share/doc/apache2-doc/manual | xargs perl -p -i -e 's/apachectl(?!\.html)/apache2ctl/g'
180
185
 
181
186
        #apache2-utils extras
182
187
        cp support/check_forensic debian/apache2-utils/usr/sbin/check_forensic
211
216
                mkdir -p debian/apache2-mpm-$$i/usr/sbin ;\
212
217
                mkdir -p debian/apache2-mpm-$$i/usr/share/lintian/overrides ;\
213
218
                install -m 755 $(BUILD)/$$i/apache2 debian/apache2-mpm-$$i/usr/sbin/apache2 ;\
 
219
                if [ -n "$(DEB_BUILD_STRIP)" ] ; then \
 
220
                        objcopy --only-keep-debug debian/apache2-mpm-$$i/usr/sbin/apache2 debian/apache2-dbg/usr/lib/debug/usr/sbin/apache2-mpm-$$i ;\
 
221
                        chmod 644 debian/apache2-dbg/usr/lib/debug/usr/sbin/apache2-mpm-$$i ;\
 
222
                        dh_strip -papache2-mpm-$$i ;\
 
223
                        objcopy --add-gnu-debuglink=debian/apache2-dbg/usr/lib/debug/usr/sbin/apache2-mpm-$$i debian/apache2-mpm-$$i/usr/sbin/apache2 ;\
 
224
                fi ;\
214
225
                install -m644 debian/mpms.lintian-overrides debian/apache2-mpm-$$i/usr/share/lintian/overrides/apache2-mpm-$$i ;\
215
226
        done
216
227
 
243
254
        dh_installdocs -a
244
255
        dh_installman -a
245
256
        dh_installchangelogs -a CHANGES
246
 
        dh_installinit -a -r --init-script=apache2 debian/apache2.2-common.init.d -- start 91 09
247
 
        dh_strip -a
 
257
        rm -f debian/apache2-dbg/usr/share/doc/apache2-dbg/changelog
 
258
        rm -f debian/apache2-dbg/usr/share/doc/apache2-dbg/NEWS.Debian
 
259
        dh_installinit -a -r --name=apache2 -- start 91 09
 
260
        dh_installcron -a -r --name=apache2
 
261
        dh_strip -a --dbg-package=apache2-dbg -Napache2-mpm-worker -Napache2-mpm-event -Napache2-mpm-prefork -Napache2-dbg
248
262
        dh_link -a
249
263
        dh_compress -a
250
264
        dh_fixperms -a -Xsuexec