[57855] trunk/dports/net/squid/Portfile

jmr at macports.org jmr at macports.org
Thu Sep 17 08:50:29 PDT 2009


Revision: 57855
          http://trac.macports.org/changeset/57855
Author:   jmr at macports.org
Date:     2009-09-17 08:50:26 -0700 (Thu, 17 Sep 2009)
Log Message:
-----------
squid: update to 2.7.STABLE7

Modified Paths:
--------------
    trunk/dports/net/squid/Portfile

Modified: trunk/dports/net/squid/Portfile
===================================================================
--- trunk/dports/net/squid/Portfile	2009-09-17 15:36:12 UTC (rev 57854)
+++ trunk/dports/net/squid/Portfile	2009-09-17 15:50:26 UTC (rev 57855)
@@ -4,7 +4,7 @@
 PortSystem 1.0
 
 name            squid
-version         2.7.STABLE6
+version         2.7.STABLE7
 set branch      [join [lrange [split ${version} .] 0 1] .]
 categories      net
 platforms       darwin
@@ -30,9 +30,9 @@
                 http://www.squid-cache.org/Versions/v2/${branch}/ \
                 ftp://ftp.squid-cache.org/pub/squid/
 
-checksums       md5 6de3a6a7a56a7ecae092f2d31a04f039 \
-                sha1 b4b323be1ff3617a22070c243b2504f30d6b302d \
-                rmd160 d804175b95c6b026abed505b086eeaa2c479d2e2
+checksums       md5 c18b0371fca813d5e7c7e0baf87baa22 \
+                sha1 0729116f309093e4f141e000136cdec39290628a \
+                rmd160 a13df321fb0831de963c77f6e33e3f374634d353
 
 use_bzip2       yes
 patchfiles      patch-cf.data.pre.diff patch-configure.diff
@@ -75,13 +75,13 @@
     adduser squid gid=${gid} realname=Squid\ Proxy home=${prefix}/var/squid
 }
 post-destroot   {
-    reinplace "s|/etc/squid|${prefix}/etc/squid|g" \
-        ${destroot}${prefix}/share/man/man8/squid.8
     xinstall -o squid -g squid -m 755 -d \
         ${destroot}${prefix}/var/run/squid ${destroot}${prefix}/var/squid \
         ${destroot}${prefix}/var/squid/cache ${destroot}${prefix}/var/squid/logs
     file delete -force ${destroot}${prefix}/etc/squid/squid.conf \
                        ${destroot}${prefix}/etc/squid/mime.conf
+    move ${destroot}${prefix}/etc/squid/cachemgr.conf \
+         ${destroot}${prefix}/etc/squid/cachemgr.conf.default
 }
 destroot.keepdirs   ${destroot}${prefix}/var/run/squid \
                 ${destroot}${prefix}/var/squid/cache \
@@ -89,7 +89,7 @@
 
 post-activate {
     # Make sure initial conf files are present and setup correctly
-    foreach f { squid.conf mime.conf } {
+    foreach f { squid.conf mime.conf cachemgr.conf } {
         if {![file exists ${prefix}/etc/squid/${f}]} {
             file copy ${prefix}/etc/squid/${f}.default \
                 ${prefix}/etc/squid/${f}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090917/336045bb/attachment.html>


More information about the macports-changes mailing list