Gentoo Archives: gentoo-commits

From: Austin English <wizardedit@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-fs/clamfs/, sys-fs/clamfs/files/
Date: Fri, 29 Apr 2016 19:32:54
Message-Id: 1461958333.f4ab01f44f5966a45b3dc3ea581d742a67cd8973.wizardedit@gentoo
1 commit: f4ab01f44f5966a45b3dc3ea581d742a67cd8973
2 Author: Austin English <wizardedit <AT> gentoo <DOT> org>
3 AuthorDate: Fri Apr 29 19:31:09 2016 +0000
4 Commit: Austin English <wizardedit <AT> gentoo <DOT> org>
5 CommitDate: Fri Apr 29 19:32:13 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4ab01f4
7
8 sys-fs/clamfs: use #!/sbin/openrc-run instead of #!/sbin/runscript
9
10 Gentoo-Bug: https://bugs.gentoo.org/573846
11
12 Also bump to EAPI=6
13
14 Package-Manager: portage-2.2.26
15
16 sys-fs/clamfs/clamfs-1.0.1-r2.ebuild | 43 ++++++++++++++++++++++++++++++++++++
17 sys-fs/clamfs/files/clamfs.initd | 4 ++--
18 2 files changed, 45 insertions(+), 2 deletions(-)
19
20 diff --git a/sys-fs/clamfs/clamfs-1.0.1-r2.ebuild b/sys-fs/clamfs/clamfs-1.0.1-r2.ebuild
21 new file mode 100644
22 index 0000000..dcab6b1
23 --- /dev/null
24 +++ b/sys-fs/clamfs/clamfs-1.0.1-r2.ebuild
25 @@ -0,0 +1,43 @@
26 +# Copyright 1999-2016 Gentoo Foundation
27 +# Distributed under the terms of the GNU General Public License v2
28 +# $Id$
29 +
30 +EAPI="6"
31 +inherit eutils linux-info
32 +
33 +DESCRIPTION="A FUSE-based user-space file system with on-access anti-virus file scanning"
34 +HOMEPAGE="http://clamfs.sourceforge.net/"
35 +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
36 +
37 +LICENSE="GPL-2"
38 +SLOT="0"
39 +KEYWORDS="~amd64 ~x86"
40 +IUSE=""
41 +
42 +DEPEND=">=dev-libs/boost-1.33
43 + sys-fs/fuse
44 + dev-cpp/commoncpp2
45 + dev-libs/rlog
46 + dev-libs/poco"
47 +RDEPEND="${DEPEND}
48 + app-antivirus/clamav"
49 +
50 +CONFIG_CHECK="~FUSE_FS"
51 +
52 +src_prepare() {
53 + eapply "${FILESDIR}/${P}-gentoo.patch"
54 + eapply -p0 "${FILESDIR}/${P}-gcc45.patch"
55 + eapply_user
56 +}
57 +
58 +src_install() {
59 + emake install DESTDIR="${D}"
60 +
61 + insinto /etc/clamfs
62 + doins doc/clamfs.xml
63 +
64 + newinitd "${FILESDIR}/${PN}.initd" ${PN}
65 + newconfd "${FILESDIR}/${PN}.confd" ${PN}
66 +
67 + dodoc AUTHORS ChangeLog NEWS README TODO
68 +}
69
70 diff --git a/sys-fs/clamfs/files/clamfs.initd b/sys-fs/clamfs/files/clamfs.initd
71 index d7f911e..1f2440a 100644
72 --- a/sys-fs/clamfs/files/clamfs.initd
73 +++ b/sys-fs/clamfs/files/clamfs.initd
74 @@ -1,5 +1,5 @@
75 -#!/sbin/runscript
76 -# Copyright 1999-2010 Gentoo Foundation
77 +#!/sbin/openrc-run
78 +# Copyright 1999-2016 Gentoo Foundation
79 # Distributed under the terms of the GNU General Public License v2
80 # $Id$