Gentoo Archives: gentoo-commits

From: "Matsuu Takuto (matsuu)" <matsuu@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-fs/clamfs/files: clamfs-1.0.1-gentoo.patch clamfs.initd clamfs.confd
Date: Fri, 08 Jan 2010 16:29:29
Message-Id: E1NTHiH-0007rp-VG@stork.gentoo.org
1 matsuu 10/01/08 16:29:25
2
3 Added: clamfs-1.0.1-gentoo.patch clamfs.initd clamfs.confd
4 Log:
5 Initial import, bug #259863.
6 (Portage version: 2.1.7.16/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.1 sys-fs/clamfs/files/clamfs-1.0.1-gentoo.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/clamfs/files/clamfs-1.0.1-gentoo.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/clamfs/files/clamfs-1.0.1-gentoo.patch?rev=1.1&content-type=text/plain
13
14 Index: clamfs-1.0.1-gentoo.patch
15 ===================================================================
16 diff -Naur clamfs-1.0.1.orig/doc/clamfs.xml clamfs-1.0.1/doc/clamfs.xml
17 --- clamfs-1.0.1.orig/doc/clamfs.xml 2009-02-07 23:09:26.000000000 +0900
18 +++ clamfs-1.0.1/doc/clamfs.xml 2010-01-08 18:19:13.000000000 +0900
19 @@ -16,7 +16,7 @@
20 check - (yes or no) check if clamd is available on startup (useful if
21 mounting clamfs file systems from /etc/fstab early on startup,
22 while clamav daemon is not yet started) -->
23 - <clamd socket="/var/run/clamav/clamd.ctl" check="yes" />
24 + <clamd socket="/var/run/clamav/clamd.sock" check="yes" />
25
26 <!-- File system settings
27 root - real directory to attach as our root
28
29
30
31 1.1 sys-fs/clamfs/files/clamfs.initd
32
33 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/clamfs/files/clamfs.initd?rev=1.1&view=markup
34 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/clamfs/files/clamfs.initd?rev=1.1&content-type=text/plain
35
36 Index: clamfs.initd
37 ===================================================================
38 #!/sbin/runscript
39 # Copyright 1999-2010 Gentoo Foundation
40 # Distributed under the terms of the GNU General Public License v2
41 # $Header: /var/cvsroot/gentoo-x86/sys-fs/clamfs/files/clamfs.initd,v 1.1 2010/01/08 16:29:25 matsuu Exp $
42
43 depend() {
44 use logger
45 need clamd
46 }
47
48 start() {
49 ebegin "Starting clamfs"
50 start-stop-daemon --start --quiet \
51 --exec /usr/bin/clamfs -- ${CLAMFS_CONFFILE}
52 eend $? "Failed to start clamfs"
53 }
54
55 stop() {
56 ebegin "Stopping clamfs"
57 start-stop-daemon --stop --quiet --name clamfs
58 eend $? "Failed to stop clamfs"
59 }
60
61
62
63 1.1 sys-fs/clamfs/files/clamfs.confd
64
65 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/clamfs/files/clamfs.confd?rev=1.1&view=markup
66 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/clamfs/files/clamfs.confd?rev=1.1&content-type=text/plain
67
68 Index: clamfs.confd
69 ===================================================================
70 CLAMFS_CONFFILE="/etc/clamfs/clamfs.xml"