summaryrefslogtreecommitdiff
path: root/www/dansguardian/patches/patch-linux.in
blob: 76e1465989f845f251c11b1816fccb78d281cb5e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
$NetBSD: patch-linux.in,v 1.1 2010/03/29 19:38:54 sborrill Exp $

--- autoconf/linux.in.orig	2005-08-14 00:47:57.000000000 +0100
+++ autoconf/linux.in	2010-03-29 20:16:54.000000000 +0100
@@ -47,14 +47,6 @@
 	$(CPP) -o dansguardian $(DGCFLAGS) $(DEBUG) $(OBJ) $(LIBS) dansguardian.cpp
 
 install:
-	@test -d $I$(SYSVLOCATION) || install -d $I$(SYSVLOCATION)
-	@test -d $I$(CONFFILELOCATION) || install -d $I$(CONFFILELOCATION)
-	@test -d $I$(CONFFILELOCATION)phraselists || install -d $I$(CONFFILELOCATION)phraselists
-	@test -d $I$(CONFFILELOCATION)languages || install -d $I$(CONFFILELOCATION)languages
-	@test -d $I$(CGIBINLOCATION) || install -d $I$(CGIBINLOCATION)
-	@test -d $I$(MANUALFILES)man8/ || install -d $I$(MANUALFILES)man8/
-	@test -d $I$(LOGLOCATION) || install -d $I$(LOGLOCATION)
-	@test -d $I$(BINARYLOCATION) || install -d $I$(BINARYLOCATION)
 	cp -f ./filtergroupslist $I$(CONFFILELOCATION)filtergroupslist
 	cp -f ./dansguardianf1.conf $I$(CONFFILELOCATION)dansguardianf1.conf
 	cp -f ./dansguardian $I$(BINARYLOCATION)dansguardian
@@ -85,10 +77,6 @@
 	cp -f ./dansguardian.pl $I$(CGIBINLOCATION)dansguardian.pl
 	chmod o+x $I$(CGIBINLOCATION)dansguardian.pl
 	cp -f ./dansguardian.8.gz $I$(MANUALFILES)man8/dansguardian.8.gz
-	chown -R $(PROXYUSER):$(PROXYGROUP) $I$(LOGLOCATION)
-	chmod -R u+wr $I$(LOGLOCATION)
-	chmod -R og-w $I$(LOGLOCATION)
-	chmod u+wrx $I$(LOGLOCATION)
 	if [ -f $(CHKCONF) ]; then $(CHKCONFIG); fi
 	if [ -f $(DEB_RC) ]; then $(DEB_RC) dansguardian defaults 50; fi
 	if [ -d $(LOGROTATELOCATION) ]; then cp -f ./logrotate.dansguardian $I$(LOGROTATELOCATION)dansguardian; fi