Lines 1-85
Link Here
|
1 |
--- configure.orig Thu Mar 14 16:54:40 2002 |
1 |
--- configure.orig Tue Apr 2 09:15:26 2002 |
2 |
+++ configure Tue Mar 26 08:58:45 2002 |
2 |
+++ configure Tue Apr 2 09:29:41 2002 |
3 |
@@ -43,6 +43,7 @@ |
3 |
@@ -2667,7 +2667,7 @@ |
4 |
mandir='/usr/man/' |
4 |
$extendedecho "SYSVLOCATION = \${PREFIX}$sysvdir" >>Makefile |
5 |
logdir='/var/log/dansguardian/' |
5 |
$extendedecho "CGIBINLOCATION = \${PREFIX}$cgidir" >>Makefile |
6 |
piddir='/var/run/' |
6 |
$extendedecho "MANUALFILES = \${PREFIX}$mandir" >>Makefile |
7 |
+with_pics_filter="yes" |
7 |
-$extendedecho "LOGLOCATION = \${PREFIX}$logdir" >>Makefile |
8 |
|
8 |
+$extendedecho "LOGLOCATION = $logdir" >>Makefile |
9 |
|
9 |
echo "PROXYUSER = $runas_usr" >>Makefile |
10 |
case `uname -s` in |
|
|
11 |
@@ -112,7 +113,10 @@ |
12 |
--runas_usr=USER run as user DEFAULT [$runas_usr] |
13 |
--runas_grp=GROUP run as group DEFAULT [$runas_grp] |
14 |
--piddir=DIR pid file in DIR [$piddir] (ignores prefix) |
15 |
--prefix=DIR prefix root path DEFAULT [$prefixdir] (no trailing /) |
16 |
+Features and packages: |
17 |
+ --without-pics-filter Disables PICS/ICRA filtering |
18 |
+ |
19 |
Do not forget the heading *and* trailing / except for prefix which only needs |
20 |
a heading / |
21 |
EOF |
22 |
@@ -2668,6 +2672,13 @@ |
23 |
echo "PROXYGROUP = $runas_grp" >>Makefile |
10 |
echo "PROXYGROUP = $runas_grp" >>Makefile |
24 |
echo "PIDDIR = $piddir" >>Makefile |
11 |
echo "PIDDIR = $piddir" >>Makefile |
25 |
|
|
|
26 |
+case "${with_pics_filter}" in |
27 |
+ no) |
28 |
+ $extendedecho " Turning off PICS/ICRA filtering." |
29 |
+ $extendedecho "\n\${PICS_FLAG} = -DWITHOUT_PICS_FILTER" >> Makefile |
30 |
+ ;; |
31 |
+esac |
32 |
+ |
33 |
case `uname -s` in |
34 |
SunOS*) |
35 |
echo "#undef __BSD" >autoconf/platform.h |
36 |
@@ -2740,31 +2751,24 @@ |
37 |
chmod u+x dansguardian.bsdv |
38 |
;; |
39 |
FreeBSD*) |
40 |
- if [ -f dansguardian.bsdv ]; then |
41 |
- rm -f dansguardian.bsdv |
42 |
- fi |
43 |
- cat autoconf/bsdv.in > dansguardian.bsdv |
44 |
- $extendedecho " [ -x $prefixdir$bindir\c" >> dansguardian.bsdv |
45 |
- $extendedecho "dansguardian ] && $prefixdir$bindir\c" >> dansguardian.bsdv |
46 |
- echo "dansguardian > /dev/null && $extendedecho ' dansguardian\c'" >> dansguardian.bsdv |
47 |
- echo " ;;" >> dansguardian.bsdv |
48 |
- echo "stop)" >> dansguardian.bsdv |
49 |
- $extendedecho " $prefixdir$bindir\c" >> dansguardian.bsdv |
50 |
- echo "dansguardian -q" >> dansguardian.bsdv |
51 |
- $extendedecho " [ -r /tmp/\c" >> dansguardian.bsdv |
52 |
- echo ".dguardianipc ] && $extendedecho ' dansguardian\c'" >> dansguardian.bsdv |
53 |
- echo " rm -f /tmp/.dguardianipc" >> dansguardian.bsdv |
54 |
- echo " ;;" >> dansguardian.bsdv |
55 |
- echo "restart)" >> dansguardian.bsdv |
56 |
- echo " \$0 stop" >> dansguardian.bsdv |
57 |
- echo " \$0 start" >> dansguardian.bsdv |
58 |
- echo " ;;" >> dansguardian.bsdv |
59 |
- echo "*)" >> dansguardian.bsdv |
60 |
- echo " echo \"Usage: `basename \$0` {start|stop|restart}\" >&2" >> dansguardian.bsdv |
61 |
- echo " ;;" >> dansguardian.bsdv |
62 |
- echo "esac" >> dansguardian.bsdv |
63 |
- echo "exit 0" >> dansguardian.bsdv |
64 |
- chmod u+x dansguardian.bsdv |
65 |
+ cat autoconf/bsdv.in > dansguardian.bsdv |
66 |
+ $extendedecho "\t[ -x /usr/local/sbin/dansguardian ] && /usr/local/sbin/dansguardian > /dev/null && echo -n \" dansguardian\"" >> dansguardian.bsdv |
67 |
+ $extendedecho "\t;;" >> dansguardian.bsdv |
68 |
+ $extendedecho "stop)" >> dansguardian.bsdv |
69 |
+ $extendedecho "\t/usr/local/sbin/dansguardian -q" >> dansguardian.bsdv |
70 |
+ $extendedecho "\t[ -r /tmp/.dguardianipc ] && echo -n \" dansguardian\"" >> dansguardian.bsdv |
71 |
+ $extendedecho "\trm -f /tmp/.dguardianipc" >> dansguardian.bsdv |
72 |
+ $extendedecho "\t;;" >> dansguardian.bsdv |
73 |
+ $extendedecho "restart)" >> dansguardian.bsdv |
74 |
+ $extendedecho "\t\$0 stop" >> dansguardian.bsdv |
75 |
+ $extendedecho "\t\$0 start" >> dansguardian.bsdv |
76 |
+ $extendedecho "\t;;" >> dansguardian.bsdv |
77 |
+ $extendedecho "*)" >> dansguardian.bsdv |
78 |
+ $extendedecho "\techo \"Usage: \$0 {start|stop|restart}\" >&2" >> dansguardian.bsdv |
79 |
+ $extendedecho "\t;;" >> dansguardian.bsdv |
80 |
+ $extendedecho "esac" >> dansguardian.bsdv |
81 |
+ $extendedecho "exit 0" >> dansguardian.bsdv |
82 |
+ |
83 |
;; |
84 |
Linux*) |
85 |
if [ -f dansguardian.sysv ]; then |