diff options
author | clement <clement@FreeBSD.org> | 2005-02-12 04:43:04 +0800 |
---|---|---|
committer | clement <clement@FreeBSD.org> | 2005-02-12 04:43:04 +0800 |
commit | fe80b0be189eb941e1fed6cce48ae370f0da9c4d (patch) | |
tree | 3dc2dec5a02171aa5a3f19b1a4ef1503f51f2ac1 /russian/apache13 | |
parent | 3d13f79f95665114b6268053114b96103c905ad9 (diff) | |
download | freebsd-ports-gnome-fe80b0be189eb941e1fed6cce48ae370f0da9c4d.tar.gz freebsd-ports-gnome-fe80b0be189eb941e1fed6cce48ae370f0da9c4d.tar.zst freebsd-ports-gnome-fe80b0be189eb941e1fed6cce48ae370f0da9c4d.zip |
- don't create httpd.conf.bak
- remove httpd.conf.bak if exists
Approved by: portmgr (krion, kris)
Diffstat (limited to 'russian/apache13')
-rw-r--r-- | russian/apache13/files/patch-aj | 15 | ||||
-rw-r--r-- | russian/apache13/pkg-plist | 1 |
2 files changed, 16 insertions, 0 deletions
diff --git a/russian/apache13/files/patch-aj b/russian/apache13/files/patch-aj new file mode 100644 index 000000000000..9c1596e0cb70 --- /dev/null +++ b/russian/apache13/files/patch-aj @@ -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\""); + } diff --git a/russian/apache13/pkg-plist b/russian/apache13/pkg-plist index 0d1c1a7e066b..3377c75f2b96 100644 --- a/russian/apache13/pkg-plist +++ b/russian/apache13/pkg-plist @@ -810,6 +810,7 @@ www/icons/world2.png @dirrm etc/apache/tables/ukrainian @dirrm etc/apache/tables/ukrainian2 @dirrm etc/apache/tables +@unexec rm -f %D/etc/apache/httpd.conf.bak 2> /dev/null || true @dirrm etc/apache @dirrm include/apache/xml @dirrm include/apache |