]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
hno squid-2.3.DEVEL2.stat_ufs_fs.patch
authorhno <>
Wed, 3 May 2000 01:21:59 +0000 (01:21 +0000)
committerhno <>
Wed, 3 May 2000 01:21:59 +0000 (01:21 +0000)
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().

ChangeLog
configure.in
include/autoconf.h.in

index 656dd1f27a1241c4829bc1598cec4d7f03c9e51e..70b3bcb9692459ecd79433ff7b2371e875d4dde1 100644 (file)
--- 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 ():
 
index 272df009fd556bce1d31f0935b6cdf0ceab39e68..b67ccdabeb4a6c771d999339d80af20feb4ece74 100644 (file)
@@ -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 \
index e2c7931772ff235679517f72dc470232a7fbfc88..5b9df6b245254934632444c8d161fa8132f7b26b 100644 (file)
 /* Define if you have the <sys/msg.h> header file.  */
 #undef HAVE_SYS_MSG_H
 
+/* Define if you have the <sys/mount.h> header file.  */
+#undef HAVE_SYS_MOUNT_H
+
 /* Define if you have the <sys/ndir.h> header file.  */
 #undef HAVE_SYS_NDIR_H