Update of /cvsroot/fink/dists/10.2-gcc3.3/unstable/main/finkinfo/utils
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12866
Modified Files:
clamav.info
Log Message:
Some adjustments of permissions for clamXav
Index: clamav.info
===================================================================
RCS file: /cvsroot/fink/dists/10.2-gcc3.3/unstable/main/finkinfo/utils/clamav.info,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- clamav.info 2 Sep 2004 07:05:23 -0000 1.10
+++ clamav.info 3 Sep 2004 19:03:13 -0000 1.11
@@ -1,6 +1,6 @@
Package: clamav
Version: 0.75
-Revision: 2
+Revision: 3
Source: mirror:sourceforge:%n/%n-%v.tar.gz
Source-MD5: 645d3d5b6d6bea2af6db92295b5c10af
BuildDepends: gmp, bzip2, bzip2-dev
@@ -17,9 +17,10 @@
#!/bin/sh
/usr/sbin/chown -R root:admin *
/usr/bin/make install DESTDIR=%d
- /usr/bin/install -m 644 etc/clamav.conf %i/etc/
- /usr/bin/install -m 644 etc/freshclam.conf %i/etc/
+ /usr/bin/install -m 664 etc/clamav.conf %i/etc/
+ /usr/bin/install -m 664 etc/freshclam.conf %i/etc/
/usr/sbin/chown -R %n %i/var/db/%n
+ /bin/chmod g+w %i/var/db/%n
/usr/bin/install -d -m 755 %i/share/doc/%n
/bin/mv docs/* %i/share/doc/%n
(cd %i/share/doc/%n; /bin/rm -R Makefile Makefile.am Makefile.in man)
@@ -77,6 +78,12 @@
<<
PostInstScript: <<
#!/bin/bash
+ # need to change permissions here as these files might already been
+ # installed, in which case the permission are not adjusted
+ /bin/chmod g+w %p/var/db/clamav
+ /bin/chmod g+w %p/etc/clamav.conf
+ /bin/chmod g+w %p/etc/freshclam.conf
+
printf "\nDo you want to download the latest virus definitions now? [Yn] "
YN=yes
if ! read -t 20 YN; then
@@ -86,7 +93,7 @@
[nN]|[nN][oO]) echo "Your virus definitions might be out-dated." ;;
*) %p/bin/freshclam ;;
esac
- printf "\nTo download the latest virus definitions in future, run 'sudo
freshclam'.\n"
+ printf "\nTo download the latest virus definitions in future, run 'freshclam'.\n"
if (( `/usr/bin/grep -c "^Example" %p/etc/clamav.conf` )); then
printf "\nBefore you can use 'clamscan', you need to edit the\n"
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
_______________________________________________
Fink-commits mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-commits