Gentoo Archives: gentoo-commits

From: "Tim Harder (radhermit)" <radhermit@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-antivirus/clamav: clamav-0.97.3.ebuild ChangeLog
Date: Mon, 28 Nov 2011 05:26:23
Message-Id: 20111128052607.588DD2004B@flycatcher.gentoo.org
1 radhermit 11/11/28 05:26:07
2
3 Modified: clamav-0.97.3.ebuild ChangeLog
4 Log:
5 Fix autotools-utils usage (bug #392135).
6
7 (Portage version: 2.2.0_alpha77/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.8 app-antivirus/clamav/clamav-0.97.3.ebuild
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-antivirus/clamav/clamav-0.97.3.ebuild?rev=1.8&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-antivirus/clamav/clamav-0.97.3.ebuild?rev=1.8&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-antivirus/clamav/clamav-0.97.3.ebuild?r1=1.7&r2=1.8
15
16 Index: clamav-0.97.3.ebuild
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/app-antivirus/clamav/clamav-0.97.3.ebuild,v
19 retrieving revision 1.7
20 retrieving revision 1.8
21 diff -u -r1.7 -r1.8
22 --- clamav-0.97.3.ebuild 27 Nov 2011 03:37:41 -0000 1.7
23 +++ clamav-0.97.3.ebuild 28 Nov 2011 05:26:07 -0000 1.8
24 @@ -1,6 +1,6 @@
25 # Copyright 1999-2011 Gentoo Foundation
26 # Distributed under the terms of the GNU General Public License v2
27 -# $Header: /var/cvsroot/gentoo-x86/app-antivirus/clamav/clamav-0.97.3.ebuild,v 1.7 2011/11/27 03:37:41 radhermit Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/app-antivirus/clamav/clamav-0.97.3.ebuild,v 1.8 2011/11/28 05:26:07 radhermit Exp $
29
30 EAPI=4
31
32 @@ -31,7 +31,7 @@
33
34 DOCS=( AUTHORS BUGS ChangeLog FAQ INSTALL NEWS README UPGRADE )
35
36 -AUTOTOOLS_IN_SOURCE_BUILD=1
37 +PATCHES=( "${FILESDIR}"/${PN}-0.97-nls.patch )
38
39 pkg_setup() {
40 enewgroup clamav
41 @@ -39,26 +39,27 @@
42 }
43
44 src_prepare() {
45 - epatch "${FILESDIR}"/${PN}-0.97-nls.patch
46 use ppc64 && append-flags -mminimal-toc
47 + autotools-utils_src_prepare
48 }
49
50 src_configure() {
51 - econf \
52 - --disable-experimental \
53 - --enable-id-check \
54 - --with-dbdir=/var/lib/clamav \
55 - --with-system-tommath \
56 - $(use_enable bzip2) \
57 - $(use_enable clamdtop) \
58 - $(use_enable ipv6) \
59 - $(use_enable milter) \
60 - $(use_enable static-libs static) \
61 + local myeconfargs=(
62 + --disable-experimental
63 + --enable-id-check
64 + --with-dbdir=/var/lib/clamav
65 + --with-system-tommath
66 + $(use_enable bzip2)
67 + $(use_enable clamdtop)
68 + $(use_enable ipv6)
69 + $(use_enable milter)
70 $(use_with iconv)
71 + )
72 + autotools-utils_src_configure
73 }
74
75 src_install() {
76 - default
77 + autotools-utils_src_install
78
79 rm -rf "${ED}"/var/lib/clamav
80 newinitd "${FILESDIR}"/clamd.rc clamd
81 @@ -75,8 +76,6 @@
82 insinto /etc/logrotate.d
83 newins "${FILESDIR}"/clamav.logrotate clamav
84
85 - remove_libtool_files
86 -
87 # Modify /etc/{clamd,freshclam}.conf to be usable out of the box
88 sed -i -e "s:^\(Example\):\# \1:" \
89 -e "s:.*\(PidFile\) .*:\1 /var/run/clamav/clamd.pid:" \
90
91
92
93 1.410 app-antivirus/clamav/ChangeLog
94
95 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-antivirus/clamav/ChangeLog?rev=1.410&view=markup
96 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-antivirus/clamav/ChangeLog?rev=1.410&content-type=text/plain
97 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-antivirus/clamav/ChangeLog?r1=1.409&r2=1.410
98
99 Index: ChangeLog
100 ===================================================================
101 RCS file: /var/cvsroot/gentoo-x86/app-antivirus/clamav/ChangeLog,v
102 retrieving revision 1.409
103 retrieving revision 1.410
104 diff -u -r1.409 -r1.410
105 --- ChangeLog 27 Nov 2011 03:37:41 -0000 1.409
106 +++ ChangeLog 28 Nov 2011 05:26:07 -0000 1.410
107 @@ -1,6 +1,9 @@
108 # ChangeLog for app-antivirus/clamav
109 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
110 -# $Header: /var/cvsroot/gentoo-x86/app-antivirus/clamav/ChangeLog,v 1.409 2011/11/27 03:37:41 radhermit Exp $
111 +# $Header: /var/cvsroot/gentoo-x86/app-antivirus/clamav/ChangeLog,v 1.410 2011/11/28 05:26:07 radhermit Exp $
112 +
113 + 28 Nov 2011; Tim Harder <radhermit@g.o> clamav-0.97.3.ebuild:
114 + Fix autotools-utils usage (bug #392135).
115
116 27 Nov 2011; Tim Harder <radhermit@g.o> clamav-0.97.3.ebuild:
117 Build in the source tree.