2009-08-31 23:29:40 +00:00
|
|
|
diff -up squid-3.1.0.13/errors/Makefile.am.build squid-3.1.0.13/errors/Makefile.am
|
|
|
|
--- squid-3.1.0.13/errors/Makefile.am.build 2009-08-04 15:32:08.000000000 +0200
|
2009-08-31 23:57:30 +00:00
|
|
|
+++ squid-3.1.0.13/errors/Makefile.am 2009-09-01 01:55:37.000000000 +0200
|
2009-08-31 23:29:40 +00:00
|
|
|
@@ -3,7 +3,7 @@
|
|
|
|
# $Id$
|
|
|
|
#
|
|
|
|
|
|
|
|
-errordir = $(datadir)/errors
|
|
|
|
+errordir = $(pkgdatadir)/errors
|
|
|
|
|
|
|
|
##dist-hook eveything
|
|
|
|
|
|
|
|
diff -up squid-3.1.0.13/errors/Makefile.in.build squid-3.1.0.13/errors/Makefile.in
|
|
|
|
--- squid-3.1.0.13/errors/Makefile.in.build 2009-08-04 15:32:30.000000000 +0200
|
2009-08-31 23:57:30 +00:00
|
|
|
+++ squid-3.1.0.13/errors/Makefile.in 2009-09-01 01:56:14.000000000 +0200
|
2009-08-31 23:29:40 +00:00
|
|
|
@@ -221,7 +221,7 @@ target_alias = @target_alias@
|
|
|
|
top_build_prefix = @top_build_prefix@
|
|
|
|
top_builddir = @top_builddir@
|
|
|
|
top_srcdir = @top_srcdir@
|
|
|
|
-errordir = $(datadir)/errors
|
|
|
|
+errordir = $(pkgdatadir)/errors
|
|
|
|
DEFAULT_ERROR_DIR = $(errordir)
|
|
|
|
DEFAULT_STYLESHEET = $(sysconfdir)/errorpage.css
|
|
|
|
TRANSLATIONPO = `ls -1 $(top_srcdir)/errors/*.po | grep -o -E "[a-z\-]+\.po" | sed s/.po//`
|
|
|
|
diff -up squid-3.1.0.13/icons/Makefile.am.build squid-3.1.0.13/icons/Makefile.am
|
|
|
|
--- squid-3.1.0.13/icons/Makefile.am.build 2009-08-04 15:32:10.000000000 +0200
|
2009-08-31 23:57:30 +00:00
|
|
|
+++ squid-3.1.0.13/icons/Makefile.am 2009-09-01 01:55:37.000000000 +0200
|
2009-08-31 23:29:40 +00:00
|
|
|
@@ -29,7 +29,7 @@ ICONS = anthony-binhex.gif \
|
|
|
|
anthony-xbm.gif \
|
|
|
|
anthony-xpm.gif
|
|
|
|
|
|
|
|
-icondir = $(datadir)/icons
|
|
|
|
+icondir = $(pkgdatadir)/icons
|
|
|
|
icon_DATA = $(ICONS)
|
|
|
|
EXTRA_DIST = $(ICONS)
|
|
|
|
DISTCLEANFILES =
|
|
|
|
diff -up squid-3.1.0.13/icons/Makefile.in.build squid-3.1.0.13/icons/Makefile.in
|
|
|
|
--- squid-3.1.0.13/icons/Makefile.in.build 2009-08-04 15:32:35.000000000 +0200
|
2009-08-31 23:57:30 +00:00
|
|
|
+++ squid-3.1.0.13/icons/Makefile.in 2009-09-01 01:56:19.000000000 +0200
|
2009-08-31 23:29:40 +00:00
|
|
|
@@ -258,7 +258,7 @@ ICONS = anthony-binhex.gif \
|
|
|
|
anthony-xbm.gif \
|
|
|
|
anthony-xpm.gif
|
|
|
|
|
|
|
|
-icondir = $(datadir)/icons
|
|
|
|
+icondir = $(pkgdatadir)/icons
|
|
|
|
icon_DATA = $(ICONS)
|
|
|
|
EXTRA_DIST = $(ICONS)
|
|
|
|
DISTCLEANFILES =
|
|
|
|
diff -up squid-3.1.0.13/src/Makefile.am.build squid-3.1.0.13/src/Makefile.am
|
|
|
|
--- squid-3.1.0.13/src/Makefile.am.build 2009-08-04 15:32:13.000000000 +0200
|
2009-08-31 23:57:30 +00:00
|
|
|
+++ squid-3.1.0.13/src/Makefile.am 2009-09-01 01:55:37.000000000 +0200
|
|
|
|
@@ -639,7 +639,9 @@ sysconf_DATA = \
|
2009-08-31 23:29:40 +00:00
|
|
|
squid.conf.documented \
|
|
|
|
mime.conf.default
|
|
|
|
|
|
|
|
-data_DATA = \
|
2009-08-31 23:57:30 +00:00
|
|
|
+# This really should be installed where snmpget & friends will find it,
|
|
|
|
+# not used by Squid as such.
|
|
|
|
+pkgdata_DATA = \
|
2009-08-31 23:29:40 +00:00
|
|
|
mib.txt
|
|
|
|
|
|
|
|
LDADD = $(COMMON_LIBS) -L../lib -lmiscutil @XTRA_LIBS@ @EPOLL_LIBS@ @MINGW_LIBS@
|
2009-08-31 23:57:30 +00:00
|
|
|
@@ -712,13 +714,13 @@ DEFAULT_ACCESS_LOG = $(DEFAULT_LOG_
|
2009-08-31 23:29:40 +00:00
|
|
|
DEFAULT_STORE_LOG = $(DEFAULT_LOG_PREFIX)/store.log
|
|
|
|
DEFAULT_PID_FILE = @DEFAULT_PIDFILE@
|
|
|
|
DEFAULT_NETDB_FILE = $(DEFAULT_LOG_PREFIX)/netdb.state
|
|
|
|
-DEFAULT_SWAP_DIR = $(localstatedir)/cache
|
|
|
|
+DEFAULT_SWAP_DIR = $(localstatedir)/spool/squid
|
|
|
|
DEFAULT_PINGER = $(libexecdir)/`echo pinger | sed '$(transform);s/$$/$(EXEEXT)/'`
|
|
|
|
DEFAULT_UNLINKD = $(libexecdir)/`echo unlinkd | sed '$(transform);s/$$/$(EXEEXT)/'`
|
|
|
|
DEFAULT_DISKD = $(libexecdir)/`echo diskd | sed '$(transform);s/$$/$(EXEEXT)/'`
|
|
|
|
-DEFAULT_ICON_DIR = $(datadir)/icons
|
|
|
|
-DEFAULT_ERROR_DIR = $(datadir)/errors
|
|
|
|
-DEFAULT_MIB_PATH = $(datadir)/mib.txt
|
|
|
|
+DEFAULT_ICON_DIR = $(pkgdatadir)/icons
|
|
|
|
+DEFAULT_ERROR_DIR = $(pkgdatadir)/errors
|
|
|
|
+DEFAULT_MIB_PATH = $(pkgdatadir)/mib.txt
|
|
|
|
DEFAULT_HOSTS = @OPT_DEFAULT_HOSTS@
|
|
|
|
|
|
|
|
# Make location configure settings available to the code
|
2009-08-31 23:57:30 +00:00
|
|
|
@@ -785,7 +787,7 @@ cf.data: cf.data.pre Makefile
|
2009-08-31 23:29:40 +00:00
|
|
|
repl_modules.cc: repl_modules.sh Makefile
|
|
|
|
$(SHELL) $(srcdir)/repl_modules.sh $(REPL_POLICIES) > repl_modules.cc
|
|
|
|
|
|
|
|
-install-data-local: install-sysconfDATA install-dataDATA
|
|
|
|
+install-data-local: install-sysconfDATA
|
|
|
|
@if test -f $(DESTDIR)$(DEFAULT_MIME_TABLE) ; then \
|
|
|
|
echo "$@ will not overwrite existing $(DESTDIR)$(DEFAULT_MIME_TABLE)" ; \
|
|
|
|
else \
|
|
|
|
diff -up squid-3.1.0.13/src/Makefile.in.build squid-3.1.0.13/src/Makefile.in
|
|
|
|
--- squid-3.1.0.13/src/Makefile.in.build 2009-08-04 15:32:36.000000000 +0200
|
2009-08-31 23:57:30 +00:00
|
|
|
+++ squid-3.1.0.13/src/Makefile.in 2009-09-01 01:56:20.000000000 +0200
|
2009-08-31 23:29:40 +00:00
|
|
|
@@ -130,7 +130,7 @@ am_libsquid_la_OBJECTS = comm.lo CommCal
|
|
|
|
SquidConfig.lo TextException.lo
|
|
|
|
libsquid_la_OBJECTS = $(am_libsquid_la_OBJECTS)
|
|
|
|
am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(libexecdir)" \
|
|
|
|
- "$(DESTDIR)$(sbindir)" "$(DESTDIR)$(datadir)" \
|
|
|
|
+ "$(DESTDIR)$(sbindir)" "$(DESTDIR)$(pkgdatadir)" \
|
|
|
|
"$(DESTDIR)$(sysconfdir)"
|
|
|
|
binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
|
|
|
|
@USE_DNSSERVER_TRUE@am__EXEEXT_1 = dnsserver$(EXEEXT)
|
|
|
|
@@ -1317,9 +1317,9 @@ am__vpath_adj = case $$p in \
|
|
|
|
*) f=$$p;; \
|
|
|
|
esac;
|
|
|
|
am__strip_dir = `echo $$p | sed -e 's|^.*/||'`;
|
|
|
|
-dataDATA_INSTALL = $(INSTALL_DATA)
|
|
|
|
+pkgdataDATA_INSTALL = $(INSTALL_DATA)
|
|
|
|
sysconfDATA_INSTALL = $(INSTALL_DATA)
|
|
|
|
-DATA = $(data_DATA) $(sysconf_DATA)
|
|
|
|
+DATA = $(pkgdata_DATA) $(sysconf_DATA)
|
|
|
|
HEADERS = $(noinst_HEADERS)
|
|
|
|
RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \
|
|
|
|
distclean-recursive maintainer-clean-recursive
|
2009-08-31 23:57:30 +00:00
|
|
|
@@ -1850,7 +1850,10 @@ sysconf_DATA = \
|
2009-08-31 23:29:40 +00:00
|
|
|
squid.conf.documented \
|
|
|
|
mime.conf.default
|
|
|
|
|
|
|
|
-data_DATA = \
|
2009-08-31 23:57:30 +00:00
|
|
|
+
|
|
|
|
+# This really should be installed where snmpget & friends will find it,
|
|
|
|
+# not used by Squid as such.
|
|
|
|
+pkgdata_DATA = \
|
|
|
|
mib.txt
|
|
|
|
|
2009-08-31 23:29:40 +00:00
|
|
|
LDADD = $(COMMON_LIBS) -L../lib -lmiscutil @XTRA_LIBS@ @EPOLL_LIBS@ @MINGW_LIBS@
|
2009-08-31 23:57:30 +00:00
|
|
|
@@ -1920,13 +1923,13 @@ DEFAULT_ACCESS_LOG = $(DEFAULT_LOG_PREFI
|
2009-08-31 23:29:40 +00:00
|
|
|
DEFAULT_STORE_LOG = $(DEFAULT_LOG_PREFIX)/store.log
|
|
|
|
DEFAULT_PID_FILE = @DEFAULT_PIDFILE@
|
|
|
|
DEFAULT_NETDB_FILE = $(DEFAULT_LOG_PREFIX)/netdb.state
|
|
|
|
-DEFAULT_SWAP_DIR = $(localstatedir)/cache
|
|
|
|
+DEFAULT_SWAP_DIR = $(localstatedir)/spool/squid
|
|
|
|
DEFAULT_PINGER = $(libexecdir)/`echo pinger | sed '$(transform);s/$$/$(EXEEXT)/'`
|
|
|
|
DEFAULT_UNLINKD = $(libexecdir)/`echo unlinkd | sed '$(transform);s/$$/$(EXEEXT)/'`
|
|
|
|
DEFAULT_DISKD = $(libexecdir)/`echo diskd | sed '$(transform);s/$$/$(EXEEXT)/'`
|
|
|
|
-DEFAULT_ICON_DIR = $(datadir)/icons
|
|
|
|
-DEFAULT_ERROR_DIR = $(datadir)/errors
|
|
|
|
-DEFAULT_MIB_PATH = $(datadir)/mib.txt
|
|
|
|
+DEFAULT_ICON_DIR = $(pkgdatadir)/icons
|
|
|
|
+DEFAULT_ERROR_DIR = $(pkgdatadir)/errors
|
|
|
|
+DEFAULT_MIB_PATH = $(pkgdatadir)/mib.txt
|
|
|
|
DEFAULT_HOSTS = @OPT_DEFAULT_HOSTS@
|
|
|
|
|
|
|
|
# stock tools for unit tests - library independent versions of dlink_list
|
2009-08-31 23:57:30 +00:00
|
|
|
@@ -4023,22 +4026,22 @@ clean-libtool:
|
2009-08-31 23:29:40 +00:00
|
|
|
-rm -rf .libs _libs
|
|
|
|
-rm -rf DiskIO/DiskDaemon/.libs DiskIO/DiskDaemon/_libs
|
|
|
|
-rm -rf tests/.libs tests/_libs
|
|
|
|
-install-dataDATA: $(data_DATA)
|
|
|
|
+install-pkgdataDATA: $(pkgdata_DATA)
|
|
|
|
@$(NORMAL_INSTALL)
|
|
|
|
- test -z "$(datadir)" || $(MKDIR_P) "$(DESTDIR)$(datadir)"
|
|
|
|
- @list='$(data_DATA)'; for p in $$list; do \
|
|
|
|
+ test -z "$(pkgdatadir)" || $(MKDIR_P) "$(DESTDIR)$(pkgdatadir)"
|
|
|
|
+ @list='$(pkgdata_DATA)'; for p in $$list; do \
|
|
|
|
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
|
|
|
|
f=$(am__strip_dir) \
|
|
|
|
- echo " $(dataDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(datadir)/$$f'"; \
|
|
|
|
- $(dataDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(datadir)/$$f"; \
|
|
|
|
+ echo " $(pkgdataDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(pkgdatadir)/$$f'"; \
|
|
|
|
+ $(pkgdataDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(pkgdatadir)/$$f"; \
|
|
|
|
done
|
|
|
|
|
|
|
|
-uninstall-dataDATA:
|
|
|
|
+uninstall-pkgdataDATA:
|
|
|
|
@$(NORMAL_UNINSTALL)
|
|
|
|
- @list='$(data_DATA)'; for p in $$list; do \
|
|
|
|
+ @list='$(pkgdata_DATA)'; for p in $$list; do \
|
|
|
|
f=$(am__strip_dir) \
|
|
|
|
- echo " rm -f '$(DESTDIR)$(datadir)/$$f'"; \
|
|
|
|
- rm -f "$(DESTDIR)$(datadir)/$$f"; \
|
|
|
|
+ echo " rm -f '$(DESTDIR)$(pkgdatadir)/$$f'"; \
|
|
|
|
+ rm -f "$(DESTDIR)$(pkgdatadir)/$$f"; \
|
|
|
|
done
|
|
|
|
install-sysconfDATA: $(sysconf_DATA)
|
|
|
|
@$(NORMAL_INSTALL)
|
2009-08-31 23:57:30 +00:00
|
|
|
@@ -4313,7 +4316,7 @@ all-am: Makefile $(LIBRARIES) $(LTLIBRAR
|
2009-08-31 23:29:40 +00:00
|
|
|
$(HEADERS)
|
|
|
|
installdirs: installdirs-recursive
|
|
|
|
installdirs-am:
|
|
|
|
- for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(libexecdir)" "$(DESTDIR)$(sbindir)" "$(DESTDIR)$(datadir)" "$(DESTDIR)$(sysconfdir)"; do \
|
|
|
|
+ for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(libexecdir)" "$(DESTDIR)$(sbindir)" "$(DESTDIR)$(pkgdatadir)" "$(DESTDIR)$(sysconfdir)"; do \
|
|
|
|
test -z "$$dir" || $(MKDIR_P) "$$dir"; \
|
|
|
|
done
|
|
|
|
install: $(BUILT_SOURCES)
|
2009-08-31 23:57:30 +00:00
|
|
|
@@ -4378,7 +4381,7 @@ info: info-recursive
|
2009-08-31 23:29:40 +00:00
|
|
|
|
|
|
|
info-am:
|
|
|
|
|
|
|
|
-install-data-am: install-data-local install-dataDATA
|
|
|
|
+install-data-am: install-data-local install-pkgdataDATA
|
|
|
|
|
|
|
|
install-dvi: install-dvi-recursive
|
|
|
|
|
2009-08-31 23:57:30 +00:00
|
|
|
@@ -4415,9 +4418,9 @@ ps: ps-recursive
|
2009-08-31 23:29:40 +00:00
|
|
|
|
|
|
|
ps-am:
|
|
|
|
|
|
|
|
-uninstall-am: uninstall-binPROGRAMS uninstall-dataDATA \
|
|
|
|
- uninstall-libexecPROGRAMS uninstall-local \
|
|
|
|
- uninstall-sbinPROGRAMS uninstall-sysconfDATA
|
|
|
|
+uninstall-am: uninstall-binPROGRAMS uninstall-libexecPROGRAMS \
|
|
|
|
+ uninstall-local uninstall-pkgdataDATA uninstall-sbinPROGRAMS \
|
|
|
|
+ uninstall-sysconfDATA
|
|
|
|
|
|
|
|
.MAKE: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) install-am \
|
|
|
|
install-strip
|
2009-08-31 23:57:30 +00:00
|
|
|
@@ -4430,19 +4433,19 @@ uninstall-am: uninstall-binPROGRAMS unin
|
2009-08-31 23:29:40 +00:00
|
|
|
distclean distclean-compile distclean-generic \
|
|
|
|
distclean-libtool distclean-tags distdir dvi dvi-am html \
|
|
|
|
html-am info info-am install install-am install-binPROGRAMS \
|
|
|
|
- install-data install-data-am install-data-local \
|
|
|
|
- install-dataDATA install-dvi install-dvi-am install-exec \
|
|
|
|
- install-exec-am install-html install-html-am install-info \
|
|
|
|
- install-info-am install-libexecPROGRAMS install-man \
|
|
|
|
- install-pdf install-pdf-am install-ps install-ps-am \
|
|
|
|
+ install-data install-data-am install-data-local install-dvi \
|
|
|
|
+ install-dvi-am install-exec install-exec-am install-html \
|
|
|
|
+ install-html-am install-info install-info-am \
|
|
|
|
+ install-libexecPROGRAMS install-man install-pdf install-pdf-am \
|
|
|
|
+ install-pkgdataDATA install-ps install-ps-am \
|
|
|
|
install-sbinPROGRAMS install-strip install-sysconfDATA \
|
|
|
|
installcheck installcheck-am installdirs installdirs-am \
|
|
|
|
maintainer-clean maintainer-clean-generic mostlyclean \
|
|
|
|
mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
|
|
|
|
pdf pdf-am ps ps-am tags tags-recursive uninstall uninstall-am \
|
|
|
|
- uninstall-binPROGRAMS uninstall-dataDATA \
|
|
|
|
- uninstall-libexecPROGRAMS uninstall-local \
|
|
|
|
- uninstall-sbinPROGRAMS uninstall-sysconfDATA
|
|
|
|
+ uninstall-binPROGRAMS uninstall-libexecPROGRAMS \
|
|
|
|
+ uninstall-local uninstall-pkgdataDATA uninstall-sbinPROGRAMS \
|
|
|
|
+ uninstall-sysconfDATA
|
|
|
|
|
|
|
|
|
|
|
|
$(OBJS): $(top_srcdir)/include/version.h $(top_builddir)/include/autoconf.h
|
2009-08-31 23:57:30 +00:00
|
|
|
@@ -4508,7 +4511,7 @@ cf.data: cf.data.pre Makefile
|
2009-08-31 23:29:40 +00:00
|
|
|
repl_modules.cc: repl_modules.sh Makefile
|
|
|
|
$(SHELL) $(srcdir)/repl_modules.sh $(REPL_POLICIES) > repl_modules.cc
|
|
|
|
|
|
|
|
-install-data-local: install-sysconfDATA install-dataDATA
|
|
|
|
+install-data-local: install-sysconfDATA
|
|
|
|
@if test -f $(DESTDIR)$(DEFAULT_MIME_TABLE) ; then \
|
|
|
|
echo "$@ will not overwrite existing $(DESTDIR)$(DEFAULT_MIME_TABLE)" ; \
|
|
|
|
else \
|