summaryrefslogtreecommitdiff
path: root/debian/a2enmod
AgeCommit message (Collapse)AuthorFilesLines
2016-12-05Merge branch 'master' of git://anonscm.debian.org/pkg-apache/apache2Igor Pashev1-22/+101
2016-09-21Update apache-htcacheclean.init to have sensible Default-Start valuesRaphaël Hertzog1-3/+1
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.
2016-09-20a2enmod: implement systemd supportRaphaël Hertzog1-11/+30
Use systemctl when systemd is in use and make it aware of the apache-htcacheclean@instance.service generic service for multi-instance support.
2016-05-28Fix a2enmod to run on perl 5.14 to simplify backportsStefan Fritsch1-2/+2
2016-03-28rework htcacheclean integrationStefan Fritsch1-7/+51
* split into separate init script * activate/deactivate with a2enmod/a2dismo cache_disk * don't run as root * add test
2016-03-26styleStefan Fritsch1-1/+2
2016-03-26style tweaksStefan Fritsch1-9/+11
no logic change
2016-03-26Don't treat mod_access_compat as essentialStefan Fritsch1-1/+1
2015-10-24Don't treat mpm_itk as MPM module in a2enmodStefan Fritsch1-1/+1
2015-06-08a2dismod: Do not translate cgi into cgidJean-Michel Vourgère1-1/+1
When both module are enabled, it was impossible to disable cgi.
2014-07-13Warn when disabling essential modules, similar to apt when removing ↵Arno Töll1-0/+20
essential packages
2014-06-08Remove obsolete warning in a2enmod about mpm-itkStefan Fritsch1-5/+0
2014-06-01Merge branch 'master' of git://anonscm.debian.org/pkg-apache/apache2Igor Pashev1-0/+2
Conflicts: debian/changelog
2013-12-28apache2 (2.4.6-4+dyson4) unstable; urgency=lowdyson/2.4.6-4+dyson4Igor Pashev1-1/+1
* Fixed a typo in debian/a2enmod: "svcadm $reload apache2" (right) instead of "svcadm apache2 $reload" (wrong)
2013-12-22apache2 (2.4.6-4+dyson3) unstable; urgency=lowdyson/2.4.6-4+dyson3Igor Pashev1-0/+1
* Renamed SMF service to application/web/apache2 * chomp $status after my $status = `$svcstatus apache2` in d/a2enmod
2013-11-30Updated debian/a2enmod for SMFIgor Pashev1-6/+23
2013-11-02Don't leave with RC=1 when purging a conf which does not exist anymoreArno Töll1-0/+2
2013-06-07Strip file extension from arguments to a2enmodArno Töll1-0/+1
2013-05-20Restart the web-server during upgradesArno Töll1-0/+5
2013-05-20Hook dh_apache2 into postrm and premArno Töll1-0/+3
Purge state in postrm only Let a2enmod purge state when calling -p for disabled modules
2012-04-26* Add a -p|--purge option to a2enmod which purges the internal state data baseArno Töll1-5/+9
* 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öll1-3/+2
* add modelines to all files * ensure a consistent indendation * reformat configuration files
2012-04-15Make a2enmod print a warning when enabling MPM-ITKStefan Fritsch1-0/+5
2012-04-15Run a2enmod through "perltidy -pbp"Stefan Fritsch1-102/+129
While the result is not perfect in any way, it's a lot better than the current mixture of different indentations. And it's reproducible.
2012-04-09* Enable stateful configuration handlingArno Töll1-75/+76
* 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-09* Added module/configuration/site on|off "memory"Filip M. Nowak1-30/+70
2012-04-01Improve dependency handling in a2enmodStefan Fritsch1-14/+67
- implement warning if (module) dependencies are not enabled for .conf files - implement loading of the Depends/Conflicts line as separate function. Be more strict about the syntax: * line must start with "# Depends:" * line must come before any non-empty non-comment lines
2012-03-29Remove filename filteringStefan Fritsch1-4/+0
The corresponding patch has been removed from apache, too
2012-03-17die on unparsable output from apache2ctl -VStefan Fritsch1-1/+1
2012-03-17guess MPM from .load file if config is brokenStefan Fritsch1-0/+17
2012-02-25Require a .conf suffix for site configurationArno Töll1-8/+2
* 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
2012-02-16* move files from conf.d to conf-availableArno Töll1-1/+7
* support conf-available in a2enmod * write manpages for a2enconf and a2disconf * Rewrite maintainer scripts to do a proper transition of configuration files moved from one location to another. This holds true for: + debian/config-dir/conf.d/charset + debian/config-dir/conf.d/localized-error-pages + debian/config-dir/conf.d/other-vhosts-access-log + debian/config-dir/conf.d/security * enable these configuration files in postinst * update debian/changelog
2012-02-16* Fix a bug with the dangling symlink handling in a2enmod. Dangling *.conf linksArno Töll1-0/+9
were kept intact for modules which were shipping both, a *.load file and a *.conf file * Provide compatibility links in apache2-dev * Remove debian/apache2.maintscript, instead do the joub ourselves. That's painful but there is no alternative left, as dpkg-maintainer-script can't cope with our craziness not only to shift conffiles from one package to another, but also collapsing upgrades from apache2.2-common only and upgrades from a full apache2 package into a single package * Update maintainer scripts to deal with the situation * Update d/changelog * Update debian/gbp.conf to work around debuilder insanities
2012-01-30* Implement Conflicts header for module configuration filesArno Töll1-0/+29
* Move MPM configuration from apache2.conf to their respective *.conf files * Provide MPM load/conf files * Load worker WPM by default
2012-01-27* Denote (some of the) bugs fixed in 2.4 in debian/changelogArno Töll1-1/+1
* Re-enable some modules again, for each update configuration where required * Add dependency lines to non-essential modules, make use of it * Tighten the list of postinst auto-enabled modules in favor of module dependencies
2012-01-27* Don't install /var/lock/apache2 - let the start script deal with itArno Töll1-1/+1
* The syntax check is much more aggressive now, thus make sure files and directories exist before running any apache2ctl command. * Update package descriptions
2012-01-02Improve reload message of a2enmod. Closes: #639291Stefan Fritsch1-1/+1
git-svn-id: svn+ssh://svn.debian.org/svn/pkg-apache/trunk/apache2@1339 01b336ce-410b-0410-9a02-a0e7f243c266
2012-01-02Make a2enmod's restart hint more cut'n'paste friendly. LP: #770204Stefan Fritsch1-1/+1
git-svn-id: svn+ssh://svn.debian.org/svn/pkg-apache/trunk/apache2@1306 01b336ce-410b-0410-9a02-a0e7f243c266
2012-01-02Make a2ensite and friends ignore the same filenames as apache does forStefan Fritsch1-1/+2
included config files. git-svn-id: svn+ssh://svn.debian.org/svn/pkg-apache/trunk/apache2@996 01b336ce-410b-0410-9a02-a0e7f243c266
2012-01-02improve ssl hint in a2enmod and fix syntax errorStefan Fritsch1-5/+5
git-svn-id: svn+ssh://svn.debian.org/svn/pkg-apache/trunk/apache2@750 01b336ce-410b-0410-9a02-a0e7f243c266
2012-01-02add documentation for SSL and make a2enmod point to README.DebianStefan Fritsch1-0/+5
git-svn-id: svn+ssh://svn.debian.org/svn/pkg-apache/trunk/apache2@732 01b336ce-410b-0410-9a02-a0e7f243c266
2012-01-02allow a2dis* to remove dead symlinksStefan Fritsch1-0/+11
git-svn-id: svn+ssh://svn.debian.org/svn/pkg-apache/trunk/apache2@678 01b336ce-410b-0410-9a02-a0e7f243c266
2012-01-02complete rewrite of a2{en,dis}{mod,site}Stefan Fritsch1-0/+324
git-svn-id: svn+ssh://svn.debian.org/svn/pkg-apache/trunk/apache2@630 01b336ce-410b-0410-9a02-a0e7f243c266