File disable-nonsense-security-check.diff of Package kdeutils3
Index: klaptopdaemon/acpi.cpp
===================================================================
--- klaptopdaemon/acpi.cpp.orig
+++ klaptopdaemon/acpi.cpp
@@ -164,6 +164,7 @@ void AcpiConfig::setupHelper()
{
unsigned long len, crc;
QString helper = KStandardDirs::findExe("klaptop_acpi_helper");
+#if 0
checkcrc(QFile::encodeName(helper), len, crc);
if (len != file_len || crc != file_crc) {
QString str(i18n("The %1 application does not seem to have "
@@ -173,7 +174,7 @@ void AcpiConfig::setupHelper()
if (rc != KMessageBox::Continue)
return;
}
-
+#endif
QString kdesu = KStandardDirs::findExe("kdesu");
if (!kdesu.isEmpty()) {
int rc = KMessageBox::warningContinueCancel(0,
Index: klaptopdaemon/apm.cpp
===================================================================
--- klaptopdaemon/apm.cpp.orig
+++ klaptopdaemon/apm.cpp
@@ -186,6 +186,7 @@ void ApmConfig::setupHelper2() // we use
{
unsigned long len, crc;
QString helper = KStandardDirs::findExe("klaptop_acpi_helper");
+#if 0
checkcrc(helper.latin1(), len, crc);
if (len != file_len || crc != file_crc) {
QString str(i18n("The %1 application does not seem to have "
@@ -195,7 +196,7 @@ void ApmConfig::setupHelper2() // we use
if (rc != KMessageBox::Continue)
return;
}
-
+#endif
QString kdesu = KStandardDirs::findExe("kdesu");
if (!kdesu.isEmpty()) {
int rc = KMessageBox::warningContinueCancel(0,