- Deal with httpsd.conf.bak files, like we did for apache2 previously in the day.
This commit is contained in:
parent
6b12652741
commit
5631a1f988
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=122763
15
www/apache13-ssl/files/patch-src:support:apxs.pl
Normal file
15
www/apache13-ssl/files/patch-src:support:apxs.pl
Normal file
@ -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\"");
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
@comment $FreeBSD$
|
||||
bin/checkgid
|
||||
bin/dbmmanage
|
||||
bin/htdigest
|
||||
@ -630,7 +631,8 @@ www/icons/world1.png
|
||||
www/icons/world2.gif
|
||||
www/icons/world2.png
|
||||
@exec mkdir -p %D/www/proxy
|
||||
@dirrm etc/apache
|
||||
@unexec rm -f %D/etc/apache2/httpd.conf.bak 2> /dev/null || true
|
||||
@unexec rmdir %D/etc/apache 2> /dev/null || true
|
||||
@dirrm include/apache/xml
|
||||
@dirrm include/apache
|
||||
@dirrm libexec/apache
|
||||
|
Loading…
Reference in New Issue
Block a user