[csw-devel] SF.net SVN: gar:[5280] csw/mgar/pkg/squid/trunk

valholla at users.sourceforge.net valholla at users.sourceforge.net
Tue Jun 16 23:27:01 CEST 2009


Revision: 5280
          http://gar.svn.sourceforge.net/gar/?rev=5280&view=rev
Author:   valholla
Date:     2009-06-16 21:27:00 +0000 (Tue, 16 Jun 2009)

Log Message:
-----------
fix cachedir

Modified Paths:
--------------
    csw/mgar/pkg/squid/trunk/Makefile
    csw/mgar/pkg/squid/trunk/checksums
    csw/mgar/pkg/squid/trunk/files/CSWsquid.postinstall

Modified: csw/mgar/pkg/squid/trunk/Makefile
===================================================================
--- csw/mgar/pkg/squid/trunk/Makefile	2009-06-16 20:41:42 UTC (rev 5279)
+++ csw/mgar/pkg/squid/trunk/Makefile	2009-06-16 21:27:00 UTC (rev 5280)
@@ -26,6 +26,7 @@
 
 CONFIGURE_ARGS  = $(DIRPATHS)
 CONFIGURE_ARGS += --datadir=$(datadir)/$(GARNAME)
+CONFIGURE_ARGS += --localstatedir=/var/opt/csw/$(GARNAME)
 CONFIGURE_ARGS += --enable-arp-acl
 CONFIGURE_ARGS += --enable-auth=basic
 CONFIGURE_ARGS += --enable-basic-auth-helpers=LDAP,SMB,YP,PAM,SASL,NCSA
@@ -58,7 +59,8 @@
 
 post-install-modulated:
 	ginstall -d $(DESTDIR)/etc/opt/csw/init.d
-	ginstall -d $(DESTDIR)$(localstatedir)/cache
+	ginstall -d $(DESTDIR)/var/opt/csw/$(GARNAME)/logs
+	ginstall -d $(DESTDIR)/var/opt/csw/$(GARNAME)/cache
 	gcp $(DOWNLOADDIR)/cswsquid $(DESTDIR)/etc/opt/csw/init.d/
 	chmod 0755 $(DESTDIR)/etc/opt/csw/init.d/cswsquid
 	gmv $(DESTDIR)$(sysconfdir)/squid.conf \

Modified: csw/mgar/pkg/squid/trunk/checksums
===================================================================
--- csw/mgar/pkg/squid/trunk/checksums	2009-06-16 20:41:42 UTC (rev 5279)
+++ csw/mgar/pkg/squid/trunk/checksums	2009-06-16 21:27:00 UTC (rev 5280)
@@ -1,4 +1,4 @@
 121a5d15dc17f580ace367e8bef2ccd7  download/CSWsquid.postinstall
 f97bf395c3d2d73a876f9091707126bc  download/CSWsquid.preremove
-ad73bb6b95a42b93cfc62cf5762251a1  download/cswsquid
+608d7165ae88f7ee5916eea4c1529203  download/cswsquid
 6de3a6a7a56a7ecae092f2d31a04f039  download/squid-2.7.STABLE6.tar.bz2

Modified: csw/mgar/pkg/squid/trunk/files/CSWsquid.postinstall
===================================================================
--- csw/mgar/pkg/squid/trunk/files/CSWsquid.postinstall	2009-06-16 20:41:42 UTC (rev 5279)
+++ csw/mgar/pkg/squid/trunk/files/CSWsquid.postinstall	2009-06-16 21:27:00 UTC (rev 5280)
@@ -7,7 +7,7 @@
 
 CSW_PREFIX=${PKG_INSTALL_ROOT}/opt/csw
 SQUID_CONFDIR=${CSW_PREFIX}/etc
-SQUID_VARDIR=${CSW_PREFIX}/var
+SQUID_VARDIR=/var/opt/csw/squid
 SQUID_SBINDIR=${CSW_PREFIX}/sbin
 USER=''
 GRP=''


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list