From d87262dd706fec50cd150aab3e93883b6337466d Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 14 Jul 2018 20:56:41 +0100 Subject: gentoo resync : 14.07.2018 --- .../sysrqd/files/sysrqd-14-fix-build-system.patch | 21 --------------- app-admin/sysrqd/files/sysrqd-config.patch | 13 --------- app-admin/sysrqd/files/sysrqd.init | 31 ---------------------- 3 files changed, 65 deletions(-) delete mode 100644 app-admin/sysrqd/files/sysrqd-14-fix-build-system.patch delete mode 100644 app-admin/sysrqd/files/sysrqd-config.patch delete mode 100644 app-admin/sysrqd/files/sysrqd.init (limited to 'app-admin/sysrqd/files') diff --git a/app-admin/sysrqd/files/sysrqd-14-fix-build-system.patch b/app-admin/sysrqd/files/sysrqd-14-fix-build-system.patch deleted file mode 100644 index 2668c3c0c491..000000000000 --- a/app-admin/sysrqd/files/sysrqd-14-fix-build-system.patch +++ /dev/null @@ -1,21 +0,0 @@ ---- a/Makefile -+++ b/Makefile -@@ -5,15 +5,15 @@ - -Wundef -Wshadow -Wcast-align -Wwrite-strings -Wsign-compare \ - -Wunused -Winit-self -Wpointer-arith -Wredundant-decls \ - -Wmissing-prototypes -Wmissing-format-attribute -Wmissing-noreturn \ -- -std=gnu99 -pipe -DSYSRQD_VERSION="\"$(VERSION)\"" -O3 -+ -std=gnu99 -+CPPFLAGS += -DSYSRQD_VERSION="\"$(VERSION)\"" - - SBINDIR=$(DESTDIR)/usr/sbin - #MANDIR=$(DESTDIR)/usr/share/man/man1 - INSTALL = install - #MAN=sysrqd.1 - --$(BIN): $(O) -- $(CC) $(LDFLAGS) -o $(BIN) $(O) -+all: $(BIN) - - install: $(BIN) - $(INSTALL) -d -m 755 $(SBINDIR) diff --git a/app-admin/sysrqd/files/sysrqd-config.patch b/app-admin/sysrqd/files/sysrqd-config.patch deleted file mode 100644 index 56c6afb60804..000000000000 --- a/app-admin/sysrqd/files/sysrqd-config.patch +++ /dev/null @@ -1,13 +0,0 @@ ---- a/sysrqd.c -+++ b/sysrqd.c -@@ -40,8 +40,8 @@ - #define BIND_MAX_LEN 16 - #define PROMPT "sysrq> " - #define SYSRQ_TRIGGER_PATH "/proc/sysrq-trigger" --#define AUTH_FILE "/etc/sysrqd.secret" --#define BINDIP_FILE "/etc/sysrqd.bind" -+#define AUTH_FILE "/etc/sysrqd/sysrqd.secret" -+#define BINDIP_FILE "/etc/sysrqd/sysrqd.bind" - #define PID_FILE "/var/run/sysrqd.pid" - #define SYSRQD_PRIO -19 - #define SYSRQD_LISTEN_PORT 4094 diff --git a/app-admin/sysrqd/files/sysrqd.init b/app-admin/sysrqd/files/sysrqd.init deleted file mode 100644 index f88fc8ce43ef..000000000000 --- a/app-admin/sysrqd/files/sysrqd.init +++ /dev/null @@ -1,31 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -depend() { - need net -} - -checkconfig() { - sysrqd_secret=/etc/sysrqd/sysrqd.secret - sysrqd_pidfile=/var/run/sysrqd.pid - if [ ! -e ${sysrqd_secret} ]; then - eerror "You need a '${sysrqd_secret}' containing a secret/password!" - eerror "Refusing to start." - return 1 - fi -} - -start() { - checkconfig || return 1 - ebegin "Starting ${SVCNAME}" - start-stop-daemon --start --pidfile ${sysrqd_pidfile} --quiet --exec /usr/sbin/sysrqd - eend $? -} - -stop() { - checkconfig || return 1 - ebegin "Stopping ${SVCNAME}" - start-stop-daemon --stop --quiet --pidfile ${sysrqd_pidfile} - eend $? -} -- cgit v1.2.3