diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-02-13 21:41:11 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-02-13 21:41:11 +0000 |
commit | c8d60dada2ec8eb48b2d2b290cd6683ccec40e39 (patch) | |
tree | c44943ee0563a3fa957716de909fed683117fcb9 /app-admin/sysrqd | |
parent | 69051588e2f955485fe5d45d45e616bc60a2de57 (diff) |
gentoo (valentine's day) resync : 14.02.2021
Diffstat (limited to 'app-admin/sysrqd')
-rw-r--r-- | app-admin/sysrqd/Manifest | 3 | ||||
-rw-r--r-- | app-admin/sysrqd/metadata.xml | 3 | ||||
-rw-r--r-- | app-admin/sysrqd/sysrqd-17.ebuild | 53 |
3 files changed, 4 insertions, 55 deletions
diff --git a/app-admin/sysrqd/Manifest b/app-admin/sysrqd/Manifest index f10c7ee7a709..79d5fdeb3f21 100644 --- a/app-admin/sysrqd/Manifest +++ b/app-admin/sysrqd/Manifest @@ -4,5 +4,4 @@ AUX sysrqd.init 700 BLAKE2B 2570aeb1b01d098bd8330a9e78c85708013d3ee09318f84a1e5f AUX sysrqd.service 166 BLAKE2B f6963ca6f1fac672aa400c40b899e56f436e674bcc88bccae63f2f529624fedfd193137da157b0088f8c9c14eb22d9ccc261b5f131451b0269e5742b7238c6ce SHA512 fbac57e9367872cd7289edb24d1fce259fb1b39c3ad5484c259cb7bcc56db84fb21019fb6402759025329db26360f427fc9235f743a49fe2198e44ac8443a69c DIST sysrqd-17.tar.gz 5232 BLAKE2B 4fd3baf7bce45b43577db7cd4a383161a8d69bd88e041afe20c33d3812235829729c57b748321195c2bccea819827655080199c0167bafad7252ca29b2a3a27c SHA512 fd0e42d2edd5e8548510aa823b2fef6339b2dc1dde1fe387585b9f2611e7d944fa6d73447e3f58a0aa00d45a88459c6e9cbb619428282abf367f62a8270e5d54 EBUILD sysrqd-17-r1.ebuild 1350 BLAKE2B 41d94d29437692c868d8e8734c60317940130bfbd149597985ec170bb981eae63afc2a5d427f8dda93fd6035dea12235680814fe82611e2c2e06dce79c8a6230 SHA512 1ae634662ea246aa4d22b72f3897915de163eac159b4c9d05cebb6456b98a3daf890fc9fe0cf4e6908578833d9b3000bbfb34f978f4c72954ce85ea7f05503b2 -EBUILD sysrqd-17.ebuild 1316 BLAKE2B e0f1b6a31fb3418058a6e576b4f9f25855ec55e191dbccc9e49486d4ab52af129f9d71931dbd04566f33876131bd05b85cfbdf9a69c1f8c03dec4c40eee155f0 SHA512 213b573ebeb6e9cadb08e0641fa4c68a0513cc2e0bec9e77124c9972be3edc16745f4133442ec4641cbc527ad16e1d7c8fc703727f669b0aab88458d3bc9f8c3 -MISC metadata.xml 414 BLAKE2B eb2c97371677b4c978e210a3069e30cd453ebaf2249d01e80e52c116bb9dd4243f692cb4e4f384412191e691a67054a390f35143fb8fc403b595f11c3e09dd68 SHA512 e0c64a75f859353dd258c074a2353882ddba2955144297672ada48f29ebd742d4acd7193816aae859f7f7df1d4b23e9bd1176856aa801ee7a0035f8ce2224859 +MISC metadata.xml 488 BLAKE2B b042e47b646ca09a9acac8249ab7fde948b74e212605403eec3716404f8ca9f59c9cdb6c407b2565135ae2a599a112763fcc53ad12c93e87fc045a86da742d0e SHA512 35441cc9ec461401ef388c5496f45e9481fee27e6b6d7a35f44f605171294de12a3e7ca28b047de5fd12cd7090b09def956006301f06db7d3fc9a5e5c754c323 diff --git a/app-admin/sysrqd/metadata.xml b/app-admin/sysrqd/metadata.xml index ff003efefc85..4df0c950f77b 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. </longdescription> + <upstream> + <remote-id type="github">jd/sysrqd</remote-id> + </upstream> </pkgmetadata> diff --git a/app-admin/sysrqd/sysrqd-17.ebuild b/app-admin/sysrqd/sysrqd-17.ebuild deleted file mode 100644 index 541c67095fc1..000000000000 --- 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 -} |