Squid2 発 Cacheboy 経由 Lusca 行き その1

未だにportsLusca-cacheが登場しないのでwww/cacheboy16とのdiffを晒してみる。

--- ../../www/cacheboy16/Makefile	2009-01-16 01:35:12.000000000 +0900
+++ Makefile	2009-03-21 19:23:02.000000000 +0900
@@ -74,12 +74,12 @@
 #    --enable-multicast-miss
 #     Enable experimental multicast notification of cachemisses.
 
-PORTNAME=	cacheboy
-DISTVERSION=	1.6
-PORTREVISION=	2
+PORTNAME=	lusca-cache
+DISTVERSION=	1.0
+#PORTREVISION=	0
 CATEGORIES=	www
 MASTER_SITES=	${MASTER_SITE_GOOGLE_CODE}
-DISTNAME=	cacheboy-1.6-r13601
+DISTNAME=	lusca-1.0-r13795
 # EXTRACT_SUFX=	.tar.gz
 
 MAINTAINER=	adrian@freebsd.org
@@ -104,7 +104,6 @@
 		SQUID_SASL_AUTH "Install SASL authentication helpers" off \
 		SQUID_DELAY_POOLS "Enable delay pools" off \
 		SQUID_SNMP "Enable SNMP support" off \
-		SQUID_CARP "Enable CARP support" on \
 		SQUID_SSL "Enable SSL support for reverse proxies" off \
 		SQUID_PINGER "Install the icmp helper" off \
 		SQUID_DNS_HELPER "Use the old 'dnsserver' helper" off \
@@ -258,9 +257,6 @@
 .if defined(WITH_SQUID_SNMP)
 CONFIGURE_ARGS+=	--enable-snmp
 .endif
-.if defined(WITHOUT_SQUID_CARP)
-CONFIGURE_ARGS+=	--disable-carp
-.endif
 .if defined(WITH_SQUID_SSL)
 # we need to .include bsd.openssl.mk manually here.because USE_OPENSSL only
 # works when it is defined before bsd.port{.pre}.mk is .included.
--- ../../www/cacheboy16/distinfo	2009-01-16 01:35:12.000000000 +0900
+++ distinfo	2009-02-03 20:52:59.000000000 +0900
@@ -1,3 +1,3 @@
-MD5 (cacheboy-1.6-r13601.tar.gz) = 955b4f3f78a6514a176fce914db7eedd
-SHA256 (cacheboy-1.6-r13601.tar.gz) = 0add8fc7f07aa0b0307b7cb6a6ac3d68063f7c610a6afa95e4f18564e298f91c
-SIZE (cacheboy-1.6-r13601.tar.gz) = 2267690
+MD5 (lusca-1.0-r13795.tar.gz) = ef73bcab06f97fa438e8ff9125b84946
+SHA256 (lusca-1.0-r13795.tar.gz) = f24735f442fbc3b19fa2124e28a0d3ec852ef58dab5ad8d2fea6f6205b71a697
+SIZE (lusca-1.0-r13795.tar.gz) = 2266850

portlintは通して無いけど一応手元では問題なく使えています。でも、自己責任で。carpを削ってるのはすでにconfigureから消えているからです。

Its effectively Cacheboy-1.6 with a namechange and a couple of DoS
bugs fixed. I'll port those bug fixes to Cacheboy-1.6 and re-roll the
freebsd package tonight or tomorrow, but please, if you're using
Cacheboy-1.*, I do suggest you upgrade to this lusca tarball as soon
as possible.

Lusca-1.0 released - lusca-users | Google グループ

と、MLで書いてたしLuscaの作者はcommitterだからすぐに出ると思ってたんだけどなぁ。
"a couple of DoS bugs fixed"にはSquid Proxy Cache Security Update Advisory SQUID-2009:1も含まれています。
ただ、最近LuscaよりかCacheboy CDNの方にすっかり興味が向いてるようだけどDNSのstatが取れないバグとか直して欲しいorz


Bフレ使っているというのにいまだにforward proxyを使っているというのは珍しいのかもしれないなぁ。reverse proxyが必要なら他のソフト使うし(ぉぃ


次回は設定を晒す予定(は未定)