Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 275928 | Differences between
and this patch

Collapse All | Expand All

(-)clamav-0.95.2.ebuild (-2 / +11 lines)
Lines 4-10 Link Here
4
4
5
EAPI=2
5
EAPI=2
6
6
7
inherit eutils flag-o-matic fixheadtails multilib versionator
7
inherit eutils flag-o-matic fixheadtails multilib versionator autotools libtool
8
8
9
# for when rc1 is appended to release candidates:
9
# for when rc1 is appended to release candidates:
10
MY_PV=$(replace_version_separator 3 '');
10
MY_PV=$(replace_version_separator 3 '');
Lines 18-24 Link Here
18
LICENSE="GPL-2"
18
LICENSE="GPL-2"
19
SLOT="0"
19
SLOT="0"
20
KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd"
20
KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd"
21
IUSE="bzip2 clamdtop iconv milter selinux ipv6"
21
IUSE="bzip2 clamdtop iconv milter selinux ipv6 static-libs"
22
22
23
COMMON_DEPEND="bzip2? ( app-arch/bzip2 )
23
COMMON_DEPEND="bzip2? ( app-arch/bzip2 )
24
	milter? ( || ( mail-filter/libmilter mail-mta/sendmail ) )
24
	milter? ( || ( mail-filter/libmilter mail-mta/sendmail ) )
Lines 45-50 Link Here
45
45
46
src_prepare() {
46
src_prepare() {
47
	epatch "${FILESDIR}/${PN}-0.95.1-nls.patch"
47
	epatch "${FILESDIR}/${PN}-0.95.1-nls.patch"
48
	epatch "${FILESDIR}/${PN}-${PV}-hardened.patch"
49
	eautoreconf
48
}
50
}
49
51
50
src_configure() {
52
src_configure() {
Lines 57-62 Link Here
57
		$(use_enable clamdtop) \
59
		$(use_enable clamdtop) \
58
		$(use_enable milter) \
60
		$(use_enable milter) \
59
		$(use_with iconv) \
61
		$(use_with iconv) \
62
		$(use_enable static-libs static) \
60
		--disable-experimental \
63
		--disable-experimental \
61
		--enable-id-check \
64
		--enable-id-check \
62
		--disable-zlib-vcheck \
65
		--disable-zlib-vcheck \
Lines 65-70 Link Here
65
68
66
src_install() {
69
src_install() {
67
	emake DESTDIR="${D}" install || die
70
	emake DESTDIR="${D}" install || die
71
72
	# remove useless la files
73
	if ! use static-libs; then
74
		rm "${D}"/usr/$(get_libdir)/lib{${PN},clamunrar_iface,clamunrar}.la || die "rm .la file failed"
75
	fi
76
68
	dodoc AUTHORS BUGS NEWS README ChangeLog FAQ
77
	dodoc AUTHORS BUGS NEWS README ChangeLog FAQ
69
	newconfd "${FILESDIR}/clamd.conf" clamd
78
	newconfd "${FILESDIR}/clamd.conf" clamd
70
	newinitd "${FILESDIR}/clamd.rc" clamd
79
	newinitd "${FILESDIR}/clamd.rc" clamd

Return to bug 275928