Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 577304 Details for
Bug 686314
app-admin/sysrqd-17 version bump
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
sysrqd.patch
sysrqd.patch (text/plain), 4.47 KB, created by
Michael Mair-Keimberger (iamnr3)
on 2019-05-19 12:58:33 UTC
(
hide
)
Description:
sysrqd.patch
Filename:
MIME Type:
Creator:
Michael Mair-Keimberger (iamnr3)
Created:
2019-05-19 12:58:33 UTC
Size:
4.47 KB
patch
obsolete
>diff --git a/app-admin/sysrqd/Manifest b/app-admin/sysrqd/Manifest >index 66767c06ced..86a01b18a94 100644 >--- a/app-admin/sysrqd/Manifest >+++ b/app-admin/sysrqd/Manifest >@@ -1 +1,2 @@ >-DIST sysrqd-14.tar.gz 4759 BLAKE2B 3ef8b2f5092a899753da487d0a82a71d2d93d0c6a70689b5923fa900f2766de15fa2e416cb667d800dac19499218a0246941b8c52bfe4421af774ccecc62222e SHA512 efad48be3974923ec14d0958e788115c9273bc29b4f03853e6e087f6af872299ea57d42f885be19ff4eeaffa577ecf1c53ea2adb2f84e1487bb2511597b89cb2 >+DIST sysrqd-14.tar.gz 4879 BLAKE2B e6653b1bbb4b1f5521d3bb6f525f725378c9f854499ae9574e222164740a5c30c29d089b8fd96f65b50ebc825ce7fbd585af5e457030e734e48648414c98f46c SHA512 9507d44a0b43b999f37d43b52b41b1990d22835dbfb10b4ccc312542f1b4c1f94e62a7f0a141f502e98018561f842252f01c2921eff11eb5a5acc2941ee22b7d >+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 00000000000..15b97094569 >--- /dev/null >+++ b/app-admin/sysrqd/files/sysrqd-17-fix-build-system.patch >@@ -0,0 +1,22 @@ >+--- sysrqd-17/Makefile 2019-04-08 15:37:16.000000000 +0200 >++++ sysrqd-17-ng/Makefile 2019-05-19 14:54:03.776355265 +0200 >+@@ -5,16 +5,16 @@ >+ -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 >+ INSTALL = install >+ #MAN=sysrqd.1 >+ >+-$(BIN): $(O) >+- $(CC) -o $(BIN) $(O) $(LDFLAGS) >++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 >index 249bbce77e1..dd06d733a43 100644 >--- a/app-admin/sysrqd/sysrqd-14.ebuild >+++ b/app-admin/sysrqd/sysrqd-14.ebuild >@@ -1,14 +1,13 @@ >-# 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" >-SRC_URI="https://dev.gentoo.org/~wschlich/src/${CATEGORY}/${PN}/${P}.tar.gz" >+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" >diff --git a/app-admin/sysrqd/sysrqd-17.ebuild b/app-admin/sysrqd/sysrqd-17.ebuild >new file mode 100644 >index 00000000000..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 >+}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 686314
: 577304