]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Shuffle squid-compat to compat/
authorAmos Jeffries <squid3@treenet.co.nz>
Sat, 14 Feb 2009 13:18:34 +0000 (02:18 +1300)
committerAmos Jeffries <squid3@treenet.co.nz>
Sat, 14 Feb 2009 13:18:34 +0000 (02:18 +1300)
52 files changed:
Makefile.am
compat/GnuRegex.c [moved from squid-compat/GnuRegex.c with 100% similarity]
compat/GnuRegex.h [moved from squid-compat/GnuRegex.h with 100% similarity]
compat/Makefile.am [moved from squid-compat/Makefile.am with 88% similarity]
compat/assert.h [moved from squid-compat/assert.h with 100% similarity]
compat/compat.cc [moved from squid-compat/compat.cc with 100% similarity]
compat/compat.h [moved from squid-compat/compat.h with 75% similarity]
compat/compat_shared.h [moved from squid-compat/compat_shared.h with 100% similarity]
compat/fdsetsize.h [moved from squid-compat/fdsetsize.h with 100% similarity]
compat/os/aix.h [moved from squid-compat/os/aix.h with 100% similarity]
compat/os/dragonfly.h [moved from squid-compat/os/dragonfly.h with 100% similarity]
compat/os/freebsd.h [moved from squid-compat/os/freebsd.h with 100% similarity]
compat/os/hpux.h [moved from squid-compat/os/hpux.h with 100% similarity]
compat/os/linux.h [moved from squid-compat/os/linux.h with 100% similarity]
compat/os/mswin.h [moved from squid-compat/os/mswin.h with 100% similarity]
compat/os/next.h [moved from squid-compat/os/next.h with 100% similarity]
compat/os/openbsd.h [moved from squid-compat/os/openbsd.h with 100% similarity]
compat/os/os2.h [moved from squid-compat/os/os2.h with 100% similarity]
compat/os/qnx.h [moved from squid-compat/os/qnx.h with 100% similarity]
compat/os/sgi.h [moved from squid-compat/os/sgi.h with 100% similarity]
compat/os/solaris.h [moved from squid-compat/os/solaris.h with 100% similarity]
compat/os/sunos.h [moved from squid-compat/os/sunos.h with 100% similarity]
compat/os/windows.h [moved from squid-compat/os/windows.h with 100% similarity]
compat/osdetect.h [moved from squid-compat/osdetect.h with 100% similarity]
compat/stdvarargs.h [moved from squid-compat/stdvarargs.h with 100% similarity]
compat/valgrind.h [moved from squid-compat/valgrind.h with 100% similarity]
configure.in
helpers/basic_auth/LDAP/Makefile.am
helpers/basic_auth/MSNT/Makefile.am
helpers/basic_auth/NCSA/Makefile.am
helpers/basic_auth/PAM/Makefile.am
helpers/basic_auth/SASL/Makefile.am
helpers/basic_auth/SMB/Makefile.am
helpers/basic_auth/YP/Makefile.am
helpers/basic_auth/getpwnam/Makefile.am
helpers/basic_auth/mswin_sspi/Makefile.am
helpers/basic_auth/squid_radius_auth/Makefile.am
helpers/digest_auth/eDirectory/Makefile.am
helpers/digest_auth/ldap/Makefile.am
helpers/digest_auth/password/Makefile.am
helpers/external_acl/ip_user/Makefile.am
helpers/external_acl/ldap_group/Makefile.am
helpers/external_acl/mswin_ad_group/Makefile.am
helpers/external_acl/mswin_lm_group/Makefile.am
helpers/external_acl/session/Makefile.am
helpers/external_acl/unix_group/Makefile.am
helpers/ntlm_auth/fakeauth/Makefile.am
helpers/ntlm_auth/mswin_sspi/Makefile.am
helpers/ntlm_auth/smb_lm/Makefile.am
include/config.h
src/ip/Makefile.am
test-suite/Makefile.am

index 278b348b70130a10b662cd9dd6cc5d500cd48b80..327b61c52e2de0da68a2e58ba7e681127c4f1da1 100644 (file)
@@ -2,8 +2,8 @@
 #
 
 AUTOMAKE_OPTIONS = dist-bzip2 subdir-objects 1.5 foreign
-DIST_SUBDIRS   = squid-compat lib snmplib scripts src icons errors contrib doc helpers test-suite tools
-SUBDIRS                = squid-compat lib @makesnmplib@ scripts src/ip src icons errors doc helpers test-suite tools
+DIST_SUBDIRS   = compat lib snmplib scripts src icons errors contrib doc helpers test-suite tools
+SUBDIRS                = compat lib @makesnmplib@ scripts src/ip src icons errors doc helpers test-suite tools
 
 DISTCLEANFILES = include/stamp-h include/stamp-h[0-9]*
 DEFAULT_PINGER         = $(libexecdir)/`echo pinger | sed '$(transform);s/$$/$(EXEEXT)/'`
similarity index 100%
rename from squid-compat/GnuRegex.c
rename to compat/GnuRegex.c
similarity index 100%
rename from squid-compat/GnuRegex.h
rename to compat/GnuRegex.h
similarity index 88%
rename from squid-compat/Makefile.am
rename to compat/Makefile.am
index 6796e5fc8391a8ae64f1546f7f3d94f7a7867655..10150cf5a6fb68292def5c69dae4177861528b59 100644 (file)
@@ -55,9 +55,9 @@ TESTS= $(check_PROGRAMS)
 
 ## Special Universal .h dependency test script
 ## aborts if error encountered
-testHeaders: $(top_srcdir)/squid-compat/*.h $(top_srcdir)/squid-compat/os/*.h
-       $(SHELL) $(top_srcdir)/test-suite/testheaders.sh "$(CXXCOMPILE)" "$(top_srcdir)/squid-compat/" || exit 1
-       $(SHELL) $(top_srcdir)/test-suite/testheaders.sh "$(CXXCOMPILE)" "$(top_srcdir)/squid-compat/os/" || exit 1
+testHeaders: $(top_srcdir)/compat/*.h $(top_srcdir)/compat/os/*.h
+       $(SHELL) $(top_srcdir)/test-suite/testheaders.sh "$(CXXCOMPILE)" "$(top_srcdir)/compat/" || exit 1
+       $(SHELL) $(top_srcdir)/test-suite/testheaders.sh "$(CXXCOMPILE)" "$(top_srcdir)/compat/os/" || exit 1
 
 ## No such file...
 testHeaders.c:
similarity index 100%
rename from squid-compat/assert.h
rename to compat/assert.h
similarity index 100%
rename from squid-compat/compat.cc
rename to compat/compat.cc
similarity index 75%
rename from squid-compat/compat.h
rename to compat/compat.h
index 13f02fa1fe55bd386ad8bfaacf133cbb535716b4..7f5dff032d9cd6758a4775c2edfb522765e3043e 100644 (file)
@@ -7,7 +7,7 @@
 
 /*
  * From discussions it was chosen to push compat code as far down as possible.
- * That means we can have a seperate squid-compat for most
+ * That means we can have a seperate compat for most
  *  compatability and portability hacks and resolutions.
  * 
  * This file is meant to collate all those hacks files together and
 /* Define the _SQUID_TYPE_ based on a guess of the OS */
 /* NP: this MUST come first within compat.h           */
 /******************************************************/
-#include "squid-compat/osdetect.h"
+#include "compat/osdetect.h"
 
 
 /*****************************************************/
 /* FDSETSIZE is messy and needs to be done before    */
 /* sys/types.h are defined.                          */
 /*****************************************************/
-#include "squid-compat/fdsetsize.h"
+#include "compat/fdsetsize.h"
 
 
 /*****************************************************/
 /* OS-macro wrapping should be done inside the OS .h */
 /*****************************************************/
 
-#include "squid-compat/os/aix.h"
-#include "squid-compat/os/dragonfly.h"
-#include "squid-compat/os/freebsd.h"
-#include "squid-compat/os/hpux.h"
-#include "squid-compat/os/linux.h"
-#include "squid-compat/os/mswin.h"
-#include "squid-compat/os/next.h"
-#include "squid-compat/os/openbsd.h"
-#include "squid-compat/os/os2.h"
-#include "squid-compat/os/qnx.h"
-#include "squid-compat/os/sgi.h"
-#include "squid-compat/os/solaris.h"
-#include "squid-compat/os/sunos.h"
-#include "squid-compat/os/windows.h"
+#include "compat/os/aix.h"
+#include "compat/os/dragonfly.h"
+#include "compat/os/freebsd.h"
+#include "compat/os/hpux.h"
+#include "compat/os/linux.h"
+#include "compat/os/mswin.h"
+#include "compat/os/next.h"
+#include "compat/os/openbsd.h"
+#include "compat/os/os2.h"
+#include "compat/os/qnx.h"
+#include "compat/os/sgi.h"
+#include "compat/os/solaris.h"
+#include "compat/os/sunos.h"
+#include "compat/os/windows.h"
 
 
 /*****************************************************/
 /* components as found to be needed                  */
 /*****************************************************/
 
-#include "squid-compat/compat_shared.h"
-#include "squid-compat/stdvarargs.h"
-#include "squid-compat/assert.h"
+#include "compat/compat_shared.h"
+#include "compat/stdvarargs.h"
+#include "compat/assert.h"
 
 /*****************************************************/
 /* component-specific portabilities                  */
 /*****************************************************/
 
 /* Valgrind API macros changed between two versions squid supports */
-#include "squid-compat/valgrind.h"
+#include "compat/valgrind.h"
 
 /* Endian functions are usualy handled by the OS but not always. */
 #include "squid_endian.h"
@@ -89,7 +89,7 @@
  * Default is to use a system provided one, but the bundle
  * may be used instead with explicit configuration.
  */
-#include "squid-compat/GnuRegex.h"
+#include "compat/GnuRegex.h"
 
 
 #endif /* _SQUID_COMPAT_H */
similarity index 100%
rename from squid-compat/fdsetsize.h
rename to compat/fdsetsize.h
similarity index 100%
rename from squid-compat/os/aix.h
rename to compat/os/aix.h
similarity index 100%
rename from squid-compat/os/hpux.h
rename to compat/os/hpux.h
similarity index 100%
rename from squid-compat/os/linux.h
rename to compat/os/linux.h
similarity index 100%
rename from squid-compat/os/mswin.h
rename to compat/os/mswin.h
similarity index 100%
rename from squid-compat/os/next.h
rename to compat/os/next.h
similarity index 100%
rename from squid-compat/os/os2.h
rename to compat/os/os2.h
similarity index 100%
rename from squid-compat/os/qnx.h
rename to compat/os/qnx.h
similarity index 100%
rename from squid-compat/os/sgi.h
rename to compat/os/sgi.h
similarity index 100%
rename from squid-compat/os/sunos.h
rename to compat/os/sunos.h
similarity index 100%
rename from squid-compat/osdetect.h
rename to compat/osdetect.h
similarity index 100%
rename from squid-compat/valgrind.h
rename to compat/valgrind.h
index 6e0718d0bef2f24fe89677070771615a855f9a32..e01712a7f4bb6695ff92bd2cce0f13fe25e44907 100644 (file)
@@ -3790,7 +3790,7 @@ rm -f core
 
 AC_CONFIG_FILES([\
        Makefile \
-       squid-compat/Makefile \
+       compat/Makefile \
        lib/Makefile \
        scripts/Makefile \
        scripts/RunCache \
index 021132d604d68ee25f921242d05941cf619b649b..7a0e1f4552df52c954c957cbe717bd0f0e814ccc 100644 (file)
@@ -12,7 +12,7 @@ EXTRA_DIST            = squid_ldap_auth.8
 squid_ldap_auth_SOURCES        = squid_ldap_auth.c
 
 LDADD = \
-       -L$(top_builddir)/squid-compat/libcompat.la \
+       -L$(top_builddir)/compat/libcompat.la \
        -L$(top_builddir)/lib -lmiscutil \
        $(LIB_LDAP) \
        $(LIB_LBER) \
index 1351f619b9e178bbb55406795afb31d808439b9c..3ae2747499db11e0697b0c9fa73934c717f2e9df 100644 (file)
@@ -27,7 +27,7 @@ EXTRA_DIST = \
 sysconf_DATA = \
        msntauth.conf.default
 
-LDADD = -L$(top_builddir)/lib -lmiscutil $(XTRA_LIBS) -L$(top_builddir)/squid-compat/libcompat.la
+LDADD = -L$(top_builddir)/lib -lmiscutil $(XTRA_LIBS) -L$(top_builddir)/compat/libcompat.la
 
 INCLUDES = \
        -I$(top_srcdir) \
index b9dfefe9c4b6e48ad20142366eeef3c25cf54407..088e4136a87200724f81c59219dbbfca4f19182d 100644 (file)
@@ -11,7 +11,7 @@ ncsa_auth_SOURCES     = ncsa_auth.c crypt_md5.c crypt_md5.h
 man_MANS               = ncsa_auth.8
 EXTRA_DIST             = ncsa_auth.8
 LDADD = \
-       -L$(top_builddir)/squid-compat/libcompat.la \
+       -L$(top_builddir)/compat/libcompat.la \
        -L$(top_builddir)/lib -lmiscutil \
        $(CRYPTLIB) \
        $(XTRA_LIBS) \
index bc9206826e16290225d883b822a6d5c70467eaa9..cf1f823c75bcfeb91e349c0eea52104e8c35f588 100644 (file)
@@ -15,7 +15,7 @@ INCLUDES = \
        -I$(top_srcdir)/include
 
 LDADD = \
-       -L$(top_builddir)/squid-compat/libcompat.la \
+       -L$(top_builddir)/compat/libcompat.la \
        -L$(top_builddir)/lib -lmiscutil \
        -lpam \
        $(XTRA_LIBS)
index 5c6d91fd48e237fb0b268ec4a2a7304958d78d66..29aa13904a0c62dc2d4a97581e6101020d109861 100644 (file)
@@ -13,7 +13,7 @@ INCLUDES = \
        -I$(top_srcdir)/include
 
 LDADD = \
-       -L$(top_builddir)/squid-compat/libcompat.la \
+       -L$(top_builddir)/compat/libcompat.la \
        -L$(top_builddir)/lib -lmiscutil \
        $(LIBSASL) \
        $(XTRA_LIBS)
index 59182f471a937abd2fca4424a377248da5a2cf4a..018df05e1260f5cbe5d5c7fc2d08919da7e3e0e2 100644 (file)
@@ -27,6 +27,6 @@ INCLUDES = \
        -I$(top_srcdir)/include
 
 LDADD = \
-       -L$(top_builddir)/squid-compat/libcompat.la \
+       -L$(top_builddir)/compat/libcompat.la \
        -L$(top_builddir)/lib -lmiscutil \
        $(XTRA_LIBS)
index 2e9c4018f1f3625fbc9425ac1d3b86a7a5898d00..dc34cc39ea2acd542e652bf743f615c326b4e453 100644 (file)
@@ -13,7 +13,7 @@ INCLUDES = \
        -I$(top_srcdir)/include
 
 LDADD = \
-       -L$(top_builddir)/squid-compat/libcompat.la \
+       -L$(top_builddir)/compat/libcompat.la \
        -L$(top_builddir)/lib -lmiscutil \
        $(CRYPTLIB) \
        $(XTRA_LIBS)
index 4ca7098dccb6359bfb1570f7fa89c8747249da76..7daa5833b95fc182f98e3516c2f3233d88eceb8c 100644 (file)
@@ -17,7 +17,7 @@ INCLUDES = \
        -I$(top_srcdir)/src
 
 LDADD = \
-       -L$(top_builddir)/squid-compat/libcompat.la \
+       -L$(top_builddir)/compat/libcompat.la \
        -L$(top_builddir)/lib -lmiscutil \
        $(CRYPTLIB) \
        $(XTRA_LIBS)
index 8ff7ba2d44b859ed3124849ab17cb291c9895e84..31fd12afaf7a2a9a123da0080823cb1d3727e475 100644 (file)
@@ -12,7 +12,7 @@ libexec_PROGRAMS = mswin_auth
 mswin_auth_SOURCES = mswin_auth.c valid.c valid.h
 
 LDADD = \
-       -L$(top_builddir)/squid-compat/libcompat.la \
+       -L$(top_builddir)/compat/libcompat.la \
        -L$(top_builddir)/lib -lmiscutil \
        -lnetapi32 -ladvapi32 -lsspwin32 \
        $(XTRA_LIBS)
index eaaf020fee1ef83eca578b4c5c9a0ecd906cc925..4dfb4e2b80d4b1dba1a67ad21de1f4405ec36928 100644 (file)
@@ -20,7 +20,7 @@ INCLUDES = \
        -I$(top_srcdir)/include
 
 LDADD = \
-       -L$(top_builddir)/squid-compat/libcompat.la \
+       -L$(top_builddir)/compat/libcompat.la \
        -L$(top_builddir)/lib -lmiscutil \
        $(SSLLIB) \
        $(XTRA_LIBS)
index 8d1efacff9c1b9ee747fcbf29089f6abfc2ff895..6edcf990cd7d95afa36a13ab6e055f42afb35f74 100644 (file)
@@ -21,7 +21,7 @@ INCLUDES = \
        -I$(top_srcdir)/include
 
 LDADD = \
-       -L$(top_builddir)/squid-compat/libcompat.la \
+       -L$(top_builddir)/compat/libcompat.la \
        -L$(top_builddir)/lib -lmiscutil \
        $(LIB_LDAP) \
        $(LIB_LBER) \
index f48fd4a76ce2e4bacabd6658c93fddbdc33380f3..3c52436b54b0fad68ee6767af126c0deb7c8c881 100644 (file)
@@ -19,7 +19,7 @@ INCLUDES = \
        -I$(top_srcdir)/include
 
 LDADD = \
-       -L$(top_builddir)/squid-compat/libcompat.la \
+       -L$(top_builddir)/compat/libcompat.la \
        -L$(top_builddir)/lib -lmiscutil \
        $(LIB_LDAP) \
        $(LIB_LBER) \
index ee1d19aedb71a161764ec73aa0fdc77003f33da0..c4231331aec7b011ddf9d2cdf1a8d4257374fcac 100644 (file)
@@ -19,7 +19,7 @@ INCLUDES = \
        -I$(top_srcdir)/include
 
 LDADD = \
-       -L$(top_builddir)/squid-compat/libcompat.la \
+       -L$(top_builddir)/compat/libcompat.la \
        -L$(top_builddir)/lib -lmiscutil \
        $(CRYPTLIB) \
        $(XTRA_LIBS) \
index ab59c64c43bdb77befa36a4c1e14eb873b04d629..4cf22dc045a5f2f05d2639cbfccbb73927297853 100644 (file)
@@ -30,6 +30,6 @@ INCLUDES = \
        -I$(top_srcdir)/include
 
 LDADD = \
-       -L$(top_builddir)/squid-compat/libcompat.la \
+       -L$(top_builddir)/compat/libcompat.la \
        -L$(top_builddir)/lib -lmiscutil \
        @XTRA_LIBS@
index 0fb9c1a6926c3fe40e208142097d563a3c00f896..30eb21414cc4fab1affd1c962f3cde3f4869c166 100644 (file)
@@ -18,7 +18,7 @@ INCLUDES = \
        -I$(top_srcdir)/include
 
 LDADD = \
-       -L$(top_builddir)/squid-compat/libcompat.la \
+       -L$(top_builddir)/compat/libcompat.la \
        -L$(top_builddir)/lib -lmiscutil \
        $(LIB_LDAP) \
        $(LIB_LBER) \
index 7eecdc556980821d7584592881744d6116f26fea..70d8895f9e850b4e407bf23a66df03ad1470b661 100644 (file)
@@ -16,7 +16,7 @@ INCLUDES = \
        -I$(top_srcdir)/include
 
 LDADD = \
-       -L$(top_builddir)/squid-compat/libcompat.la \
+       -L$(top_builddir)/compat/libcompat.la \
        -L$(top_builddir)/lib -lmiscutil \
        -lnetapi32 \
        -ladvapi32 \
index bfe22c830b7ecb432dd4a6fafaf4e74c74a116cc..67c55f0037bea8be33465c9ff0d431c5aa342c20 100644 (file)
@@ -17,7 +17,7 @@ INCLUDES = \
        -I$(top_srcdir)/include
 
 LDADD = \
-       -L$(top_builddir)/squid-compat/libcompat.la \
+       -L$(top_builddir)/compat/libcompat.la \
        -L$(top_builddir)/lib -lmiscutil \
        -lnetapi32 \
        -ladvapi32 \
index 40700cbe1cefd85944a70451be2faa9e2b2e4862..b1ac089b841df9d69a8ca2090c2625a69ed90694 100644 (file)
@@ -18,5 +18,5 @@ INCLUDES = \
        -I$(top_srcdir)/include
 
 LDADD = \
-       -L$(top_builddir)/squid-compat/libcompat.la \
+       -L$(top_builddir)/compat/libcompat.la \
        @LIB_DB@
index c6c179924cdb8dd15251a68f268bce380d692f02..fb023587b6191826415990db0ce098f61e144f35 100644 (file)
@@ -18,6 +18,6 @@ INCLUDES = \
        -I$(top_srcdir)/include
 
 LDADD = \
-       -L$(top_builddir)/squid-compat/libcompat.la \
+       -L$(top_builddir)/compat/libcompat.la \
        -L$(top_builddir)/lib -lmiscutil \
        @XTRA_LIBS@
index 50aeb0b4c131f29bd98ad9ec0ea1366d07c1f6d3..2b2fcad593f670f603477d7beb400389cf2c6c23 100644 (file)
@@ -16,7 +16,7 @@ INCLUDES = \
        -I$(top_srcdir)/include
 
 LDADD = \
-       -L$(top_builddir)/squid-compat/libcompat.la \
+       -L$(top_builddir)/compat/libcompat.la \
        -L$(top_builddir)/lib -lmiscutil \
        $(CRYPTLIB) \
        $(XTRA_LIBS)
index ecdd6927ac04f2524781b328d5be1b04d0f7cc21..87c61a5058f1554a1a02007c71282385613adfdc 100644 (file)
@@ -15,7 +15,7 @@ INCLUDES = \
        -I$(top_srcdir)/include
 
 LDADD = \
-       -L$(top_builddir)/squid-compat/libcompat.la \
+       -L$(top_builddir)/compat/libcompat.la \
        -L$(top_builddir)/lib -lmiscutil -lntlmauth \
        -lsspwin32 \
        -lnetapi32 \
index a7ae89378a29c5a962e43b2247216cf6c7310e25..aa039e87b32930f8088ce5aeaa211f1aed32e148 100644 (file)
@@ -16,7 +16,7 @@ INCLUDES = \
        -I$(srcdir)/smbval
 
 LDADD = \
-       -L$(top_builddir)/squid-compat/libcompat.la \
+       -L$(top_builddir)/compat/libcompat.la \
        -L$(top_builddir)/lib -lntlmauth -lmiscutil \
        smbval/libsmbvalid.a \
        $(CRYPTLIB) \
index aed61508fad439611729e8f8e30dc7b997d12969..76d18fc3bc8a84263bdf76d3cf1953755efb5d98 100644 (file)
@@ -55,7 +55,7 @@
  *--------------------------------------------------------------------------*
  ****************************************************************************/
 
-#include "squid-compat/compat.h"
+#include "compat/compat.h"
 
 #ifdef USE_POSIX_REGEX
 #ifndef USE_RE_SYNTAX
index beb3e0ddce0a2e9cef6b1a5f3dcb43ec8bbaeb1f..4961985eab4d137532aa1979d8519d2a0f541ff6 100644 (file)
@@ -52,7 +52,7 @@ testIpAddress_SOURCES= \
 nodist_testIpAddress_SOURCES= \
        ../tests/testMain.cc
 testIpAddress_LDADD= \
-       $(top_builddir)/squid-compat/libcompat.la \
+       $(top_builddir)/compat/libcompat.la \
        libip.la \
        -L$(top_builddir)/lib -lmiscutil \
        @SQUID_CPPUNIT_LA@ \
index 1af447495b851386479c8d3805c73b8560c9ce6b..47e2365d93f23f8d63be89125e84fa32bfbe56fc 100644 (file)
@@ -17,7 +17,7 @@ INCLUDES = \
        -I$(top_srcdir)/src
 
 LDADD = \
-       -L$(top_builddir)/squid-compat/libcompat.la \
+       -L$(top_builddir)/compat/libcompat.la \
        -L$(top_builddir)/lib -lmiscutil \
        $(top_builddir)/src/globals.o \
        $(top_builddir)/src/time.o