[gentoo-commits] repo/gentoo:master commit in: app-admin/sysrqd/
commit: f6eb56e0ea4bb72d9fd3137c71271d9912591bbf Author: Sam James gentoo org> AuthorDate: Thu Feb 11 02:15:30 2021 + Commit: Sam James gentoo org> CommitDate: Thu Feb 11 02:15:30 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f6eb56e0 app-admin/sysrqd: cleanup old Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Sam James gentoo.org> app-admin/sysrqd/sysrqd-17.ebuild | 53 --- 1 file changed, 53 deletions(-) diff --git a/app-admin/sysrqd/sysrqd-17.ebuild b/app-admin/sysrqd/sysrqd-17.ebuild deleted file mode 100644 index 541c67095fc..000 --- a/app-admin/sysrqd/sysrqd-17.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit toolchain-funcs - -DESCRIPTION="Daemon providing access to the kernel sysrq functions via network" -HOMEPAGE="https://github.com/jd/sysrqd; -SRC_URI="https://github.com/jd/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -PATCHES=( - "${FILESDIR}"/${PN}-config.patch - "${FILESDIR}"/${P}-fix-build-system.patch -) - -src_configure() { - tc-export CC -} - -src_install() { - dosbin sysrqd - newinitd "${FILESDIR}/sysrqd.init" sysrqd - - local bindip='127.0.0.1' secret - declare -i secret - let secret="${RANDOM}*${RANDOM}*${RANDOM}*${RANDOM}" - echo "${bindip}" > sysrqd.bind || die - echo "${secret}" > sysrqd.secret || die - - diropts -m 0700 -o root -g root - dodir /etc/sysrqd - insinto /etc/sysrqd - insopts -m 0600 -o root -g root - doins sysrqd.bind - doins sysrqd.secret - - einstalldocs -} - -pkg_postinst() { - elog - elog "Be sure to change the initial secret in /etc/sysrqd/sysrqd.secret !" - elog "As a security precaution, sysrqd is configured to only listen on" - elog "127.0.0.1 by default. Change the content of /etc/sysrqd/sysrqd.bind" - elog "to an IPv4 address you want it to listen on or remove the file" - elog "to make it listen on any IP address (0.0.0.0)." - elog -}
[gentoo-commits] repo/gentoo:master commit in: app-admin/sysrqd/
commit: 9049a2484c7a663d8393380f98c3323420d3cba0 Author: Sam James gentoo org> AuthorDate: Thu Feb 11 02:14:52 2021 + Commit: Sam James gentoo org> CommitDate: Thu Feb 11 02:14:52 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9049a248 app-admin/sysrqd: add github remote-id Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Sam James gentoo.org> app-admin/sysrqd/metadata.xml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app-admin/sysrqd/metadata.xml b/app-admin/sysrqd/metadata.xml index ff003efefc8..4df0c950f77 100644 --- a/app-admin/sysrqd/metadata.xml +++ b/app-admin/sysrqd/metadata.xml @@ -7,5 +7,8 @@ Its philosophy is to be very responsive under heavy load and try to be somehow reliable. Authentication is made by clear password. + + jd/sysrqd +
[gentoo-commits] repo/gentoo:master commit in: app-admin/sysrqd/
commit: a5b19c475d147161fb15136ecf411c12c1a6eb0f Author: Ben Kohler gentoo org> AuthorDate: Tue Mar 24 18:05:03 2020 + Commit: Ben Kohler gentoo org> CommitDate: Tue Mar 24 18:05:17 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a5b19c47 app-admin/sysrqd: remove unneeded dodir Package-Manager: Portage-2.3.95, Repoman-2.3.21 Signed-off-by: Ben Kohler gentoo.org> app-admin/sysrqd/sysrqd-17-r1.ebuild | 1 - 1 file changed, 1 deletion(-) diff --git a/app-admin/sysrqd/sysrqd-17-r1.ebuild b/app-admin/sysrqd/sysrqd-17-r1.ebuild index 27c197001dd..337bac7f13d 100644 --- a/app-admin/sysrqd/sysrqd-17-r1.ebuild +++ b/app-admin/sysrqd/sysrqd-17-r1.ebuild @@ -34,7 +34,6 @@ src_install() { echo "${secret}" > sysrqd.secret || die diropts -m 0700 -o root -g root - dodir /etc/sysrqd insinto /etc/sysrqd insopts -m 0600 -o root -g root doins sysrqd.bind
[gentoo-commits] repo/gentoo:master commit in: app-admin/sysrqd/, app-admin/sysrqd/files/
commit: b6532717a48246c9b467595ee075fc666bdb2b7b Author: Ben Kohler gentoo org> AuthorDate: Tue Mar 24 16:38:58 2020 + Commit: Ben Kohler gentoo org> CommitDate: Tue Mar 24 16:43:43 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b6532717 app-admin/sysrqd: add systemd unit Closes: https://bugs.gentoo.org/581688 Package-Manager: Portage-2.3.95, Repoman-2.3.21 Signed-off-by: Ben Kohler gentoo.org> app-admin/sysrqd/files/sysrqd.service | 11 +++ app-admin/sysrqd/sysrqd-17-r1.ebuild | 54 +++ 2 files changed, 65 insertions(+) diff --git a/app-admin/sysrqd/files/sysrqd.service b/app-admin/sysrqd/files/sysrqd.service new file mode 100644 index 000..278226b581b --- /dev/null +++ b/app-admin/sysrqd/files/sysrqd.service @@ -0,0 +1,11 @@ +[Unit] +Description=SysRqd Telnet Daemon +After=network.target + +[Service] +Type=forking +Restart=always +ExecStart=-/usr/sbin/sysrqd + +[Install] +WantedBy=multi-user.target diff --git a/app-admin/sysrqd/sysrqd-17-r1.ebuild b/app-admin/sysrqd/sysrqd-17-r1.ebuild new file mode 100644 index 000..27c197001dd --- /dev/null +++ b/app-admin/sysrqd/sysrqd-17-r1.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit systemd toolchain-funcs + +DESCRIPTION="Daemon providing access to the kernel sysrq functions via network" +HOMEPAGE="https://github.com/jd/sysrqd; +SRC_URI="https://github.com/jd/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +PATCHES=( + "${FILESDIR}"/${PN}-config.patch + "${FILESDIR}"/${P}-fix-build-system.patch +) + +src_configure() { + tc-export CC +} + +src_install() { + dosbin sysrqd + newinitd "${FILESDIR}/sysrqd.init" sysrqd + systemd_dounit "${FILESDIR}"/sysrqd.service + + local bindip='127.0.0.1' secret + declare -i secret + let secret="${RANDOM}*${RANDOM}*${RANDOM}*${RANDOM}" + echo "${bindip}" > sysrqd.bind || die + echo "${secret}" > sysrqd.secret || die + + diropts -m 0700 -o root -g root + dodir /etc/sysrqd + insinto /etc/sysrqd + insopts -m 0600 -o root -g root + doins sysrqd.bind + doins sysrqd.secret + + einstalldocs +} + +pkg_postinst() { + elog + elog "Be sure to change the initial secret in /etc/sysrqd/sysrqd.secret !" + elog "As a security precaution, sysrqd is configured to only listen on" + elog "127.0.0.1 by default. Change the content of /etc/sysrqd/sysrqd.bind" + elog "to an IPv4 address you want it to listen on or remove the file" + elog "to make it listen on any IP address (0.0.0.0)." + elog +}
[gentoo-commits] repo/gentoo:master commit in: app-admin/sysrqd/, app-admin/sysrqd/files/
commit: 803afe2ab24506fbd856c9e807256d76960442da Author: Andreas Sturmlechner gentoo org> AuthorDate: Thu Jun 27 12:05:52 2019 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Thu Jun 27 17:18:01 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=803afe2a app-admin/sysrqd: Drop old Package-Manager: Portage-2.3.67, Repoman-2.3.16 Signed-off-by: Andreas Sturmlechner gentoo.org> app-admin/sysrqd/Manifest | 1 - .../sysrqd/files/sysrqd-14-fix-build-system.patch | 21 - app-admin/sysrqd/sysrqd-14.ebuild | 54 -- 3 files changed, 76 deletions(-) diff --git a/app-admin/sysrqd/Manifest b/app-admin/sysrqd/Manifest index 4c85a4aeb7f..d4f03bf93de 100644 --- a/app-admin/sysrqd/Manifest +++ b/app-admin/sysrqd/Manifest @@ -1,2 +1 @@ -DIST sysrqd-14.tar.gz 4759 BLAKE2B 3ef8b2f5092a899753da487d0a82a71d2d93d0c6a70689b5923fa900f2766de15fa2e416cb667d800dac19499218a0246941b8c52bfe4421af774ccecc6e SHA512 efad48be3974923ec14d0958e788115c9273bc29b4f03853e6e087f6af872299ea57d42f885be19ff4eeaffa577ecf1c53ea2adb2f84e1487bb2511597b89cb2 DIST sysrqd-17.tar.gz 5232 BLAKE2B 4fd3baf7bce45b43577db7cd4a383161a8d69bd88e041afe20c33d3812235829729c57b748321195c2bccea819827655080199c0167bafad7252ca29b2a3a27c SHA512 fd0e42d2edd5e8548510aa823b2fef6339b2dc1dde1fe387585b9f2611e7d944fa6d73447e3f58a0aa00d45a88459c6e9cbb619428282abf367f62a8270e5d54 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 2668c3c0c49..000 --- 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/sysrqd-14.ebuild b/app-admin/sysrqd/sysrqd-14.ebuild deleted file mode 100644 index c53bc209cd1..000 --- a/app-admin/sysrqd/sysrqd-14.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit toolchain-funcs - -DESCRIPTION="Daemon providing access to the kernel sysrq functions via network" -HOMEPAGE="https://github.com/jd/sysrqd; -SRC_URI="https://dev.gentoo.org/~wschlich/src/${CATEGORY}/${PN}/${P}.tar.gz; - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -PATCHES=( - "${FILESDIR}"/${PN}-config.patch - "${FILESDIR}"/${PN}-14-fix-build-system.patch -) - -src_configure() { - tc-export CC -} - -src_install() { - dosbin sysrqd - newinitd "${FILESDIR}/sysrqd.init" sysrqd - - local bindip='127.0.0.1' secret - declare -i secret - let secret=${RANDOM}*${RANDOM}*${RANDOM}*${RANDOM} - echo ${bindip} > sysrqd.bind || die - echo ${secret} > sysrqd.secret || die - - diropts -m 0700 -o root -g root - dodir /etc/sysrqd - insinto /etc/sysrqd - insopts -m 0600 -o root -g root - doins sysrqd.bind - doins sysrqd.secret - - einstalldocs -} - -pkg_postinst() { - elog - elog "Be sure to change the initial secret in /etc/sysrqd/sysrqd.secret !" - elog "As a security precaution, sysrqd is configured to only listen on" - elog "127.0.0.1 by default. Change the content of /etc/sysrqd/sysrqd.bind" - elog "to an IPv4 address you want it to listen on or remove the file" - elog "to make it listen on any IP address (0.0.0.0)." - elog -}
[gentoo-commits] repo/gentoo:master commit in: app-admin/sysrqd/
commit: 102c49261ea364da544b03d3c57e960f9a3c99fa Author: Michael Mair-Keimberger gmail com> AuthorDate: Sun May 19 12:49:01 2019 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Wed Jun 12 13:34:04 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=102c4926 app-admin/sysrqd: fix HOMEPAGE Signed-off-by: Michael Mair-Keimberger gmail.com> Closes: https://github.com/gentoo/gentoo/pull/12050 Signed-off-by: Andreas Sturmlechner gentoo.org> app-admin/sysrqd/sysrqd-14.ebuild | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/app-admin/sysrqd/sysrqd-14.ebuild b/app-admin/sysrqd/sysrqd-14.ebuild index 249bbce77e1..c53bc209cd1 100644 --- a/app-admin/sysrqd/sysrqd-14.ebuild +++ b/app-admin/sysrqd/sysrqd-14.ebuild @@ -1,13 +1,12 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 inherit toolchain-funcs -DESCRIPTION="daemon providing access to the kernel sysrq functions via network" -HOMEPAGE="http://julien.danjou.info/projects/sysrqd; -#SRC_URI="http://julien.danjou.info/${PN}/${P}.tar.gz; +DESCRIPTION="Daemon providing access to the kernel sysrq functions via network" +HOMEPAGE="https://github.com/jd/sysrqd; SRC_URI="https://dev.gentoo.org/~wschlich/src/${CATEGORY}/${PN}/${P}.tar.gz; LICENSE="GPL-2"
[gentoo-commits] repo/gentoo:master commit in: app-admin/sysrqd/, app-admin/sysrqd/files/
commit: a90d9d3b1693bc62713321ba40b48d3e4c6996c1 Author: Michael Mair-Keimberger gmail com> AuthorDate: Sun May 19 17:30:37 2019 + Commit: Andreas Sturmlechner gentoo org> CommitDate: Wed Jun 12 13:34:04 2019 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a90d9d3b app-admin/sysrqd: version bump + EAPI=7 Closes: https://bugs.gentoo.org/686314 Signed-off-by: Michael Mair-Keimberger gmail.com> Signed-off-by: Andreas Sturmlechner gentoo.org> app-admin/sysrqd/Manifest | 1 + .../sysrqd/files/sysrqd-17-fix-build-system.patch | 13 ++ app-admin/sysrqd/sysrqd-17.ebuild | 53 ++ 3 files changed, 67 insertions(+) diff --git a/app-admin/sysrqd/Manifest b/app-admin/sysrqd/Manifest index 66767c06ced..4c85a4aeb7f 100644 --- a/app-admin/sysrqd/Manifest +++ b/app-admin/sysrqd/Manifest @@ -1 +1,2 @@ DIST sysrqd-14.tar.gz 4759 BLAKE2B 3ef8b2f5092a899753da487d0a82a71d2d93d0c6a70689b5923fa900f2766de15fa2e416cb667d800dac19499218a0246941b8c52bfe4421af774ccecc6e SHA512 efad48be3974923ec14d0958e788115c9273bc29b4f03853e6e087f6af872299ea57d42f885be19ff4eeaffa577ecf1c53ea2adb2f84e1487bb2511597b89cb2 +DIST sysrqd-17.tar.gz 5232 BLAKE2B 4fd3baf7bce45b43577db7cd4a383161a8d69bd88e041afe20c33d3812235829729c57b748321195c2bccea819827655080199c0167bafad7252ca29b2a3a27c SHA512 fd0e42d2edd5e8548510aa823b2fef6339b2dc1dde1fe387585b9f2611e7d944fa6d73447e3f58a0aa00d45a88459c6e9cbb619428282abf367f62a8270e5d54 diff --git a/app-admin/sysrqd/files/sysrqd-17-fix-build-system.patch b/app-admin/sysrqd/files/sysrqd-17-fix-build-system.patch new file mode 100644 index 000..2118b8e682e --- /dev/null +++ b/app-admin/sysrqd/files/sysrqd-17-fix-build-system.patch @@ -0,0 +1,13 @@ +--- sysrqd-17/Makefile 2019-04-08 15:37:16.0 +0200 sysrqd-17-ng/Makefile 2019-05-20 19:55:15.842841704 +0200 +@@ -5,8 +5,9 @@ + -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 + LDFLAGS+=-lcrypt ++CPPFLAGS+=-DSYSRQD_VERSION="\"$(VERSION)\"" + + SBINDIR=$(DESTDIR)/usr/sbin + #MANDIR=$(DESTDIR)/usr/share/man/man1 diff --git a/app-admin/sysrqd/sysrqd-17.ebuild b/app-admin/sysrqd/sysrqd-17.ebuild new file mode 100644 index 000..541c67095fc --- /dev/null +++ b/app-admin/sysrqd/sysrqd-17.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit toolchain-funcs + +DESCRIPTION="Daemon providing access to the kernel sysrq functions via network" +HOMEPAGE="https://github.com/jd/sysrqd; +SRC_URI="https://github.com/jd/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +PATCHES=( + "${FILESDIR}"/${PN}-config.patch + "${FILESDIR}"/${P}-fix-build-system.patch +) + +src_configure() { + tc-export CC +} + +src_install() { + dosbin sysrqd + newinitd "${FILESDIR}/sysrqd.init" sysrqd + + local bindip='127.0.0.1' secret + declare -i secret + let secret="${RANDOM}*${RANDOM}*${RANDOM}*${RANDOM}" + echo "${bindip}" > sysrqd.bind || die + echo "${secret}" > sysrqd.secret || die + + diropts -m 0700 -o root -g root + dodir /etc/sysrqd + insinto /etc/sysrqd + insopts -m 0600 -o root -g root + doins sysrqd.bind + doins sysrqd.secret + + einstalldocs +} + +pkg_postinst() { + elog + elog "Be sure to change the initial secret in /etc/sysrqd/sysrqd.secret !" + elog "As a security precaution, sysrqd is configured to only listen on" + elog "127.0.0.1 by default. Change the content of /etc/sysrqd/sysrqd.bind" + elog "to an IPv4 address you want it to listen on or remove the file" + elog "to make it listen on any IP address (0.0.0.0)." + elog +}
[gentoo-commits] repo/gentoo:master commit in: app-admin/sysrqd/files/, app-admin/sysrqd/
commit: 5bf20fefbeacbc4b9418b4bd6a93f6f14d60903d Author: David Seifert gentoo org> AuthorDate: Fri Dec 29 16:23:46 2017 + Commit: David Seifert gentoo org> CommitDate: Fri Dec 29 17:02:08 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5bf20fef app-admin/sysrqd: Port to EAPI 6 Package-Manager: Portage-2.3.19, Repoman-2.3.6 .../sysrqd/files/sysrqd-14-fix-build-system.patch | 21 + app-admin/sysrqd/files/sysrqd-config.patch | 4 +-- app-admin/sysrqd/metadata.xml | 19 ++-- app-admin/sysrqd/sysrqd-14.ebuild | 34 +++--- 4 files changed, 49 insertions(+), 29 deletions(-) diff --git a/app-admin/sysrqd/files/sysrqd-14-fix-build-system.patch b/app-admin/sysrqd/files/sysrqd-14-fix-build-system.patch new file mode 100644 index 000..2668c3c0c49 --- /dev/null +++ b/app-admin/sysrqd/files/sysrqd-14-fix-build-system.patch @@ -0,0 +1,21 @@ +--- 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 index ce463814d1e..56c6afb6080 100644 --- a/app-admin/sysrqd/files/sysrqd-config.patch +++ b/app-admin/sysrqd/files/sysrqd-config.patch @@ -1,5 +1,5 @@ sysrqd.c.orig 2009-11-05 14:58:21.644471772 +0100 -+++ sysrqd.c 2009-11-05 14:58:43.276472005 +0100 +--- a/sysrqd.c b/sysrqd.c @@ -40,8 +40,8 @@ #define BIND_MAX_LEN 16 #define PROMPT "sysrq> " diff --git a/app-admin/sysrqd/metadata.xml b/app-admin/sysrqd/metadata.xml index b86ebd13ff3..97a6a018180 100644 --- a/app-admin/sysrqd/metadata.xml +++ b/app-admin/sysrqd/metadata.xml @@ -1,14 +1,13 @@ http://www.gentoo.org/dtd/metadata.dtd;> - - wschl...@gentoo.org - Wolfram Schlich - Primary maintainer - - -sysrqd is a small daemon intended to manage Linux Sysrq over network. -Its philosophy is to be very responsive under heavy load and try to -be somehow reliable. Authentication is made by clear password. - + + wschl...@gentoo.org + Wolfram Schlich + + + sysrqd is a small daemon intended to manage Linux Sysrq over network. + Its philosophy is to be very responsive under heavy load and try to + be somehow reliable. Authentication is made by clear password. + diff --git a/app-admin/sysrqd/sysrqd-14.ebuild b/app-admin/sysrqd/sysrqd-14.ebuild index 3475122a580..249bbce77e1 100644 --- a/app-admin/sysrqd/sysrqd-14.ebuild +++ b/app-admin/sysrqd/sysrqd-14.ebuild @@ -1,27 +1,27 @@ -# Copyright 1999-2012 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -inherit eutils toolchain-funcs +EAPI=6 + +inherit toolchain-funcs -IUSE="" DESCRIPTION="daemon providing access to the kernel sysrq functions via network" HOMEPAGE="http://julien.danjou.info/projects/sysrqd; #SRC_URI="http://julien.danjou.info/${PN}/${P}.tar.gz; SRC_URI="https://dev.gentoo.org/~wschlich/src/${CATEGORY}/${PN}/${P}.tar.gz; + LICENSE="GPL-2" SLOT="0" -KEYWORDS="~x86 ~amd64" -DEPEND="" -RDEPEND="${DEPEND}" - -src_unpack() { - unpack ${A} - cd "${S}" - epatch "${FILESDIR}/${PN}-config.patch" -} +KEYWORDS="~amd64 ~x86" +IUSE="" + +PATCHES=( + "${FILESDIR}"/${PN}-config.patch + "${FILESDIR}"/${PN}-14-fix-build-system.patch +) -src_compile() { - $(tc-getCC) ${CFLAGS} ${LDFLAGS} -o sysrqd sysrqd.c +src_configure() { + tc-export CC } src_install() { @@ -31,8 +31,8 @@ src_install() { local bindip='127.0.0.1' secret declare -i secret let secret=${RANDOM}*${RANDOM}*${RANDOM}*${RANDOM} - echo ${bindip} > sysrqd.bind - echo ${secret} > sysrqd.secret + echo ${bindip} > sysrqd.bind || die + echo ${secret} > sysrqd.secret || die diropts -m 0700 -o root -g root dodir /etc/sysrqd @@ -41,7 +41,7 @@ src_install() { doins sysrqd.bind doins sysrqd.secret - dodoc README ChangeLog + einstalldocs } pkg_postinst() {