From f06efcbd458f501e5272308337345d09e290d1c9 Mon Sep 17 00:00:00 2001 From: Martin Wilke Date: Wed, 7 Mar 2007 22:47:09 +0000 Subject: - Update to 0.41 PR: 110008 Submitted by: Anderson S. Ferreira (maintainer) --- security/klamav/files/patch-klamd.cpp | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 security/klamav/files/patch-klamd.cpp (limited to 'security/klamav/files/patch-klamd.cpp') 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(); + -- cgit v1.2.3