summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2011-07-26 06:57:39 +0000
committerTim Harder <radhermit@gentoo.org>2011-07-26 06:57:39 +0000
commit334c3860e815b3f86eddffd3300824bc029de04b (patch)
treead5f878db84e400d9c6645dff903bef45ed345af /app-antivirus
parentppc/ppc64 stable wrt #375689 (diff)
downloadhistorical-334c3860e815b3f86eddffd3300824bc029de04b.tar.gz
historical-334c3860e815b3f86eddffd3300824bc029de04b.tar.bz2
historical-334c3860e815b3f86eddffd3300824bc029de04b.zip
Version bump.
Package-Manager: portage-2.2.0_alpha45/cvs/Linux x86_64 RepoMan-Options: --force
Diffstat (limited to 'app-antivirus')
-rw-r--r--app-antivirus/clamav/ChangeLog7
-rw-r--r--app-antivirus/clamav/Manifest16
-rw-r--r--app-antivirus/clamav/clamav-0.97.2.ebuild118
3 files changed, 135 insertions, 6 deletions
diff --git a/app-antivirus/clamav/ChangeLog b/app-antivirus/clamav/ChangeLog
index 2bb16cf2a7f8..8b80a8825aba 100644
--- a/app-antivirus/clamav/ChangeLog
+++ b/app-antivirus/clamav/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-antivirus/clamav
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-antivirus/clamav/ChangeLog,v 1.389 2011/06/25 17:27:01 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-antivirus/clamav/ChangeLog,v 1.390 2011/07/26 06:57:39 radhermit Exp $
+
+*clamav-0.97.2 (26 Jul 2011)
+
+ 26 Jul 2011; Tim Harder <radhermit@gentoo.org> +clamav-0.97.2.ebuild:
+ Version bump.
25 Jun 2011; Raúl Porcel <armin76@gentoo.org> clamav-0.97.1.ebuild:
Add ~sparc wrt #370959
diff --git a/app-antivirus/clamav/Manifest b/app-antivirus/clamav/Manifest
index 0ac1bcc1aea9..313abed51113 100644
--- a/app-antivirus/clamav/Manifest
+++ b/app-antivirus/clamav/Manifest
@@ -1,5 +1,5 @@
-----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
+Hash: SHA512
AUX clamav-0.97-nls.patch 269 RMD160 038abf3964f555f909a33b627546a3260479f356 SHA1 c9bc151ff7c029718feae91f6e0d0f6b25bea337 SHA256 088b9edcdb678ce9c072042cf51266e061ab5f5ab0e8e42bd953242138c64fd1
AUX clamav-milter.README.gentoo 1124 RMD160 4fb1e2d9b444874838bcea1071969ca6862fb15b SHA1 0b9b86a0e7732eaaf7f880859265754f7a4efd3a SHA256 5e7b142b68964bc3463b077e5698fa77cace45ea9612258b1e1849cee944dd11
@@ -7,15 +7,21 @@ AUX clamav.logrotate 355 RMD160 f59cd8ce96da8210aa858ee59ee3b6940e3253a6 SHA1 5f
AUX clamd.conf 234 RMD160 b517b05e587637cbdd443f7ca3625d582e32722f SHA1 564b1e2f6cf85567f69f2e20cbc942967fa6304b SHA256 17bf4fe3596dc5b145e4163d85181e2edcaa214df3cf9072d852ba0e7a569891
AUX clamd.rc 2839 RMD160 3dae59c683e5c3566ab0c8c14e20c1da64646054 SHA1 ed542b9c1259ccaff12ba8949c375e012225bbdd SHA256 0508ad290f20e5a785fb932ee6c5d7e4413cc068ece3dcd1f4dd5b2d3cce01c9
DIST clamav-0.97.1.tar.gz 43913867 RMD160 e42885e8ed39938984ea38b2926a0397b21dce51 SHA1 1b3a4667dcc278bc7eab38acbc0f35269aa05387 SHA256 69e9c102d56348266b6597d6d401b0a5a2190e158b78e75ee0591f90479ed2ca
+DIST clamav-0.97.2.tar.gz 44703953 RMD160 07926ad9c923bcdd5f3a54f9dbf02fb58671ff40 SHA1 27d47c6ad22edc87c030f6d483fab1e13320cbf7 SHA256 91503f8cff482cac1f2c951c5d62a7da8a17ba3b32eb8fa2800e29c03c7cd58a
DIST clamav-0.97.tar.gz 41834871 RMD160 bc37a2da03c1d8923da9f28a7e051f6e67db8603 SHA1 68f5a6736b3f67d608c4064ef839777877f09115 SHA256 ec5d88303c0a6e1d8e1354b68ae8c184faee7989aac11dfacff466d9e0471932
EBUILD clamav-0.97.1.ebuild 3863 RMD160 bd44a64832dcf80bfbe294e99413cd5c08de1ceb SHA1 9f02aecac593568cbca7d833764909edc53410aa SHA256 d081516c741f0c7ead5ae81e85969b9fb8059a1cd38b36c7698c15381d9f362a
+EBUILD clamav-0.97.2.ebuild 3568 RMD160 fed48b96903df843d76b70c0a48034384c22c72b SHA1 8bef99e5fc584968148d5607c6e5e85284b71d94 SHA256 7ab5060e241725cb4ba7e4958fb911d3e279fd0b38e06fe6d3e3381cf53c0d49
EBUILD clamav-0.97.ebuild 3718 RMD160 2a988dcbe6ec6afdfb37fcc0fcd4db5c16d6c9d9 SHA1 8a6e8e5ddeaad6a8ae1f601bc38249953c1f6096 SHA256 efc9c58fbcc25f04792db489144b86ebbdb0347ebcd35f139ed3c8d9fd4ee1dc
-MISC ChangeLog 58137 RMD160 0aaad077037bbcb81d9c260b38b0c67ab17b65ef SHA1 c6391494606342c76f07566f49bb21b14fc81b43 SHA256 203ab31decc697a9da50ef426092f300a930929f8c3ee055a2831bdc913728dd
+MISC ChangeLog 58258 RMD160 9a3309d176c5a3e57e043b4ae9993059d93d7f5c SHA1 28a33d1f5aa8be505025bdebf364331cf2e05006 SHA256 13ba880ca4a6bcc942847151bfdf8a7619a3ea542aa4533c62c79b31c5eca3ed
MISC metadata.xml 320 RMD160 3546393e30d87f0b0a2fb17e2f15f57dd8c19661 SHA1 b959e38933418e6fc818ed40cd9a4921b8c66102 SHA256 e2a8c4c8bedbffe50a126c1c7395a4d92652c2d95347b9496d54aea1f230a22d
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
-iEYEARECAAYFAk4GGmsACgkQuQc30/atMkC6zwCfYHtPXmr6IgNxo9gIlQ+CraVv
-zB0An2D0lV2gZmCJqRTGzYWHOEeOEORm
-=aeZH
+iQEcBAEBCgAGBQJOLmVtAAoJEEqz6FtPBkyj2asH/1Jzrf/ZJv6YB8doaa6CWSnN
+aXIpPn8M3QfAl02xK9UrPjT2Uv0NgtwJd3Lqwmkd7dv6e53jYTHxE8T3zIHfu71m
+L5w0IZYyORpk3Chw7Kx3OU0vBmzWFwvgc59waG9GZhBI7EAlFYXqUq2v/4YupPgW
+8CVGGoPVAHlXEMR7jZXh2uDqV167pC879sc7wUa0NxhKZUsDT5NfuC9pU7z0GWFM
+VhNsXp+MOCCLh6S6zsQQwQVXJt6mvaJ3m0LKMkbQ6rnDa9UalRIJeTZYtm9umaaP
+gqfhfA5an79TBU01FWBBey1aGdik//wK148m6ZhGnsG7h8eWMlSFdIArlN3FUt4=
+=BfKs
-----END PGP SIGNATURE-----
diff --git a/app-antivirus/clamav/clamav-0.97.2.ebuild b/app-antivirus/clamav/clamav-0.97.2.ebuild
new file mode 100644
index 000000000000..78ff50544a3f
--- /dev/null
+++ b/app-antivirus/clamav/clamav-0.97.2.ebuild
@@ -0,0 +1,118 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-antivirus/clamav/clamav-0.97.2.ebuild,v 1.1 2011/07/26 06:57:39 radhermit Exp $
+
+EAPI=4
+
+inherit eutils
+
+DESCRIPTION="Clam Anti-Virus Scanner"
+HOMEPAGE="http://www.clamav.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+IUSE="bzip2 clamdtop iconv ipv6 milter selinux static-libs"
+
+CDEPEND="bzip2? ( app-arch/bzip2 )
+ clamdtop? ( sys-libs/ncurses )
+ iconv? ( virtual/libiconv )
+ milter? ( || ( mail-filter/libmilter mail-mta/sendmail ) )
+ dev-libs/libtommath
+ >=sys-libs/zlib-1.2.2"
+DEPEND="${CDEPEND}
+ >=dev-util/pkgconfig-0.20"
+RDEPEND="${CDEPEND}
+ selinux? ( sec-policy/selinux-clamav )"
+
+RESTRICT="test"
+
+DOCS=( AUTHORS BUGS ChangeLog FAQ INSTALL NEWS README UPGRADE )
+
+pkg_setup() {
+ enewgroup clamav
+ enewuser clamav -1 -1 /dev/null clamav
+}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-0.97-nls.patch
+}
+
+src_configure() {
+ econf \
+ --disable-experimental \
+ --enable-id-check \
+ --with-dbdir=/var/lib/clamav \
+ --with-system-tommath \
+ $(use_enable bzip2) \
+ $(use_enable clamdtop) \
+ $(use_enable ipv6) \
+ $(use_enable milter) \
+ $(use_enable static-libs static) \
+ $(use_with iconv)
+}
+
+src_install() {
+ default
+
+ rm -rf "${ED}"/var/lib/clamav
+ newinitd "${FILESDIR}"/clamd.rc clamd
+ newconfd "${FILESDIR}"/clamd.conf clamd
+
+ keepdir /var/lib/clamav
+ fowners clamav:clamav /var/lib/clamav
+ keepdir /var/run/clamav
+ fowners clamav:clamav /var/run/clamav
+ keepdir /var/log/clamav
+ fowners clamav:clamav /var/log/clamav
+
+ dodir /etc/logrotate.d
+ insinto /etc/logrotate.d
+ newins "${FILESDIR}"/clamav.logrotate clamav
+
+ use static-libs || find "${ED}" -name '*.la' -exec rm -f '{}' +
+
+ # Modify /etc/{clamd,freshclam}.conf to be usable out of the box
+ sed -i -e "s:^\(Example\):\# \1:" \
+ -e "s:.*\(PidFile\) .*:\1 /var/run/clamav/clamd.pid:" \
+ -e "s:.*\(LocalSocket\) .*:\1 /var/run/clamav/clamd.sock:" \
+ -e "s:.*\(User\) .*:\1 clamav:" \
+ -e "s:^\#\(LogFile\) .*:\1 /var/log/clamav/clamd.log:" \
+ -e "s:^\#\(LogTime\).*:\1 yes:" \
+ -e "s:^\#\(AllowSupplementaryGroups\).*:\1 yes:" \
+ "${ED}"/etc/clamd.conf
+ sed -i -e "s:^\(Example\):\# \1:" \
+ -e "s:.*\(PidFile\) .*:\1 /var/run/clamav/freshclam.pid:" \
+ -e "s:.*\(DatabaseOwner\) .*:\1 clamav:" \
+ -e "s:^\#\(UpdateLogFile\) .*:\1 /var/log/clamav/freshclam.log:" \
+ -e "s:^\#\(NotifyClamd\).*:\1 /etc/clamd.conf:" \
+ -e "s:^\#\(ScriptedUpdates\).*:\1 yes:" \
+ -e "s:^\#\(AllowSupplementaryGroups\).*:\1 yes:" \
+ "${ED}"/etc/freshclam.conf
+
+ if use milter ; then
+ # MilterSocket one to include ' /' because there is a 2nd line for
+ # inet: which we want to leave
+ dodoc "${FILESDIR}"/clamav-milter.README.gentoo
+ sed -i -e "s:^\(Example\):\# \1:" \
+ -e "s:.*\(PidFile\) .*:\1 /var/run/clamav/clamav-milter.pid:" \
+ -e "s+^\#\(ClamdSocket\) .*+\1 unix:/var/run/clamav/clamd.sock+" \
+ -e "s:.*\(User\) .*:\1 clamav:" \
+ -e "s+^\#\(MilterSocket\) /.*+\1 unix:/var/run/clamav/clamav-milter.sock+" \
+ -e "s:^\#\(AllowSupplementaryGroups\).*:\1 yes:" \
+ -e "s:^\#\(LogFile\) .*:\1 /var/log/clamav/clamav-milter.log:" \
+ "${ED}"/etc/clamav-milter.conf
+ cat > "${ED}"/etc/conf.d/clamd <<-EOF
+ MILTER_NICELEVEL=19
+ START_MILTER=no
+ EOF
+ fi
+}
+
+pkg_postinst() {
+ if use milter ; then
+ elog "For simple instructions how to setup the clamav-milter read the"
+ elog "clamav-milter.README.gentoo in /usr/share/doc/${PF}"
+ fi
+}