summaryrefslogtreecommitdiff
path: root/debian/debhelper
AgeCommit message (Collapse)AuthorFilesLines
2016-12-05Merge branch 'master' of git://anonscm.debian.org/pkg-apache/apache2Igor Pashev2-19/+59
2016-08-11dh_ apache2: Be less strict with versioned recommendsStefan Fritsch1-1/+1
It will just make backports harder and there is no reason to recommend the current version. Instead use the last version with significant changes to apache2-maintscript-helper.
2016-08-11apache2_switch_mpm: check if admin has disabled the mpmStefan Fritsch1-7/+17
Don't override the local admin's action if the requested mpm has been disabled by the admin. This may not be perfect, because we don't check if the current mpm has been enabled by the admin. But on the other hand, the admin-installed state is also set for the mpm that has been active during the 2.2 -> 2.4 update. So there may not be an alternative.
2016-08-11Fix info messageStefan Fritsch1-2/+2
rc=32 means local admin made the change
2016-06-04Fix spelling typoJean-Michel Vourgère1-1/+1
2016-05-29dh_apache2: add missing options to the help summaryStefan Fritsch1-0/+1
2016-01-09apache2-maintscript-helper: Add some quotesStefan Fritsch1-7/+7
The ones in [ "$CUR_MPM" != "$MPM" ] are really necessary if a2query fails. Add some more fore safety.
2015-08-07dh_apache2 add a versioned dependency on apache2-binStefan Fritsch1-1/+6
This is not nice, yet. But urgent :-|
2015-06-08Process actions in trigger states. #787103Colin Watson1-1/+1
2015-04-28Fix typo in dh_apache2.in man pageStefan Fritsch1-1/+1
2014-09-28Defer actions by maintscript-helper if apache2 is unconfiguredStefan Fritsch1-2/+18
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.
2014-09-01apache2-maintscript-helper: print config errorsStefan Fritsch1-1/+9
Don't hide apache's error message if the config is broken
2014-06-01Merge branch 'master' of git://anonscm.debian.org/pkg-apache/apache2Igor Pashev1-1/+3
Conflicts: debian/changelog
2013-12-21apache2 (2.4.6-4+dyson2) unstable; urgency=lowdyson/2.4.6-4+dyson2Igor Pashev1-2/+19
* Added support for SMF to apache2-maintscript-helper
2013-11-02Allow 'apache2_invoke disconf' in postinst/preinstArno Töll1-1/+3
2013-07-23Allos apache2-maintscript-helper consumers to use triggers in their ↵debian/2.4.6-2Arno Töll1-1/+1
maintainer script
2013-07-20correctly detect alternative httpds to be supported when using dh_apache2. ↵Arno Töll1-1/+1
We are off by one
2013-07-13Document that the dh_apache2 conditional must be available in postrm, too. ↵Arno Töll1-2/+2
Thanks to cjwatson for spotting this
2013-06-16Allow the use of apache2-maintscript-helper from a sub-function. We relyArno Töll1-3/+26
on dpkg's arguments supplied in $1, $2 etc. This clashes with function arguments supplied to to sh sub-function. Allow manual override in such cases.
2013-06-07Make apache2-maintscript-helper usable in uncommon environmentsArno Töll1-3/+8
2013-06-07Send output of apache2-maintscript-helper to stderr, instead of stdout. ↵Arno Töll1-3/+3
Thanks to Robert Luberda for a patch
2013-06-07Remove the .suffix from maintainer script actions installed by dh_apache2 ↵Arno Töll1-4/+7
when using no *.apache2 file
2013-05-29fix pod error found by lintianStefan Fritsch1-1/+1
2013-05-20Also purge the state when the module was disabled by the site administratorArno Töll1-1/+3
2013-05-20Restart the web-server during upgradesArno Töll1-11/+11
2013-05-20Hook dh_apache2 into postrm and premArno Töll3-7/+33
Purge state in postrm only Let a2enmod purge state when calling -p for disabled modules
2013-05-12Move postrm script to prerm to fix 681546Arno Töll3-5/+5
2013-05-08Add --noenable option to dh_apache (Closes #681544)Arno Töll1-0/+12
2012-07-29Properly implement -p/-N in dh_apache2Arno Töll1-1/+1
2012-07-29APACHE2_NEED_ACTION is not defined for web appsArno Töll1-2/+1
2012-07-29Properly check return code of a2query in apache2_invokeArno Töll1-2/+2
2012-04-30Make dh_apache2 only accept shell function names as conditionalStefan Fritsch1-8/+15
This avoids problems with shell and sed special characters, especially after debhelper reverted the fix for #660794. Also lower the minimum debhelper dependency of dh_apache2 again.
2012-04-27Improve apache2-maintscript-helperArno Töll1-2/+53
* Allow to turn debug info on through envvars * Document global variables
2012-04-27* Implement -r (restart server) switch for dh_apache2Arno Töll4-24/+37
* Add a third (optional) attribute to apache2_invoke * Remove break statements from apache2-maintscript-helper. In a shell case this does not what I think it would.
2012-04-27Even more fixes in apache2-maintscript-helperArno Töll1-43/+41
2012-04-26* Add a -p|--purge option to a2enmod which purges the internal state data baseArno Töll2-9/+31
* Make use of --purge in apache2-maintscript-helper * Guess upgrades from a pre-maintscript version in apache2-maintscript-helper * Document -p switch in man pages
2012-04-20Stop the mixed indentation mess:Arno Töll2-0/+4
* add modelines to all files * ensure a consistent indendation * reformat configuration files
2012-04-09* Enable stateful configuration handlingArno Töll1-7/+7
* 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.
2012-04-02Fix #666875 - change directory permissions to 755 by default. Thanks Axel ↵Arno Töll1-1/+2
Beckert for the hint
2012-03-31apache2_invoke fixesStefan Fritsch1-6/+22
- When activating modules, do a restart, not a reload. Quite a few modules don't initialize correctly if activated with a reload. - Force disabling of modules when we deinstall the package - Don't hide a2dis* error messages
2012-03-31this is more readable if we use a caseStefan Fritsch1-19/+18
2012-03-31be compatible with set -uStefan Fritsch1-1/+1
2012-03-31replace some use of sed with shell constructsStefan Fritsch1-5/+4
2012-03-28* Break gnome-user-share in the transitional packageArno Töll1-53/+57
* Simplify APIs in apache2-maintscript-helper, rework apache2_invoke and apache2_switch_mpm again
2012-03-26* accept a single configuration in apache2_invoke only (BREAKS APIS)Arno Töll4-36/+32
* Fix a double escape bug in the sed wrapper for dh_apache2 * Update dh_apache2 to work with the new apache2_invoke calling conventions
2012-03-25apache2-maintscript-helper: Add apache2_msg call, switch back to true inArno Töll2-17/+53
dh_apache2 as the default conditional.
2012-03-25Disable set -x again, update changelogArno Töll1-1/+2
2012-03-25* Add some upgrade functions to apache2-maintscript-helperArno Töll3-25/+134
* Provide maintainer script details in variables to functions * Invoke the maintscript-helper for "remove" invokations in postrm, too. * Fix dh_apache2 - the last last minute fix broke postrm scripts, they accidentally had enmod instead of dismod as action
2012-03-25* Enable mod_version staticallyArno Töll1-0/+35
* Incorporate some packaging hints from our discussion yesterday to PACKAGING * Document TODOs in apache2-maintscript-helper
2012-03-20Make autoscripts only run on upgrades by default.Stefan Fritsch1-4/+18
Also: Bump debhelper dependency of apache2-dev. Escape slashes in conditionals.