Package: squid
Severity: important
Version: 2.5.13-1
Tags: patch

Hi,

the current version fails to build on GNU/kFreeBSD.

It needs updated config.guess, config.sub in cfgaux subdir 
and small change to debian/rules.
Please find attached a patch with debian/rules update. 

For config.guess and config.sub is needed a version
from last year, which is available in the autotools-dev
package, sarge version is sufficient.

You can simply copy them manually, but it can also be done 
automatically using the method described in
/usr/share/doc/autotools-dev/README.Debian.gz 

It would also be nice if you can ask upstream to update them.

Thanks in advance

                        Petr
--- /tmp/rules  2006-04-28 16:28:55.000000000 +0200
+++ debian/rules        2006-04-28 16:44:03.000000000 +0200
@@ -53,11 +53,21 @@
        with_pthreads = --enable-storeio=ufs,diskd,null
        with_netfilter =
        with_arp_acl =
+       with_snmp = --enable-snmp
+else
+ifeq ($(DEB_HOST_ARCH_OS), kfreebsd)
+       with_pthreads = --enable-async-io --with-pthreads \
+               --enable-storeio=ufs,aufs,diskd,null
+       with_netfilter =
+       with_arp_acl =
+       with_snmp =
 else
        with_pthreads = --enable-async-io --with-pthreads \
                --enable-storeio=ufs,aufs,diskd,null
        with_netfilter = --enable-linux-netfilter
        with_arp_acl = --enable-arp-acl
+       with_snmp = --enable-snmp
+endif
 endif
 
 # setresuid is broken on sparc
@@ -109,8 +119,8 @@
        $(with_pthreads) \
        $(with_netfilter) \
        $(with_arp_acl) \
+       $(with_snmp) \
        --enable-removal-policies=lru,heap \
-       --enable-snmp \
        --enable-delay-pools \
        --enable-htcp \
        --enable-poll \

Reply via email to