|
12
by Andreas Barth
* Non-maintainer upload. |
1 |
#! /usr/bin/make -f
|
2 |
||
3 |
# Code for httpd 2.1, based on apache2 and others.
|
|
4 |
# Copyright (C) Canonical Ltd, 2005
|
|
5 |
||
|
35
by Kees Cook
debian/{control,rules}: enable PIE hardening |
6 |
export DEB_BUILD_HARDENING=1 |
|
2
by Thom May
Security Release. Patch from upstream for the following: |
7 |
export DEB_BUILD_OPTIONS |
|
12
by Andreas Barth
* Non-maintainer upload. |
8 |
export DH_OPTIONS |
|
2
by Thom May
Security Release. Patch from upstream for the following: |
9 |
|
|
7
by Adam Conrad
* Add 050_mod_imap_CVE-2005-3352 to escape untrusted referer headers in |
10 |
SHELL := sh -e |
11 |
||
|
12
by Andreas Barth
* Non-maintainer upload. |
12 |
#enable dpatch
|
13 |
include /usr/share/dpatch/dpatch.make |
|
14 |
||
15 |
# These are used for cross-compiling and for saving the configure script
|
|
16 |
# # from having to guess our platform (since we know it already)
|
|
17 |
DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) |
|
18 |
DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) |
|
19 |
||
|
20
by Stefan Fritsch, Stefan Fritsch, Adam Conrad
[ Stefan Fritsch ] |
20 |
LSB_RELEASE := $(shell lsb_release -i -s) |
21 |
||
|
12
by Andreas Barth
* Non-maintainer upload. |
22 |
CONFFLAGS += ac_cv_prog_AWK=mawk ac_cv_prog_LYNX_PATH=www-browser |
|
2
by Thom May
Security Release. Patch from upstream for the following: |
23 |
|
24 |
AP2_COMMON_CONFARGS = --enable-layout=Debian --enable-so \ |
|
|
12
by Andreas Barth
* Non-maintainer upload. |
25 |
--with-program-name=apache2 \ |
|
2
by Thom May
Security Release. Patch from upstream for the following: |
26 |
--with-ldap=yes --with-ldap-include=/usr/include \ |
27 |
--with-ldap-lib=/usr/lib \ |
|
28 |
--with-suexec-caller=www-data \ |
|
|
12
by Andreas Barth
* Non-maintainer upload. |
29 |
--with-suexec-bin=/usr/lib/apache2/suexec \ |
|
2
by Thom May
Security Release. Patch from upstream for the following: |
30 |
--with-suexec-docroot=/var/www \ |
31 |
--with-suexec-userdir=public_html \ |
|
32 |
--with-suexec-logfile=/var/log/apache2/suexec.log \ |
|
|
34
by Stefan Fritsch, Stefan Fritsch, Ryan Niebur
[ Stefan Fritsch ] |
33 |
--with-suexec-uidmin=100 \ |
|
27
by Stefan Fritsch
* mod_cache: Handle If-Range correctly if the cached resource was stale |
34 |
--enable-suexec=shared \ |
35 |
--enable-log-config=static --enable-logio=static \ |
|
36 |
--with-apr=/usr/bin/apr-1-config \ |
|
37 |
--with-apr-util=/usr/bin/apu-1-config \ |
|
|
53
by Chuck Short
* Resynchronzie with Debian, remaining changes are: |
38 |
--with-pcre=yes \ |
39 |
--enable-pie |
|
|
27
by Stefan Fritsch
* mod_cache: Handle If-Range correctly if the cached resource was stale |
40 |
|
41 |
AP2_MODS_CONFARGS = --enable-authn-alias=shared --enable-authnz-ldap=shared \ |
|
|
12
by Andreas Barth
* Non-maintainer upload. |
42 |
--enable-disk-cache=shared --enable-cache=shared \ |
43 |
--enable-mem-cache=shared --enable-file-cache=shared \ |
|
44 |
--enable-cern-meta=shared --enable-dumpio=shared --enable-ext-filter=shared \ |
|
45 |
--enable-charset-lite=shared --enable-cgi=shared \ |
|
46 |
--enable-dav-lock=shared --enable-log-forensic=shared \ |
|
47 |
--enable-ldap=shared --enable-proxy=shared \ |
|
48 |
--enable-proxy-connect=shared --enable-proxy-ftp=shared \ |
|
49 |
--enable-proxy-http=shared --enable-proxy-ajp=shared \ |
|
|
14.3.5
by Stefan Fritsch
* New upstream version: |
50 |
--enable-proxy-scgi=shared \ |
|
12
by Andreas Barth
* Non-maintainer upload. |
51 |
--enable-proxy-balancer=shared --enable-ssl=shared \ |
52 |
--enable-authn-dbm=shared --enable-authn-anon=shared \ |
|
53 |
--enable-authn-dbd=shared --enable-authn-file=shared \ |
|
54 |
--enable-authn-default=shared --enable-authz-host=shared \ |
|
55 |
--enable-authz-groupfile=shared --enable-authz-user=shared \ |
|
56 |
--enable-authz-dbm=shared --enable-authz-owner=shared \ |
|
57 |
--enable-authnz-ldap=shared --enable-authz-default=shared \ |
|
58 |
--enable-auth-basic=shared --enable-auth-digest=shared \ |
|
59 |
--enable-dbd=shared --enable-deflate=shared \ |
|
60 |
--enable-include=shared --enable-filter=shared \ |
|
61 |
--enable-env=shared --enable-mime-magic=shared \ |
|
62 |
--enable-expires=shared --enable-headers=shared \ |
|
63 |
--enable-ident=shared --enable-usertrack=shared \ |
|
64 |
--enable-unique-id=shared --enable-setenvif=shared \ |
|
65 |
--enable-version=shared --enable-status=shared \ |
|
66 |
--enable-autoindex=shared --enable-asis=shared \ |
|
67 |
--enable-info=shared --enable-cgid=shared \ |
|
68 |
--enable-dav=shared --enable-dav-fs=shared \ |
|
69 |
--enable-vhost-alias=shared --enable-negotiation=shared \ |
|
70 |
--enable-dir=shared --enable-imagemap=shared \ |
|
71 |
--enable-actions=shared --enable-speling=shared \ |
|
72 |
--enable-userdir=shared --enable-alias=shared \ |
|
73 |
--enable-rewrite=shared --enable-mime=shared \ |
|
|
60
by Chuck Short
* debian/patches/206-fix-potential-memory-leaks.dpatch: Fix potential memory |
74 |
--enable-substitute=shared --enable-reqtimeout=shared |
|
2
by Thom May
Security Release. Patch from upstream for the following: |
75 |
|
|
14.3.2
by Stefan Fritsch
* New upstream release: |
76 |
AP2_CFLAGS = $(CFLAGS) -g -pipe -I/usr/include/xmltok -I/usr/include/openssl -Wall -Wformat -Wformat-security -D_FORTIFY_SOURCE=2 -fstack-protector |
77 |
AP2_LDFLAGS = -Wl,--as-needed -Wl,-z,relro |
|
|
2
by Thom May
Security Release. Patch from upstream for the following: |
78 |
|
|
34
by Stefan Fritsch, Stefan Fritsch, Ryan Niebur
[ Stefan Fritsch ] |
79 |
#support noopt building
|
80 |
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) |
|
81 |
AP2_CFLAGS += -O0 |
|
|
2
by Thom May
Security Release. Patch from upstream for the following: |
82 |
else
|
|
34
by Stefan Fritsch, Stefan Fritsch, Ryan Niebur
[ Stefan Fritsch ] |
83 |
AP2_CFLAGS += -O2 |
|
2
by Thom May
Security Release. Patch from upstream for the following: |
84 |
endif
|
85 |
||
|
17
by Stefan Fritsch
* Modularize config: Move module specific configuration from apache2.conf |
86 |
ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) |
87 |
DEB_BUILD_STRIP = yes |
|
88 |
endif
|
|
89 |
||
|
34
by Stefan Fritsch, Stefan Fritsch, Ryan Niebur
[ Stefan Fritsch ] |
90 |
ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) |
91 |
NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) |
|
92 |
MAKEFLAGS += -j$(NUMJOBS) |
|
93 |
endif
|
|
94 |
||
|
12
by Andreas Barth
* Non-maintainer upload. |
95 |
BUILD=debian/build-tree |
96 |
REALCURDIR=$(CURDIR) |
|
|
2
by Thom May
Security Release. Patch from upstream for the following: |
97 |
INSTALL=/usr/bin/install |
|
12
by Andreas Barth
* Non-maintainer upload. |
98 |
|
99 |
clean: unpatch |
|
100 |
dh_testdir
|
|
|
14.3.2
by Stefan Fritsch
* New upstream release: |
101 |
rm -rf $(BUILD) mpm-worker mpm-prefork mpm-event mpm-itk install |
|
14.3.9
by Stefan Fritsch
* Security: Further mitigation for the TLS renegotation attack |
102 |
rm -rf debian/tmp-worker debian/tmp-prefork |
|
2
by Thom May
Security Release. Patch from upstream for the following: |
103 |
dh_clean
|
|
12
by Andreas Barth
* Non-maintainer upload. |
104 |
|
|
46
by Andrew Mitchell
* Merge from debian unstable, remaining changes: |
105 |
build: patch-stamp build-stamp |
|
14.3.2
by Stefan Fritsch
* New upstream release: |
106 |
build-stamp: patch-stamp mpm-worker mpm-prefork mpm-event mpm-itk |
107 |
for mpm in prefork event itk ; do \ |
|
|
27
by Stefan Fritsch
* mod_cache: Handle If-Range correctly if the cached resource was stale |
108 |
if ! diff -u $(BUILD)/$$mpm/mods.list $(BUILD)/worker/mods.list ; then \ |
109 |
echo Different modules built into httpd binaries, will not proceed ;\ |
|
110 |
exit 1 ;\ |
|
111 |
fi \
|
|
112 |
done
|
|
|
34
by Stefan Fritsch, Stefan Fritsch, Ryan Niebur
[ Stefan Fritsch ] |
113 |
touch $@ |
114 |
||
115 |
||
|
14.3.2
by Stefan Fritsch
* New upstream release: |
116 |
mpm-worker mpm-prefork mpm-event mpm-itk: mpm-%: patch-stamp mpm-%.scripts-stamp |
|
12
by Andreas Barth
* Non-maintainer upload. |
117 |
dh_testdir
|
118 |
mkdir -p $(BUILD)/$* |
|
|
14.3.2
by Stefan Fritsch
* New upstream release: |
119 |
# we don't want modifications done by itk outside of server/mpm/experimental/itk |
120 |
# to appear in the other mpms. Therefore we copy the whole source tree. |
|
121 |
set -ex ; \ |
|
122 |
if [ $* = itk ] ; then \ |
|
123 |
cp -a `find . -maxdepth 1 -mindepth 1 -not -name debian` $(BUILD)/$* ; \ |
|
124 |
cd $(BUILD)/$* ; \ |
|
125 |
mkdir server/mpm/experimental/itk/ ; \ |
|
126 |
cp server/mpm/prefork/* server/mpm/experimental/itk/ ; \ |
|
127 |
mv server/mpm/experimental/itk/prefork.c server/mpm/experimental/itk/itk.c ; \
|
|
128 |
\
|
|
129 |
for PATCH in `tail -n +2 ../../mpm-itk/patches/series`; do \
|
|
130 |
echo Applying $$PATCH ... ; \
|
|
131 |
patch -p1 < ../../mpm-itk/patches/$$PATCH ; \
|
|
132 |
echo ; \
|
|
133 |
done ; \
|
|
134 |
\
|
|
135 |
autoheader ; \
|
|
136 |
autoconf ; \
|
|
137 |
CONFIGURE=./configure ; \
|
|
138 |
else \
|
|
139 |
cd $(BUILD)/$* ; \
|
|
140 |
CONFIGURE="$(REALCURDIR)/configure --srcdir=$(REALCURDIR)" ; \
|
|
141 |
fi ; \
|
|
142 |
if [ $* = worker ] ; then \
|
|
143 |
ENABLE_MODULES="$(AP2_MODS_CONFARGS)" ; \
|
|
144 |
else \
|
|
145 |
ENABLE_MODULES=--enable-modules=none ; \
|
|
146 |
fi ; \
|
|
147 |
CFLAGS="$(AP2_CFLAGS)" LDFLAGS="$(AP2_LDFLAGS)" $(CONFFLAGS) $$CONFIGURE \
|
|
148 |
$(AP2_COMMON_CONFARGS) $$ENABLE_MODULES --with-mpm=$* ; \
|
|
149 |
$(MAKE) ; \
|
|
|
27
by Stefan Fritsch
* mod_cache: Handle If-Range correctly if the cached resource was stale |
150 |
./apache2 -l |grep -v $* > mods.list
|
|
12
by Andreas Barth
* Non-maintainer upload. |
151 |
touch $@
|
152 |
||
|
14.3.9
by Stefan Fritsch
* Security: Further mitigation for the TLS renegotation attack |
153 |
mpm-%.scripts-stamp: debian/mpms.postinst debian/mpms.preinst debian/mpms.prerm debian/mpms.lintian-overrides debian/mpms.dirs debian/mpms.links
|
154 |
for f in postinst preinst prerm links dirs ; do \
|
|
155 |
perl -p -e "s/MPMXXX/$*/g" < debian/mpms.$$f > debian/apache2-mpm-$*.$$f ;\ |
|
|
46
by Andrew Mitchell
* Merge from debian unstable, remaining changes: |
156 |
done
|
157 |
perl -p -e "s/^/apache2-mpm-$*: /" < debian/mpms.lintian-overrides > debian/apache2-mpm-$*.lintian-overrides |
|
158 |
touch $@ |
|
159 |
||
|
14.3.9
by Stefan Fritsch
* Security: Further mitigation for the TLS renegotation attack |
160 |
install-worker: mpm-worker |
161 |
dh_testdir
|
|
162 |
dh_testroot
|
|
|
12
by Andreas Barth
* Non-maintainer upload. |
163 |
cd $(BUILD)/worker ;\ |
164 |
$(MAKE) DESTDIR=$(REALCURDIR)/debian/tmp install |
|
|
14.3.9
by Stefan Fritsch
* Security: Further mitigation for the TLS renegotation attack |
165 |
ln -sf tmp debian/tmp-worker |
166 |
||
167 |
install-prefork: mpm-prefork |
|
168 |
dh_testdir
|
|
169 |
dh_testroot
|
|
170 |
cd $(BUILD)/prefork ;\ |
|
171 |
$(MAKE) DESTDIR=$(REALCURDIR)/debian/tmp-prefork install |
|
|
12
by Andreas Barth
* Non-maintainer upload. |
172 |
|
|
34
by Stefan Fritsch, Stefan Fritsch, Ryan Niebur
[ Stefan Fritsch ] |
173 |
install-dev: install-worker install-prefork |
|
12
by Andreas Barth
* Non-maintainer upload. |
174 |
dh_testdir
|
175 |
dh_testroot
|
|
176 |
dh_installdirs
|
|
177 |
for i in worker prefork; do \ |
|
|
2
by Thom May
Security Release. Patch from upstream for the following: |
178 |
if [ "$$i" = "prefork" ]; then \ |
|
12
by Andreas Barth
* Non-maintainer upload. |
179 |
TARGET=prefork ;\ |
180 |
else \
|
|
181 |
TARGET=threaded ;\ |
|
182 |
fi ;\ |
|
|
14.3.9
by Stefan Fritsch
* Security: Further mitigation for the TLS renegotation attack |
183 |
cp debian/tmp-$$i/usr/include/apache2/* debian/apache2-$$TARGET-dev/usr/include/apache2/ ;\ |
184 |
cp debian/tmp-$$i/usr/share/apache2/build/* debian/apache2-$$TARGET-dev/usr/share/apache2/build/ ;\ |
|
|
12
by Andreas Barth
* Non-maintainer upload. |
185 |
cp $(BUILD)/$$i/support/apxs debian/apache2-$$TARGET-dev/usr/bin/apxs2 ;\ |
|
46
by Andrew Mitchell
* Merge from debian unstable, remaining changes: |
186 |
perl -p -e s/^P=apache2/P=apache2-$${TARGET}-dev/ < debian/apache2.postinst > debian/apache2-$${TARGET}-dev.postinst ;\ |
|
12
by Andreas Barth
* Non-maintainer upload. |
187 |
done
|
188 |
# Clean up config_vars.mk
|
|
189 |
set -x ; for i in threaded prefork; do \ |
|
190 |
( cd debian/apache2-$$i-dev/usr/share/apache2/build/ ; \ |
|
191 |
grep -v -E '(^|_)(CPP|C)FLAGS' config_vars.mk > tmp_config_vars.mk ; \ |
|
192 |
printf "CPPFLAGS = %s\n" "`grep -E '(^|_)(CPPFLAGS|INCLUDES)' config_vars.mk | cut -d= -f 2- | tr ' ' '\n' | grep -E '^-([DI]|pthread)' | sort | uniq | tr '\n' ' '`" >> tmp_config_vars.mk ; \ |
|
193 |
printf "CFLAGS = %s\n" "`grep -E '(^|_)(CPPFLAGS|CFLAGS|INCLUDES)' config_vars.mk | cut -d= -f 2- | tr ' ' '\n' | grep -E '^-(D|I/|pthread)' | sort | uniq | tr '\n' ' '`" >> tmp_config_vars.mk ; \ |
|
194 |
printf "NOTEST_CPPFLAGS = \n" >> tmp_config_vars.mk ; \ |
|
195 |
printf "EXTRA_CPPFLAGS = \n" >> tmp_config_vars.mk ; \ |
|
196 |
printf "EXTRA_CFLAGS = \n" >> tmp_config_vars.mk ; \ |
|
197 |
mv tmp_config_vars.mk config_vars.mk ) ; \ |
|
198 |
done
|
|
199 |
||
|
14.3.9
by Stefan Fritsch
* Security: Further mitigation for the TLS renegotation attack |
200 |
install: build install-dev |
|
12
by Andreas Barth
* Non-maintainer upload. |
201 |
dh_testroot
|
202 |
dh_testdir
|
|
|
14.3.9
by Stefan Fritsch
* Security: Further mitigation for the TLS renegotation attack |
203 |
dh_installdirs
|
|
12
by Andreas Barth
* Non-maintainer upload. |
204 |
|
205 |
#cleanup of death |
|
|
22
by Stefan Fritsch
* Avoid calling apr_pollset_poll() and accept_func() when the listening |
206 |
rm -rf debian/tmp/etc/apache2/original |
|
12
by Andreas Barth
* Non-maintainer upload. |
207 |
rm -rf debian/tmp/usr/include |
208 |
rm -rf debian/tmp/usr/share/apache2/build |
|
209 |
rm -f debian/tmp/usr/share/man/man8/httpd.8 # We install our own |
|
210 |
rm -f debian/tmp/usr/sbin/apxs debian/tmp/usr/sbin/apache2 |
|
211 |
||
212 |
# DO NOT FALL FOR THE TEMPTATION TO MV INTO PACKAGES OR DOOM |
|
213 |
# WILL FIND YOU. Use dh_install, this is just because dh_install |
|
214 |
# can't rename files |
|
215 |
||
216 |
mv debian/tmp/usr/share/man/man8/apxs.8 debian/tmp/usr/share/man/man8/apxs2.8 |
|
217 |
mv debian/tmp/usr/sbin/apachectl debian/tmp/usr/sbin/apache2ctl |
|
218 |
mv debian/tmp/usr/share/man/man8/apachectl.8 debian/tmp/usr/share/man/man8/apache2ctl.8 |
|
|
25
by Soren Hansen, Nicolas Valcárcel, Soren Hansen
[ Nicolas Valcárcel ] |
219 |
mkdir -p debian/tmp/usr/share/apache2/icons/ |
220 |
for i in `ls debian/icons/ | cut -d. -f1,2`; do \ |
|
221 |
uudecode -o debian/tmp/usr/share/apache2/icons/$$i debian/icons/$$i".uue"; \ |
|
222 |
done
|
|
|
12
by Andreas Barth
* Non-maintainer upload. |
223 |
|
|
14.3.9
by Stefan Fritsch
* Security: Further mitigation for the TLS renegotation attack |
224 |
dh_install --list-missing |
|
12
by Andreas Barth
* Non-maintainer upload. |
225 |
|
226 |
cp debian/bash_completion debian/apache2.2-common/etc/bash_completion.d/apache2.2-common |
|
|
36
by Didier Roche
* add ufw integration (see |
227 |
install -m644 debian/apache2.2-common.ufw.profile debian/apache2.2-common/etc/ufw/applications.d/apache2.2-common |
|
12
by Andreas Barth
* Non-maintainer upload. |
228 |
|
|
31
by Chuck Short
* Merge from debian unstable, remaining changes: |
229 |
# standard suexec |
230 |
chmod 4754 debian/apache2-suexec/usr/lib/apache2/suexec |
|
231 |
chgrp www-data debian/apache2-suexec/usr/lib/apache2/suexec |
|
232 |
||
|
46
by Andrew Mitchell
* Merge from debian unstable, remaining changes: |
233 |
chmod 644 debian/apache2.2-bin/usr/lib/apache2/modules/mod_suexec.so |
|
31
by Chuck Short
* Merge from debian unstable, remaining changes: |
234 |
|
235 |
# configurable suexec |
|
236 |
cp debian/build-tree/worker/support/suexec-custom debian/apache2-suexec-custom/usr/lib/apache2/suexec |
|
237 |
cp debian/suexec-custom.config debian/apache2-suexec-custom/etc/apache2/suexec/www-data |
|
238 |
chmod 4754 debian/apache2-suexec-custom/usr/lib/apache2/suexec |
|
239 |
chgrp www-data debian/apache2-suexec-custom/usr/lib/apache2/suexec |
|
240 |
||
|
15
by Stefan Fritsch, Tollef Fog Heen, Thom May, Peter Samuelson, Stefan Fritsch
[ Tollef Fog Heen ] |
241 |
cp debian/apache2-doc.conf debian/apache2-doc/etc/apache2/conf.d/apache2-doc |
|
17
by Stefan Fritsch
* Modularize config: Move module specific configuration from apache2.conf |
242 |
grep -rl apachectl debian/apache2-doc/usr/share/doc/apache2-doc/manual | xargs perl -p -i -e 's/apachectl(?!\.html)/apache2ctl/g' |
|
26
by Stefan Fritsch
* New upstream version: |
243 |
# remove content negotiation |
244 |
mv debian/apache2-doc/usr/share/doc/apache2-doc/manual \ |
|
245 |
debian/apache2-doc/usr/share/doc/apache2-doc/manual.orig |
|
246 |
perl debian/convert_docs debian/apache2-doc/usr/share/doc/apache2-doc/manual.orig \ |
|
247 |
debian/apache2-doc/usr/share/doc/apache2-doc/manual |
|
248 |
mv debian/apache2-doc/usr/share/doc/apache2-doc/manual.orig/images \ |
|
249 |
debian/apache2-doc/usr/share/doc/apache2-doc/manual.orig/style \ |
|
250 |
debian/apache2-doc/usr/share/doc/apache2-doc/manual |
|
251 |
rmdir debian/apache2-doc/usr/share/doc/apache2-doc/manual/style/lang |
|
|
34
by Stefan Fritsch, Stefan Fritsch, Ryan Niebur
[ Stefan Fritsch ] |
252 |
rmdir debian/apache2-doc/usr/share/doc/apache2-doc/manual/style/xsl/util |
253 |
rmdir debian/apache2-doc/usr/share/doc/apache2-doc/manual/style/xsl |
|
|
26
by Stefan Fritsch
* New upstream version: |
254 |
rm -r debian/apache2-doc/usr/share/doc/apache2-doc/manual.orig |
|
15
by Stefan Fritsch, Tollef Fog Heen, Thom May, Peter Samuelson, Stefan Fritsch
[ Tollef Fog Heen ] |
255 |
|
|
12
by Andreas Barth
* Non-maintainer upload. |
256 |
cp debian/logrotate debian/apache2.2-common/etc/logrotate.d/apache2 |
|
26
by Stefan Fritsch
* New upstream version: |
257 |
cp debian/default-index.html debian/apache2.2-common/usr/share/apache2/default-site/index.html |
|
12
by Andreas Barth
* Non-maintainer upload. |
258 |
|
|
14.3.2
by Stefan Fritsch
* New upstream release: |
259 |
for i in worker prefork event itk; do \ |
|
46
by Andrew Mitchell
* Merge from debian unstable, remaining changes: |
260 |
install -m 755 $(BUILD)/$$i/apache2 debian/apache2.2-bin/usr/lib/apache2/mpm-$$i/apache2 ;\ |
|
12
by Andreas Barth
* Non-maintainer upload. |
261 |
done
|
262 |
||
263 |
for pkg in `awk '/^Package:/ { print $$2 }' debian/control`; do \ |
|
264 |
find debian/$$pkg/ -name .svn -exec rm -rf {} + ; \ |
|
265 |
done
|
|
266 |
||
|
14.3.4
by Stefan Fritsch
* mod_proxy_ftp security fixes (closes: #545951): |
267 |
dh_installdocs debian/README.backtrace -papache2.2-common -papache2.2-bin |
268 |
dh_installdocs debian/README.backtrace -Napache2.2-common -Napache2.2-bin |
|
|
16
by Stefan Fritsch, Stefan Fritsch, Peter Samuelson
[ Stefan Fritsch ] |
269 |
cp debian/README.Debian debian/apache2-doc/usr/share/doc/apache2-doc/ |
|
14.3.4
by Stefan Fritsch
* mod_proxy_ftp security fixes (closes: #545951): |
270 |
dh_installman
|
|
14.3.9
by Stefan Fritsch
* Security: Further mitigation for the TLS renegotation attack |
271 |
dh_bugfiles
|
|
14.3.4
by Stefan Fritsch
* mod_proxy_ftp security fixes (closes: #545951): |
272 |
dh_installinit --no-start -r --name=apache2 -- defaults 91 09 |
273 |
dh_installcron --name=apache2 |
|
274 |
dh_installchangelogs CHANGES -Napache2-suexec -Napache2-suexec-custom -Napache2 |
|
275 |
dh_installchangelogs -papache2-suexec -papache2-suexec-custom -papache2 |
|
276 |
dh_lintian
|
|
277 |
rm -f debian/apache2.2-bin/usr/share/doc/apache2.2-bin/NEWS.Debian |
|
278 |
rm -f debian/apache2-utils/usr/share/doc/apache2-utils/NEWS.Debian |
|
|
14.3.9
by Stefan Fritsch
* Security: Further mitigation for the TLS renegotation attack |
279 |
|
280 |
dh_strip --dbg-package=apache2-dbg -Napache2-dbg -Xusr/lib/apache2/mpm |
|
281 |
if [ "$(LSB_RELEASE)" != "Ubuntu" ] && [ -n "$(DEB_BUILD_STRIP)" ] ; then \ |
|
282 |
for i in worker prefork event itk; do \ |
|
283 |
MPM=usr/lib/apache2/mpm-$$i/apache2 ;\ |
|
284 |
objcopy --only-keep-debug $(BUILD)/$$i/apache2 debian/apache2-dbg/usr/lib/debug/$$MPM-mpm-$$i ;\ |
|
285 |
chmod 644 debian/apache2-dbg/usr/lib/debug/$$MPM-mpm-$$i ;\ |
|
286 |
strip --remove-section=.comment --remove-section=.note --strip-unneeded debian/apache2.2-bin/$$MPM ;\ |
|
287 |
objcopy --add-gnu-debuglink=debian/apache2-dbg/usr/lib/debug/$$MPM-mpm-$$i debian/apache2.2-bin/$$MPM ;\ |
|
288 |
done ;\ |
|
289 |
fi
|
|
290 |
||
|
14.3.2
by Stefan Fritsch
* New upstream release: |
291 |
cp debian/mpm-itk/README debian/apache2.2-common/usr/share/doc/apache2.2-common/README.mpm-itk |
292 |
cp debian/mpm-itk/CHANGES debian/apache2.2-common/usr/share/doc/apache2.2-common/changelog.mpm-itk |
|
293 |
cp debian/mpm-itk/debian/changelog debian/apache2.2-common/usr/share/doc/apache2.2-common/changelog.mpm-itk.Debian |
|
|
14.3.4
by Stefan Fritsch
* mod_proxy_ftp security fixes (closes: #545951): |
294 |
for p in apache2-prefork-dev apache2-threaded-dev apache2-mpm-prefork apache2-mpm-event \ |
295 |
apache2-mpm-worker apache2-mpm-itk apache2; \ |
|
296 |
do \
|
|
|
46
by Andrew Mitchell
* Merge from debian unstable, remaining changes: |
297 |
rm -rf debian/$$p/usr/share/doc/$$p ;\ |
298 |
ln -s apache2.2-common debian/$$p/usr/share/doc/$$p ;\ |
|
299 |
done
|
|
|
14.3.4
by Stefan Fritsch
* mod_proxy_ftp security fixes (closes: #545951): |
300 |
rm -rf debian/apache2-dbg/usr/share/doc/apache2-dbg |
301 |
ln -s apache2.2-bin debian/apache2-dbg/usr/share/doc/apache2-dbg |
|
302 |
dh_link
|
|
303 |
dh_compress
|
|
304 |
dh_fixperms -Xsuexec |
|
305 |
chown -R www-data:www-data debian/apache2.2-common/var/cache/apache2 |
|
306 |
chown root:adm debian/apache2.2-common/var/log/apache2 |
|
307 |
chmod o-rx debian/apache2.2-common/var/log/apache2 |
|
308 |
||
309 |
touch $@ |
|
310 |
||
311 |
binary-indep: install |
|
|
2
by Thom May
Security Release. Patch from upstream for the following: |
312 |
dh_installdeb -i |
313 |
dh_gencontrol -i |
|
314 |
dh_md5sums -i |
|
315 |
dh_builddeb -i |
|
316 |
||
|
12
by Andreas Barth
* Non-maintainer upload. |
317 |
binary-arch: install |
|
2
by Thom May
Security Release. Patch from upstream for the following: |
318 |
dh_makeshlibs -a -V |
319 |
dh_installdeb -a |
|
|
12
by Andreas Barth
* Non-maintainer upload. |
320 |
dh_shlibdeps -a |
|
2
by Thom May
Security Release. Patch from upstream for the following: |
321 |
dh_gencontrol -a |
322 |
dh_md5sums -a |
|
|
20
by Stefan Fritsch, Stefan Fritsch, Adam Conrad
[ Stefan Fritsch ] |
323 |
if [ "$(LSB_RELEASE)" = "Ubuntu" ]; then \ |
|
18
by Martin Pitt
debian/rules: Do not do the black magic for producing the -dbg package on |
324 |
rm -rf debian/apache2-dbg; \ |
|
19
by Martin Pitt
debian/rules: Also remove apache2-dbg from debian/files on Ubuntu, so that |
325 |
sed -i '/apache2-dbg/d' debian/files; \ |
|
18
by Martin Pitt
debian/rules: Do not do the black magic for producing the -dbg package on |
326 |
dh_builddeb -a -Napache2-dbg; \ |
327 |
else \
|
|
328 |
dh_builddeb -a; \ |
|
329 |
fi
|
|
|
2
by Thom May
Security Release. Patch from upstream for the following: |
330 |
|
|
12
by Andreas Barth
* Non-maintainer upload. |
331 |
binary: binary-arch binary-indep |