@@ -1,6 +1,6 @@
--- httpd-2.2.16/support/apxs.in.orig 2010-05-10 22:02:56.000000000 +0200
-+++ httpd-2.2.16/support/apxs.in 2010-10-08 11:14:52.653230658 +0200
-@@ -526,96 +526,13 @@
++++ httpd-2.2.16/support/apxs.in 2010-10-08 11:40:09.230509037 +0200
+@@ -526,108 +526,14 @@
# activate module via LoadModule/AddModule directive
if ($opt_a or $opt_A) {
@@ -97,5 +97,17 @@
+ print "activating " . $name . "\n";
+ system("a2enmod " . $name);
}
- if (@lmd) {
- if (open(FP, ">$CFG_SYSCONFDIR/$CFG_TARGET.conf.new")) {
+- if (@lmd) {
+- if (open(FP, ">$CFG_SYSCONFDIR/$CFG_TARGET.conf.new")) {
+- print FP $content;
+- close(FP);
+- system("cp $CFG_SYSCONFDIR/$CFG_TARGET.conf $CFG_SYSCONFDIR/$CFG_TARGET.conf.bak && " .
+- "cp $CFG_SYSCONFDIR/$CFG_TARGET.conf.new $CFG_SYSCONFDIR/$CFG_TARGET.conf && " .
+- "rm $CFG_SYSCONFDIR/$CFG_TARGET.conf.new");
+- } else {
+- notice("unable to open configuration file");
+- }
+- }
+ }
+ }
+
|