aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorkmoore <kmoore@FreeBSD.org>2009-06-12 21:56:04 +0800
committerkmoore <kmoore@FreeBSD.org>2009-06-12 21:56:04 +0800
commitcc144aea98939add5559f96205fc7457b55fc508 (patch)
treef95c6312b19256f6c016197dc88661d3b4c029ed /sysutils
parent550351146515f7487deb7bd2bcea9723b7402620 (diff)
downloadfreebsd-ports-gnome-cc144aea98939add5559f96205fc7457b55fc508.tar.gz
freebsd-ports-gnome-cc144aea98939add5559f96205fc7457b55fc508.tar.zst
freebsd-ports-gnome-cc144aea98939add5559f96205fc7457b55fc508.zip
- Fix ksystemlog failures while looking for Linux-specific logfiles
Approved by: brooks (co-mentor)
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/kdeadmin4/Makefile1
-rw-r--r--sysutils/kdeadmin4/files/patch-ksystemlog-modes-daemon-daemonConfiguration.h11
-rw-r--r--sysutils/kdeadmin4/files/patch-ksystemlog-modes-system-systemConfiguration.h11
3 files changed, 23 insertions, 0 deletions
diff --git a/sysutils/kdeadmin4/Makefile b/sysutils/kdeadmin4/Makefile
index 130e3d286f6c..509a01559dd6 100644
--- a/sysutils/kdeadmin4/Makefile
+++ b/sysutils/kdeadmin4/Makefile
@@ -6,6 +6,7 @@
PORTNAME= kdeadmin
PORTVERSION= ${KDE4_VERSION}
+PORTREVISION= 1
CATEGORIES= sysutils kde ipv6
MASTER_SITES= ${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR= ${KDE4_BRANCH}/${PORTVERSION}/src
diff --git a/sysutils/kdeadmin4/files/patch-ksystemlog-modes-daemon-daemonConfiguration.h b/sysutils/kdeadmin4/files/patch-ksystemlog-modes-daemon-daemonConfiguration.h
new file mode 100644
index 000000000000..146ee9987058
--- /dev/null
+++ b/sysutils/kdeadmin4/files/patch-ksystemlog-modes-daemon-daemonConfiguration.h
@@ -0,0 +1,11 @@
+--- ksystemlog/src/modes/daemon/daemonConfiguration.h.o 2009-06-09 12:39:54.000000000 -0400
++++ ksystemlog/src/modes/daemon/daemonConfiguration.h 2009-06-09 12:40:06.000000000 -0400
+@@ -47,7 +47,7 @@
+ configuration->setCurrentGroup("DaemonLogMode");
+
+ QStringList defaultDaemonPaths;
+- defaultDaemonPaths << "/var/log/daemon.log";
++ defaultDaemonPaths << "/var/log/messages";
+ configuration->addItemStringList("LogFilesPaths", d->daemonPaths, defaultDaemonPaths, "LogFilesPaths");
+
+ }
diff --git a/sysutils/kdeadmin4/files/patch-ksystemlog-modes-system-systemConfiguration.h b/sysutils/kdeadmin4/files/patch-ksystemlog-modes-system-systemConfiguration.h
new file mode 100644
index 000000000000..2b9bce820597
--- /dev/null
+++ b/sysutils/kdeadmin4/files/patch-ksystemlog-modes-system-systemConfiguration.h
@@ -0,0 +1,11 @@
+--- ksystemlog/src/modes/system/systemConfiguration.h.o 2009-06-09 12:38:16.000000000 -0400
++++ ksystemlog/src/modes/system/systemConfiguration.h 2009-06-09 12:38:27.000000000 -0400
+@@ -39,7 +39,7 @@
+ SystemConfiguration() :
+ GenericLogModeConfiguration(
+ SYSTEM_LOG_MODE_ID,
+- QStringList() << "/var/log/syslog",
++ QStringList() << "/var/log/messages",
+ QList<int>() << INFORMATION_LOG_LEVEL_ID
+ ) {
+