| Age | Commit message (Collapse) | Author | Files | Lines |
|
With the old value, "systemctl enable apache-htcacheclean" would fail
like this:
Synchronizing state of apache-htcacheclean.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable apache-htcacheclean
update-rc.d: error: apache-htcacheclean Default-Start contains no runlevels, aborting.
So we add meta-data to make the script enabled by default but we actually disable
it immediately in the postinst. And we can clean up some hacks that we introduced
to cover for the Default-Start value being empty.
|
|
Some conffile may have got the wrong content during upgrade from
wheezy to early jessie versions. In order to fix this without dpkg
prompting the user, we need to replace those conffiles during preinst.
Unfortunately, in preinst the package is not yet unpacked so we cannot
access any of its files. Therefore, the correct conffile content is
embedded in a base64 encoded tarball in the preinst script.
|
|
The 'return 1' could never trigger because cut always returns 0.
|
|
Revert fix for now. Will upload 2.4.23 first and then include the fix in
a later upload when it got more testing.
This reverts commit be57de2935c807f7fef290d96ce699fc160f0036.
|
|
Some conffile may have got the wrong content during upgrade from
wheezy to early jessie versions. In order to fix this without dpkg
prompting the user, we need to replace those conffiles during preinst.
Unfortunately, in preinst the package is not yet unpacked so we cannot
access any of its files. Therefore, the correct conffile content is
embedded in a base64 encoded tarball in the preinst script.
|
|
While there, add some rel="nofollow" to other links. Also update
problematic index.html files in postinst.
|
|
* split into separate init script
* activate/deactivate with a2enmod/a2dismo cache_disk
* don't run as root
* add test
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
If apache2 is not yet configured, the configuration files for modules
etc. are not yet installed. Defer all actions by
apache2-maintscript-helper in this case and execute them in
apache2.postinst.
|
|
|
|
Fix logic in postinst to detect existing index.* files in both
DocumentRoots, the old /var/www and the new /var/www/html.
Also change the compiled in default DocumentRoot to /var/www/html.
|
|
|
|
|
|
|
|
|
|
the upgrade
|
|
|
|
|
|
|
|
|
|
It can happen that it is not pulled in by any of the enabled modules,
but we need it in any case for apache2.conf. Closes: #669876
|
|
The build process can probably be made more elegant, but for now it
seems to work
|
|
* Remove comments from apache2.conf, we're done with it
* Synchronize comments in 000-default.conf and default-ssl.conf
* Provide httpd and httpd-cgi virtual packages again
|
|
* Comment out per-vhost loglevel.
* Update comments and re-arrange directives in in vhost configs.
|
|
* Add -m flag to a2enmod to enable that mode
* Update apache2-maintscript-helper to make use of that mode
* Document the -m flag in manpages
* Remove /var/lib/apache2 on purge
* Fix matching issues in apache2-maintscript-helper. Make sure it only matches
exact patterns.
|
|
|
|
ugly warnings for fresh installations
|
|
|
|
Without access_compat, nearly no legacy .htaccess file will work.
Also enable new dependencies for already enabled modules
|
|
Otherwise it would cause havoc on purge
|
|
|
|
|
|
|
|
|
|
better be safe than sorry
|
|
This version came with some 2.0.x package
|
|
* Add transitional packages for MPMs (except itk which breaks upgrades for users
which did not have apache2 installed. On purpose?
* Fix an evil bug in postinst [ -n $foo ] != [ -n "$foo" ]
* Guess whether to enable mod_access_compat
|
|
* Install docs through dh_installdocs
* Install changelogs in packages which can be installed autonomously from each
other only
* Install README.Debian and NEWS file in apache2 package only
* Add an apache2-suexec transitional package, make dependencies appropriate in a
way the apache2-suexec package is virtual, too
* Add a mod_cache_disk note in postinst to be addressed later
|
|
* re-enable the complicated index.html install logic from the 2.2 package
* drop Ubuntu specific patches, we expect them to carry them themselves their
package divergese already anyway.
* Drop ac_cv_prog_LYNX_PATH=www-browser. We ship both, our own envvars and our
own apachectl. Thus it is effectively a no-op for a long time already.
* Run enable_default_modules and enable_default_conf and enable_default_mpm in
postinst only on new installation, being it 2.2 or 2.4
* touch have other_vhosts_access.log in postinst, too
* Drop emptry directories in apache2-dev and apache2-doc
* Install examples in the apache2-doc package
|
|
* Implement some purge logic in postrm
* Write a NEWS entry
* Implement a trap door function in postrm
* Move mod_disk_cache -> mod_cache_disk
|
|
* Create the index.html directory in apache2-data where the file is actually
installed (but keep the postinst handler to activate it in apache2.postinst.
Find out whether I am totally insane now)
* Rework package descriptions and synopsis lines
* Make the init script Lintian happy
* Write a Lintian override for our unusual permissions
|
|
|
|
* Give files in sites-available a .conf suffix
* Handle conffile move properly
* Fix some bugs in the conffile movement
* Teach a2enmod how to enable files in sites-available with .conf suffix
* Update apache2.conf to include such files only, give a short summary how to
configure apache
* Simplify conffile migration handling
|