[61454] trunk/dports/net/squid3-devel/Portfile

snc at macports.org snc at macports.org
Fri Dec 11 13:16:37 PST 2009


Revision: 61454
          http://trac.macports.org/changeset/61454
Author:   snc at macports.org
Date:     2009-12-11 13:16:35 -0800 (Fri, 11 Dec 2009)
Log Message:
-----------
 * add conflict with squid3
 * disable ipv6 (does not function with os x)
 * add variant for https handling

Modified Paths:
--------------
    trunk/dports/net/squid3-devel/Portfile

Modified: trunk/dports/net/squid3-devel/Portfile
===================================================================
--- trunk/dports/net/squid3-devel/Portfile	2009-12-11 20:54:19 UTC (rev 61453)
+++ trunk/dports/net/squid3-devel/Portfile	2009-12-11 21:16:35 UTC (rev 61454)
@@ -5,6 +5,7 @@
 
 name            squid3-devel
 version         3.1.0.15
+revision        1
 set branch      [join [lrange [split ${version} .] 0 1] .]
 categories      net
 platforms       darwin
@@ -40,7 +41,7 @@
 
 depends_lib     port:openssl port:zlib
 
-conflicts       squid
+conflicts       squid squid3
 
 configure.args  --with-pthreads \
                 --enable-shared \
@@ -54,7 +55,8 @@
                 --enable-storeio=ufs,aufs,diskd \
                 --enable-disk-io=AIO,Blocking,DiskDaemon,DiskThreads \
                 --enable-icap-client \
-                --with-default-user=squid
+                --with-default-user=squid \
+                --disable-ipv6
 post-configure {
     if {[variant_isset universal]} {
         system "cd ${worksrcpath} && ed - ${worksrcpath}/include/autoconf.h < ${filespath}/include_autoconf.h.ed && touch include/stamp-h1"
@@ -113,6 +115,11 @@
     configure.args-append   --enable-ipfw-transparent
 }
 
+variant https description "Enable https client requests" {
+    configure.args-append   --enable-ssl
+    depends_run-append  port:curl-ca-bundle
+}
+
 livecheck.type  regex
 livecheck.url   http://www.squid-cache.org/Versions/v3/${branch}/
 livecheck.regex >squid-(${branch}\[.0-9\]+)<
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20091211/71d7dc17/attachment.html>


More information about the macports-changes mailing list