FreeBSD Bugzilla – Attachment 87027 Details for
Bug 123572
[Maintainer] www/squid30: correct problems regarding cachemgr.conf
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 5.54 KB, created by
Thomas-Martin Seck
on 2008-05-10 18:10:01 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Thomas-Martin Seck
Created:
2008-05-10 18:10:01 UTC
Size:
5.54 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (.../www/squid30) (revision 1368) >+++ Makefile (.../local/squid30) (revision 1368) >@@ -63,6 +63,7 @@ > > PORTNAME= squid > PORTVERSION= 3.0.5 >+PORTREVISION= 1 > CATEGORIES= www > MASTER_SITES= ftp://ftp.squid-cache.org/pub/%SUBDIR%/ \ > ftp://mirrors.24-7-solutions.net/pub/squid/%SUBDIR%/ \ >@@ -425,10 +426,6 @@ > ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL > > post-install: >-# Create cachemgr.conf.default manually since Squid-3's install routine >-# unfortunately fails to do so (as it did in the old 2.5 days...): >- ${INSTALL_DATA} ${WRKSRC}/tools/cachemgr.conf \ >- ${PREFIX}/etc/squid/cachemgr.conf.default > .if !defined(NOPORTEXAMPLES) > @${MKDIR} ${EXAMPLESDIR} > ${INSTALL_DATA} ${WRKSRC}/helpers/basic_auth/DB/passwd.sql ${EXAMPLESDIR} >Index: files/patch-tools-Makefile.in >=================================================================== >--- files/patch-tools-Makefile.in (.../www/squid30) (revision 1368) >+++ files/patch-tools-Makefile.in (.../local/squid30) (revision 1368) >@@ -1,11 +1,63 @@ >---- tools/Makefile.in.orig Sun May 14 18:30:04 2006 >-+++ tools/Makefile.in Sun May 14 18:31:02 2006 >-@@ -297,7 +297,7 @@ >+This patch is mostly a patch for Squid bug #2346; the default location of the >+cachemgr.cgi configuration file was not correctly passed to the preprocessor >+during compilation. >+ >+--- tools/Makefile.in.orig 2008-05-10 16:54:15.000000000 +0200 >++++ tools/Makefile.in 2008-05-10 16:56:22.000000000 +0200 >+@@ -61,7 +61,7 @@ >+ binPROGRAMS_INSTALL = $(INSTALL_PROGRAM) >+ libexecPROGRAMS_INSTALL = $(INSTALL_PROGRAM) >+ PROGRAMS = $(bin_PROGRAMS) $(libexec_PROGRAMS) >+-am_cachemgr__CGIEXT__OBJECTS = cachemgr.$(OBJEXT) >++am_cachemgr__CGIEXT__OBJECTS = cachemgr__CGIEXT_-cachemgr.$(OBJEXT) >+ cachemgr__CGIEXT__OBJECTS = $(am_cachemgr__CGIEXT__OBJECTS) >+ cachemgr__CGIEXT__LDADD = $(LDADD) >+ am__DEPENDENCIES_1 = >+@@ -318,7 +318,7 @@ >+ SUBDIRS = >+ squidclient_SOURCES = squidclient.cc >+ cachemgr__CGIEXT__SOURCES = cachemgr.cc >+-cachemgr__CGIEXT__CFLAGS = -DDEFAULT_CACHEMGR_CONFIG=\"$(DEFAULT_CACHEMGR_CONFIG)\" $(AM_CFLAGS) >++cachemgr__CGIEXT__CXXFLAGS = -DDEFAULT_CACHEMGR_CONFIG=\"$(DEFAULT_CACHEMGR_CONFIG)\" $(AM_CFLAGS) >+ LDADD = -L../lib -lmiscutil $(XTRA_LIBS) > EXTRA_DIST = \ > cachemgr.conf >+@@ -440,7 +440,7 @@ >+ distclean-compile: >+ -rm -f *.tab.c > >--DEFAULT_CACHEMGR_CONFIG = $(sysconfdir)/cachemgr.conf >-+DEFAULT_CACHEMGR_CONFIG = $(sysconfdir)/cachemgr.conf.default >+-@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cachemgr.Po@am__quote@ >++@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cachemgr__CGIEXT_-cachemgr.Po@am__quote@ >+ @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/squidclient.Po@am__quote@ > >- # Don't automatically uninstall config files >- # @if test -f $(DESTDIR)$(DEFAULT_CONFIG_FILE) ; then \ >+ .cc.o: >+@@ -467,6 +467,20 @@ >+ @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ >+ @am__fastdepCXX_FALSE@ $(LTCXXCOMPILE) -c -o $@ $< >+ >++cachemgr__CGIEXT_-cachemgr.o: cachemgr.cc >++@am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(cachemgr__CGIEXT__CXXFLAGS) $(CXXFLAGS) -MT cachemgr__CGIEXT_-cachemgr.o -MD -MP -MF "$(DEPDIR)/cachemgr__CGIEXT_-cachemgr.Tpo" -c -o cachemgr__CGIEXT_-cachemgr.o `test -f 'cachemgr.cc' || echo '$(srcdir)/'`cachemgr.cc; \ >++@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/cachemgr__CGIEXT_-cachemgr.Tpo" "$(DEPDIR)/cachemgr__CGIEXT_-cachemgr.Po"; else rm -f "$(DEPDIR)/cachemgr__CGIEXT_-cachemgr.Tpo"; exit 1; fi >++@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='cachemgr.cc' object='cachemgr__CGIEXT_-cachemgr.o' libtool=no @AMDEPBACKSLASH@ >++@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ >++@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(cachemgr__CGIEXT__CXXFLAGS) $(CXXFLAGS) -c -o cachemgr__CGIEXT_-cachemgr.o `test -f 'cachemgr.cc' || echo '$(srcdir)/'`cachemgr.cc >++ >++cachemgr__CGIEXT_-cachemgr.obj: cachemgr.cc >++@am__fastdepCXX_TRUE@ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(cachemgr__CGIEXT__CXXFLAGS) $(CXXFLAGS) -MT cachemgr__CGIEXT_-cachemgr.obj -MD -MP -MF "$(DEPDIR)/cachemgr__CGIEXT_-cachemgr.Tpo" -c -o cachemgr__CGIEXT_-cachemgr.obj `if test -f 'cachemgr.cc'; then $(CYGPATH_W) 'cachemgr.cc'; else $(CYGPATH_W) '$(srcdir)/cachemgr.cc'; fi`; \ >++@am__fastdepCXX_TRUE@ then mv -f "$(DEPDIR)/cachemgr__CGIEXT_-cachemgr.Tpo" "$(DEPDIR)/cachemgr__CGIEXT_-cachemgr.Po"; else rm -f "$(DEPDIR)/cachemgr__CGIEXT_-cachemgr.Tpo"; exit 1; fi >++@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='cachemgr.cc' object='cachemgr__CGIEXT_-cachemgr.obj' libtool=no @AMDEPBACKSLASH@ >++@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ >++@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(cachemgr__CGIEXT__CXXFLAGS) $(CXXFLAGS) -c -o cachemgr__CGIEXT_-cachemgr.obj `if test -f 'cachemgr.cc'; then $(CYGPATH_W) 'cachemgr.cc'; else $(CYGPATH_W) '$(srcdir)/cachemgr.cc'; fi` >++ >+ mostlyclean-libtool: >+ -rm -f *.lo >+ >+@@ -835,6 +849,8 @@ >+ $(OBJS): $(top_srcdir)/include/version.h ../include/autoconf.h >+ >+ install-data-local: >++ @echo "$(INSTALL_DATA) $(srcdir)/cachemgr.conf $(DESTDIR)$(DEFAULT_CACHEMGR_CONFIG).default"; \ >++ $(INSTALL_DATA) $(srcdir)/cachemgr.conf $(DESTDIR)$(DEFAULT_CACHEMGR_CONFIG).default; >+ @if test -f $(DESTDIR)$(DEFAULT_CACHEMGR_CONFIG) ; then \ >+ echo "$@ will not overwrite existing $(DESTDIR)$(DEFAULT_CACHEMGR_CONFIG)" ; \ >+ else \
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 123572
: 87027