From 6bcbba9b285efd3b1d76ea816efa4ac72e1fc35c Mon Sep 17 00:00:00 2001 From: Marcin Miroslaw Date: Sun, 22 Nov 2009 21:46:13 +0000 Subject: sys-fs/clamfs: Initial commit, bug #259863. Thanks to Ishan Arora for proposal of ebuild. svn path=/sunrise/; revision=9582 --- sys-fs/clamfs/ChangeLog | 8 ++++++ sys-fs/clamfs/Manifest | 5 ++++ sys-fs/clamfs/clamfs-1.0.0.ebuild | 32 ++++++++++++++++++++++ .../files/clamfs-1.0.0-invalid_conversion.patch | 11 ++++++++ sys-fs/clamfs/metadata.xml | 5 ++++ 5 files changed, 61 insertions(+) create mode 100644 sys-fs/clamfs/ChangeLog create mode 100644 sys-fs/clamfs/Manifest create mode 100644 sys-fs/clamfs/clamfs-1.0.0.ebuild create mode 100644 sys-fs/clamfs/files/clamfs-1.0.0-invalid_conversion.patch create mode 100644 sys-fs/clamfs/metadata.xml (limited to 'sys-fs') diff --git a/sys-fs/clamfs/ChangeLog b/sys-fs/clamfs/ChangeLog new file mode 100644 index 000000000..e0b432624 --- /dev/null +++ b/sys-fs/clamfs/ChangeLog @@ -0,0 +1,8 @@ +# ChangeLog for sys-fs/clamfs +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + + 22 Nov 2009; Marcin Miroslaw +clamfs-1.0.0.ebuild, + +files/clamfs-1.0.0-invalid_conversion.patch, +metadata.xml: + Initial commit, bug #259863. Thanks to Ishan Arora for proposal of ebuild. + diff --git a/sys-fs/clamfs/Manifest b/sys-fs/clamfs/Manifest new file mode 100644 index 000000000..f888085e7 --- /dev/null +++ b/sys-fs/clamfs/Manifest @@ -0,0 +1,5 @@ +AUX clamfs-1.0.0-invalid_conversion.patch 426 RMD160 49f9bb27194a8a975bd6c68d53b19a7fabf9a130 SHA1 cf5474690f94bd7f39c03bd3da0ae81ea35b8659 SHA256 fcb63948bdd63f6efa53a87466853c9243dae041757eba23fd60b6c0185dcaa1 +DIST clamfs-1.0.0.tar.gz 127505 RMD160 ed5d014d0335ad800de85a50cd9f3fd1bc6cab7b SHA1 051e530aaee5b39d5221f59d4df7683d47e69936 SHA256 784b269751388cd658c78b2c4c67c6d19ff8cdfdb3db738110eb0a5745538297 +EBUILD clamfs-1.0.0.ebuild 780 RMD160 3eebaa73161a322df2f2dd2dd5ea2f1881c111ab SHA1 174eae1ebd04098946f37ba36423d2a789069bfb SHA256 2981c5c93e7fa6f97c8ebd2f1b97e13eb65267dc624f8b7f4801b9b31059c8b5 +MISC ChangeLog 323 RMD160 303bc27c78653254196b8882f3bcb934104e22e6 SHA1 55ce15b11986b095bfd878d4a49acdd28d890fdc SHA256 2ed4008155ff61ea4140105358a7d7e07d3a9d8e0ae77788f55b274f73f278cb +MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 diff --git a/sys-fs/clamfs/clamfs-1.0.0.ebuild b/sys-fs/clamfs/clamfs-1.0.0.ebuild new file mode 100644 index 000000000..0598d54a1 --- /dev/null +++ b/sys-fs/clamfs/clamfs-1.0.0.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +inherit eutils + +DESCRIPTION="A FUSE filesystem for Linux with on-access file scanning through clamd daemon" +HOMEPAGE="http://clamfs.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="sys-fs/fuse + dev-cpp/commoncpp2 + dev-libs/rlog + dev-libs/poco" +RDEPEND="${RDEPEND}" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}/${P}-invalid_conversion.patch" +} +src_install() { + emake install DESTDIR="${D}" || die "make install failed" + dodoc AUTHORS ChangeLog README || die "dodoc failed" + insinto /etc/${PN} + newins doc/clamfs.xml clamfs.xml.example || die "newins failed" +} diff --git a/sys-fs/clamfs/files/clamfs-1.0.0-invalid_conversion.patch b/sys-fs/clamfs/files/clamfs-1.0.0-invalid_conversion.patch new file mode 100644 index 000000000..8bf2afe79 --- /dev/null +++ b/sys-fs/clamfs/files/clamfs-1.0.0-invalid_conversion.patch @@ -0,0 +1,11 @@ +--- trunk/src/clamfs.cxx 2009/02/07 14:10:50 84 ++++ trunk/src/clamfs.cxx 2009/11/15 13:51:09 85 +@@ -526,7 +526,7 @@ + * Check extension ACL + */ + if (extensions != NULL) { +- char *ext = rindex(path, '.'); /* find last dot */ ++ const char *ext = rindex(path, '.'); /* find last dot */ + if (ext != NULL) { + ++ext; /* omit dot */ + extum_t::const_iterator extumConstIter; diff --git a/sys-fs/clamfs/metadata.xml b/sys-fs/clamfs/metadata.xml new file mode 100644 index 000000000..7e3286984 --- /dev/null +++ b/sys-fs/clamfs/metadata.xml @@ -0,0 +1,5 @@ + + + +maintainer-wanted + -- cgit v1.2.3-65-gdbad