From owner-freebsd-apache@FreeBSD.ORG Mon Nov 12 11:06:09 2012 Return-Path: Delivered-To: apache@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E02F88D1 for ; Mon, 12 Nov 2012 11:06:09 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id C58D68FC1F for ; Mon, 12 Nov 2012 11:06:09 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id qACB6912099505 for ; Mon, 12 Nov 2012 11:06:09 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id qACB69Ur099503 for apache@FreeBSD.org; Mon, 12 Nov 2012 11:06:09 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 12 Nov 2012 11:06:09 GMT Message-Id: <201211121106.qACB69Ur099503@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: apache@FreeBSD.org Subject: Current problem reports assigned to apache@FreeBSD.org X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Nov 2012 11:06:09 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o ports/165809 apache add mod_proxy patch to www/apache22 o ports/157554 apache www/apache22: Apache RLimitNPROC does not work as inte o ports/156787 apache www/mod_auth_kerb2 fails on undefined symbol with base o ports/147282 apache errors when starting www/apache22 after installation o o ports/137729 apache www/mod_auth_kerb2 port broken on 8.0-BETA2 due to sec o ports/125183 apache www/apache22 wrong SUEXEC_DOCROOT o ports/124375 apache security/heimdal: www/mod_auth_kerb doesn't compile ag 7 problems total. From owner-freebsd-apache@FreeBSD.ORG Wed Nov 14 05:00:53 2012 Return-Path: Delivered-To: freebsd-apache@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 563CE2A2 for ; Wed, 14 Nov 2012 05:00:53 +0000 (UTC) (envelope-from 3hCWjUAoGDuUOfbU-fVbUNXX.JVTMYLLIZK-HWHJOLMYLLIZK.VYN@photos-server.bounces.google.com) Received: from mail-ob0-f202.google.com (mail-ob0-f202.google.com [209.85.214.202]) by mx1.freebsd.org (Postfix) with ESMTP id 0F38E8FC12 for ; Wed, 14 Nov 2012 05:00:53 +0000 (UTC) Received: by mail-ob0-f202.google.com with SMTP id tb18so11260obb.1 for ; Tue, 13 Nov 2012 21:00:52 -0800 (PST) MIME-Version: 1.0 Received: by 10.43.130.199 with SMTP id hn7mt12380353icc.24.1352869252568; Tue, 13 Nov 2012 21:00:52 -0800 (PST) Message-ID: <20cf307f3b003a172004ce6d6b67@google.com> Date: Wed, 14 Nov 2012 05:00:52 +0000 Subject: freight forwarder & logistics provider shared photos with you From: "freight forwarder & logistics provider" To: freebsd-apache@freebsd.org Content-Type: multipart/mixed; boundary=20cf307f3b003afd4e04ce6d6b9f X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: freight forwarder & logistics provider List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Nov 2012 05:00:53 -0000 --20cf307f3b003afd4e04ce6d6b9f Content-Type: text/plain; charset=windows-1252; format=flowed; delsp=yes Content-Transfer-Encoding: base64 RGVhciBNeSBGcmllbmQNCg0KICAgICAgICAgTmljZSBkYXksIEh5dW4gWW91bmcgaXMgYSBsZWFk aW5nIHByb2Zlc3Npb25hbCBmcmVpZ2h0IGZvcndhcmRlciAgDQphbmQgbG9naXN0aWNzIHByb3Zp ZGVyIHdobyBmb2N1cyBvbiB0aGUgc2hpcG1lbnQgZnJvbSBTb3V0aCBDaGluYSB0byBhbGwgIA0K dGhlIHdvcmxkLiBIeXVuIFlvdW5nIHN0YXJ0ZWQgZnJlaWdodCBmb3J3YXJkaW5nIG9wZXJhdGlv biBhdCBTaGVuemhlbiBpbiAgDQoyMDA0LiBCYXNlZCBhdCBTaGVuemhlbiwgb3VyIGFtYml0aW9u IGhhdmUgcHVzaGVkIHVzIGZvcndhcmQgdG8gZXhwYW5kIHRvICANCm90aGVyIGNpdGllcyBpbiBz b3V0aCBvZiBDaGluYS4gTm93IHdlIGhhdmUgY2FwYWNpdHkgb2YgaGFuZGluZyBzaGlwbWVudCB0 byAgDQpvciBmcm9tIGFsbCB0aGUgcG9ydHMgaW4gc291dGggb2YgQ2hpbmEuDQogICAgICAgICAg IEhvbGRzIHdoaWxlIHdob2xlIC0gaGVhcnRlZGx5IGFjaGlldmVzIHRoZSBiZXN0IGVudGVycHJp c2UgIA0Kb2JqZWN0aXZlLCBXaXRoIHRoZSBncmVhdCBzdXBwb3J0IG9mIG91ciBnbG9iYWwgYWdl bmN5LCB3ZSBwcm92aWRlIHNlcnZpY2VzICANCnRvIG91ciBjdXN0b21lcnMgdGhyb3VnaCBwcm9j ZXNzLWRyaXZlbiBvcGVyYXRpb24gdGVhbSwgYWR2YW5jZWQgIA0KaW5mb3JtYXRpb24gc3lzdGVt LCBhbmQgc3Ryb25nIG1hbmFnZW1lbnQgdGVhbS4NCg0KR2xhbmNlIHRvIG91ciBjb21wYW55Og0K MS4JU2VhIEZyZWlnaHQsIGluY2x1ZGVkIEZDTCZMQ0w7DQoyLglBaXIgRnJlaWdodDsNCjMuCUV4 cHJlc3MsIGluY2x1ZGVkIERITCxVUFMsRkVERVgsU0FHQVdBIGFuZCBTQ09SRUpQOw0KNC4JSW1w b3J0ICYgRXhwb3J0Ow0KNS4JTGFuZCBUcmFuc3BvcnRhdGlvbi4NCg0KICAgICAgICAgICBXZSBz ZWVrIG5vIHN0cm9uZ2VzdCBvbmx5IG1vcmUgc3BlY2lhbGl6ZWQsIHNlbmlvci4gWW91ciAgDQpz YXRpc2ZpZWQgd2lsbCBiZSBvdXIgbWF4aW1hbCBwcmlkZS4NCg0KLS0tLS0tLS0tLS0tLS0tLS0t LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t LQ0KU2hlbnpoZW4gSHl1biBZb3VuZyBJbnRlcm5hdGlvbmFsIFRyYW5zcG9ydGF0aW9uIENPLixM VEQNCkphY2t5IFlhbmcNCg0KQWRkOiBGbG9vciA3JjgsIFNvdXRoIEJhb5JhbiBSb2FkLCBMdW9o dSBEaXN0cmljdCwgU2hlbnpoZW4sIEd1YW5nZG9uZywgIA0KQ2hpbmEuDQo= --20cf307f3b003afd4e04ce6d6b9f-- From owner-freebsd-apache@FreeBSD.ORG Sat Nov 17 18:13:12 2012 Return-Path: Delivered-To: apache@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 428FBF63; Sat, 17 Nov 2012 18:13:12 +0000 (UTC) (envelope-from hrs@FreeBSD.org) Received: from mail.allbsd.org (gatekeeper.allbsd.org [IPv6:2001:2f0:104:e001::32]) by mx1.freebsd.org (Postfix) with ESMTP id 371148FC14; Sat, 17 Nov 2012 18:13:11 +0000 (UTC) Received: from alph.allbsd.org (p1137-ipbf1505funabasi.chiba.ocn.ne.jp [118.7.212.137]) (authenticated bits=128) by mail.allbsd.org (8.14.5/8.14.5) with ESMTP id qAHICm1V054055 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 18 Nov 2012 03:12:59 +0900 (JST) (envelope-from hrs@FreeBSD.org) Received: from localhost (localhost [127.0.0.1]) (authenticated bits=0) by alph.allbsd.org (8.14.5/8.14.5) with ESMTP id qAHICiVe046875; Sun, 18 Nov 2012 03:12:47 +0900 (JST) (envelope-from hrs@FreeBSD.org) Date: Sun, 18 Nov 2012 03:12:40 +0900 (JST) Message-Id: <20121118.031240.1840537590824524280.hrs@allbsd.org> To: olivier@cochard.me, apache@FreeBSD.org, bapt@FreeBSD.org, tmseck@web.de Subject: ${name}_fib fix in rc.d script (ports/173366) From: Hiroki Sato X-PGPkey-fingerprint: BDB3 443F A5DD B3D0 A530 FFD7 4F2C D3D8 2793 CF2D X-Mailer: Mew version 6.5 on Emacs 23.4 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Multipart/Signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="--Security_Multipart0(Sun_Nov_18_03_12_40_2012_033)--" Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.97.4 at gatekeeper.allbsd.org X-Virus-Status: Clean X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (mail.allbsd.org [133.31.130.32]); Sun, 18 Nov 2012 03:13:01 +0900 (JST) X-Spam-Status: No, score=-94.8 required=13.0 tests=CONTENT_TYPE_PRESENT, ONLY1HOPDIRECT,QENCPTR2,SAMEHELOBY2HOP,URI_OBFU_WWW,USER_IN_WHITELIST autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on gatekeeper.allbsd.org Cc: ports@FreeBSD.org, gprspb@mail.ru, hrs@FreeBSD.org, se@FreeBSD.org X-BeenThere: freebsd-apache@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Support of apache-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Nov 2012 18:13:12 -0000 ----Security_Multipart0(Sun_Nov_18_03_12_40_2012_033)-- Content-Type: Multipart/Mixed; boundary="--Next_Part(Sun_Nov_18_03_12_40_2012_304)--" Content-Transfer-Encoding: 7bit ----Next_Part(Sun_Nov_18_03_12_40_2012_304)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hello, I will commit the attached patch for the following today to fix a breakage of the rc.d script after ${name}_fib is introduced into rc.subr: net/sslh www/apache22 www/cblog www/fcgiwrap www/shellinabox www/squid www/squid31 www/squid32 net/sslh The change should be compatible with both of the older releases and head. If this commit is not convenient for you or there is something wrong with it, please let me know as soon as possible. Thank you. -- Hiroki ----Next_Part(Sun_Nov_18_03_12_40_2012_304)-- Content-Type: Text/X-Patch; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="name_fib_fix_20121118-1.diff" Index: net/sslh/Makefile =================================================================== --- net/sslh/Makefile (revision 307518) +++ net/sslh/Makefile (working copy) @@ -7,6 +7,7 @@ PORTNAME= sslh PORTVERSION= 1.13 +PORTREVISION= 1 CATEGORIES= net MASTER_SITES= http://www.rutschle.net/tech/ Index: net/sslh/files/sslh.in =================================================================== --- net/sslh/files/sslh.in (revision 307518) +++ net/sslh/files/sslh.in (working copy) @@ -17,7 +17,6 @@ # sslh_mode="fork | select" # fork: stable but slow performance # select: new but high performance -# sslh_fib="NONE" # sslh_pidfile="/var/run/sslh.pid" # sslh_ssltarget="localhost:443" # sslh_sshtarget="localhost:22" @@ -26,9 +25,13 @@ # sslh_uid="nobody" # sslh_flags -sslh_setfib() { +sslh_precmd() { + if command -v check_namevarlist > /dev/null 2>&1; then + check_namevarlist fib && return 0 + fi sysctl net.fibs >/dev/null 2>&1 || return 0 + sslh_fib=${sslh_fib:-"NONE"} case "$sslh_fib" in [Nn][Oo][Nn][Ee]) ;; @@ -43,14 +46,13 @@ name="sslh" rcvar=sslh_enable -start_precmd="sslh_setfib" +start_precmd="sslh_precmd" stop_postcmd="sslh_postcmd" load_rc_config $name sslh_enable=${sslh_enable:-"NO"} sslh_mode=${sslh_mode:-"fork"} -sslh_fib=${sslh_fib:-"NONE"} sslh_listening=${sslh_listening:-"0.0.0.0:443"} sslh_sshtarget=${sslh_sshtarget:-"localhost:22"} sslh_ssltarget=${sslh_ssltarget:-"localhost:8443"} Index: www/apache22/Makefile =================================================================== --- www/apache22/Makefile (revision 307518) +++ www/apache22/Makefile (working copy) @@ -2,7 +2,7 @@ PORTNAME= apache22 PORTVERSION= 2.2.23 -#PORTREVISION= 1 +PORTREVISION= 1 CATEGORIES= www ipv6 MASTER_SITES= ${MASTER_SITE_APACHE_HTTPD} DISTNAME= httpd-${PORTVERSION} Index: www/apache22/files/apache22.in =================================================================== --- www/apache22/files/apache22.in (revision 307518) +++ www/apache22/files/apache22.in (working copy) @@ -47,7 +47,6 @@ [ -z "$apache22limits_enable" ] && apache22limits_enable="NO" [ -z "$apache22limits_args" ] && apache22limits_args="-e -C daemon" [ -z "$apache22_http_accept_enable" ] && apache22_http_accept_enable="NO" -[ -z "$apache22_fib" ] && apache22_fib="NO" apache22_accf() { @@ -174,9 +173,13 @@ } apache22_checkfib () { - $SYSCTL net.fibs >/dev/null 2>&1 - ret=$? - [ $ret -gt 0 ] && return 0 + if command -v check_namevarlist > /dev/null 2>&1; then + check_namevarlist fib && return 0 + fi + + $SYSCTL net.fibs >/dev/null 2>&1 || return 0 + + apache22_fib={apache22_fib:-"NO"} if [ "x$apache22_fib" != "xNO" ] then command="/usr/sbin/setfib -F ${apache22_fib} ${command}" Index: www/cblog/Makefile =================================================================== --- www/cblog/Makefile (revision 307518) +++ www/cblog/Makefile (working copy) @@ -7,6 +7,7 @@ PORTNAME= cblog PORTVERSION= 0.1.6 +PORTREVISION= 1 CATEGORIES= www MASTER_SITES= http://files.etoilebsd.net/cblog/ Index: www/cblog/files/cblog.in =================================================================== --- www/cblog/files/cblog.in (revision 307518) +++ www/cblog/files/cblog.in (working copy) @@ -13,7 +13,6 @@ # cblog_enable=YES # # You can fine tune others variables too: -# cblog_fib="NONE" # cblog_socket="unix:/var/run/cblog/cblog.sock" # syntax can be : # unix:/patch/to/socket @@ -21,8 +20,13 @@ # Use cblog_user to run cblog as user cblog_setfib() { - sysctl net.fibs >/dev/null 2>&1 || return 0 + if command -v check_namevarlist > /dev/null 2>&1; then + check_namevarlist fib && return 0 + fi + ${SYSCTL} net.fibs >/dev/null 2>&1 || return 0 + + cblog_fib=${cblog_fib:-"NONE"} case "$cblog_fib" in [Nn][Oo][Nn][Ee]) ;; @@ -48,7 +52,6 @@ load_rc_config $name cblog_enable=${cblog_enable:-"NO"} -cblog_fib=${cblog_fib:-"NONE"} cblog_user=${cblog_user:-"root"} cblog_socket=${cblog_socker:-"unix:/var/run/cblog/cblog.sock"} Index: www/fcgiwrap/Makefile =================================================================== --- www/fcgiwrap/Makefile (revision 307518) +++ www/fcgiwrap/Makefile (working copy) @@ -7,7 +7,7 @@ PORTNAME= fcgiwrap PORTVERSION= 1.0.3 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= www MASTER_SITES= http://cloud.github.com/downloads/gnosek/fcgiwrap/ Index: www/fcgiwrap/files/fcgiwrap.in =================================================================== --- www/fcgiwrap/files/fcgiwrap.in (revision 307518) +++ www/fcgiwrap/files/fcgiwrap.in (working copy) @@ -13,7 +13,6 @@ # fcgiwrap_enable="YES" # # You can fine tune others variables too: -# fcgiwrap_fib="NONE" # fcgiwrap_socket="unix:/var/run/fcgiwrap.sock" # this could also be: # - tcp:[ipv4_addr]:port (for ipv4) @@ -42,8 +41,13 @@ rcvar=fcgiwrap_enable fcgiwrap_setfib() { - sysctl net.fibs >/dev/null 2>&1 || return 0 + if command -v check_namevarlist > /dev/null 2>&1; then + check_namevarlist fib && return 0 + fi + + ${SYSCTL} net.fibs >/dev/null 2>&1 || return 0 + fcgiwrap_fib=${fcgiwrap_fib:-"NONE"} case "$fcgiwrap_fib" in [Nn][Oo][Nn][Ee]) ;; @@ -80,7 +84,6 @@ # These are just the defaults, they might get overriden for a specific profile. fcgiwrap_enable=${fcgiwrap_enable:-"NO"} -fcgiwrap_fib=${fcgiwrap_fib:-"NONE"} fcgiwrap_user=${fcgiwrap_user:-"root"} fcgiwrap_socket=${fcgiwrap_socket:-"unix:/var/run/fcgiwrap/fcgiwrap.sock"} Index: www/shellinabox/Makefile =================================================================== --- www/shellinabox/Makefile (revision 307518) +++ www/shellinabox/Makefile (working copy) @@ -7,6 +7,7 @@ PORTNAME= shellinabox PORTVERSION= 2.14 +PORTREVISION= 1 CATEGORIES= www MASTER_SITES= GOOGLE_CODE Index: www/shellinabox/files/shellinaboxd.in =================================================================== --- www/shellinabox/files/shellinaboxd.in (revision 307518) +++ www/shellinabox/files/shellinaboxd.in (working copy) @@ -14,7 +14,6 @@ # shellinaboxd_enable="YES" # # You can fine tune others variables too: -# shellinaboxd_fib="NONE" # shellinaboxd_pidfile="/var/run/shellinabox.pid" # shellinaboxd_user="%%USERS%%" # shellinaboxd_group="%%GROUPS%%" @@ -24,9 +23,14 @@ # Example: shellinaboxd_certfile="/your/cert.pem" # shellinaboxd_flags= -shellinaboxd_setfib() { - sysctl net.fibs >/dev/null 2>&1 || return 0 +shellinaboxd_precmd() { + if command -v check_namevarlist > /dev/null 2>&1; then + check_namevarlist fib && return 0 + fi + ${SYSCTL} net.fibs >/dev/null 2>&1 || return 0 + + shellinaboxd_fib=${shellinaboxd_fib:-"NONE"} case "$shellinaboxd_fib" in [Nn][Oo][Nn][Ee]) ;; @@ -42,12 +46,11 @@ rcvar=shellinaboxd_enable command="%%PREFIX%%/bin/${name}" -start_precmd="shellinaboxd_setfib" +start_precmd="shellinaboxd_precmd" load_rc_config $name shellinaboxd_enable=${shellinaboxd_enable:-"NO"} -shellinaboxd_fib=${shellinaboxd_fib:-"NONE"} shellinaboxd_user=${shellinaboxd_user:-"%%USERS%%"} shellinaboxd_group=${shellinaboxd_group:-"%%GROUPS%%"} shellinaboxd_port=${shellinaboxd_port:-"4200"} Index: www/squid/Makefile =================================================================== --- www/squid/Makefile (revision 307518) +++ www/squid/Makefile (working copy) @@ -77,7 +77,7 @@ PORTNAME= squid PORTVERSION= 2.7.${SQUID_STABLE_VER} -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= www MASTER_SITES= ftp://ftp.squid-cache.org/pub/%SUBDIR%/ \ http://mirrors.ccs.neu.edu/Squid/ \ Index: www/squid/files/squid.in =================================================================== --- www/squid/files/squid.in (revision 307518) +++ www/squid/files/squid.in (working copy) @@ -45,7 +45,13 @@ } squid_setfib() { - sysctl net.fibs >/dev/null 2>&1 || return 0 + if command -v check_namevarlist > /dev/null 2>&1; then + check_namevarlist fib && return 0 + fi + + ${SYSCTL} net.fibs >/dev/null 2>&1 || return 0 + + squid_fib=${squid_fib:-"NONE"} if [ "x${squid_fib}" != "xNONE" ]; then command="setfib -F ${squid_fib} ${command}" else @@ -76,7 +82,6 @@ squid_chdir=${squid_chdir:-"/var/squid/logs"} squid_conf=${squid_conf:-"%%PREFIX%%/etc/squid/squid.conf"} squid_enable=${squid_enable:-"NO"} -squid_fib=${squid_fib:-"NONE"} squid_flags=${squid_flags-"-D"} squid_pidfile=${squid_pidfile:-"/var/squid/logs/squid.pid"} squid_user=${squid_user:-%%SQUID_UID%%} Index: www/squid31/Makefile =================================================================== --- www/squid31/Makefile (revision 307518) +++ www/squid31/Makefile (working copy) @@ -51,6 +51,7 @@ PORTNAME= squid PORTVERSION= 3.1.${SQUID_STABLE_VER} +PORTREVISION= 1 CATEGORIES= www ipv6 MASTER_SITES= ftp://ftp.squid-cache.org/pub/%SUBDIR%/ \ http://mirrors.ccs.neu.edu/Squid/ \ Index: www/squid31/files/squid.in =================================================================== --- www/squid31/files/squid.in (revision 307518) +++ www/squid31/files/squid.in (working copy) @@ -45,7 +45,13 @@ } squid_setfib() { - sysctl net.fibs >/dev/null 2>&1 || return 0 + if command -v check_namevarlist > /dev/null 2>&1; then + check_namevarlist fib && return 0 + fi + + ${SYSCTL} net.fibs >/dev/null 2>&1 || return 0 + + squid_fib=${squid_fib:-"NONE"} if [ "x${squid_fib}" != "xNONE" ]; then command="setfib -F ${squid_fib} ${command}" else @@ -76,7 +82,6 @@ squid_chdir=${squid_chdir:-"/var/squid"} squid_conf=${squid_conf:-"%%PREFIX%%/etc/squid/squid.conf"} squid_enable=${squid_enable:-"NO"} -squid_fib=${squid_fib:-"NONE"} squid_pidfile=${squid_pidfile:-"/var/run/squid/squid.pid"} squid_user=${squid_user:-%%SQUID_UID%%} Index: www/squid32/Makefile =================================================================== --- www/squid32/Makefile (revision 307518) +++ www/squid32/Makefile (working copy) @@ -37,7 +37,7 @@ PORTNAME= squid PORTVERSION= 3.2.${SQUID_STABLE_VER} -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= www ipv6 MASTER_SITES= ftp://ftp.squid-cache.org/pub/%SUBDIR%/ \ http://mirrors.ccs.neu.edu/Squid/ \ Index: www/squid32/files/squid.in =================================================================== --- www/squid32/files/squid.in (revision 307518) +++ www/squid32/files/squid.in (working copy) @@ -50,7 +50,6 @@ : ${squid_chdir:=/var/squid} : ${squid_conf:=%%PREFIX%%/etc/squid/squid.conf} : ${squid_enable:=NO} -: ${squid_fib:=NONE} : ${squid_pidfile:=/var/run/squid/squid.pid} : ${squid_user:=squid} @@ -77,7 +76,13 @@ squid_setfib() { - sysctl net.fibs >/dev/null 2>&1 || return 0 + if command -v check_namevarlist > /dev/null 2>&1; then + check_namevarlist fib && return 0 + fi + + ${SYSCTL} net.fibs >/dev/null 2>&1 || return 0 + + squid_fib=${squid_fib:-"NONE"} if [ "x${squid_fib}" != "xNONE" ]; then command="setfib -F ${squid_fib} ${command}" else ----Next_Part(Sun_Nov_18_03_12_40_2012_304)---- ----Security_Multipart0(Sun_Nov_18_03_12_40_2012_033)-- Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iEYEABECAAYFAlCn05gACgkQTyzT2CeTzy0YwwCdHYLpDsLzfk8zjef/D4ZCV78O ujwAoMw/KcyWmfF8pGd+cK19Sl14L5dv =8/W3 -----END PGP SIGNATURE----- ----Security_Multipart0(Sun_Nov_18_03_12_40_2012_033)----