summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Heinlein <keytoaster@gentoo.org>2008-09-06 15:19:42 +0000
committerTobias Heinlein <keytoaster@gentoo.org>2008-09-06 15:19:42 +0000
commitaa395e2f98ce0d3d28baef39cbb175833ad1734a (patch)
tree632e891091cb501edf22b4d01af2f937dfe98161 /app-antivirus
parentx86 stable wrt #236389 (diff)
downloadhistorical-aa395e2f98ce0d3d28baef39cbb175833ad1734a.tar.gz
historical-aa395e2f98ce0d3d28baef39cbb175833ad1734a.tar.bz2
historical-aa395e2f98ce0d3d28baef39cbb175833ad1734a.zip
Fix compilation error with >=clamav-0.94, bug #236838
Package-Manager: portage-2.2_rc8/cvs/Linux 2.6.25-gentoo-r7 x86_64
Diffstat (limited to 'app-antivirus')
-rw-r--r--app-antivirus/clamav/Manifest4
-rw-r--r--app-antivirus/klamav/ChangeLog6
-rw-r--r--app-antivirus/klamav/Manifest17
-rw-r--r--app-antivirus/klamav/files/klamav-clamav094.patch14
-rw-r--r--app-antivirus/klamav/klamav-0.42.ebuild7
-rw-r--r--app-antivirus/klamav/klamav-0.44.ebuild7
6 files changed, 47 insertions, 8 deletions
diff --git a/app-antivirus/clamav/Manifest b/app-antivirus/clamav/Manifest
index ce3078a4ed1f..c820e22f7db3 100644
--- a/app-antivirus/clamav/Manifest
+++ b/app-antivirus/clamav/Manifest
@@ -10,6 +10,6 @@ AUX lib-ld.m4 3417 RMD160 7b412510e7ef9966f70ed29937e3556283128a9b SHA1 8b72b8f5
DIST clamav-0.93.3.tar.gz 18242568 RMD160 8379148790cc545c801709d46b7db87634f43f67 SHA1 01240613b639144fa8fa655825f6587e044a1c1c SHA256 7aa98796671dfe3db5a20e25669404c4e4461d2a6c77de352edf99f2c989e500
DIST clamav-0.94.tar.gz 20509228 RMD160 598561b76b1e4ee14120388ba1bbdcac5ac7bfe5 SHA1 d69a0c462ac3ef55329384f8e136d9b7bc1b8ec5 SHA256 ae188c18936ea9154eb6a85ea553c29f4349ee3e95457055fae5fe1b981af602
EBUILD clamav-0.93.3.ebuild 4287 RMD160 edd95891a2a9e861bf542ec4ff907e9380457839 SHA1 11d6c62cd85304d5f8674835db25046e2408af5f SHA256 08a038108585615abc0ff9592b0d57c3810bb7b01217df3b2c205bb4f6bffd92
-EBUILD clamav-0.94.ebuild 4293 RMD160 870c446b820ae8b610e6ed385231ceb00281b1d0 SHA1 e29ffc5c481525973735947ed97c000674f3c06d SHA256 18ba02cac7659a45f4bfe2843c079af592a3667dae222841625062c090258664
-MISC ChangeLog 46323 RMD160 d226fc01620d55a37b0afcdcd33c73328425bd31 SHA1 3a05bc338ea1d5e128f1dd948ae9d0af8dfd1a32 SHA256 25c0eb8635873a4f8e72330fa148b8c464a5fbb940243a0123eb963362cd1d6b
+EBUILD clamav-0.94.ebuild 4288 RMD160 1dcfd358889fc08cb75dec2376687cf908cf52da SHA1 c28e66750cb26fb5f7d53894936c1ea151bd10e5 SHA256 07a23bcf8b49d8295386ae9897d5c525829e892b51816d291437c13c31b34040
+MISC ChangeLog 46420 RMD160 8939acb61791adc87be836c30380c3113d783493 SHA1 747f3b4dc605879bc0cc0689627b604bf5d1da40 SHA256 250a48332ac2ecb3fdbb70e9801101dc90fca6efd81aa68497b474c9452e7596
MISC metadata.xml 184 RMD160 c37bff1fc1cd7139c91dae9b0fa5082e1d81f153 SHA1 cc0a188d9ad2411e78747326c62dd046bd5413c8 SHA256 d51011aa837db802ef539a1321a4af0a4a00879d475b92fd58f3c01df7320b58
diff --git a/app-antivirus/klamav/ChangeLog b/app-antivirus/klamav/ChangeLog
index 3b4b88c47e67..2677462a2eaf 100644
--- a/app-antivirus/klamav/ChangeLog
+++ b/app-antivirus/klamav/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for app-antivirus/klamav
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-antivirus/klamav/ChangeLog,v 1.47 2008/08/22 18:40:00 tgurr Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-antivirus/klamav/ChangeLog,v 1.48 2008/09/06 15:19:41 keytoaster Exp $
+
+ 06 Sep 2008; Tobias Heinlein <keytoaster@gentoo.org>
+ +files/klamav-clamav094.patch, klamav-0.42.ebuild, klamav-0.44.ebuild:
+ Fix compilation error with >=clamav-0.94, bug #236838
*klamav-0.44 (22 Aug 2008)
diff --git a/app-antivirus/klamav/Manifest b/app-antivirus/klamav/Manifest
index 628cebb5dae7..d3beded23f39 100644
--- a/app-antivirus/klamav/Manifest
+++ b/app-antivirus/klamav/Manifest
@@ -1,9 +1,20 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
AUX klamav-0.41-cl_loaddbdir.patch 653 RMD160 5130f329a36e2f38c3e5b8a5d84bd47940597084 SHA1 6a3b9f2a61e91eeaf06f17c1805f5209123c8589 SHA256 d6931d5840f1f45e623b53868bce9971397cbce88dea86342e15b350c303bfcd
AUX klamav-0.42-clamav093.patch 4995 RMD160 bd8c88b62114a75180370cbb18b80b51b672db8a SHA1 499a7bc5b29455cf073a2576ec9dbd428bf024bf SHA256 9ab0ccbd7b714bdb7f93ebd16350a01cc47f2ff8c19f0e30909f1263b1a698b7
AUX klamav-0.43-desktop-entry.diff 742 RMD160 e9466d6730f1c850a68ed60a20b6a2f2c46a53cf SHA1 1be211ff6c77dd4f9e5733d6dce66f4e0412711c SHA256 54b48efd0fac7abcf4335a8fcb17c868b06134e9467e8e5c79d213bf3ac199b2
+AUX klamav-clamav094.patch 623 RMD160 e2905e3fdf2f1f9f5f1eca2fe27d88c3ef5bd0fc SHA1 cf3ead163b38912344da224267902d5924fbc202 SHA256 b2fa9dc687d2697d9dce9ef3a5aa98a095071c790b4387071ae0279a077996c0
DIST klamav-0.42-source.tar.gz 1920149 RMD160 75171ac0a35df29fd97132b1ecd2f345c671884f SHA1 122b439d03d29332286610aa9cf4052fb6f0d407 SHA256 3dd03c802a24d0fe033bdd7f27ec77b2fd5c9aedf18ebec30cee801e36966ca7
DIST klamav-0.44-source.tar.gz 2029215 RMD160 2490fcadfa271ff31cbae176d79b9c7a867aaa21 SHA1 571df2430af8f3d2f16ac28e2e9d85180b5bd45e SHA256 6427bd94b33ff23d78c5edd3ef6340229d1478ee683b92b9171487f3e4f8fc6a
-EBUILD klamav-0.42.ebuild 1304 RMD160 3146c6464412d18f314985d73381588aa02aab2d SHA1 612d2108d82fb121f9cd68f1b07c5a077c79e596 SHA256 ba57390cee497fb3acedf64c18718a5ef73611dd2fe87ea7d81051f24a01d5ee
-EBUILD klamav-0.44.ebuild 1177 RMD160 3f16ef377cf59eb4bb944e2d9ba152dce220d864 SHA1 6918d4e3a2e37934343e7a24570f00dfa98b5436 SHA256 caa54afce7273724d509dafef763768658aa6f983524bbe21efb336850086410
-MISC ChangeLog 6647 RMD160 1486d082e8499e9402931292c4997888303d264c SHA1 2705b2d2293207655e4da9e30d4b85a1dad0315f SHA256 18f73a89516123bd4b0f2daa56325a9b1f9a0f61dc7f06c9d9a8c8f9f863c68c
+EBUILD klamav-0.42.ebuild 1465 RMD160 4260ee084207bbe64201039b8c4667d0fe21f893 SHA1 505e681257c2162d37142d1f3de845d0a0d7e377 SHA256 85eb7e1e8983bca972dcb4be9e0f5abe5d53e8da6d2402464c196c04a34ed182
+EBUILD klamav-0.44.ebuild 1343 RMD160 c7a67b0ab1150101663c311b05c3a2fc0b124504 SHA1 bd77666d516b4fc29f7e4d391fdad54e744a7f20 SHA256 7fc630cbc9fa4587fd62d8ba8323744cd1f6efc92302a5b2cb9176b23d56a9fc
+MISC ChangeLog 6837 RMD160 308ac2a621dba5f8389ef1db58dd949c4e9651e5 SHA1 a2de478b0f62beb54b438ba2492b769b6dd5d546 SHA256 aa0820f73b6cfc60d32312047341fb7ea4fdf44c9a5658902680279436bb9cad
MISC metadata.xml 156 RMD160 ecce3b981f150c45ae1e84e2d208e678d6124259 SHA1 b64f7c0b4e5db816d82ad19848f72118af129d35 SHA256 2f4da28506b9d4185f320f67a6191d30c7a921217ed4447ed46ea0bc4aefc79a
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.9 (GNU/Linux)
+
+iEYEARECAAYFAkjCn5oACgkQt3UOBHx+2m9fwACgh1dEzA42mvWYm8OqcBC4Vm07
+g6gAn3DDpoB8tkUMMTNN0k45CPcfVPox
+=WzQZ
+-----END PGP SIGNATURE-----
diff --git a/app-antivirus/klamav/files/klamav-clamav094.patch b/app-antivirus/klamav/files/klamav-clamav094.patch
new file mode 100644
index 000000000000..5131cf911375
--- /dev/null
+++ b/app-antivirus/klamav/files/klamav-clamav094.patch
@@ -0,0 +1,14 @@
+diff -ur klamav-0.44/src/klammail/clamdmail.c klamav-0.44-clamav094/src/klammail/clamdmail.c
+--- klamav-0.44/src/klammail/clamdmail.c 2008-07-06 14:05:39.000000000 +0200
++++ klamav-0.44-clamav094/src/klammail/clamdmail.c 2008-09-06 13:51:46.000000000 +0200
+@@ -160,7 +160,8 @@
+ if(fsync(fd) == -1) {
+ // cli_dbgmsg("fsync() failed for descriptor %d\n", fd);
+ close(fd);
+- return CL_EFSYNC;
++// return CL_EFSYNC;
++ return CL_EIO;
+ }
+
+ close(fd);
+
diff --git a/app-antivirus/klamav/klamav-0.42.ebuild b/app-antivirus/klamav/klamav-0.42.ebuild
index dc50538bae4a..0021688202ba 100644
--- a/app-antivirus/klamav/klamav-0.42.ebuild
+++ b/app-antivirus/klamav/klamav-0.42.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-antivirus/klamav/klamav-0.42.ebuild,v 1.8 2008/04/25 22:48:51 philantrop Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-antivirus/klamav/klamav-0.42.ebuild,v 1.9 2008/09/06 15:19:41 keytoaster Exp $
inherit kde
@@ -31,6 +31,11 @@ src_unpack(){
epatch "${FILESDIR}/${P}-clamav093.patch"
fi
+ # Fix compiliaton error with >=clamav-0.94, bug #236838
+ if has_version '>=app-antivirus/clamav-0.94' ; then
+ epatch "${FILESDIR}/klamav-clamav094.patch"
+ fi
+
# Assure a future version won't try to build this.
rm -rf "${WORKDIR}/${MY_P}/dazuko"* || die "We missed to eradicate some files"
diff --git a/app-antivirus/klamav/klamav-0.44.ebuild b/app-antivirus/klamav/klamav-0.44.ebuild
index e3f8396ee6fd..685f151ecf30 100644
--- a/app-antivirus/klamav/klamav-0.44.ebuild
+++ b/app-antivirus/klamav/klamav-0.44.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-antivirus/klamav/klamav-0.44.ebuild,v 1.1 2008/08/22 18:40:00 tgurr Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-antivirus/klamav/klamav-0.44.ebuild,v 1.2 2008/09/06 15:19:41 keytoaster Exp $
ARTS_REQUIRED="never"
@@ -29,6 +29,11 @@ src_unpack(){
# Fix .desktop entry.
epatch "${FILESDIR}/klamav-0.43-desktop-entry.diff"
+ # Fix compiliaton error with >=clamav-0.94, bug #236838
+ if has_version '>=app-antivirus/clamav-0.94' ; then
+ epatch "${FILESDIR}/klamav-clamav094.patch"
+ fi
+
# Assure a future version won't try to build this.
rm -rf "${WORKDIR}/${MY_P}/dazuko"* || die "We missed to eradicate some files"