Update of /cvsroot/devil-linux/build/scripts
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12212/scripts
Modified Files:
Tag: rel-1-2-patches
clamav squidguard
Log Message:
- DL now works fine again on 32 MB systems
- unpacking of /var now uses less memory during uncompression
- save-config now uses less memory during compression
- removed squidguard blacklist
(has to be freshly downloaded anyway)
- removed clamav virus signatures
(has to be freshly downloaded anyway)
Index: squidguard
===================================================================
RCS file: /cvsroot/devil-linux/build/scripts/squidguard,v
retrieving revision 1.2
retrieving revision 1.2.2.1
diff -u -d -r1.2 -r1.2.2.1
--- squidguard 30 Mar 2004 00:31:57 -0000 1.2
+++ squidguard 6 Sep 2004 14:40:32 -0000 1.2.2.1
@@ -45,7 +45,6 @@
mkdir -p $WORKDIR/tmp/usr/share/doc/squidguard || exit 1
# Create the db directory
mkdir -p $WORKDIR/tmp/var/lib/squidguard/demo || exit 1
- cp -r ../squidguard-blacklist/* $WORKDIR/tmp/var/lib/squidguard/demo
cp src/squidGuard $WORKDIR/tmp/usr/bin/
cp doc/* $WORKDIR/tmp/usr/share/doc/squidguard
cp -r samples $WORKDIR/tmp/usr/share/doc/squidguard
Index: clamav
===================================================================
RCS file: /cvsroot/devil-linux/build/scripts/clamav,v
retrieving revision 1.9.2.1
retrieving revision 1.9.2.2
diff -u -d -r1.9.2.1 -r1.9.2.2
--- clamav 25 Jul 2004 22:37:00 -0000 1.9.2.1
+++ clamav 6 Sep 2004 14:40:32 -0000 1.9.2.2
@@ -52,9 +52,9 @@
rm -rf $WORKDIR/tmp/usr/include || exit 1
rm -rf $WORKDIR/tmp/usr/lib/*a || exit 1
copy_files $WORKDIR/tmp/usr $CDDIR/ || exit 1
- chmod -R 700 $WORKDIR/tmp/var/lib/clamav || exit 1
- chown -R clamav $WORKDIR/tmp/var/lib/clamav || exit 1
- copy_files $WORKDIR/tmp/var $CDDIR/ || exit 1
+ mkdir -p $CDDIR/var/lib/clamav || exit 1
+ chmod -R 700 $CDDIR/var/lib/clamav || exit 1
+ chown -R clamav $CDDIR/var/lib/clamav || exit 1
rm -rf $WORKDIR/tmp || exit 1
cp -dp $MYDIR/scripts/clamav $ETCDIR/etc/init.d/ || exit 1
|