summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEray Aslan <eras@gentoo.org>2013-02-13 19:01:44 +0000
committerEray Aslan <eras@gentoo.org>2013-02-13 19:01:44 +0000
commit7888c5b4a9bd920b4c38dba14bc01d19900ce31e (patch)
tree737d3163b37c8869fbaf1cc7ecab1da203ebd65b /app-antivirus
parentBump, security fixes for 7, regression fixes for 6 (diff)
downloadhistorical-7888c5b4a9bd920b4c38dba14bc01d19900ce31e.tar.gz
historical-7888c5b4a9bd920b4c38dba14bc01d19900ce31e.tar.bz2
historical-7888c5b4a9bd920b4c38dba14bc01d19900ce31e.zip
Remove old
Package-Manager: portage-2.2.0_alpha162/cvs/Linux x86_64 Manifest-Sign-Key: 0x77F1F175586A3B1F
Diffstat (limited to 'app-antivirus')
-rw-r--r--app-antivirus/clamav/ChangeLog9
-rw-r--r--app-antivirus/clamav/Manifest35
-rw-r--r--app-antivirus/clamav/clamav-0.97.3.ebuild121
-rw-r--r--app-antivirus/clamav/clamav-0.97.4.ebuild124
-rw-r--r--app-antivirus/clamav/clamav-0.97.5.ebuild123
-rw-r--r--app-antivirus/clamav/files/clamav-0.97.4-gcc47.patch24
-rw-r--r--app-antivirus/clamav/files/clamd.rc102
7 files changed, 21 insertions, 517 deletions
diff --git a/app-antivirus/clamav/ChangeLog b/app-antivirus/clamav/ChangeLog
index b71c7c8b221f..f7d8328690bc 100644
--- a/app-antivirus/clamav/ChangeLog
+++ b/app-antivirus/clamav/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-antivirus/clamav
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-antivirus/clamav/ChangeLog,v 1.432 2012/12/11 18:37:59 eras Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-antivirus/clamav/ChangeLog,v 1.433 2013/02/13 19:01:32 eras Exp $
+
+ 13 Feb 2013; Eray Aslan <eras@gentoo.org> -clamav-0.97.3.ebuild,
+ -clamav-0.97.4.ebuild, -clamav-0.97.5.ebuild,
+ -files/clamav-0.97.4-gcc47.patch, -files/clamd.rc:
+ Remove old
*clamav-0.97.6-r2 (11 Dec 2012)
diff --git a/app-antivirus/clamav/Manifest b/app-antivirus/clamav/Manifest
index 71adb5c603ed..c370f7f9cbbe 100644
--- a/app-antivirus/clamav/Manifest
+++ b/app-antivirus/clamav/Manifest
@@ -2,41 +2,34 @@
Hash: SHA256
AUX clamav-0.97-nls.patch 269 SHA256 088b9edcdb678ce9c072042cf51266e061ab5f5ab0e8e42bd953242138c64fd1 SHA512 a0508590353c699d62d203398e4b84ea134348567fa5530e5c9c7ce850a9eeca106544e641ce011cc0a5097313dea780490e7db6fdda1ec2ab61dd6474e31458 WHIRLPOOL 95ce0a012bbb8d0cde2c255d7f15ab8eb24d412cd7b664ce2e7dc6ea887c608252076e45f7f4a007edda455f07b62884002a6d914b25b889da2682140d31f20c
-AUX clamav-0.97.4-gcc47.patch 875 SHA256 62a54f42bcb068953f7af80d52b3e03b5506408695c09b87b29abfb8dd3ca7b9 SHA512 c65ec8351e729f9f4b061d73c0617c11e96a8fa9436671239dfae5ee1336a98f1b95c32a31d20619b91b4e849e25d36a4025d3eb0482c498c68c01d5f2b0d026 WHIRLPOOL 153092d5dcd94d803df637a08c9848ab5604608cefb033c022d8f87eb4e5f2c0cdab0cf340deb54e2d4713640fa0e4a1f88f17510a83282aa54df83fbaa0f6db
AUX clamav-milter.README.gentoo 1124 SHA256 5e7b142b68964bc3463b077e5698fa77cace45ea9612258b1e1849cee944dd11 SHA512 1c6160e48eddd28f83ec5f24757f788781cef55789d1934dfccc12c7c5e5635a226d26b0983cab7344c142f5a2f1db172640b1d0e6c840a6fa83abed9be1211a WHIRLPOOL f85b17448fd93205e2f38d024b96410cc8d143d077201e0a1b8f4cda95ae2447a70eded4cb90968a593ad2637229300fa04bfe5dba96d3d68c2d09c105ee3f16
AUX clamav.logrotate 355 SHA256 ab91f784d5098d2162be9277e3a006bdb392d9d89975838ad4ac7dfd8b418170 SHA512 39e8027db4cb2cf1b45dac6777dbd922640b41f47deb34199d910560d56431051432b68ab387101542d8f98069253c85bb2ab39c274eb99c2db26c5967abf512 WHIRLPOOL 0d201d6909d309e22526ed0d40da588602d0b34367b9e7d54b42d6626c7b7bac1150c1671740cead5d900baa8a6a098feaeb1127251d9a45eb35203016197193
AUX clamd.conf 234 SHA256 17bf4fe3596dc5b145e4163d85181e2edcaa214df3cf9072d852ba0e7a569891 SHA512 ec069cf7aaf10b42a701938b57e1fde1ee15afd1d4af928edfa7e5d505ba8b3edaaceac449da0f4ac6beea09a3fb73453526ba0cd3a04e13259c1a2720f42f78 WHIRLPOOL 667ad1567bb398a20785096f2c2c7c72be4853ee3b0674c4fcc20eb2c9123815c273f40938961e348252e3376c4402a3f952b2a72d3bb3f0907aadb7ab77b8ed
AUX clamd.initd 2991 SHA256 c4bd4b52599f2ee1ff40dd9d3ce95e2028d20ac6e1195d89aab0f502fb983a2f SHA512 399ec886ebfb56653473854f2806dad3e801eed09afc4ad0ed0cf5ea6773945213ba25203f8ea312cfad2b1e684c8921ec4d096af6235306e4ee5a36192e92d5 WHIRLPOOL 250f30bdc9074a17782e4e9e62dc1917b4bd156dec25ed85b2b3818b0638b5395f2d942f3d5d04794228eab45ffa2defe2f61a6a176891b5161892647a119609
AUX clamd.initd-r1 3005 SHA256 b4c0f380a8138b93becf9d33d50047f8ef4c165e64a8e5b156181fd7af40067e SHA512 46eaee71e17c741114dcddaec8ab1af067da81181835c3621da9f0d55fa7d4334108b31bbe65a4a248109a318a5016234b4f2d877e6f425665d1b16ae5c940a0 WHIRLPOOL d75b3d66cd6185ae6df9d66aeed167f22f8069dd0c6fbc7eb1c76ef2de7eadc6396772c5a2a3dd86af87bdd4edfafefe53aad607b4c12824e87b3da0067a6d01
AUX clamd.initd-r2 3021 SHA256 d7f67aa61f8a93b5f94828b3f3f0c345ed9881a0550cb151274f42f81ce1b59e SHA512 095519b09ee617d587488f32e665f37e052e490913929027c3913a776fe3becdc6f4ee246d24b7494cc9bae65dc6ea2772c6199859d8ac22b1baf64969eb9eab WHIRLPOOL b6ff853682b4678667459ba8d6b95ddb7bc811de4e9a41ff5d6b84f986a12231fd2cbaf42f5e4e82cece335966d25165b4b05df3a4ea5cdbda43eefc1a4fe1be
-AUX clamd.rc 2847 SHA256 f245a57ac69f3f3c51381f958a23f0fd9941744ec6a262767d0d4f2414af10e9 SHA512 02df5ae2127bc4f19052e9d8f59bfbf0aa53ce6756141711802ae8e071342aa88fed62f6296aaccb98cf8cc72452e50e3309ed274ce3c9393de28d4aee35efe6 WHIRLPOOL 8544304c383c39cd701a54e05b28d665530eaff4481f017a47131890be64dd60853b199928166a3410d9c66e50302155cea3482b555346cf5820d4a6442ff92d
-DIST clamav-0.97.3.tar.gz 45793398 SHA256 3a8cece5b7e6b15410f6b8f96ff5591b2c5a72f290ee8a28fefda44cb5ae7aba SHA512 7dc22da6a318782bf7a1a1e1ce8efe7256419f28352109146c9139c4a119b61021e23a773a26e7916244dfc186b9839422dc7e5ea88343dcd5ae70002ee8a7e1 WHIRLPOOL db0d6e6f620c3325d2870cb679c99c0d944c0bd24f939d694e10ca82c047467fff5daa6a6413389d8e0f3e5ca76aa9656f1f9e02fbdeb009cb368fb7eaada112
-DIST clamav-0.97.4.tar.gz 48386114 SHA256 958dd09c9da9ceb50c9e556b3ced9cbdf40e836d2bdc98286ce96e84fd4a5a53 SHA512 010b9a2a41755bf2ff7acd279f2ac29bb9709f23ec4cd94ffa62818b7babc7098e98df2819a2c6e8433a51b2b601b95e4e88ecd8f80e0f22575101cb23b2fc06 WHIRLPOOL 5c34e9ae3d89b1e6f560271dc539bbabeebbb3dcf1e0267fe06173d9861c10e53cd1b309f67af3d6a1336e09247363ec3c82506d7ae5b5772fef8ccf36359cf8
DIST clamav-0.97.5.tar.gz 14754465 SHA256 db6c5e1a5ec8ca0b8006cf82661d3158d3365ba1b4bc14c03c5d0bca89a93c0d SHA512 618ef2f1d256f2e3cd76beaf92b76d9df0963d449c2d80885ed6039f4edd59ddf9a73ebe0b93549c62264d7df4ac918d306d631f8c0b1df8e47a7e763550f1cc WHIRLPOOL 7d148323a4510acfe706a17f27c12bd808a013aa91807257b03af83e4a6daeb619962243689eee5614ce2922dfa39d21ae357d2509617be4642f162ac91d5d7e
DIST clamav-0.97.6.tar.gz 14765896 SHA256 a15a2bb9200ac9f2c6f1c5e1072ac265a2c4fe5a9be4663b47d076afdfa123f8 SHA512 f897f4c70c7555d1ede480b089f73020501bceb1d5de568785b842d04f35ee0771213b8050ac6159dde1f19816ab9a8373e8bcb419106eeeb701a386932d96e7 WHIRLPOOL 1a4916592843a3568ebef78663f76e8eba96b7d561bd61199ad1e15b239fc4c2bb3c25dcc49fad713cd09fb221ab83e9e7b1ba923ed71220943eec78dc04fb16
-EBUILD clamav-0.97.3.ebuild 3631 SHA256 50f6f775d254bc9c85689ad22b7cdf262ea87c0da9e88d680c85360415b2d6e4 SHA512 7c5ae7ab0c6ae83a9a5cf1b9133f574a3f40178cee3457dd67312bbd7f57ab865e4d0308530966f271a54822dffc0d9b775cc6963f327b5bd7a1ee63994fd6b1 WHIRLPOOL 3fbdf894eec40d46e1906dc4e61d556dc01fc7b755cc58b47d1941039f061ab2e1cb1e097ab819d9b7b9ae91196448f57286084aeba3a29ecb259d7d10e195be
-EBUILD clamav-0.97.4.ebuild 3681 SHA256 0c710c93eec32d44d28ea7940892d157e2224f5e42310a4bc272275933471019 SHA512 69da0f89296400bdc5cbff82a3cf33a931c6449bca6de655f806af544e4c2ccba2bb9f355eed29fc14cbe22910033082a0ff21117d60c0b05d717703f728b4fb WHIRLPOOL 9e8afe4dcf5741d9862c388732f29a464b40fe74e73410685bad62985b6873d61c8fd78c0313268486c8f4f52ec770b2b7507ea2714822ddd192de18802546a8
EBUILD clamav-0.97.5-r1.ebuild 3808 SHA256 9f8df7badb53c741e213140df5f7b17c423f583816bbb18e977c2f1f60f8472d SHA512 6d67c726a98b0778e9ca864f372ed2fd1e9c131f859f6e43031e370a12016beb8a5ec199592f49503008bff7eee0793f5e6033d2911df5ff30053f970697374e WHIRLPOOL db10d814acbed42e22d9d2b9b6d2bd3ead058ce55ba650f5a1c68c57efe31caf21174023314fa8d82c91ae0de5cebe96c14a254ff9b1966d469ea5e4905a2734
-EBUILD clamav-0.97.5.ebuild 3605 SHA256 27e8697709c41729013e43b15f608846e9582ca0c1495a3c22941a2c894167c7 SHA512 4abdab560d4d0e6cf54e86abb6f56111aac7e44b732f046b6c84957b80dd957f39e4f6b77d3fff3e54f2d0f92016189dc2eb6939ff13e17cfcbdd014e4bf0b46 WHIRLPOOL 11ae359f943b7ca183cd2461b2f2d55b82d038dffe0a954527b1b78133583537e30c060e28d249862d9797c28a6045e776c4306428666ac281192e995eadaa3b
EBUILD clamav-0.97.6-r1.ebuild 3812 SHA256 896051a7a4a96e4aae8b833df155a57fbc0364bf1554f80fe90b998e42d6a16c SHA512 3dfeeee7124d4cc03c3adc76bbca1b63e1f9d108237d6dbde88458a582de8503eca60c2ae5af5314ba78af00370eecf7ed5dec8b5ba2bfb963794c126b3d0568 WHIRLPOOL 9ff0ec2e759b9dba92e1b867756ce9922b026278bd157271f50266ebd328d586ae3e5286769b1ab0ed7eadf583695b087f786d5012852580327996b99adddbbb
EBUILD clamav-0.97.6-r2.ebuild 3812 SHA256 c20b729107a40b02e9d52f68321b2f561f0b0981bb53160f1df52cbee3143d29 SHA512 eff2e9883b8298943babee3a2fbd01ea74dc6c55b3bf91b446433eb62bb37872f6aeb6f6989499af7c4c129113dd02a8e71b9630b86a0b7918a6639536f72443 WHIRLPOOL 16a10e1200d506c701ac9e94d411125b44d3192fe3e899a248916da111bd6c49079f37d7d3a71a0f784501944e8d29df74100002003d24f2ec4b9d9822e6f3f7
EBUILD clamav-0.97.6.ebuild 3822 SHA256 29cf66c65d5aae9d8c0c56a9148e6e7c68e287a6dd4debaa5a9dc8393bf1b9b9 SHA512 f07cfc81bcc769499583ace5a712ca0aa7b3d3ae8edef4707774bf647ba4708c4bcebc191dd71fe62e19736dc8df28568a96403f833ad50b4a65b6af7e6298ef WHIRLPOOL 76e9cbd0728111366181573d6d4e78535a77141fd813940cb4228715861ff540141cfdcc2c3bb007a505e1856c5768dad0997ee6816e7df87ea23d832eec6135
-MISC ChangeLog 63355 SHA256 8a583f8bc3c54cd017d8b38818e34e650f8dc3457ef412facab70edf9bb93645 SHA512 c5a45b8d23393e5a8144cd94e87a615a0eac66de206d0e9069b9187cd276421e693716636a03c6ff59a4b01778814f385276e088b83e88e9a7f82b70fea88302 WHIRLPOOL f9775875981aa1f953aa11cf8aa0633df5a9178731d76c8cdf2792e14b521703adac60b15952e59cf6e55baed296afa667bb889d0453d6426c05baa9bef892ef
+MISC ChangeLog 63537 SHA256 35cf9ac19aedd19e6d37ee1de892092846b88d22e59c1db451e75a1292358065 SHA512 74ae1612189f9575c3dc1f57e965184ddca7223e7de9a687c8d0272b65e3dd4333f665c09c4215218e61a8f9e2f138431a32c9e6f2aef8ec389f46f3162476f7 WHIRLPOOL ce4feafa1cd86af8c80c9688c91c49716c80544580bb70e7a1c26399ef294cbd74a23f58ec72bd57a9c50ce5130c8c9a93032d518282e33cfed0669d28f5a29e
MISC metadata.xml 320 SHA256 e2a8c4c8bedbffe50a126c1c7395a4d92652c2d95347b9496d54aea1f230a22d SHA512 c5bb20c993b91112d9c9e0b7bb6c116ac7f711c769084eaaacc28bc7eeb54db09c9794c6ef057747d80a08cf1502f0f688cdefc741423a38da55b2deaebd6476 WHIRLPOOL 741ff80258dee2c145d08f72f10982bd5c1fcba44ed84054cd1a33787864a7d8821b432c3246ad5a04ce11edde7d045f3eb6e056200e3bd2e8505eeea3d7277d
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
-iQIcBAEBCAAGBQJQx32RAAoJEHfx8XVYajsfpoQQAKzOexsHTccWbRLQW980wKEb
-X2FJU+uDpA6CkBN4R4FL/UyoKNLbyeoAagk7mTEL1gP4XQG/eBJoCk3kEpJqz6UY
-tZD8875F9F/2tU6Tb9HR1dOVEUEjS//KZzUiN+SlKtkI4GUA4qP0opeqhNtIexmA
-Ner+1cYBYxpoXrV83KVqLCSE6tLiR7cv0Zu1gCgUy8bDjew2IlqlnpnS0jvMD5Mv
-ghr14wNOoUOi1RUM8tM0xAailXeFuYPGPxl9pxlzskEV8BNIq6K0N6eNPU4l4ZUn
-/G0BSszPe1tig2+Nuek3W02Qw3oEtYULXkxk3S1C+KcR7kVrMA9m3JFaOBJ2A8U0
-T329pUveK1qY5eqh6nhcqgnx8m9ChpawWRS5Z2nlLSGmTgNzYKzYC9xyi2RBtR2+
-cOJiZuBZMpQ/KbfLyIHmgSX5pfLWdemgRKyKhF9fvQVeZcKj/Dzch1NmEbMPng3+
-DxQxClaK1FVI6TuWmuxxD75bVBe/dMGLT8L1F2ko2gkzKDV535GL2Af/vJn/hATp
-i+MEuaPNkkc89au7yz6tbyTiAxCSS6hvJYEpdWgsNFFNDlChPoSgV7a2hh2Q8EEu
-ZoSj7VGo8cdQREhimqp7KLfYQ5I6Bm/wCwsRzGuEgkRh7BTImGSeqBuXY94yeaEa
-20jK2cmKVy4hq4D/Thgt
-=XdiO
+iQIcBAEBCAAGBQJRG+MYAAoJEHfx8XVYajsfsagP/0Yoq+j45Biup5D+CcKpqihY
+i8hNLu19HpOfCxYk7wIYWySDc1kHrUSrG//Phsd4XzJaPYNG/ql3QIjOpjHeFA7Y
+dSpBIWY2M72/snWGmiY6xbYFw8YrhAxZaD2nOFIq4EZPRGPnHHAGDK9XytCB6OBv
+KU0r5UZLzyymktFVp/kdoHeNUhuMMaIPYl75qSeyzmLS5XRkXlyzZNJlYO7CG0bv
+ITgMPhuxtGeVmVoHy9S6ynQUvKHA3DViCQIm4cpBrMTvU19HZVAgmVQLZcZMuL/I
+b3FiCshuf5d03jace+9ox7GTaj1PcH73cGd1KnIbLa8D/UhZbYWZG5BIQNtIzidL
+S8sM87aEXSZS0dLlrFX33WIrwbklZcdd+Oygx8lSejpn/jj2vZIlyftUX3azrN9k
+cvFF+nEO4z6fw13PBvFq2rgh4nCDfoVCrQRNCUQr3ERcA6eZ+x9k1+0NYXZXPN1K
+Too4YcUZuUrN8NvLow3YmGrcm3bJNQoBw604I6+RcCkC+ONcExmiD5oaXo0vT1rd
+c28udiz4VjiYPLDB4wLhPIBJTEvErBLZEfefA1d+fn4kIkl5ypMQXrLedilF+hso
+PKGsHEOt7PphgyF5UvU7sN3ypuMk2CITBawoMiZ3lEnD2bpFuHrqPDxbOp/hm9Cl
+qx7Xb1I1lV1SUhi5DSXp
+=CA4p
-----END PGP SIGNATURE-----
diff --git a/app-antivirus/clamav/clamav-0.97.3.ebuild b/app-antivirus/clamav/clamav-0.97.3.ebuild
deleted file mode 100644
index 18135e012936..000000000000
--- a/app-antivirus/clamav/clamav-0.97.3.ebuild
+++ /dev/null
@@ -1,121 +0,0 @@
-# Copyright 1999-2012 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.11 2012/05/31 03:01:52 zmedico Exp $
-
-EAPI=4
-
-inherit eutils autotools-utils flag-o-matic user
-
-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 ~arm 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}
- virtual/pkgconfig"
-RDEPEND="${CDEPEND}
- selinux? ( sec-policy/selinux-clamav )"
-
-RESTRICT="test"
-
-DOCS=( AUTHORS BUGS ChangeLog FAQ INSTALL NEWS README UPGRADE )
-
-PATCHES=( "${FILESDIR}"/${PN}-0.97-nls.patch )
-
-pkg_setup() {
- enewgroup clamav
- enewuser clamav -1 -1 /dev/null clamav
-}
-
-src_prepare() {
- use ppc64 && append-flags -mminimal-toc
- autotools-utils_src_prepare
-}
-
-src_configure() {
- local myeconfargs=(
- --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_with iconv)
- )
- autotools-utils_src_configure
-}
-
-src_install() {
- autotools-utils_src_install
-
- 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
-
- # 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
-}
diff --git a/app-antivirus/clamav/clamav-0.97.4.ebuild b/app-antivirus/clamav/clamav-0.97.4.ebuild
deleted file mode 100644
index 819797be4137..000000000000
--- a/app-antivirus/clamav/clamav-0.97.4.ebuild
+++ /dev/null
@@ -1,124 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-antivirus/clamav/clamav-0.97.4.ebuild,v 1.4 2012/05/31 15:44:58 radhermit Exp $
-
-EAPI=4
-
-inherit eutils autotools-utils flag-o-matic user
-
-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 ~arm ~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}
- virtual/pkgconfig"
-RDEPEND="${CDEPEND}
- selinux? ( sec-policy/selinux-clamav )"
-
-RESTRICT="test"
-
-DOCS=( AUTHORS BUGS ChangeLog FAQ INSTALL NEWS README UPGRADE )
-
-PATCHES=(
- "${FILESDIR}"/${PN}-0.97-nls.patch
- "${FILESDIR}"/${PN}-0.97.4-gcc47.patch
-)
-
-pkg_setup() {
- enewgroup clamav
- enewuser clamav -1 -1 /dev/null clamav
-}
-
-src_prepare() {
- use ppc64 && append-flags -mminimal-toc
- autotools-utils_src_prepare
-}
-
-src_configure() {
- local myeconfargs=(
- --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_with iconv)
- )
- autotools-utils_src_configure
-}
-
-src_install() {
- autotools-utils_src_install
-
- 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
-
- # 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
-}
diff --git a/app-antivirus/clamav/clamav-0.97.5.ebuild b/app-antivirus/clamav/clamav-0.97.5.ebuild
deleted file mode 100644
index 67de6acf7bea..000000000000
--- a/app-antivirus/clamav/clamav-0.97.5.ebuild
+++ /dev/null
@@ -1,123 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-antivirus/clamav/clamav-0.97.5.ebuild,v 1.2 2012/06/24 20:07:37 radhermit Exp $
-
-EAPI=4
-
-inherit eutils flag-o-matic user
-
-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 ~arm ~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}
- virtual/pkgconfig"
-RDEPEND="${CDEPEND}
- selinux? ( sec-policy/selinux-clamav )"
-
-RESTRICT="test"
-
-DOCS=( AUTHORS BUGS ChangeLog FAQ INSTALL NEWS README UPGRADE )
-
-PATCHES=(
- "${FILESDIR}"/${PN}-0.97-nls.patch
-)
-
-pkg_setup() {
- enewgroup clamav
- enewuser clamav -1 -1 /dev/null clamav
-}
-
-src_prepare() {
- use ppc64 && append-flags -mminimal-toc
-}
-
-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
-
- # 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
-
- prune_libtool_files
-}
-
-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
-}
diff --git a/app-antivirus/clamav/files/clamav-0.97.4-gcc47.patch b/app-antivirus/clamav/files/clamav-0.97.4-gcc47.patch
deleted file mode 100644
index d5cbf2eb8f9f..000000000000
--- a/app-antivirus/clamav/files/clamav-0.97.4-gcc47.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-From bb8ab5ce7ea4e276c310f5a638cd61c0cceb47d1 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?T=C3=B6r=C3=B6k=20Edvin?= <edwin@clamav.net>
-Date: Mon, 14 May 2012 20:13:21 +0300
-Subject: [PATCH] Fix build with gcc-4.7
-
----
- .../c++/llvm/lib/ExecutionEngine/JIT/Intercept.cpp | 1 +
- 1 files changed, 1 insertions(+), 0 deletions(-)
-
-diff --git a/libclamav/c++/llvm/lib/ExecutionEngine/JIT/Intercept.cpp b/libclamav/c++/llvm/lib/ExecutionEngine/JIT/Intercept.cpp
-index 274f816..a4e7eee 100644
---- a/libclamav/c++/llvm/lib/ExecutionEngine/JIT/Intercept.cpp
-+++ b/libclamav/c++/llvm/lib/ExecutionEngine/JIT/Intercept.cpp
-@@ -19,6 +19,7 @@
- #include "llvm/Support/ErrorHandling.h"
- #include "llvm/System/DynamicLibrary.h"
- #include "llvm/Config/config.h"
-+#include <unistd.h>
- using namespace llvm;
-
- // AtExitHandlers - List of functions to call when the program exits,
---
-1.7.8.6
-
diff --git a/app-antivirus/clamav/files/clamd.rc b/app-antivirus/clamav/files/clamd.rc
deleted file mode 100644
index a1a55c243ad5..000000000000
--- a/app-antivirus/clamav/files/clamd.rc
+++ /dev/null
@@ -1,102 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-antivirus/clamav/files/clamd.rc,v 1.18 2011/12/04 11:51:46 swegener Exp $
-
-extra_commands="logfix"
-
-depend() {
- use net
- provide antivirus
-}
-
-start() {
- local clamd_socket=`awk '$1 == "LocalSocket" { print $2 }' /etc/clamd.conf`
-
- logfix
-
- if [ "${START_CLAMD}" = "yes" ]; then
- if [ -S "${clamd_socket:-/tmp/clamd}" ]; then
- rm -f ${clamd_socket:-/tmp/clamd}
- fi
- ebegin "Starting clamd"
- start-stop-daemon --start --quiet \
- --nicelevel ${CLAMD_NICELEVEL:-0} \
- --exec /usr/sbin/clamd
- eend $? "Failed to start clamd"
- fi
-
- if [ "${START_FRESHCLAM}" = "yes" ]; then
- ebegin "Starting freshclam"
- start-stop-daemon --start --quiet \
- --nicelevel ${FRESHCLAM_NICELEVEL:-0} \
- --exec /usr/bin/freshclam -- -d
- retcode=$?
- if [ ${retcode} = 1 ]; then
- eend 0
- einfo "Virus databases are already up to date."
- else
- eend ${retcode} "Failed to start freshclam"
- fi
- fi
-
- if [ "${START_MILTER}" = "yes" ]; then
- if [ -z "${MILTER_CONF_FILE}" ]; then
- MILTER_CONF_FILE="/etc/clamav-milter.conf"
- fi
-
- ebegin "Starting clamav-milter"
- start-stop-daemon --start --quiet \
- --nicelevel ${MILTER_NICELEVEL:-0} \
- --exec /usr/sbin/clamav-milter -- -c ${MILTER_CONF_FILE}
- eend $? "Failed to start clamav-milter"
- fi
-}
-
-stop() {
- if [ "${START_CLAMD}" = "yes" ]; then
- ebegin "Stopping clamd"
- start-stop-daemon --stop --quiet --name clamd
- eend $? "Failed to stop clamd"
- fi
- if [ "${START_FRESHCLAM}" = "yes" ]; then
- ebegin "Stopping freshclam"
- start-stop-daemon --stop --quiet --name freshclam
- eend $? "Failed to stop freshclam"
- fi
- if [ "${START_MILTER}" = "yes" ]; then
- ebegin "Stopping clamav-milter"
- start-stop-daemon --stop --quiet --name clamav-milter
- eend $? "Failed to stop clamav-milter"
- fi
-}
-
-logfix() {
- if [ "${START_CLAMD}" = "yes" ]; then
- # fix clamd log permissions
- # (might be clobbered by logrotate or something)
- local logfile=`awk '$1 == "LogFile" { print $2 }' /etc/clamd.conf`
- local clamav_user=`awk '$1 == "User" { print $2 }' /etc/clamd.conf`
- if [ -n "${logfile}" ] && [ -n "${clamav_user}" ]; then
- if [ ! -f "${logfile}" ]; then
- touch ${logfile}
- fi
- chown ${clamav_user} ${logfile}
- chmod 640 ${logfile}
- fi
- fi
-
- if [ "${START_FRESHCLAM}" = "yes" ]; then
- # fix freshclam log permissions
- # (might be clobbered by logrotate or something)
- logfile=`awk '$1 == "UpdateLogFile" { print $2 }' /etc/freshclam.conf`
- local freshclam_user=`awk '$1 == "DatabaseOwner" { print $2 }' /etc/freshclam.conf`
- if [ -n "${logfile}" -a -n "${clamav_user}" ]; then
- if [ ! -f "${logfile}" ]; then
- touch ${logfile}
- fi
- chown ${freshclam_user} ${logfile}
- chmod 640 ${logfile}
- fi
- fi
-}