Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.1
squidGuard
squidGuard-1.3-config.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File squidGuard-1.3-config.patch of Package squidGuard
--- squidGuard-1.2.1/Makefile.in.orig 2006-12-29 10:03:53.000000000 +0100 +++ squidGuard-1.2.1/Makefile.in 2007-05-10 14:47:14.000000000 +0200 @@ -15,9 +15,9 @@ RM = rm -f MKINSTALLDIRS = mkdir -p -prefix = @prefix@ -exec_prefix = @exec_prefix@ -bindir = $(exec_prefix)/bin +prefix = $(DESTDIR)@prefix@ +exec_prefix = $(DESTDIR)@exec_prefix@ +bindir = $(DESTDIR)@bindir@ infodir = $(prefix)/info SQUIDUSER = @squiduser@ --- squidGuard-1.2.1/src/Makefile.in.orig 2007-03-16 16:58:37.000000000 +0100 +++ squidGuard-1.2.1/src/Makefile.in 2007-05-10 14:47:14.000000000 +0200 @@ -31,11 +31,11 @@ srcdir = @srcdir@ VPATH = @srcdir@ -prefix = @prefix@ -exec_prefix = @exec_prefix@ -bindir = $(exec_prefix)/bin -logdir = @sg_logdir@ -cfgdir = @sg_cfgdir@ +prefix = $(DESTDIR)@prefix@ +exec_prefix = $(DESTDIR)@exec_prefix@ +bindir = $(DESTDIR)@bindir@ +logdir = $(DESTDIR)@sg_logdir@ +cfgdir = $(DESTDIR)@sg_cfgdir@ infodir = $(prefix)/info OBJS = main.o sgLog.o sgDb.o HTParse.o sgDiv.o sgFree.o y.tab.o lex.yy.o --- squidGuard-1.2.1/test/test1.conf.in.orig 1999-06-28 17:07:19.000000000 +0200 +++ squidGuard-1.2.1/test/test1.conf.in 2007-05-10 14:47:14.000000000 +0200 @@ -1,5 +1,5 @@ -logdir @TESTDIR@ -dbhome @TESTDIR@ +logdir /var/log/squidGuard +dbhome /var/lib/squidGuard/db src grownups { ip 10.0.0.0/24 # range 10.0.0.0 - 10.0.0.255 --- squidGuard-1.2.1/test/test2.conf.in.orig 1999-06-28 17:07:20.000000000 +0200 +++ squidGuard-1.2.1/test/test2.conf.in 2007-05-10 14:47:14.000000000 +0200 @@ -1,5 +1,5 @@ -logdir @TESTDIR@ -dbhome @TESTDIR@ +logdir /var/log/squidGuard +dbhome /var/lib/squidGuard/db src grownups { ip 10.0.0.0/24 # range 10.0.0.0 - 10.0.0.255 --- squidGuard-1.2.1/src/sg.h.in.orig 2007-04-11 11:20:34.000000000 +0200 +++ squidGuard-1.2.1/src/sg.h.in 2007-05-10 15:21:54.000000000 +0200 @@ -79,7 +79,7 @@ #define WARNING_LOGFILE "squidGuard.log" #define ERROR_LOGFILE "squidGuard.error" -#define DEFAULT_CONFIGFILE "@prefix@/squidGuard/squidGuard.conf" +#define DEFAULT_CONFIGFILE "/etc/squidguard.conf" #define DEFAULT_LOGDIR "@prefix@/squidGuard/log" #define DEFAULT_DBHOME "@prefix@/squidGuard/db" #define EXEC_PROGRAM "@prefix@/bin/squidGuard" --- squidGuard-1.3/Makefile.in.orig 2007-11-29 11:30:24.000000000 +0100 +++ squidGuard-1.3/Makefile.in 2007-11-29 11:35:44.000000000 +0100 @@ -50,20 +50,14 @@ @if [ ! -d $(prefix)/squidGuard ]; then \ $(MKINSTALLDIRS) $(prefix)/squidGuard ; \ echo Created directory $(prefix)/squidGuard ; \ - chown -R $(SQUIDUSER) $(prefix)/squidGuard || exit 1 ; \ - echo Assigned $(prefix)/squidGuard to user $(SQUIDUSER) ; \ fi ; @if [ ! -d $(dbhomedir) ]; then \ $(MKINSTALLDIRS) $(dbhomedir) ; \ echo Created directory $(dbhomedir) ; \ - chown -R $(SQUIDUSER) $(dbhomedir) || exit 1 ; \ - echo Assigned $(dbhomedir) to user $(SQUIDUSER) ; \ fi ; @if [ ! -d $(logdir) ]; then \ $(MKINSTALLDIRS) $(logdir) ; \ echo Created directory $(logdir) ; \ - chown -R $(SQUIDUSER) $(logdir) || exit 1 ; \ - echo Assigned $(logdir) to user $(SQUIDUSER) ; \ fi ; @if test ! -f $(configfile); then \ cp samples/sample.conf $(configfile) || exit 1 ; \ --- squidGuard-1.3/Makefile.in.orig 2007-11-29 11:42:28.000000000 +0100 +++ squidGuard-1.3/Makefile.in 2007-11-29 11:43:39.000000000 +0100 @@ -48,21 +48,21 @@ install-conf: @echo Installing configuration file ; @if [ ! -d $(prefix)/squidGuard ]; then \ - $(MKINSTALLDIRS) $(prefix)/squidGuard ; \ + $(MKINSTALLDIRS) $(DESTDIR)$(prefix)/squidGuard ; \ echo Created directory $(prefix)/squidGuard ; \ fi ; @if [ ! -d $(dbhomedir) ]; then \ - $(MKINSTALLDIRS) $(dbhomedir) ; \ + $(MKINSTALLDIRS) $(DESTDIR)$(dbhomedir) ; \ echo Created directory $(dbhomedir) ; \ fi ; @if [ ! -d $(logdir) ]; then \ - $(MKINSTALLDIRS) $(logdir) ; \ + $(MKINSTALLDIRS) $(DESTDIR)$(logdir) ; \ echo Created directory $(logdir) ; \ fi ; @if test ! -f $(configfile); then \ - cp samples/sample.conf $(configfile) || exit 1 ; \ + cp samples/sample.conf $(DESTDIR)$(configfile) || exit 1 ; \ echo Copied sample squidGuard.conf ; \ - chmod 644 $(configfile) || exit 1 ; \ + chmod 644 $(DESTDIR)$(configfile) || exit 1 ; \ echo $(configfile) is now readable ; \ echo The initial configuration is complete. ; \ else \
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor