summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPrzemyslaw Maciag <troll@gentoo.org>2007-03-06 22:33:43 +0000
committerPrzemyslaw Maciag <troll@gentoo.org>2007-03-06 22:33:43 +0000
commita0a110b01b740a648c84184a6d6f3ca28ac97cab (patch)
tree7a657d54ca89f1aadcb91460a7b1e2e08901e3a1 /app-antivirus/klamav/files
parentUpdate to Linux 2.6.20.1. Fix mouse detection issues. Readd sata_promise TX2 ... (diff)
downloadgentoo-2-a0a110b01b740a648c84184a6d6f3ca28ac97cab.tar.gz
gentoo-2-a0a110b01b740a648c84184a6d6f3ca28ac97cab.tar.bz2
gentoo-2-a0a110b01b740a648c84184a6d6f3ca28ac97cab.zip
Version bump (0.41). Fix compilation with clamav-0.90 for klamav-0.40 (#167610). Closing #164522. Fixed header for klamav-0.35.1 ebuild
(Portage version: 2.1.2.1)
Diffstat (limited to 'app-antivirus/klamav/files')
-rw-r--r--app-antivirus/klamav/files/digest-klamav-0.413
-rw-r--r--app-antivirus/klamav/files/klamav-0.40-clamav_0.90_update.patch40
2 files changed, 43 insertions, 0 deletions
diff --git a/app-antivirus/klamav/files/digest-klamav-0.41 b/app-antivirus/klamav/files/digest-klamav-0.41
new file mode 100644
index 000000000000..07bb327eca60
--- /dev/null
+++ b/app-antivirus/klamav/files/digest-klamav-0.41
@@ -0,0 +1,3 @@
+MD5 4878b88f6b069dcef0f5825f9bca624a klamav-0.41-source.tar.gz 1783244
+RMD160 84c8b57fc8391624ec288b6b5fe0497a92e97baf klamav-0.41-source.tar.gz 1783244
+SHA256 7419db65041097129929064f065ae623e8e04a67a550ef24dff3d20223802340 klamav-0.41-source.tar.gz 1783244
diff --git a/app-antivirus/klamav/files/klamav-0.40-clamav_0.90_update.patch b/app-antivirus/klamav/files/klamav-0.40-clamav_0.90_update.patch
new file mode 100644
index 000000000000..6261c74c55d7
--- /dev/null
+++ b/app-antivirus/klamav/files/klamav-0.40-clamav_0.90_update.patch
@@ -0,0 +1,40 @@
+diff -Naur klamav-0.40-source-orig/klamav-0.40/src/freshklam.cpp klamav-0.40-source/klamav-0.40/src/freshklam.cpp
+--- klamav-0.40-source-orig/klamav-0.40/src/freshklam.cpp 2007-01-02 20:46:37.000000000 +0100
++++ klamav-0.40-source/klamav-0.40/src/freshklam.cpp 2007-02-20 00:09:04.000000000 +0100
+@@ -835,7 +835,9 @@
+
+
+ if (dbdir != dir_combo->url()){
+- ret = cl_loaddbdir((const char *)dir_combo->url(), &root, &no);
++ //ret = cl_loaddbdir((const char *)dir_combo->url(), &root, &no);
++ // clamav 0.90 update
++ ret = cl_load((const char *)dir_combo->url(), &root, &no, CL_DB_STDOPT);
+ ////kdDebug() << "ret " << ret << endl;
+ if (no == 0){
+ db = dbdir;
+diff -Naur klamav-0.40-source-orig/klamav-0.40/src/klamav.cpp klamav-0.40-source/klamav-0.40/src/klamav.cpp
+--- klamav-0.40-source-orig/klamav-0.40/src/klamav.cpp 2007-01-02 20:46:37.000000000 +0100
++++ klamav-0.40-source/klamav-0.40/src/klamav.cpp 2007-02-20 00:06:02.000000000 +0100
+@@ -184,6 +184,8 @@
+ hide();
+ //return false;
+
++ // no default ret value
++ return true;
+ }
+
+
+diff -Naur klamav-0.40-source-orig/klamav-0.40/src/dbviewer.cpp klamav-0.40-source/klamav-0.40/src/dbviewer.cpp
+--- klamav-0.40-source-orig/klamav-0.40/src/dbviewer.cpp 2007-01-02 20:46:37.000000000 +0100
++++ klamav-0.40-source/klamav-0.40/src/dbviewer.cpp 2007-02-20 00:20:02.000000000 +0100
+@@ -815,7 +815,9 @@
+ dbdir = lastDownloadPaths.first();
+
+
+- ret = cl_loaddbdir((const char *)dbdir, &root, &no);
++ //ret = cl_loaddbdir((const char *)dbdir, &root, &no);
++ // clamav-0.90 update
++ ret = cl_load((const char *)dbdir, &root, &no, CL_DB_STDOPT);
+ //kdDebug() << "no " << no << endl;
+ cl_free(root);
+ return no;