[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

squid



Hey folks,

Playing around with squid tonight I found the following:

debian/rules:

ifeq ($(DEB_HOST_ARCH_OS),)
DEB_HOST_ARCH_OS := $(subst -gnu,,$(shell dpkg-architecture -qDEB_HOST_GNU_SY$
 ifeq ($(DEB_HOST_ARCH_OS),gnu)
   DEB_HOST_ARCH_OS := hurd
 endif
endif

This whole block can be removed.

I changed this:

# The HURD doesn't have pthreads yet.
ifeq ($(DEB_HOST_ARCH_OS), gnu)
   with_pthreads = --enable-storeio=ufs,diskd,null
   with_netfilter =
   with_arp_acl =
   with_epoll =
else

to this:

ifeq ($(DEB_BUILD_GNU_SYSTEM), gnu)
       with_pthreads = --with-pthreads --enable-storeio=ufs,diskd,null
       with_netfilter =
       with_arp_acl =
       with_epoll =
else

And finally in debian/rules, I changed:

   --with-large-files \
   $(DEB_HOST_ARCH_CPU)-debian-$(DEB_HOST_ARCH_OS)

to

   --with-large-files \
   $(DEB_HOST_ARCH_CPU)-debian-gnu

Obviously we would want to do that dynamically somehow. I tried the ifeq ($(DEB_BUILD_GNU_SYSTE), hurd-i386) ... else ... route to no avail.

Finally, there are three MAXPATHLENS.

./helpers/basic_auth/MSNT/allowusers.c
./helpers/basic_auth/MSNT/denyusers.c
./helpers/basic_auth/MSNT/confload.c

All three of them are merely used to instantiate char arrays. (ie 'char foo[MAXPATHLEN]')


Thanks,

Barry deFreese (aka bddebian)


Reply to: