diff options
author | Matsuu Takuto <matsuu@gentoo.org> | 2010-01-08 16:29:26 +0000 |
---|---|---|
committer | Matsuu Takuto <matsuu@gentoo.org> | 2010-01-08 16:29:26 +0000 |
commit | 04cd622a9e777aade77ea1353044ae5ec5f672a4 (patch) | |
tree | f9e3615d43a8eed7b9d2e04275620d93a84f59b8 /sys-fs/clamfs | |
parent | Version bump (diff) | |
download | historical-04cd622a9e777aade77ea1353044ae5ec5f672a4.tar.gz historical-04cd622a9e777aade77ea1353044ae5ec5f672a4.tar.bz2 historical-04cd622a9e777aade77ea1353044ae5ec5f672a4.zip |
Initial import, bug #259863.
Package-Manager: portage-2.1.7.16/cvs/Linux x86_64
Diffstat (limited to 'sys-fs/clamfs')
-rw-r--r-- | sys-fs/clamfs/ChangeLog | 11 | ||||
-rw-r--r-- | sys-fs/clamfs/Manifest | 7 | ||||
-rw-r--r-- | sys-fs/clamfs/clamfs-1.0.1.ebuild | 41 | ||||
-rw-r--r-- | sys-fs/clamfs/files/clamfs-1.0.1-gentoo.patch | 12 | ||||
-rw-r--r-- | sys-fs/clamfs/files/clamfs.confd | 1 | ||||
-rw-r--r-- | sys-fs/clamfs/files/clamfs.initd | 22 | ||||
-rw-r--r-- | sys-fs/clamfs/metadata.xml | 14 |
7 files changed, 108 insertions, 0 deletions
diff --git a/sys-fs/clamfs/ChangeLog b/sys-fs/clamfs/ChangeLog new file mode 100644 index 000000000000..cb7cd56bd248 --- /dev/null +++ b/sys-fs/clamfs/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for sys-fs/clamfs +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-fs/clamfs/ChangeLog,v 1.1 2010/01/08 16:29:26 matsuu Exp $ + +*clamfs-1.0.1 (08 Jan 2010) + + 08 Jan 2010; MATSUU Takuto <matsuu@gentoo.org> +clamfs-1.0.1.ebuild, + +files/clamfs-1.0.1-gentoo.patch, +files/clamfs.confd, + +files/clamfs.initd, +metadata.xml: + Initial import, bug #259863. + diff --git a/sys-fs/clamfs/Manifest b/sys-fs/clamfs/Manifest new file mode 100644 index 000000000000..13f8c9bca6ed --- /dev/null +++ b/sys-fs/clamfs/Manifest @@ -0,0 +1,7 @@ +AUX clamfs-1.0.1-gentoo.patch 675 RMD160 982e1cba32397d99d5dd035947fa7909a13b9d59 SHA1 3d872d4450a593f9c55ce00a1e04c787b1227673 SHA256 b32331afa6d317a98fea26496c102778dae8acd751085a80769bd450efaaeb92 +AUX clamfs.confd 41 RMD160 4e8d61e6e3f0b768e269296e35a72bfe1e6b40a6 SHA1 9ee090e5caf53f01d9ff4d3977a539d1e6dd4332 SHA256 81e44ff517a49b97382e9d42f4f829d1c7b20a7e6689ff7f99ed611b13498bd4 +AUX clamfs.initd 547 RMD160 84d4ae4994d6395ffdbf5433b3f9829ab97fd885 SHA1 f5f11fb50cafbece5d9804e8fe4a0d6b2a43ea25 SHA256 6b359a82fdc7ac39ebca83bed4eee2d614c50e1f96474a4ba3cb966642836696 +DIST clamfs-1.0.1.tar.gz 142386 RMD160 1dbeb74856b55e3f39fad0ec8c5714a00d989ddf SHA1 d2aa6eabcce95a9ee21d01dd67f76a55b395d199 SHA256 d4f8b0ce767fab3deeb356e8c7cd45a34b5e3de43177735b4f315fc16aa11d03 +EBUILD clamfs-1.0.1.ebuild 990 RMD160 8eaf630ee84699abb80b6931c0efbcc8e24c64f2 SHA1 5b1905f1bc0997de4cbc1701a620094485e56ede SHA256 6635d0cbd84f6f53cf80d1b7cca3f9a7668c2a30c10f7a65488cd65a283d92a9 +MISC ChangeLog 426 RMD160 085138b81bbe3526cc922040705d84b73611df35 SHA1 219f45900c411801d010ef872a15fcd6dbe50155 SHA256 515abaca28aee844a25df0d95c7c3b6133c86ab3f798672bdb18004f36f6cae1 +MISC metadata.xml 446 RMD160 923fb82a41cfbfe2f51ce2f7f0529052919b3c6d SHA1 11416dd25f8baa9959f65251656292485ab6c04a SHA256 9b0d4368ea1cd8cf222ad8f6133bd9355af8e8894eef0fa8d95e1e1faf8b399c diff --git a/sys-fs/clamfs/clamfs-1.0.1.ebuild b/sys-fs/clamfs/clamfs-1.0.1.ebuild new file mode 100644 index 000000000000..80fd6566e603 --- /dev/null +++ b/sys-fs/clamfs/clamfs-1.0.1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-fs/clamfs/clamfs-1.0.1.ebuild,v 1.1 2010/01/08 16:29:26 matsuu Exp $ + +EAPI="2" +inherit eutils linux-info + +DESCRIPTION="A FUSE-based user-space file system with on-access anti-virus file scanning" +HOMEPAGE="http://clamfs.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND=">=dev-libs/boost-1.33 + sys-fs/fuse + dev-cpp/commoncpp2 + dev-libs/rlog + dev-libs/poco" +RDEPEND="${DEPEND} + app-antivirus/clamav" + +CONFIG_CHECK="~FUSE_FS" + +src_prepare() { + epatch "${FILESDIR}/${P}-gentoo.patch" +} + +src_install() { + emake install DESTDIR="${D}" || die "emake install failed" + + insinto /etc/clamfs + doins doc/clamfs.xml || die + + newinitd "${FILESDIR}/${PN}.initd" ${PN} || die + newconfd "${FILESDIR}/${PN}.confd" ${PN} || die + + dodoc AUTHORS ChangeLog NEWS README TODO || die +} diff --git a/sys-fs/clamfs/files/clamfs-1.0.1-gentoo.patch b/sys-fs/clamfs/files/clamfs-1.0.1-gentoo.patch new file mode 100644 index 000000000000..f5c02daca6d6 --- /dev/null +++ b/sys-fs/clamfs/files/clamfs-1.0.1-gentoo.patch @@ -0,0 +1,12 @@ +diff -Naur clamfs-1.0.1.orig/doc/clamfs.xml clamfs-1.0.1/doc/clamfs.xml +--- clamfs-1.0.1.orig/doc/clamfs.xml 2009-02-07 23:09:26.000000000 +0900 ++++ clamfs-1.0.1/doc/clamfs.xml 2010-01-08 18:19:13.000000000 +0900 +@@ -16,7 +16,7 @@ + check - (yes or no) check if clamd is available on startup (useful if + mounting clamfs file systems from /etc/fstab early on startup, + while clamav daemon is not yet started) --> +- <clamd socket="/var/run/clamav/clamd.ctl" check="yes" /> ++ <clamd socket="/var/run/clamav/clamd.sock" check="yes" /> + + <!-- File system settings + root - real directory to attach as our root diff --git a/sys-fs/clamfs/files/clamfs.confd b/sys-fs/clamfs/files/clamfs.confd new file mode 100644 index 000000000000..941549a4ca60 --- /dev/null +++ b/sys-fs/clamfs/files/clamfs.confd @@ -0,0 +1 @@ +CLAMFS_CONFFILE="/etc/clamfs/clamfs.xml" diff --git a/sys-fs/clamfs/files/clamfs.initd b/sys-fs/clamfs/files/clamfs.initd new file mode 100644 index 000000000000..2a9d3e2fdb50 --- /dev/null +++ b/sys-fs/clamfs/files/clamfs.initd @@ -0,0 +1,22 @@ +#!/sbin/runscript +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-fs/clamfs/files/clamfs.initd,v 1.1 2010/01/08 16:29:25 matsuu Exp $ + +depend() { + use logger + need clamd +} + +start() { + ebegin "Starting clamfs" + start-stop-daemon --start --quiet \ + --exec /usr/bin/clamfs -- ${CLAMFS_CONFFILE} + eend $? "Failed to start clamfs" +} + +stop() { + ebegin "Stopping clamfs" + start-stop-daemon --stop --quiet --name clamfs + eend $? "Failed to stop clamfs" +} diff --git a/sys-fs/clamfs/metadata.xml b/sys-fs/clamfs/metadata.xml new file mode 100644 index 000000000000..bbca447d50e7 --- /dev/null +++ b/sys-fs/clamfs/metadata.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>no-herd</herd> +<maintainer> +<email>matsuu@gentoo.org</email> +</maintainer> +<longdescription lang="en"> + ClamFS is a FUSE-based user-space file system for Linux with on-access + anti-virus file scanning through clamd daemon (a file scanning service + developed by ClamAV Project). +</longdescription> +</pkgmetadata> + |