From: Tim Harder Date: Tue, 18 Oct 2011 03:18:58 +0000 (+0000) Subject: Version bump. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=7956b3d6d6625091c59b879b9da818fde72dbe85;p=gentoo.git Version bump. Package-Manager: portage-2.2.0_alpha67/cvs/Linux x86_64 --- diff --git a/app-antivirus/clamav/ChangeLog b/app-antivirus/clamav/ChangeLog index 2bb7f942c1c7..d45940aa8ff7 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.401 2011/08/31 02:14:09 radhermit Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-antivirus/clamav/ChangeLog,v 1.402 2011/10/18 03:18:58 radhermit Exp $ + +*clamav-0.97.3 (18 Oct 2011) + + 18 Oct 2011; Tim Harder +clamav-0.97.3.ebuild: + Version bump. 31 Aug 2011; Tim Harder -clamav-0.97.ebuild, -clamav-0.97.1.ebuild: diff --git a/app-antivirus/clamav/Manifest b/app-antivirus/clamav/Manifest index 73f85a171e31..29171d621100 100644 --- a/app-antivirus/clamav/Manifest +++ b/app-antivirus/clamav/Manifest @@ -7,17 +7,19 @@ 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.2.tar.gz 44703953 RMD160 07926ad9c923bcdd5f3a54f9dbf02fb58671ff40 SHA1 27d47c6ad22edc87c030f6d483fab1e13320cbf7 SHA256 91503f8cff482cac1f2c951c5d62a7da8a17ba3b32eb8fa2800e29c03c7cd58a +DIST clamav-0.97.3.tar.gz 45793398 RMD160 9fee55f0b115fafa622e1092483e380afd0dc5b9 SHA1 263c7b8b7dc1536652ab64e32263d1c60e138655 SHA256 3a8cece5b7e6b15410f6b8f96ff5591b2c5a72f290ee8a28fefda44cb5ae7aba EBUILD clamav-0.97.2.ebuild 3577 RMD160 b2fc62ed610aa71ba51c3ed604d6ff9e7a0572d2 SHA1 095e2b6f5fb36bb2606047a1ab3021bdb6511880 SHA256 48fcee402297ee7de819f108952700bd7b8948572992ba402822966f1f42dd44 -MISC ChangeLog 59550 RMD160 2170007bedbbaacc93bd01fac502f69b591624ee SHA1 8240aaf2f73e53b4b17840c61a823f4f427feeee SHA256 cf908a69dab9bc9286ba22ecfff9167f4548ca38fb86fdf4b5f48949666a4b64 +EBUILD clamav-0.97.3.ebuild 3560 RMD160 ec8c1c98ff7671863bed93e723595c19c5db583d SHA1 9d9be0ca7d001f52df59581834229b9fdb2f13f2 SHA256 d9c1bf8a1938dbf20c64b474f5edbc9aacccf6cfb96a13866c09f2cc874cc3ce +MISC ChangeLog 59669 RMD160 4ea4f517785e706b46d0a28276a280d86296e382 SHA1 75d890cb39f7d5226b0ecace4231a0de1ecf069f SHA256 cd4d24de1a2fdca34b763dd342aceb3a95ec01478558cd6877dd8d7d61b97012 MISC metadata.xml 320 RMD160 3546393e30d87f0b0a2fb17e2f15f57dd8c19661 SHA1 b959e38933418e6fc818ed40cd9a4921b8c66102 SHA256 e2a8c4c8bedbffe50a126c1c7395a4d92652c2d95347b9496d54aea1f230a22d -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (GNU/Linux) -iQEcBAEBCgAGBQJOXZkCAAoJEEqz6FtPBkyjEZEIAK7Ce/TvDXeTKyEcQwiDViss -/sd+NBeyghl2/8lENsW12/vP+LakqMvnD1NRCeERK4vTTqrwUeqa8iy2x7z3Ui1B -I8Yv/RiUrzHmWZ9Tc2cihKIv87W/C2nBJlUjFH/HuupYvpMLyzOWIfJZUNgba/3s -182f2/vC4q44nija6WEe1HBJ/1X5mIrr2wC39wOjsnUa8+UXtdgAN3nYq3JDPydO -YbqVKcawG8jf/G48QSFTZd/ZHy3VFoQDbZG6ykLFhZWAx3vguHtApXEI2ecA2AM9 -VNJa0/Wfcy4njAbw7bpQ+a6fxpIciAtlkGyvdOhxZ57ntE9mmLxRRCbIJr0apXw= -=LyZV +iQEcBAEBCgAGBQJOnPAzAAoJEEqz6FtPBkyjLWQH/0gwINsb3RJAwzIdr1bOiMIL +gBdIqRg4NmPVOpUJhbZhEVjugFcW4uoENbKqqfUs6jlXhLpir0i58SIy3EVR1L8l +282++8oDCxhE9j/9y+dLXriOKt8emZXJ174dTLSTKekXJx1EhaTD+UED2Hyzv9/k +R8Iv3vOa0LyrcwbB7ya48EP2ur4WncEpwUs+N0r3IXJ2c1bQ5/5BxA1QMdCbxUR7 +2vTb2v9OnN8F4RWUTD2zwBMu/55m6nWJbSlJN57ASb7ZjveoFvKj7OAvcK4CqInQ +SpzCLlcZRbId3cAfJ0fc0LPJek/sQn7KDS8o76TkX5rjw/kSPVrX56vbe1kInIY= +=bb/j -----END PGP SIGNATURE----- diff --git a/app-antivirus/clamav/clamav-0.97.3.ebuild b/app-antivirus/clamav/clamav-0.97.3.ebuild new file mode 100644 index 000000000000..e284144a547d --- /dev/null +++ b/app-antivirus/clamav/clamav-0.97.3.ebuild @@ -0,0 +1,119 @@ +# 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.3.ebuild,v 1.1 2011/10/18 03:18:58 radhermit Exp $ + +EAPI=4 + +inherit eutils autotools-utils + +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 + sys-devel/libtool" +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 + + remove_libtool_files + + # 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 +}