[55577] trunk/dports/www/privoxy/Portfile
macsforever2000 at macports.org
macsforever2000 at macports.org
Thu Aug 13 13:37:26 PDT 2009
Revision: 55577
http://trac.macports.org/changeset/55577
Author: macsforever2000 at macports.org
Date: 2009-08-13 13:37:25 -0700 (Thu, 13 Aug 2009)
Log Message:
-----------
Update to version 3.0.12. Fix for first time install. (#19304)
Modified Paths:
--------------
trunk/dports/www/privoxy/Portfile
Modified: trunk/dports/www/privoxy/Portfile
===================================================================
--- trunk/dports/www/privoxy/Portfile 2009-08-13 20:27:05 UTC (rev 55576)
+++ trunk/dports/www/privoxy/Portfile 2009-08-13 20:37:25 UTC (rev 55577)
@@ -2,7 +2,7 @@
PortSystem 1.0
name privoxy
-version 3.0.10
+version 3.0.12
categories www security net
maintainers nomaintainer
description Advanced filtering web proxy
@@ -20,9 +20,9 @@
master_sites sourceforge:ijbswa
distname ${name}-${version}-stable-src
-checksums md5 01281017f28be2c7133124d1768da364 \
- sha1 0ce51a8dc938fe6412daa7f6edf159b98fd66d54 \
- rmd160 91c8d56b71a5c606554bf509827197d689d8fc10
+checksums md5 c973e608d27b248ef567b47664308da1 \
+ sha1 1118d6a7b4980f26c9ad0902c0e6af5aaaf1a640 \
+ rmd160 32509b897e073f1cc100b8a4a157d19a219b51cd
worksrcdir ${name}-${version}-stable
@@ -64,9 +64,11 @@
${destroot}${prefix}/etc/rc.d/privoxy.sh
}
# Rename these so local modifications are not removed on uninstall
- foreach privoxyConf {config trust user.action} {
+ foreach privoxyConf {config.new trust.new user.action.new user.filter.new} {
+ if [file exists ${destroot}${prefix}/etc/privoxy/${privoxyConf}] {
file rename ${destroot}${prefix}/etc/privoxy/${privoxyConf} \
- ${destroot}${prefix}/etc/privoxy/${privoxyConf}-dist \
+ ${destroot}${prefix}/etc/privoxy/${privoxyConf}-dist
+ }
}
# Remove the preinstalled log files as, otherwise, a rotation script
# will fail when trying to rename and compress due to gzip not liking
@@ -88,7 +90,7 @@
}
foreach privoxyConf {config trust user.action} {
if ![file exists ${prefix}/etc/privoxy/${privoxyConf}] {
- file copy ${prefix}/etc/privoxy/${privoxyConf}-dist \
+ file copy ${prefix}/etc/privoxy/${privoxyConf}.new \
${prefix}/etc/privoxy/${privoxyConf}
file attributes ${prefix}/etc/privoxy/${privoxyConf} \
-group ${privoxyGroup} -owner ${privoxyUser} \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090813/23c85eb5/attachment.html>
More information about the macports-changes
mailing list