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

jmr at macports.org jmr at macports.org
Fri Dec 18 16:21:02 PST 2009


Revision: 61692
          http://trac.macports.org/changeset/61692
Author:   jmr at macports.org
Date:     2009-12-18 16:20:59 -0800 (Fri, 18 Dec 2009)
Log Message:
-----------
squid: install auth helpers (#22933)

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

Modified: trunk/dports/net/squid/Portfile
===================================================================
--- trunk/dports/net/squid/Portfile	2009-12-18 23:54:22 UTC (rev 61691)
+++ trunk/dports/net/squid/Portfile	2009-12-19 00:20:59 UTC (rev 61692)
@@ -6,6 +6,7 @@
 name            squid
 version         2.7.STABLE7
 set branch      [join [lrange [split ${version} .] 0 1] .]
+revision        1
 categories      net
 platforms       darwin
 license         GPLv2+
@@ -46,10 +47,16 @@
                 --sysconfdir=${prefix}/etc/squid \
                 --datadir=${prefix}/share/squid \
                 --localstatedir=${prefix}/var/squid \
+                --libexecdir=${prefix}/libexec/squid \
                 --with-openssl=${prefix} \
                 --enable-delay-pools \
                 --enable-removal-policies \
-                --enable-storeio=ufs,aufs,diskd,coss,null
+                --enable-storeio=ufs,aufs,diskd,coss,null \
+                --enable-auth=negotiate,ntlm,digest,basic \
+                --enable-negotiate-auth-helpers=squid_kerb_auth \
+                --enable-ntlm-auth-helpers=SMB,fakeauth,no_check \
+                --enable-digest-auth-helpers=eDirectory,ldap,password \
+                --enable-basic-auth-helpers=DB,LDAP,MSNT,NCSA,PAM,POP3,SASL,SMB,YP,getpwnam,multi-domain-NTLM,squid_radius_auth
 post-configure {
     if {[variant_isset universal]} {
         system "cd ${worksrcpath} && ed - ${worksrcpath}/include/autoconf.h < ${filespath}/include_autoconf.h.ed && touch include/stamp-h1"
@@ -81,7 +88,8 @@
         ${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
+                       ${destroot}${prefix}/etc/squid/mime.conf \
+                       ${destroot}${prefix}/etc/squid/msntauth.conf
     move ${destroot}${prefix}/etc/squid/cachemgr.conf \
          ${destroot}${prefix}/etc/squid/cachemgr.conf.default
 }
@@ -91,7 +99,7 @@
 
 post-activate {
     # Make sure initial conf files are present and setup correctly
-    foreach f { squid.conf mime.conf cachemgr.conf } {
+    foreach f { squid.conf mime.conf cachemgr.conf msntauth.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/20091218/ee265501/attachment-0001.html>


More information about the macports-changes mailing list