From: hno <> Date: Wed, 3 May 2000 01:21:59 +0000 (+0000) Subject: hno squid-2.3.DEVEL2.stat_ufs_fs.patch X-Git-Tag: SQUID_3_0_PRE1~2025 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0343b99cb43cec01fba61c1076238302d6afc6cf;p=thirdparty%2Fsquid.git hno squid-2.3.DEVEL2.stat_ufs_fs.patch Squid-2.3.DEVEL2: Show usable filesystem space in cachemgr, not raw Change cachemgr Store Directory Stats to show space available to Squid rather than raw filesystem space (some space are available to root only) Also extend the support for this on Linux. hno squid-2.3.STABLE1.FreeBSD_statfs.patch Squid-2.3.STABLE1: FreeBSD 3.3 statfs FreeBSD requires sys/mount.h for statfs(). --- diff --git a/ChangeLog b/ChangeLog index 656dd1f27a..70b3bcb969 100644 --- a/ChangeLog +++ b/ChangeLog @@ -22,6 +22,8 @@ Changes to Squid-2.4.DEVEL3 (): - allow-miss cache_peer option disabling the use of "only-if-cached". Meant to be used in conjunction with icp_hit_stale. - Delay pools tuned to allow large initial pool values + - cachemgr filesystem space information changed to show useable space + rather than raw space, and platform support somewhat extended. Changes to Squid-2.4.DEVEL2 (): diff --git a/configure.in b/configure.in index 272df009fd..b67ccdabeb 100644 --- a/configure.in +++ b/configure.in @@ -3,13 +3,13 @@ dnl Configuration input file for Squid dnl dnl Duane Wessels, wessels@nlanr.net, February 1996 (autoconf v2.9) dnl -dnl $Id: configure.in,v 1.184 2000/05/01 21:14:57 hno Exp $ +dnl $Id: configure.in,v 1.185 2000/05/02 19:22:00 hno Exp $ dnl dnl dnl AC_INIT(src/main.c) AC_CONFIG_HEADER(include/autoconf.h) -AC_REVISION($Revision: 1.184 $)dnl +AC_REVISION($Revision: 1.185 $)dnl AC_PREFIX_DEFAULT(/usr/local/squid) AC_CONFIG_AUX_DIR(cfgaux) @@ -694,6 +694,7 @@ AC_CHECK_HEADERS( \ strings.h \ sys/file.h \ sys/ioctl.h \ + sys/mount.h \ sys/msg.h \ sys/param.h \ sys/resource.h \ @@ -701,6 +702,7 @@ AC_CHECK_HEADERS( \ sys/socket.h \ sys/stat.h \ sys/statvfs.h \ + sys/vfs.h \ sys/syscall.h \ sys/time.h \ sys/types.h \ @@ -1037,6 +1039,7 @@ AC_CHECK_FUNCS(\ snprintf \ srand48 \ srandom \ + statfs \ sysconf \ syslog \ timegm \ diff --git a/include/autoconf.h.in b/include/autoconf.h.in index e2c7931772..5b9df6b245 100644 --- a/include/autoconf.h.in +++ b/include/autoconf.h.in @@ -572,6 +572,9 @@ /* Define if you have the header file. */ #undef HAVE_SYS_MSG_H +/* Define if you have the header file. */ +#undef HAVE_SYS_MOUNT_H + /* Define if you have the header file. */ #undef HAVE_SYS_NDIR_H