1 |
lordvan 09/04/03 08:20:19 |
2 |
|
3 |
Modified: metadata.xml ChangeLog clamav-0.95.ebuild |
4 |
Log: |
5 |
fix from bug #263740 (thanks to dertobi123), other changes, check changelog |
6 |
(Portage version: 2.1.6.7/cvs/Linux x86_64) |
7 |
|
8 |
Revision Changes Path |
9 |
1.2 app-antivirus/clamav/metadata.xml |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-antivirus/clamav/metadata.xml?rev=1.2&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-antivirus/clamav/metadata.xml?rev=1.2&content-type=text/plain |
13 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-antivirus/clamav/metadata.xml?r1=1.1&r2=1.2 |
14 |
|
15 |
Index: metadata.xml |
16 |
=================================================================== |
17 |
RCS file: /var/cvsroot/gentoo-x86/app-antivirus/clamav/metadata.xml,v |
18 |
retrieving revision 1.1 |
19 |
retrieving revision 1.2 |
20 |
diff -u -r1.1 -r1.2 |
21 |
--- metadata.xml 30 May 2004 00:27:23 -0000 1.1 |
22 |
+++ metadata.xml 3 Apr 2009 08:20:19 -0000 1.2 |
23 |
@@ -1,6 +1,9 @@ |
24 |
<?xml version="1.0" encoding="UTF-8"?> |
25 |
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
26 |
<pkgmetadata> |
27 |
-<herd>net-mail</herd> |
28 |
-<herd>antivirus</herd> |
29 |
+ <herd>net-mail</herd> |
30 |
+ <herd>antivirus</herd> |
31 |
+ <use> |
32 |
+ <flag name="clamdtop">A Top like tool which shows what clamd is currently scanning amongst other things</flag> |
33 |
+ </use> |
34 |
</pkgmetadata> |
35 |
|
36 |
|
37 |
|
38 |
1.323 app-antivirus/clamav/ChangeLog |
39 |
|
40 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-antivirus/clamav/ChangeLog?rev=1.323&view=markup |
41 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-antivirus/clamav/ChangeLog?rev=1.323&content-type=text/plain |
42 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-antivirus/clamav/ChangeLog?r1=1.322&r2=1.323 |
43 |
|
44 |
Index: ChangeLog |
45 |
=================================================================== |
46 |
RCS file: /var/cvsroot/gentoo-x86/app-antivirus/clamav/ChangeLog,v |
47 |
retrieving revision 1.322 |
48 |
retrieving revision 1.323 |
49 |
diff -u -r1.322 -r1.323 |
50 |
--- ChangeLog 31 Mar 2009 13:26:26 -0000 1.322 |
51 |
+++ ChangeLog 3 Apr 2009 08:20:19 -0000 1.323 |
52 |
@@ -1,6 +1,11 @@ |
53 |
# ChangeLog for app-antivirus/clamav |
54 |
# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2 |
55 |
-# $Header: /var/cvsroot/gentoo-x86/app-antivirus/clamav/ChangeLog,v 1.322 2009/03/31 13:26:26 lordvan Exp $ |
56 |
+# $Header: /var/cvsroot/gentoo-x86/app-antivirus/clamav/ChangeLog,v 1.323 2009/04/03 08:20:19 lordvan Exp $ |
57 |
+ |
58 |
+ 03 Apr 2009; Thomas Raschbacher <lordvan@g.o> metadata.xml, |
59 |
+ clamav-0.95.ebuild: |
60 |
+ ebuild from Bug #263740 with libtool fix, nls use flag removed for |
61 |
+ autoconf reasons and clamdtop local use flag added |
62 |
|
63 |
*clamav-0.95 (31 Mar 2009) |
64 |
|
65 |
|
66 |
|
67 |
|
68 |
1.2 app-antivirus/clamav/clamav-0.95.ebuild |
69 |
|
70 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-antivirus/clamav/clamav-0.95.ebuild?rev=1.2&view=markup |
71 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-antivirus/clamav/clamav-0.95.ebuild?rev=1.2&content-type=text/plain |
72 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-antivirus/clamav/clamav-0.95.ebuild?r1=1.1&r2=1.2 |
73 |
|
74 |
Index: clamav-0.95.ebuild |
75 |
=================================================================== |
76 |
RCS file: /var/cvsroot/gentoo-x86/app-antivirus/clamav/clamav-0.95.ebuild,v |
77 |
retrieving revision 1.1 |
78 |
retrieving revision 1.2 |
79 |
diff -u -r1.1 -r1.2 |
80 |
--- clamav-0.95.ebuild 31 Mar 2009 13:26:26 -0000 1.1 |
81 |
+++ clamav-0.95.ebuild 3 Apr 2009 08:20:19 -0000 1.2 |
82 |
@@ -1,6 +1,6 @@ |
83 |
# Copyright 1999-2009 Gentoo Foundation |
84 |
# Distributed under the terms of the GNU General Public License v2 |
85 |
-# $Header: /var/cvsroot/gentoo-x86/app-antivirus/clamav/clamav-0.95.ebuild,v 1.1 2009/03/31 13:26:26 lordvan Exp $ |
86 |
+# $Header: /var/cvsroot/gentoo-x86/app-antivirus/clamav/clamav-0.95.ebuild,v 1.2 2009/04/03 08:20:19 lordvan Exp $ |
87 |
|
88 |
inherit autotools eutils flag-o-matic fixheadtails multilib versionator |
89 |
|
90 |
@@ -16,14 +16,13 @@ |
91 |
LICENSE="GPL-2" |
92 |
SLOT="0" |
93 |
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" |
94 |
-IUSE="bzip2 crypt iconv mailwrapper milter nls selinux ipv6" |
95 |
+IUSE="bzip2 clamdtop crypt iconv milter selinux ipv6" |
96 |
|
97 |
COMMON_DEPEND="bzip2? ( app-arch/bzip2 ) |
98 |
crypt? ( >=dev-libs/gmp-4.1.2 ) |
99 |
milter? ( || ( mail-filter/libmilter mail-mta/sendmail ) ) |
100 |
iconv? ( virtual/libiconv ) |
101 |
- nls? ( sys-devel/gettext ) |
102 |
- dev-libs/gmp |
103 |
+ clamdtop? ( sys-libs/ncurses ) |
104 |
>=sys-libs/zlib-1.2.1-r3 |
105 |
>=sys-apps/sed-4" |
106 |
|
107 |
@@ -50,28 +49,6 @@ |
108 |
enewuser clamav -1 -1 /dev/null clamav |
109 |
} |
110 |
|
111 |
-src_unpack() { |
112 |
- unpack ${A} |
113 |
- cd "${S}" |
114 |
- # This newer version of ClamAV packages libtool.m4 and lt*.m4 in m4, |
115 |
- # while previous versions did not. |
116 |
- # Since autoreconf invokes libtoolize, a different version of ltmain.sh that doesn't |
117 |
- # match up with the version of the *.m4 files gets thrown into this directory. |
118 |
- # This problem showed up for me in the packages libtool's use of $ECHO while my |
119 |
- # system's libtool's instead used $echo internally, and the .m4 file provides the value of |
120 |
- # $echo or $ECHO. |
121 |
- einfo "removing possibly incompatible libtool-related m4 files" |
122 |
- rm m4/libtool.m4 m4/lt*.m4 || die "unable to remove possibly incompatible libtool-related m4 files" |
123 |
- #epatch "${FILESDIR}"/${PN}-0.94.1-buildfix.patch |
124 |
- #epatch "${FILESDIR}"/${PN}-0.94-nls.patch |
125 |
- |
126 |
- # If nls flag is disabled, gettext may not be available, but eautoreconf |
127 |
- # needs this file (bug #218892). |
128 |
- use nls || cp "${FILESDIR}"/lib-ld.m4 m4/ |
129 |
- |
130 |
- AT_M4DIR="m4" eautoreconf |
131 |
-} |
132 |
- |
133 |
src_compile() { |
134 |
has_version =sys-libs/glibc-2.2* && filter-lfs-flags |
135 |
|
136 |
@@ -84,15 +61,13 @@ |
137 |
myconf="${myconf} --enable-id-check" |
138 |
use milter && { |
139 |
myconf="${myconf} --enable-milter" |
140 |
- use mailwrapper && \ |
141 |
- myconf="${myconf} --with-sendmail=/usr/sbin/sendmail.sendmail" |
142 |
} |
143 |
|
144 |
ht_fix_file configure |
145 |
econf ${myconf} \ |
146 |
$(use_enable bzip2) \ |
147 |
- $(use_enable nls) \ |
148 |
$(use_enable ipv6) \ |
149 |
+ $(use_enable clamdtop) \ |
150 |
$(use_with iconv) \ |
151 |
--disable-experimental \ |
152 |
--with-dbdir=/var/lib/clamav || die |