summaryrefslogtreecommitdiff
path: root/security/klamav/files/patch-klamd.cpp
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2007-03-07 22:47:09 +0000
committerMartin Wilke <miwi@FreeBSD.org>2007-03-07 22:47:09 +0000
commitf06efcbd458f501e5272308337345d09e290d1c9 (patch)
tree250df638241329865fdd24c58f606ba551c7755d /security/klamav/files/patch-klamd.cpp
parent- Update to 2.004 (diff)
- Update to 0.41
PR: 110008 Submitted by: Anderson S. Ferreira <anderson@cnpm.embrapa.br> (maintainer)
Notes
Notes: svn path=/head/; revision=186858
Diffstat (limited to 'security/klamav/files/patch-klamd.cpp')
-rw-r--r--security/klamav/files/patch-klamd.cpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/security/klamav/files/patch-klamd.cpp b/security/klamav/files/patch-klamd.cpp
new file mode 100644
index 000000000000..e3a171a64530
--- /dev/null
+++ b/security/klamav/files/patch-klamd.cpp
@@ -0,0 +1,20 @@
+--- src/klamd.cpp.orig Tue Mar 6 13:12:00 2007
++++ src/klamd.cpp Tue Mar 6 13:13:55 2007
+@@ -742,7 +742,7 @@
+ {
+ if (!(dazukoLoaded)){
+ int result;
+- result = KMessageBox::warningContinueCancel(this, i18n( "I need to load a module called 'dazuko' first. This module will allow KlamAV to gain real-time access to files. If you don't want this message to appear in future, put the following command in your initialization scripts: 'modprobe dazuko.o'. You will next be asked for the root password."),
++ result = KMessageBox::warningContinueCancel(this, i18n( "I need to load a module called 'dazuko' first. This module will allow KlamAV to gain real-time access to files. If you don't want this message to appear in future, put the following command in your initialization scripts: 'kldload dazuko.ko'. You will next be asked for the root password."),
+ i18n( "Load Module" ),
+ i18n( "Load Module" ),
+ i18n( "Delete2" ));
+@@ -815,7 +815,7 @@
+ //
+ // //kdDebug() << release << endl;
+ // QString insmodCommand="insmod /lib/modules/" + release + "/dazuko.o";
+- QString insmodCommand="modprobe dazuko";
++ QString insmodCommand="kldload dazuko.ko";
+ //QString insmodCommand="insmod /opt/kde/bin/dazuko.o";
+ KProcIO *insmodproc = new KProcIO();
+