Version bump.
authorAndrej Kacian <ticho@gentoo.org>
Fri, 2 Mar 2007 15:18:08 +0000 (15:18 +0000)
committerAndrej Kacian <ticho@gentoo.org>
Fri, 2 Mar 2007 15:18:08 +0000 (15:18 +0000)
Package-Manager: portage-2.1.2-r11

app-antivirus/clamav/ChangeLog
app-antivirus/clamav/Manifest
app-antivirus/clamav/clamav-0.90.1.ebuild [new file with mode: 0644]
app-antivirus/clamav/files/digest-clamav-0.90.1 [new file with mode: 0644]

index 21dbec6eead457abe393772f3d975c0aa21de9ea..2556f0b5bfa1821f41ea6c9a3e0f12e667f746f4 100644 (file)
@@ -1,6 +1,11 @@
 # ChangeLog for app-antivirus/clamav
 # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-antivirus/clamav/ChangeLog,v 1.206 2007/02/25 11:27:25 ticho Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-antivirus/clamav/ChangeLog,v 1.207 2007/03/02 15:18:08 ticho Exp $
+
+*clamav-0.90.1 (02 Mar 2007)
+
+  02 Mar 2007; Andrej Kacian <ticho@gentoo.org> +clamav-0.90.1.ebuild:
+  Version bump.
 
   25 Feb 2007; Andrej Kacian <ticho@gentoo.org>
   +files/clamav-0.90-compat.patch, clamav-0.90.ebuild:
index cd34134bfe02f74c01641433ca77ce7c7dc76ab6..33b2f0a0a897566bb62ef841991c17a783d539f5 100644 (file)
@@ -24,6 +24,7 @@ SHA256 6ccae0a0f3f7be2946ed0975ea5093dac605889c44952bd4e02f20e91e606bce files/cl
 DIST clamav-0.88.5.tar.gz 8663193 RMD160 b0e24b90f2a085ded89fcd90f3434d6bc1981caf SHA1 eb4c671d14d43b7079f19da9d9ef37357fa24c83 SHA256 8b807fcb64e2c523d7da8002ca1174c4173526ae48a7deecca41db30f51cee8f
 DIST clamav-0.88.6.tar.gz 8929534 RMD160 efa53c600a70a8f808fbf9cde92ebf193b76e574 SHA1 5fe6efa7c7dc9eb157a78e7851392c737d586bb7 SHA256 cc7f90983aa61b3d893c3311e3f832c5faa204467143cff597ad80bf8ad24daa
 DIST clamav-0.88.7.tar.gz 9510548 RMD160 14d7c6255df618b16b704fc1cb5ce2b1385fa0e8 SHA1 7d7833dc454437ed7044b1c734f0a13e4dc1ead2 SHA256 702cb5928bff3d0e647a4a6b505d434e3a0f10f2af74bddac5239a200b92d1e2
+DIST clamav-0.90.1.tar.gz 11643310 RMD160 1fd343d6510fea337a676e32bb1e4e404da4bd6d SHA1 d51f279fce2d702c3e97b2e08fe3b4b863f0acc6 SHA256 08a0255b4f6bdc4312eea6c118e79ecf684aed10640b45037d9dc5890c7687be
 DIST clamav-0.90.tar.gz 11575374 RMD160 1b22144d3a41376093b73bbeb5302092a18ca685 SHA1 574b84429b878df3a9d862ea386c970326850158 SHA256 c39005318d4a7d27d9710c3d71396b8c500e0bc5a184cb7392051c9ca9dea60d
 EBUILD clamav-0.88.5.ebuild 3393 RMD160 a2dafd606e79d9bc986fb1fe396c307e2f698da4 SHA1 d2563f545414e8d8bebc8a038f57670f5e8f0913 SHA256 28d7e0bdfff92a2ed345b5288552878a5a5da2e0676b7b0245bfb8c7dace97e2
 MD5 a13e71f6ea0d390f5337681d90f5da84 clamav-0.88.5.ebuild 3393
@@ -45,14 +46,18 @@ EBUILD clamav-0.88.7.ebuild 3432 RMD160 e96b060fd6cdb828ed19f25fcb66606a09949c27
 MD5 28a0ef2c2910d9e96558ca1c3e33f239 clamav-0.88.7.ebuild 3432
 RMD160 e96b060fd6cdb828ed19f25fcb66606a09949c27 clamav-0.88.7.ebuild 3432
 SHA256 cee9e104b7e6a6f3c2d4659b6b92825ece9078ff941b91ceac1b29ed0c245a78 clamav-0.88.7.ebuild 3432
+EBUILD clamav-0.90.1.ebuild 4253 RMD160 99602a1820a3c21ff858c40a31d1ee6b97c6b554 SHA1 074d84eccf41d027879693e7f778a466064fdc0f SHA256 b4419cc7d1131ff1d3f61eabf859552deee54e00f098dddbe268af3e7b8f7da8
+MD5 d1487a0ea3b6eef8de1380e21dbbdfcf clamav-0.90.1.ebuild 4253
+RMD160 99602a1820a3c21ff858c40a31d1ee6b97c6b554 clamav-0.90.1.ebuild 4253
+SHA256 b4419cc7d1131ff1d3f61eabf859552deee54e00f098dddbe268af3e7b8f7da8 clamav-0.90.1.ebuild 4253
 EBUILD clamav-0.90.ebuild 3960 RMD160 090411bc9162ea3b2cc9044436bfc4073fabf779 SHA1 8389f458f0acdfe7ecf44aa812906c965f14ac15 SHA256 8b753ad510bb8414b8dc59681b206ab112f0ba86ac4348d443c8bb63077681d7
 MD5 d32f863ef2d82845cf6a7397a7ca74b7 clamav-0.90.ebuild 3960
 RMD160 090411bc9162ea3b2cc9044436bfc4073fabf779 clamav-0.90.ebuild 3960
 SHA256 8b753ad510bb8414b8dc59681b206ab112f0ba86ac4348d443c8bb63077681d7 clamav-0.90.ebuild 3960
-MISC ChangeLog 32357 RMD160 a7aec9b1edb3ac9be8ec226644f818d2d8fe7363 SHA1 4de85d7957a5f0e5ea7a2a9d9c9ad154250ba981 SHA256 aa5349c4c841202bd2e583707a414964b9690296cdb73ebdeac60fc74cd1a9a1
-MD5 dbf2a4c47bb256ee52de7f9b999d09f2 ChangeLog 32357
-RMD160 a7aec9b1edb3ac9be8ec226644f818d2d8fe7363 ChangeLog 32357
-SHA256 aa5349c4c841202bd2e583707a414964b9690296cdb73ebdeac60fc74cd1a9a1 ChangeLog 32357
+MISC ChangeLog 32475 RMD160 19957cc784da089d4e2849cec453d0c4bb70a168 SHA1 6e23e3e1fb6db5a9a472ea7bb91b35f4151a89d1 SHA256 691d53a9392466f636f8d802ad7d054d9eeda1746d2b0e07a817db821f64c0b5
+MD5 d718df92e05604b6a8f039b83603d031 ChangeLog 32475
+RMD160 19957cc784da089d4e2849cec453d0c4bb70a168 ChangeLog 32475
+SHA256 691d53a9392466f636f8d802ad7d054d9eeda1746d2b0e07a817db821f64c0b5 ChangeLog 32475
 MISC metadata.xml 184 RMD160 c37bff1fc1cd7139c91dae9b0fa5082e1d81f153 SHA1 cc0a188d9ad2411e78747326c62dd046bd5413c8 SHA256 d51011aa837db802ef539a1321a4af0a4a00879d475b92fd58f3c01df7320b58
 MD5 7e32edfd72887a57b16ecd73f0f7a1a0 metadata.xml 184
 RMD160 c37bff1fc1cd7139c91dae9b0fa5082e1d81f153 metadata.xml 184
@@ -75,10 +80,13 @@ SHA256 2e2d87de95403702c16fdcf253ab8f6faaec955053a2eabd917b097e50322d9e files/di
 MD5 86c5fb07d5e490ef03e5b7837181c66d files/digest-clamav-0.90 241
 RMD160 50f0394e921a2e5b445a7202757943ef14680ac5 files/digest-clamav-0.90 241
 SHA256 9efe02b7f40c318f512bed0e5ddc59d52834a088a0528102ee8ece709ff5966e files/digest-clamav-0.90 241
+MD5 2990615ce8ce0c303dc772558ee52ea4 files/digest-clamav-0.90.1 247
+RMD160 be0e20cdadaa82a58211c754908e439923513e21 files/digest-clamav-0.90.1 247
+SHA256 be92b57874b8c81e9831142039d6ee58ab3aaf3feae75d26a4a5d1d821a21757 files/digest-clamav-0.90.1 247
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.6 (GNU/Linux)
 
-iD8DBQFF4XKqQlM6RnzZP+IRArR+AKCj2kLxxz9Xc6B4sfHzwUZutwZlWQCeN/8Y
-37Ieoj1ix3SVFGCosFIPClM=
-=JRrL
+iD8DBQFF6EA+QlM6RnzZP+IRAmcXAJ9YVjHjiksS6nQVV89bnCtDfDekLgCgkyow
+QIrcfAe9xGMh8eyan5748sg=
+=8K9y
 -----END PGP SIGNATURE-----
diff --git a/app-antivirus/clamav/clamav-0.90.1.ebuild b/app-antivirus/clamav/clamav-0.90.1.ebuild
new file mode 100644 (file)
index 0000000..898828e
--- /dev/null
@@ -0,0 +1,141 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-antivirus/clamav/clamav-0.90.1.ebuild,v 1.1 2007/03/02 15:18:08 ticho Exp $
+
+inherit eutils flag-o-matic fixheadtails
+
+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 crypt curl gmp logrotate mailwrapper milter selinux"
+
+DEPEND="virtual/libc
+       bzip2? ( app-arch/bzip2 )
+       crypt? ( >=dev-libs/gmp-4.1.2 )
+       curl? ( >=net-misc/curl-7.10.0 )
+       gmp? ( dev-libs/gmp )
+       milter? ( || ( mail-filter/libmilter mail-mta/sendmail ) )
+       >=sys-libs/zlib-1.2.1-r3
+       >=sys-apps/sed-4"
+RDEPEND="${DEPEND}
+       selinux? ( sec-policy/selinux-clamav )
+       logrotate? ( app-admin/logrotate )
+       sys-apps/grep"
+PROVIDE="virtual/antivirus"
+
+pkg_setup() {
+       if use milter; then
+               if [ ! -e /usr/lib/libmilter.a ] ; then
+                       ewarn "In order to enable milter support, clamav needs sendmail with enabled milter"
+                       ewarn "USE flag. Either recompile sendmail with milter USE flag enabled, or disable"
+                       ewarn "this flag for clamav as well to disable milter support."
+                       die "need milter-enabled sendmail"
+               fi
+       fi
+       enewgroup clamav
+       enewuser clamav -1 -1 /dev/null clamav
+}
+
+src_unpack() {
+       unpack "${A}"
+       cd "${S}"
+       epatch "${FILESDIR}"/${P%.*}-compat.patch
+}
+
+src_compile() {
+       has_version =sys-libs/glibc-2.2* && filter-lfs-flags
+
+       local myconf
+
+       # we depend on fixed zlib, so we can disable this check to prevent redundant
+       # warning (bug #61749)
+       myconf="${myconf} --disable-zlib-vcheck"
+       # use id utility instead of /etc/passwd parsing (bug #72540)
+       myconf="${myconf} --enable-id-check"
+       use milter && {
+               myconf="${myconf} --enable-milter"
+               use mailwrapper && \
+                       myconf="${myconf} --with-sendmail=/usr/sbin/sendmail.sendmail"
+       }
+
+       ht_fix_file configure
+       econf ${myconf} \
+               $(use_enable bzip2) \
+               $(use_with curl libcurl) \
+               $(use_enable gmp dsig) \
+               --disable-experimental \
+               --with-dbdir=/var/lib/clamav || die
+       emake || die
+}
+
+src_install() {
+       make DESTDIR=${D} install || die
+       dodoc AUTHORS BUGS NEWS README ChangeLog FAQ INSTALL
+       newconfd ${FILESDIR}/clamd.conf clamd
+       newinitd ${FILESDIR}/clamd.rc clamd
+       dodoc ${FILESDIR}/clamav-milter.README.gentoo
+
+       dodir /var/run/clamav
+       keepdir /var/run/clamav
+       fowners clamav:clamav /var/run/clamav
+       dodir /var/log/clamav
+       keepdir /var/log/clamav
+       fowners clamav:clamav /var/log/clamav
+
+       # Change /etc/clamd.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:" \
+               ${D}/etc/clamd.conf
+
+       # Do the same for /etc/freshclam.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:" \
+               ${D}/etc/freshclam.conf
+
+       if use milter ; then
+               echo "START_MILTER=no" \
+                       >> ${D}/etc/conf.d/clamd
+               echo "MILTER_SOCKET=\"/var/run/clamav/clmilter.sock\"" \
+                       >>${D}/etc/conf.d/clamd
+               echo "MILTER_OPTS=\"-m 10 --timeout=0\"" \
+                       >>${D}/etc/conf.d/clamd
+       fi
+
+       if use logrotate ; then
+               diropts ""
+               dodir /etc/logrotate.d
+               insopts -m0644
+               insinto /etc/logrotate.d
+               newins ${FILESDIR}/${PN}.logrotate ${PN}
+       fi
+}
+
+pkg_postinst() {
+       echo
+       if use milter ; then
+               elog "For simple instructions how to setup the clamav-milter"
+               elog "read /usr/share/doc/${PF}/clamav-milter.README.gentoo.gz"
+               echo
+       fi
+       ewarn "Warning: clamd and/or freshclam have not been restarted."
+       ewarn "You should restart them to start using new version: /etc/init.d/clamd restart"
+       echo
+       ewarn "The soname for libclamav has changed after clamav-0.90."
+       ewarn "If you have upgraded from that or earlier version, it is recommended to run:"
+       ewarn
+       ewarn "revdep-rebuild --library libclamav.so.1"
+       ewarn
+       ewarn "This will fix linking errors caused by this change."
+       echo
+}
diff --git a/app-antivirus/clamav/files/digest-clamav-0.90.1 b/app-antivirus/clamav/files/digest-clamav-0.90.1
new file mode 100644 (file)
index 0000000..fe2fc17
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 cd11c05b5476262eaea4fa3bd7dc25bf clamav-0.90.1.tar.gz 11643310
+RMD160 1fd343d6510fea337a676e32bb1e4e404da4bd6d clamav-0.90.1.tar.gz 11643310
+SHA256 08a0255b4f6bdc4312eea6c118e79ecf684aed10640b45037d9dc5890c7687be clamav-0.90.1.tar.gz 11643310