From 56bd759df1d0c750a065b8c845e93d5dfa6b549d Mon Sep 17 00:00:00 2001 From: "Robin H. Johnson" Date: Sat, 8 Aug 2015 13:49:04 -0700 Subject: proj/gentoo: Initial commit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson X-Thanks: Alec Warner - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring - wrote much python to improve cvs2svn X-Thanks: Rich Freeman - validation scripts X-Thanks: Patrick Lauer - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed --- sys-fs/clamfs/Manifest | 1 + sys-fs/clamfs/clamfs-1.0.1-r1.ebuild | 43 +++++++++++++++++++++++++++ sys-fs/clamfs/files/clamfs-1.0.1-gcc45.patch | 15 ++++++++++ sys-fs/clamfs/files/clamfs-1.0.1-gentoo.patch | 12 ++++++++ sys-fs/clamfs/files/clamfs.confd | 1 + sys-fs/clamfs/files/clamfs.initd | 22 ++++++++++++++ sys-fs/clamfs/metadata.xml | 15 ++++++++++ 7 files changed, 109 insertions(+) create mode 100644 sys-fs/clamfs/Manifest create mode 100644 sys-fs/clamfs/clamfs-1.0.1-r1.ebuild create mode 100644 sys-fs/clamfs/files/clamfs-1.0.1-gcc45.patch create mode 100644 sys-fs/clamfs/files/clamfs-1.0.1-gentoo.patch create mode 100644 sys-fs/clamfs/files/clamfs.confd create mode 100644 sys-fs/clamfs/files/clamfs.initd create mode 100644 sys-fs/clamfs/metadata.xml (limited to 'sys-fs/clamfs') diff --git a/sys-fs/clamfs/Manifest b/sys-fs/clamfs/Manifest new file mode 100644 index 000000000000..7e8758f70657 --- /dev/null +++ b/sys-fs/clamfs/Manifest @@ -0,0 +1 @@ +DIST clamfs-1.0.1.tar.gz 142386 SHA256 d4f8b0ce767fab3deeb356e8c7cd45a34b5e3de43177735b4f315fc16aa11d03 diff --git a/sys-fs/clamfs/clamfs-1.0.1-r1.ebuild b/sys-fs/clamfs/clamfs-1.0.1-r1.ebuild new file mode 100644 index 000000000000..39286e311291 --- /dev/null +++ b/sys-fs/clamfs/clamfs-1.0.1-r1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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" \ + "${FILESDIR}/${P}-gcc45.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-gcc45.patch b/sys-fs/clamfs/files/clamfs-1.0.1-gcc45.patch new file mode 100644 index 000000000000..1f5f63a252f2 --- /dev/null +++ b/sys-fs/clamfs/files/clamfs-1.0.1-gcc45.patch @@ -0,0 +1,15 @@ +Fix building with gcc 4.5 + +http://bugs.gentoo.org/show_bug.cgi?id=320107 + +--- src/scancache.cxx ++++ src/scancache.cxx +@@ -37,7 +37,7 @@ + } + + ScanCache::ScanCache(long int elements, long int expire): +- ExpireLRUCache::ExpireLRUCache(elements, expire) { ++ ExpireLRUCache(elements, expire) { + } + + ScanCache::~ScanCache() { 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) --> +- ++ + +