remove KDE4 ksystemloksystemlog
Replaced by KDE5 version (x11/kde-applications) long time ago. Unhooked since OpenBSD 6.4/6.5.
This commit is contained in:
parent
bfecb8c76c
commit
0d272b1775
@ -1,18 +0,0 @@
|
||||
# $OpenBSD: Makefile,v 1.5 2018/06/27 21:04:18 espie Exp $
|
||||
|
||||
COMMENT = system log files viewer for KDE
|
||||
DISTNAME = ksystemlog-${MODKDE4_VERSION}
|
||||
REVISION = 2
|
||||
|
||||
CATEGORIES = sysutils
|
||||
HOMEPAGE = http://projects.kde.org/projects/kde/kdeadmin/ksystemlog
|
||||
|
||||
WANTLIB = c m pthread
|
||||
WANTLIB += ${COMPILER_LIBCXX}
|
||||
WANTLIB += lib/qt4/QtDBus lib/qt4/QtGui lib/qt4/QtNetwork lib/qt4/QtSvg
|
||||
WANTLIB += lib/qt4/QtXml
|
||||
WANTLIB += ${KDE4LIB}/kdeui ${KDE4LIB}/kio
|
||||
|
||||
RUN_DEPENDS = devel/desktop-file-utils
|
||||
|
||||
.include <bsd.port.mk>
|
@ -1,2 +0,0 @@
|
||||
SHA256 (kde/ksystemlog-4.14.3.tar.xz) = wlLmGQjXzKvlZM2l+N/oyg80ZZ8kjVV9jftgiPUNsIc=
|
||||
SIZE (kde/ksystemlog-4.14.3.tar.xz) = 382060
|
@ -1,12 +0,0 @@
|
||||
$OpenBSD: patch-src_lib_globals_cpp,v 1.1.1.1 2013/12/08 18:12:26 zhuk Exp $
|
||||
--- src/lib/globals.cpp.orig Fri Nov 4 13:55:37 2011
|
||||
+++ src/lib/globals.cpp Fri Nov 4 13:55:48 2011
|
||||
@@ -125,7 +125,7 @@ void Globals::setupLogModes() {
|
||||
d->cupsAccessMode=new LogMode("cupsAccessLogMode", i18n("CUPS Access Log"), CUPS_ACCESS_MODE_ICON);
|
||||
d->logModes.append(d->cupsAccessMode);
|
||||
|
||||
- d->postfixMode=new LogMode("postfixLogMode", i18n("Postfix Log"), POSTFIX_MODE_ICON);
|
||||
+ d->postfixMode=new LogMode("postfixLogMode", i18n("Mail Log"), POSTFIX_MODE_ICON);
|
||||
d->logModes.append(d->postfixMode);
|
||||
|
||||
}
|
@ -1,25 +0,0 @@
|
||||
$OpenBSD: patch-src_modes_apache_apacheConfiguration_h,v 1.1.1.1 2013/12/08 18:12:26 zhuk Exp $
|
||||
--- src/modes/apache/apacheConfiguration.h.orig Mon Sep 27 23:52:09 2010
|
||||
+++ src/modes/apache/apacheConfiguration.h Fri Nov 4 02:50:32 2011
|
||||
@@ -51,11 +51,21 @@ class ApacheConfiguration : public LogModeConfiguratio
|
||||
configuration->setCurrentGroup(QLatin1String( "ApacheLogMode" ));
|
||||
|
||||
QStringList defaultApachePaths;
|
||||
+#if defined(__OpenBSD__)
|
||||
+ defaultApachePaths << QLatin1String( "/var/apache2/logs/error_log" );
|
||||
+ defaultApachePaths << QLatin1String( "/var/www/logs/error_log" );
|
||||
+#else
|
||||
defaultApachePaths << QLatin1String( "/var/log/apache2/error.log" );
|
||||
+#endif
|
||||
configuration->addItemStringList(QLatin1String( "ApacheLogFilesPaths" ), d->apachePaths, defaultApachePaths, QLatin1String( "ApacheLogFilesPaths" ));
|
||||
|
||||
QStringList defaultApacheAccessPaths;
|
||||
+#if defined(__OpenBSD__)
|
||||
+ defaultApacheAccessPaths << QLatin1String( "/var/apache2/logs/access_log" );
|
||||
+ defaultApacheAccessPaths << QLatin1String( "/var/www/logs/access_log" );
|
||||
+#else
|
||||
defaultApacheAccessPaths << QLatin1String( "/var/log/apache2/access.log" );
|
||||
+#endif
|
||||
configuration->addItemStringList(QLatin1String( "ApacheAccessLogFilesPaths" ), d->apacheAccessPaths, defaultApacheAccessPaths, QLatin1String( "ApacheAccessLogFilesPaths" ));
|
||||
}
|
||||
|
@ -1,15 +0,0 @@
|
||||
$OpenBSD: patch-src_modes_authentication_authenticationConfiguration_h,v 1.1.1.1 2013/12/08 18:12:26 zhuk Exp $
|
||||
--- src/modes/authentication/authenticationConfiguration.h.orig Mon Sep 27 23:52:08 2010
|
||||
+++ src/modes/authentication/authenticationConfiguration.h Fri Nov 4 02:36:32 2011
|
||||
@@ -51,7 +51,11 @@ class AuthenticationConfiguration : public LogModeConf
|
||||
|
||||
configuration->setCurrentGroup(QLatin1String( "AuthenticationLogMode" ));
|
||||
|
||||
+#if defined(__OpenBSD__)
|
||||
+ QString defaultAuthenticationPath(QLatin1String( "/var/log/authlog" ));
|
||||
+#else
|
||||
QString defaultAuthenticationPath(QLatin1String( "/var/log/auth.log" ));
|
||||
+#endif
|
||||
configuration->addItemString(QLatin1String( "LogFilePath" ), d->authenticationPath, defaultAuthenticationPath, QLatin1String( "LogFilePath" ));
|
||||
|
||||
QStringList defaultWarningKeywords;
|
@ -1,23 +0,0 @@
|
||||
$OpenBSD: patch-src_modes_cron_cronConfiguration_h,v 1.1.1.1 2013/12/08 18:12:26 zhuk Exp $
|
||||
--- src/modes/cron/cronConfiguration.h.orig Mon Sep 27 23:52:09 2010
|
||||
+++ src/modes/cron/cronConfiguration.h Fri Nov 4 02:45:02 2011
|
||||
@@ -51,13 +51,17 @@ class CronConfiguration : public LogModeConfiguration
|
||||
configuration->setCurrentGroup(QLatin1String( "CronLogMode" ));
|
||||
|
||||
QStringList defaultCronPaths;
|
||||
+#if defined(__OpenBSD__)
|
||||
+ defaultCronPaths << QLatin1String( "/var/cron/log" );
|
||||
+#else
|
||||
defaultCronPaths << QLatin1String( "/var/log/syslog" );
|
||||
+#endif
|
||||
configuration->addItemStringList(QLatin1String( "LogFilesPaths" ), d->cronPaths, defaultCronPaths, QLatin1String( "LogFilesPaths" ));
|
||||
|
||||
+#if !defined(__OpenBSD__)
|
||||
QString defaultProcessFilter(QLatin1String( "/usr/sbin/cron" ));
|
||||
configuration->addItemString(QLatin1String( "ProcessFilter" ), d->processFilter, defaultProcessFilter, QLatin1String( "ProcessFilter" ));
|
||||
-
|
||||
-
|
||||
+#endif
|
||||
}
|
||||
|
||||
virtual ~CronConfiguration() {
|
@ -1,15 +0,0 @@
|
||||
$OpenBSD: patch-src_modes_daemon_daemonConfiguration_h,v 1.1.1.1 2013/12/08 18:12:26 zhuk Exp $
|
||||
--- src/modes/daemon/daemonConfiguration.h.orig Mon Sep 27 23:52:09 2010
|
||||
+++ src/modes/daemon/daemonConfiguration.h Fri Nov 4 02:46:09 2011
|
||||
@@ -47,7 +47,11 @@ class DaemonConfiguration : public LogModeConfiguratio
|
||||
configuration->setCurrentGroup(QLatin1String( "DaemonLogMode" ));
|
||||
|
||||
QStringList defaultDaemonPaths;
|
||||
+#if defined(__OpenBSD__)
|
||||
+ defaultDaemonPaths << QLatin1String( "/var/log/daemon" );
|
||||
+#else
|
||||
defaultDaemonPaths << QLatin1String( "/var/log/daemon.log" );
|
||||
+#endif
|
||||
configuration->addItemStringList(QLatin1String( "LogFilesPaths" ), d->daemonPaths, defaultDaemonPaths, QLatin1String( "LogFilesPaths" ));
|
||||
|
||||
}
|
@ -1,33 +0,0 @@
|
||||
$OpenBSD: patch-src_modes_postfix_postfixConfigurationWidget_h,v 1.1.1.1 2013/12/08 18:12:26 zhuk Exp $
|
||||
--- src/modes/postfix/postfixConfigurationWidget.h.orig Fri Nov 4 13:58:24 2011
|
||||
+++ src/modes/postfix/postfixConfigurationWidget.h Fri Nov 4 13:58:50 2011
|
||||
@@ -45,13 +45,13 @@ class PostfixConfigurationWidget : public LogModeConfi
|
||||
|
||||
public:
|
||||
PostfixConfigurationWidget() :
|
||||
- LogModeConfigurationWidget(i18n("Postfix Log"),QLatin1String( POSTFIX_MODE_ICON ), i18n("Postfix Log"))
|
||||
+ LogModeConfigurationWidget(i18n("Mail Log"),QLatin1String( POSTFIX_MODE_ICON ), i18n("Mail Log"))
|
||||
{
|
||||
|
||||
QVBoxLayout* layout = new QVBoxLayout();
|
||||
this->setLayout(layout);
|
||||
|
||||
- QString description = i18n("<p>These files will be analyzed to show the <b>Postfix Logs</b>.</p>");
|
||||
+ QString description = i18n("<p>These files will be analyzed to show the <b>Mail Logs</b>.</p>");
|
||||
|
||||
fileList = new LogLevelFileList(this, description);
|
||||
|
||||
@@ -67,11 +67,11 @@ class PostfixConfigurationWidget : public LogModeConfi
|
||||
|
||||
bool isValid() const {
|
||||
if (fileList->isEmpty() == false) {
|
||||
- logDebug() << "Postfix configuration valid" << endl;
|
||||
+ logDebug() << "Mail configuration valid" << endl;
|
||||
return true;
|
||||
}
|
||||
|
||||
- logDebug() << "Postfix configuration not valid" << endl;
|
||||
+ logDebug() << "Mail configuration not valid" << endl;
|
||||
return false;
|
||||
}
|
||||
|
@ -1,17 +0,0 @@
|
||||
$OpenBSD: patch-src_modes_postfix_postfixConfiguration_h,v 1.1.1.1 2013/12/08 18:12:26 zhuk Exp $
|
||||
--- src/modes/postfix/postfixConfiguration.h.orig Mon Sep 27 23:52:10 2010
|
||||
+++ src/modes/postfix/postfixConfiguration.h Fri Nov 4 02:47:54 2011
|
||||
@@ -39,8 +39,13 @@ class PostfixConfiguration : public GenericLogModeConf
|
||||
PostfixConfiguration() :
|
||||
GenericLogModeConfiguration(
|
||||
QLatin1String( POSTFIX_LOG_MODE_ID ),
|
||||
+#if defined(__OpenBSD__)
|
||||
+ QStringList() << QLatin1String( "/var/log/maillog" ),
|
||||
+ QList<int>() << INFORMATION_LOG_LEVEL_ID
|
||||
+#else
|
||||
QStringList() << QLatin1String( "/var/log/mail.log" ) << QLatin1String( "/var/log/mail.info" ) << QLatin1String( "/var/log/mail.warn" ) << QLatin1String( "/var/log/mail.err" ),
|
||||
QList<int>() << NOTICE_LOG_LEVEL_ID << INFORMATION_LOG_LEVEL_ID << WARNING_LOG_LEVEL_ID << ERROR_LOG_LEVEL_ID
|
||||
+#endif
|
||||
) {
|
||||
|
||||
}
|
@ -1,23 +0,0 @@
|
||||
$OpenBSD: patch-src_modes_postfix_postfixLogMode_cpp,v 1.1.1.1 2013/12/08 18:12:26 zhuk Exp $
|
||||
--- src/modes/postfix/postfixLogMode.cpp.orig Fri Nov 4 02:59:19 2011
|
||||
+++ src/modes/postfix/postfixLogMode.cpp Fri Nov 4 03:02:06 2011
|
||||
@@ -36,7 +36,7 @@
|
||||
#include "logModeItemBuilder.h"
|
||||
|
||||
PostfixLogMode::PostfixLogMode() :
|
||||
- LogMode(QLatin1String( POSTFIX_LOG_MODE_ID ), i18n("Postfix Log"),QLatin1String( POSTFIX_MODE_ICON )) {
|
||||
+ LogMode(QLatin1String( POSTFIX_LOG_MODE_ID ), i18n("Mail Log"),QLatin1String( POSTFIX_MODE_ICON )) {
|
||||
|
||||
d->logModeConfiguration = new PostfixConfiguration();
|
||||
|
||||
@@ -45,8 +45,8 @@ PostfixLogMode::PostfixLogMode() :
|
||||
d->itemBuilder = new LogModeItemBuilder();
|
||||
|
||||
d->action = createDefaultAction();
|
||||
- d->action->setToolTip(i18n("Display the Postfix log."));
|
||||
- d->action->setWhatsThis(i18n("Displays the Postfix log in the current tab. Postfix is the most known and used mail server in the Linux world."));
|
||||
+ d->action->setToolTip(i18n("Display mail log."));
|
||||
+ d->action->setWhatsThis(i18n("Displays summary log of mail daemons in the current tab."));
|
||||
|
||||
}
|
||||
|
@ -1,15 +0,0 @@
|
||||
$OpenBSD: patch-src_modes_system_systemConfiguration_h,v 1.1.1.1 2013/12/08 18:12:26 zhuk Exp $
|
||||
--- src/modes/system/systemConfiguration.h.orig Mon Sep 27 23:52:09 2010
|
||||
+++ src/modes/system/systemConfiguration.h Fri Nov 4 02:49:06 2011
|
||||
@@ -39,7 +39,11 @@ class SystemConfiguration : public GenericLogModeConfi
|
||||
SystemConfiguration() :
|
||||
GenericLogModeConfiguration(
|
||||
QLatin1String( SYSTEM_LOG_MODE_ID ),
|
||||
+#if defined(__OpenBSD__)
|
||||
+ QStringList() << QLatin1String( "/var/log/messages" ),
|
||||
+#else
|
||||
QStringList() << QLatin1String( "/var/log/syslog" ),
|
||||
+#endif
|
||||
QList<int>() << INFORMATION_LOG_LEVEL_ID
|
||||
) {
|
||||
|
@ -1 +0,0 @@
|
||||
System log files viewer for KDE.
|
@ -1,14 +0,0 @@
|
||||
@comment $OpenBSD: PLIST,v 1.2 2018/06/27 21:04:18 espie Exp $
|
||||
@conflict kdeadmin->=4,<4.11
|
||||
@bin bin/ksystemlog
|
||||
share/applications/kde4/ksystemlog.desktop
|
||||
share/apps/ksystemlog/
|
||||
share/apps/ksystemlog/ksystemlogui.rc
|
||||
share/doc/HTML/en/ksystemlog/
|
||||
share/doc/HTML/en/ksystemlog/common
|
||||
share/doc/HTML/en/ksystemlog/filter-process.png
|
||||
share/doc/HTML/en/ksystemlog/first-opening.png
|
||||
share/doc/HTML/en/ksystemlog/index.cache.bz2
|
||||
share/doc/HTML/en/ksystemlog/index.docbook
|
||||
share/doc/HTML/en/ksystemlog/main-screen.png
|
||||
@tag update-desktop-database
|
Loading…
x
Reference in New Issue
Block a user