summaryrefslogtreecommitdiffstats
path: root/www/apache20/pkg-plist
diff options
context:
space:
mode:
authorasami <asami@FreeBSD.org>2000-06-02 21:41:15 +0000
committerasami <asami@FreeBSD.org>2000-06-02 21:41:15 +0000
commitb4fbe7503fbea530c9d1b406a2e5b714f22d03d4 (patch)
tree74ee3195734b9cafcb77060f56aad285cd536670 /www/apache20/pkg-plist
parent812cc8f572772d949056bd77bf7aabcb429fa153 (diff)
downloadFreeBSD-ports-b4fbe7503fbea530c9d1b406a2e5b714f22d03d4.zip
FreeBSD-ports-b4fbe7503fbea530c9d1b406a2e5b714f22d03d4.tar.gz
Remove unchanged configuration files and www/{cgi-bin,data} symlinks.
Submitted by: bento
Diffstat (limited to 'www/apache20/pkg-plist')
-rw-r--r--www/apache20/pkg-plist7
1 files changed, 7 insertions, 0 deletions
diff --git a/www/apache20/pkg-plist b/www/apache20/pkg-plist
index 52277a5..ad5603d 100644
--- a/www/apache20/pkg-plist
+++ b/www/apache20/pkg-plist
@@ -1,14 +1,19 @@
bin/dbmmanage
bin/htdigest
bin/htpasswd
+@unexec if cmp -s %D/etc/apache/access.conf %D/etc/apache/access.conf.default; then rm -f %D/etc/apache/access.conf; fi
etc/apache/access.conf.default
@exec [ ! -f %B/access.conf ] && cp %B/%f %B/access.conf
+@unexec if cmp -s %D/etc/apache/httpd.conf %D/etc/apache/httpd.conf.default; then rm -f %D/etc/apache/httpd.conf; fi
etc/apache/httpd.conf.default
@exec [ ! -f %B/httpd.conf ] && cp %B/%f %B/httpd.conf
+@unexec if cmp -s %D/etc/apache/magic %D/etc/apache/magic.default; then rm -f %D/etc/apache/magic; fi
etc/apache/magic.default
@exec [ ! -f %B/magic ] && cp %B/%f %B/magic
+@unexec if cmp -s %D/etc/apache/mime.types %D/etc/apache/mime.types.default; then rm -f %D/etc/apache/mime.types; fi
etc/apache/mime.types.default
@exec [ ! -f %B/mime.types ] && cp %B/%f %B/mime.types
+@unexec if cmp -s %D/etc/apache/srm.conf %D/etc/apache/srm.conf.default; then rm -f %D/etc/apache/srm.conf; fi
etc/apache/srm.conf.default
@exec [ ! -f %B/srm.conf ] && cp %B/%f %B/srm.conf
etc/rc.d/apache.sh
@@ -341,6 +346,8 @@ www/icons/uuencoded.gif
www/icons/world1.gif
www/icons/world2.gif
@exec mkdir -p %D/www/proxy
+@unexec if [ -L %D/www/cgi-bin ]; then rm -f %D/www/cgi-bin; fi
+@unexec if [ -L %D/www/data ]; then rm -f %D/www/data; fi
@dirrm etc/apache
@dirrm include/apache/xml
@dirrm include/apache
OpenPOWER on IntegriCloud