diff options
| -rw-r--r-- | debian/apache2-common.dirs (renamed from debian/httpd2.1-common.dirs) | 0 | ||||
| -rw-r--r-- | debian/apache2-common.init.d (renamed from debian/httpd2.1-common.init.d) | 0 | ||||
| -rw-r--r-- | debian/apache2-common.postinst (renamed from debian/httpd2.1-common.postinst) | 0 | ||||
| -rw-r--r-- | debian/apache2-mpm-event.dirs (renamed from debian/httpd2.1-mpm-event.dirs) | 0 | ||||
| -rw-r--r-- | debian/apache2-mpm-event.postinst (renamed from debian/httpd2.1-mpm-event.postinst) | 0 | ||||
| -rw-r--r-- | debian/apache2-mpm-event.preinst (renamed from debian/httpd2.1-mpm-event.preinst) | 0 | ||||
| -rw-r--r-- | debian/apache2-mpm-event.prerm (renamed from debian/httpd2.1-mpm-event.prerm) | 0 | ||||
| -rw-r--r-- | debian/apache2-mpm-prefork.dirs (renamed from debian/httpd2.1-mpm-prefork.dirs) | 0 | ||||
| -rw-r--r-- | debian/apache2-mpm-prefork.postinst (renamed from debian/httpd2.1-mpm-prefork.postinst) | 0 | ||||
| -rw-r--r-- | debian/apache2-mpm-prefork.preinst (renamed from debian/httpd2.1-mpm-prefork.preinst) | 0 | ||||
| -rw-r--r-- | debian/apache2-mpm-prefork.prerm (renamed from debian/httpd2.1-mpm-prefork.prerm) | 0 | ||||
| -rw-r--r-- | debian/apache2-mpm-worker.dirs (renamed from debian/httpd2.1-mpm-worker.dirs) | 0 | ||||
| -rw-r--r-- | debian/apache2-mpm-worker.postinst (renamed from debian/httpd2.1-mpm-worker.postinst) | 0 | ||||
| -rw-r--r-- | debian/apache2-mpm-worker.preinst (renamed from debian/httpd2.1-mpm-worker.preinst) | 0 | ||||
| -rw-r--r-- | debian/apache2-mpm-worker.prerm (renamed from debian/httpd2.1-mpm-worker.prerm) | 0 | ||||
| -rw-r--r-- | debian/apache2-utils.dirs (renamed from debian/httpd2.1-utils.dirs) | 0 | ||||
| -rw-r--r-- | debian/apache2-utils.install (renamed from debian/httpd2.1-utils.install) | 0 | ||||
| -rw-r--r-- | debian/apache2.conf (renamed from debian/httpd2.1.conf) | 0 | ||||
| -rw-r--r-- | debian/control | 24 | ||||
| -rwxr-xr-x | debian/rules | 90 |
20 files changed, 57 insertions, 57 deletions
diff --git a/debian/httpd2.1-common.dirs b/debian/apache2-common.dirs index 1369276a..1369276a 100644 --- a/debian/httpd2.1-common.dirs +++ b/debian/apache2-common.dirs diff --git a/debian/httpd2.1-common.init.d b/debian/apache2-common.init.d index c96999dd..c96999dd 100644 --- a/debian/httpd2.1-common.init.d +++ b/debian/apache2-common.init.d diff --git a/debian/httpd2.1-common.postinst b/debian/apache2-common.postinst index 4646ff50..4646ff50 100644 --- a/debian/httpd2.1-common.postinst +++ b/debian/apache2-common.postinst diff --git a/debian/httpd2.1-mpm-event.dirs b/debian/apache2-mpm-event.dirs index 236670a2..236670a2 100644 --- a/debian/httpd2.1-mpm-event.dirs +++ b/debian/apache2-mpm-event.dirs diff --git a/debian/httpd2.1-mpm-event.postinst b/debian/apache2-mpm-event.postinst index 23b74d14..23b74d14 100644 --- a/debian/httpd2.1-mpm-event.postinst +++ b/debian/apache2-mpm-event.postinst diff --git a/debian/httpd2.1-mpm-event.preinst b/debian/apache2-mpm-event.preinst index 5ff88393..5ff88393 100644 --- a/debian/httpd2.1-mpm-event.preinst +++ b/debian/apache2-mpm-event.preinst diff --git a/debian/httpd2.1-mpm-event.prerm b/debian/apache2-mpm-event.prerm index 2070f911..2070f911 100644 --- a/debian/httpd2.1-mpm-event.prerm +++ b/debian/apache2-mpm-event.prerm diff --git a/debian/httpd2.1-mpm-prefork.dirs b/debian/apache2-mpm-prefork.dirs index 236670a2..236670a2 100644 --- a/debian/httpd2.1-mpm-prefork.dirs +++ b/debian/apache2-mpm-prefork.dirs diff --git a/debian/httpd2.1-mpm-prefork.postinst b/debian/apache2-mpm-prefork.postinst index 42fd2f29..42fd2f29 100644 --- a/debian/httpd2.1-mpm-prefork.postinst +++ b/debian/apache2-mpm-prefork.postinst diff --git a/debian/httpd2.1-mpm-prefork.preinst b/debian/apache2-mpm-prefork.preinst index 0c569e7c..0c569e7c 100644 --- a/debian/httpd2.1-mpm-prefork.preinst +++ b/debian/apache2-mpm-prefork.preinst diff --git a/debian/httpd2.1-mpm-prefork.prerm b/debian/apache2-mpm-prefork.prerm index 2070f911..2070f911 100644 --- a/debian/httpd2.1-mpm-prefork.prerm +++ b/debian/apache2-mpm-prefork.prerm diff --git a/debian/httpd2.1-mpm-worker.dirs b/debian/apache2-mpm-worker.dirs index 236670a2..236670a2 100644 --- a/debian/httpd2.1-mpm-worker.dirs +++ b/debian/apache2-mpm-worker.dirs diff --git a/debian/httpd2.1-mpm-worker.postinst b/debian/apache2-mpm-worker.postinst index 23b74d14..23b74d14 100644 --- a/debian/httpd2.1-mpm-worker.postinst +++ b/debian/apache2-mpm-worker.postinst diff --git a/debian/httpd2.1-mpm-worker.preinst b/debian/apache2-mpm-worker.preinst index 5ff88393..5ff88393 100644 --- a/debian/httpd2.1-mpm-worker.preinst +++ b/debian/apache2-mpm-worker.preinst diff --git a/debian/httpd2.1-mpm-worker.prerm b/debian/apache2-mpm-worker.prerm index 2070f911..2070f911 100644 --- a/debian/httpd2.1-mpm-worker.prerm +++ b/debian/apache2-mpm-worker.prerm diff --git a/debian/httpd2.1-utils.dirs b/debian/apache2-utils.dirs index 0fd3ae6b..0fd3ae6b 100644 --- a/debian/httpd2.1-utils.dirs +++ b/debian/apache2-utils.dirs diff --git a/debian/httpd2.1-utils.install b/debian/apache2-utils.install index 471b2ca7..471b2ca7 100644 --- a/debian/httpd2.1-utils.install +++ b/debian/apache2-utils.install diff --git a/debian/httpd2.1.conf b/debian/apache2.conf index dc57d36c..dc57d36c 100644 --- a/debian/httpd2.1.conf +++ b/debian/apache2.conf diff --git a/debian/control b/debian/control index 4ac76bd3..152107a9 100644 --- a/debian/control +++ b/debian/control @@ -1,4 +1,4 @@ -Source: httpd2.1 +Source: apache2 Section: web Priority: optional Maintainer: Thom May <thom@debian.org> @@ -6,15 +6,15 @@ Build-Depends: debhelper (>=4.1.16), libapr1.0-dev, libaprutil1.0-dev, libssl-de Build-Conflicts: libgdbm-dev Standards-Version: 3.6.1.0 -Package: httpd2.1-common +Package: apache2-common Architecture: any -Depends: ${misc:Depends}, httpd2.1-utils|apache2-utils +Depends: ${misc:Depends}, apache2-utils Description: Next generation, scalable, extendable web server Foo. -Package: httpd2.1-mpm-worker +Package: apache2-mpm-worker Architecture: any -Depends: ${shlibs:Depends}, httpd2.1-common (= ${Source-Version}) +Depends: ${shlibs:Depends}, apache2-common (= ${Source-Version}) Provides: apache2-modules, apache2, httpd, httpd-cgi, apache2-mpm-worker Conflicts: apache2-mpm-threadpool, apache2-mpm-prefork, apache2-mpm-perchild Description: High speed threaded model for Apache HTTPD 2.1 @@ -24,9 +24,9 @@ Description: High speed threaded model for Apache HTTPD 2.1 Worker generally is a good choice for high-traffic servers because it has a smaller memory footprint than the prefork MPM. -Package: httpd2.1-mpm-prefork +Package: apache2-mpm-prefork Architecture: any -Depends: ${shlibs:Depends}, httpd2.1-common (= ${Source-Version}) +Depends: ${shlibs:Depends}, apache2-common (= ${Source-Version}) Provides: apache2-modules, apache2, httpd, httpd-cgi, apache2-mpm-prefork Conflicts: apache2-mpm-worker, apache2-mpm-threadpool, apache2-mpm-perchild Description: Traditional model for Apache HTTPD 2.1 @@ -39,14 +39,14 @@ Description: Traditional model for Apache HTTPD 2.1 . It is not as fast, but is considered to be more stable. -Package: httpd2.1-mpm-event +Package: apache2-mpm-event Architecture: any -Depends: ${shlibs:Depends}, httpd2.1-common (= ${Source-Version}) +Depends: ${shlibs:Depends}, apache2-common (= ${Source-Version}) Provides: apache2-modules, apache2, httpd, httpd-cgi Conflicts: apache2-mpm-worker, apache2-mpm-threadpool, apache2-mpm-perchild Description: Event driven model for Apache HTTPD 2.1 -Package: httpd2.1-utils +Package: apache2-utils Architecture: any Replaces: apache2-common (<< 2.0.53), apache-utils (<< 1.3.33-4) Provides: apache-utils, apache2-utils @@ -65,9 +65,9 @@ Description: utility programs for webservers - checkgid (Checks whether the caller can setgid to the specified group) - check_forensic (Extract mod_log_forensic output from apache log files) -Package: httpd2.1 +Package: apache2 Architecture: all -Depends: httpd2.1-mpm-worker|httpd2.1-mpm-prefork +Depends: apache2-mpm-worker|apache2-mpm-prefork Section: web Description: Next generation, scalable, extendable web server Apache v2 is the next generation of the omnipresent Apache web server. This diff --git a/debian/rules b/debian/rules index 0c95323a..4a383e2c 100755 --- a/debian/rules +++ b/debian/rules @@ -19,14 +19,14 @@ DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) CONFFLAGS += ac_cv_prog_AWK=mawk AP2_COMMON_CONFARGS = --enable-layout=Debian --enable-so \ - --with-program-name=httpd2.1 \ + --with-program-name=apache2 \ --with-ldap=yes --with-ldap-include=/usr/include \ --with-ldap-lib=/usr/lib \ --with-suexec-caller=www-data \ - --with-suexec-bin=/usr/lib/httpd2.1/suexec \ + --with-suexec-bin=/usr/lib/apache2/suexec \ --with-suexec-docroot=/var/www \ --with-suexec-userdir=public_html \ - --with-suexec-logfile=/var/log/httpd2.1/suexec.log \ + --with-suexec-logfile=/var/log/apache2/suexec.log \ --enable-mods-shared=all --enable-modules=all \ --enable-suexec=shared --enable-authn-alias=shared \ --enable-authnz-ldap=shared \ @@ -80,62 +80,62 @@ install-worker: dh_testroot dh_installdirs cd $(BUILD)/worker ;\ - $(MAKE) DESTDIR=$(REALCURDIR)/debian/httpd2.1-common install - rm -fr $(REALCURDIR)/debian/httpd2.1-common/usr/sbin/httpd2.1 - $(LIBTOOL) --mode=install $(INSTALL) $(BUILD)/worker/httpd2.1 $(REALCURDIR)/debian/httpd2.1-mpm-worker/usr/sbin/ + $(MAKE) DESTDIR=$(REALCURDIR)/debian/apache2-common install + rm -fr $(REALCURDIR)/debian/apache2-common/usr/sbin/apache2 + $(LIBTOOL) --mode=install $(INSTALL) $(BUILD)/worker/apache2 $(REALCURDIR)/debian/apache2-mpm-worker/usr/sbin/ cd $(REALCURDIR) install-%: dh_testdir dh_testroot dh_installdirs - $(LIBTOOL) --mode=install $(INSTALL) $(BUILD)/$*/httpd2.1 $(REALCURDIR)/debian/httpd2.1-mpm-$*/usr/sbin/ + $(LIBTOOL) --mode=install $(INSTALL) $(BUILD)/$*/apache2 $(REALCURDIR)/debian/apache2-mpm-$*/usr/sbin/ install: build install-worker install-prefork install-event dh_testroot dh_testdir - dh_install -a --sourcedir=$(REALCURDIR)/debian/httpd2.1-common + dh_install -a --sourcedir=$(REALCURDIR)/debian/apache2-common -#httpd2.1-utils extras - cp support/check_forensic debian/httpd2.1-utils/usr/sbin/check_forensic - cp debian/check_forensic.8 debian/httpd2.1-utils/usr/share/man/man8/check_forensic.8 - cp debian/checkgid.8 debian/httpd2.1-utils/usr/share/man/man8/checkgid.8 - cp $(BUILD)/worker/support/split-logfile debian/httpd2.1-utils/usr/sbin/split-logfile - chmod 755 debian/httpd2.1-utils/usr/sbin/split-logfile - - #grotesque hack to get rid of stuff from httpd2.1-common - find debian/httpd2.1-utils/usr/ -type f |sed -e 's/utils/common/'|xargs rm -f -#httpd2.1-utils backward compatibility symlinks - ln -s ab debian/httpd2.1-utils/usr/sbin/ab2 - ln -s checkgid debian/httpd2.1-utils/usr/sbin/checkgid2 - ln -s dbmmanage debian/httpd2.1-utils/usr/bin/dbmmanage2 - ln -s htdigest debian/httpd2.1-utils/usr/bin/htdigest2 - ln -s htpasswd debian/httpd2.1-utils/usr/bin/htpasswd2 - ln -s logresolve debian/httpd2.1-utils/usr/sbin/logresolve2 - ln -s rotatelogs debian/httpd2.1-utils/usr/sbin/rotatelogs2 - - mv debian/httpd2.1-common/usr/sbin/envvars debian/httpd2.1-common/etc/httpd2.1/ - mv debian/httpd2.1-common/usr/sbin/envvars-std debian/httpd2.1-common/usr/share/httpd2.1/build/ - mv debian/httpd2.1-common/usr/sbin/suexec debian/httpd2.1-common/usr/lib/httpd2.1/ - rm debian/httpd2.1-common/usr/sbin/* +#apache2-utils extras + cp support/check_forensic debian/apache2-utils/usr/sbin/check_forensic + cp debian/check_forensic.8 debian/apache2-utils/usr/share/man/man8/check_forensic.8 + cp debian/checkgid.8 debian/apache2-utils/usr/share/man/man8/checkgid.8 + cp $(BUILD)/worker/support/split-logfile debian/apache2-utils/usr/sbin/split-logfile + chmod 755 debian/apache2-utils/usr/sbin/split-logfile + + #grotesque hack to get rid of stuff from apache2-common + find debian/apache2-utils/usr/ -type f |sed -e 's/utils/common/'|xargs rm -f +#apache2-utils backward compatibility symlinks + ln -s ab debian/apache2-utils/usr/sbin/ab2 + ln -s checkgid debian/apache2-utils/usr/sbin/checkgid2 + ln -s dbmmanage debian/apache2-utils/usr/bin/dbmmanage2 + ln -s htdigest debian/apache2-utils/usr/bin/htdigest2 + ln -s htpasswd debian/apache2-utils/usr/bin/htpasswd2 + ln -s logresolve debian/apache2-utils/usr/sbin/logresolve2 + ln -s rotatelogs debian/apache2-utils/usr/sbin/rotatelogs2 + + mv debian/apache2-common/usr/sbin/envvars debian/apache2-common/etc/apache2/ + mv debian/apache2-common/usr/sbin/envvars-std debian/apache2-common/usr/share/apache2/build/ + mv debian/apache2-common/usr/sbin/suexec debian/apache2-common/usr/lib/apache2/ + rm debian/apache2-common/usr/sbin/* #reinstall apachectl after we clean up - install -m 755 $(BUILD)/worker/support/apachectl $(REALCURDIR)/debian/httpd2.1-common/usr/sbin/httpd2.1-ctl + install -m 755 $(BUILD)/worker/support/apachectl $(REALCURDIR)/debian/apache2-common/usr/sbin/apache2-ctl - mv debian/httpd2.1-common/etc/httpd2.1 debian/httpd2.1-common/usr/share/httpd2.1/examples - cp -a debian/config-dir debian/httpd2.1-common/etc/httpd2.1 - cp debian/init-script debian/httpd2.1-common.init.d - mkdir -p debian/httpd2.1-common/etc/logrotate.d - cp debian/logrotate debian/httpd2.1-common/etc/logrotate.d/httpd2.1 - chmod 4755 debian/httpd2.1-common/usr/lib/httpd2.1/suexec + mv debian/apache2-common/etc/apache2 debian/apache2-common/usr/share/apache2/examples + cp -a debian/config-dir debian/apache2-common/etc/apache2 + cp debian/init-script debian/apache2-common.init.d + mkdir -p debian/apache2-common/etc/logrotate.d + cp debian/logrotate debian/apache2-common/etc/logrotate.d/apache2 + chmod 4755 debian/apache2-common/usr/lib/apache2/suexec for i in `find debian/a2-scripts -name .svn -prune -o -name .arch-ids -prune -o -type f -print`; \ - do install -m755 $$i debian/httpd2.1-common/usr/sbin; \ + do install -m755 $$i debian/apache2-common/usr/sbin; \ done for i in worker event; do \ - install -m755 debian/mpm-postinst-threaded debian/httpd2.1-mpm-$$i.postinst ;\ - install -m755 debian/mpm-preinst-threaded debian/httpd2.1-mpm-$$i.preinst;\ - install -m755 debian/mpms.prerm debian/httpd2.1-mpm-$$i.prerm ;\ + install -m755 debian/mpm-postinst-threaded debian/apache2-mpm-$$i.postinst ;\ + install -m755 debian/mpm-preinst-threaded debian/apache2-mpm-$$i.preinst;\ + install -m755 debian/mpms.prerm debian/apache2-mpm-$$i.prerm ;\ done - install -m755 debian/mpms.prerm debian/httpd2.1-mpm-prefork.prerm + install -m755 debian/mpms.prerm debian/apache2-mpm-prefork.prerm touch $@ @@ -159,15 +159,15 @@ binary-arch: install dh_installdocs -a dh_installman -a dh_installchangelogs -a - dh_installinit -a -r --init-script=httpd2.1 debian/httpd2.1-common.init.d -- defaults 91 + dh_installinit -a -r --init-script=apache2 debian/apache2-common.init.d -- defaults 91 ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) dh_strip -a endif dh_link -a dh_compress -a dh_fixperms -a -Xsuexec2 - chown -R www-data:www-data debian/httpd2.1-common/var/cache/httpd2.1 - chmod 644 debian/httpd2.1-common/usr/share/man/man8/suexec.8.gz + chown -R www-data:www-data debian/apache2-common/var/cache/apache2 + chmod 644 debian/apache2-common/usr/share/man/man8/suexec.8.gz dh_makeshlibs -a -V dh_installdeb -a dh_shlibdeps -a |
