aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2005-02-09 14:16:21 +0800
committerdinoex <dinoex@FreeBSD.org>2005-02-09 14:16:21 +0800
commit05e85b25b757498e3e926e60d4a6a1fda33deb92 (patch)
treee42bbd72301757131c51769754e296c1a723fcc3 /www
parent3fb890e8575fbf6ef211e57f6fd4638a455cf03c (diff)
downloadfreebsd-ports-gnome-05e85b25b757498e3e926e60d4a6a1fda33deb92.tar.gz
freebsd-ports-gnome-05e85b25b757498e3e926e60d4a6a1fda33deb92.tar.zst
freebsd-ports-gnome-05e85b25b757498e3e926e60d4a6a1fda33deb92.zip
- don't create a backup of httpd.conf
- de-ugly-ing filename Obtained from: ports/www/apache13-modperl/files/patch-src:support:apxs.pl
Diffstat (limited to 'www')
-rw-r--r--www/apache13-modssl/files/patch-apxs.pl15
1 files changed, 15 insertions, 0 deletions
diff --git a/www/apache13-modssl/files/patch-apxs.pl b/www/apache13-modssl/files/patch-apxs.pl
new file mode 100644
index 000000000000..9c1596e0cb70
--- /dev/null
+++ b/www/apache13-modssl/files/patch-apxs.pl
@@ -0,0 +1,15 @@
+--- src/support/apxs.pl.orig Mon Nov 29 21:05:12 2004
++++ src/support/apxs.pl Mon Nov 29 21:05:56 2004
+@@ -604,12 +604,10 @@
+ print FP $content;
+ close(FP);
+ if ($^O ne "MSWin32") {
+- push(@cmds, "cp $cfgbase.conf $cfgbase.conf.bak");
+ push(@cmds, "cp $cfgbase.conf.new $cfgbase.conf");
+ push(@cmds, "rm $cfgbase.conf.new");
+ } else {
+ $cfgbase =~ s|/|\\|g;
+- push(@cmds, "copy \"$cfgbase.conf\" \"$cfgbase.conf.bak\"");
+ push(@cmds, "copy \"$cfgbase.conf.new\" \"$cfgbase.conf\"");
+ push(@cmds, "del \"$cfgbase.conf.new\"");
+ }