diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /app-admin/gkrellm/files | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'app-admin/gkrellm/files')
-rw-r--r-- | app-admin/gkrellm/files/gkrellm-2.3.5-cifs.patch | 24 | ||||
-rw-r--r-- | app-admin/gkrellm/files/gkrellm-2.3.5-config.patch | 43 | ||||
-rw-r--r-- | app-admin/gkrellm/files/gkrellm-2.3.5-sansfont.patch | 17 | ||||
-rw-r--r-- | app-admin/gkrellm/files/gkrellm-2.3.5-width.patch | 11 | ||||
-rw-r--r-- | app-admin/gkrellm/files/gkrellmd | 21 | ||||
-rw-r--r-- | app-admin/gkrellm/files/gkrellmd.conf | 8 | ||||
-rw-r--r-- | app-admin/gkrellm/files/gkrellmd.initd | 15 | ||||
-rw-r--r-- | app-admin/gkrellm/files/gkrellmd.service | 10 |
8 files changed, 149 insertions, 0 deletions
diff --git a/app-admin/gkrellm/files/gkrellm-2.3.5-cifs.patch b/app-admin/gkrellm/files/gkrellm-2.3.5-cifs.patch new file mode 100644 index 000000000000..fa35ef672798 --- /dev/null +++ b/app-admin/gkrellm/files/gkrellm-2.3.5-cifs.patch @@ -0,0 +1,24 @@ +--- gkrellm-2.3.5.old/server/monitor.c 2010-10-06 03:46:59.000000000 +1100 ++++ gkrellm-2.3.5/server/monitor.c 2011-11-24 02:01:30.871402778 +1100 +@@ -1329,7 +1329,8 @@ + static gchar *remote_fs_types[] = + { + "nfs", +- "smbfs" ++ "smbfs", ++ "cifs" + }; + + void +--- gkrellm-2.3.5.old/src/fs.c 2010-09-15 02:25:51.000000000 +1000 ++++ gkrellm-2.3.5/src/fs.c 2011-11-24 02:00:17.347088370 +1100 +@@ -163,7 +163,8 @@ + static gchar *remote_fs_types[] = + { + "nfs", +- "smbfs" ++ "smbfs", ++ "cifs" + }; + + diff --git a/app-admin/gkrellm/files/gkrellm-2.3.5-config.patch b/app-admin/gkrellm/files/gkrellm-2.3.5-config.patch new file mode 100644 index 000000000000..c6230598c80e --- /dev/null +++ b/app-admin/gkrellm/files/gkrellm-2.3.5-config.patch @@ -0,0 +1,43 @@ +diff -up gkrellm-2.3.5/server/gkrellmd.conf.config gkrellm-2.3.5/server/gkrellmd.conf +--- gkrellm-2.3.5/server/gkrellmd.conf.config 2010-09-14 17:26:19.000000000 +0300 ++++ gkrellm-2.3.5/server/gkrellmd.conf 2011-06-19 19:17:56.398591498 +0300 +@@ -22,16 +22,17 @@ + # List of hosts allowed to connect. If no hosts are specified in a + # gkrellmd.conf file or on the command line, all hosts will be allowed. + # +-#allow-host localhost +-#allow-host 127.0.0.1 ++allow-host localhost ++allow-host 127.0.0.1 ++allow-host ::ffff:127.0.0.1 + #allow-host ::1 + #allow-host 192.168.0.* + + # Drop privileges after startup (you must start gkrellmd as root to do it). + # NOTE: Option ignored on Windows + # +-#user nobody +-#group proc ++user gkrellmd ++group gkrellmd + + # Create a PID file for the running gkrellmd. Default is no PID file. + # NOTE: Option ignored on Windows +@@ -76,7 +77,7 @@ + # Minimum is 2 (less than 2 for no I/O disconnecting and is the default). + # Requires at least 2.1.8 versions of both gkrellmd and gkrellm. + # +-#io-timeout 5 ++io-timeout 5 + + # Configure gkrellm clients to attempt automatic reconnects to a + # gkrellmd server every reconnect-timeout seconds after a disconnected +@@ -85,7 +86,7 @@ + # Minimum is 2 (less than 2 for no automatic reconnecting and is the default). + # Requires at least 2.1.8 versions of both gkrellmd and gkrellm. + # +-#reconnect-timeout 5 ++reconnect-timeout 5 + + # Server side local mailbox counts can be sent to gkrellm clients. List here + # paths to mbox, MH mail, or Maildir style mailboxes. diff --git a/app-admin/gkrellm/files/gkrellm-2.3.5-sansfont.patch b/app-admin/gkrellm/files/gkrellm-2.3.5-sansfont.patch new file mode 100644 index 000000000000..460eb5ebc29a --- /dev/null +++ b/app-admin/gkrellm/files/gkrellm-2.3.5-sansfont.patch @@ -0,0 +1,17 @@ +--- gkrellm-2.2.4/src/gui.c.font 2005-05-17 15:37:16.000000000 +0200 ++++ gkrellm-2.2.4/src/gui.c 2005-05-17 15:37:46.000000000 +0200 +@@ -1575,11 +1575,11 @@ + if (!_GK.theme_path || !g_file_test(_GK.theme_path, G_FILE_TEST_IS_DIR)) + gkrellm_dup_string(&_GK.theme_path, ""); + if (!large_font.string) +- gkrellm_dup_string(&large_font.string, "Serif 11"); ++ gkrellm_dup_string(&large_font.string, "Sans 11"); + if (!normal_font.string) +- gkrellm_dup_string(&normal_font.string, "Serif 9"); ++ gkrellm_dup_string(&normal_font.string, "Sans 9"); + if (!small_font.string) +- gkrellm_dup_string(&small_font.string, "Serif 8"); ++ gkrellm_dup_string(&small_font.string, "Sans 8"); + } + + diff --git a/app-admin/gkrellm/files/gkrellm-2.3.5-width.patch b/app-admin/gkrellm/files/gkrellm-2.3.5-width.patch new file mode 100644 index 000000000000..c7fc22060b85 --- /dev/null +++ b/app-admin/gkrellm/files/gkrellm-2.3.5-width.patch @@ -0,0 +1,11 @@ +--- gkrellm-2.2.7/src/gkrellm.h.width 2005-06-09 12:48:34.000000000 +0200 ++++ gkrellm-2.2.7/src/gkrellm.h 2005-06-09 12:48:37.000000000 +0200 +@@ -518,7 +518,7 @@ + GkrellmCallback; + + +-#define CHART_WIDTH_MAX 1000 ++#define CHART_WIDTH_MAX 1600 + #define CHART_WIDTH_MIN 25 + + /* Each chart must have a GkrellmChartconfig struct associated with it. diff --git a/app-admin/gkrellm/files/gkrellmd b/app-admin/gkrellm/files/gkrellmd new file mode 100644 index 000000000000..93743c57b7df --- /dev/null +++ b/app-admin/gkrellm/files/gkrellmd @@ -0,0 +1,21 @@ +#!/sbin/openrc-run +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +depend() { + need net + after lm_sensors + after hddtemp +} + +start() { + ebegin "Starting GNU Krell Monitor daemon" + start-stop-daemon --start --quiet --background --pidfile /var/run/gkrellmd.pid --make-pidfile --exec /usr/bin/gkrellmd -- ${GKRELLMD_OPTS} + eend $? +} + +stop() { + ebegin "Stopping GNU Krell Monitor daemon" + start-stop-daemon --stop --quiet --pidfile /var/run/gkrellmd.pid --name gkrellmd + eend $? +} diff --git a/app-admin/gkrellm/files/gkrellmd.conf b/app-admin/gkrellm/files/gkrellmd.conf new file mode 100644 index 000000000000..6b0d90df1092 --- /dev/null +++ b/app-admin/gkrellm/files/gkrellmd.conf @@ -0,0 +1,8 @@ +# Config file for gkrellmd init script + +# If you need to pass extra options to gkrellmd, you may set them here. +# See 'gkrellmd --help' for a list of options. +# +# Note: Many options can be configured in /etc/gkrellmd.conf as well +# +#GKRELLMD_OPTS="" diff --git a/app-admin/gkrellm/files/gkrellmd.initd b/app-admin/gkrellm/files/gkrellmd.initd new file mode 100644 index 000000000000..fe295128e4ea --- /dev/null +++ b/app-admin/gkrellm/files/gkrellmd.initd @@ -0,0 +1,15 @@ +#!/sbin/openrc-run +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +description="gkrell system monitor daemon" +pidfile="/var/run/gkrellmd.pid" +command="/usr/bin/gkrellmd" +command_args="${GKRELLMD_OPTS}" +command_background="true" + +depend() { + need net + after lm_sensors + after hddtemp +} diff --git a/app-admin/gkrellm/files/gkrellmd.service b/app-admin/gkrellm/files/gkrellmd.service new file mode 100644 index 000000000000..f1df0c6420ad --- /dev/null +++ b/app-admin/gkrellm/files/gkrellmd.service @@ -0,0 +1,10 @@ +[Unit] +Description=GNU Krell Monitors server +Documentation=man:gkrellmd(1) +After=network.target + +[Service] +ExecStart=/usr/bin/gkrellmd + +[Install] +WantedBy=multi-user.target |