1 |
commit: 803afe2ab24506fbd856c9e807256d76960442da |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jun 27 12:05:52 2019 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jun 27 17:18:01 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=803afe2a |
7 |
|
8 |
app-admin/sysrqd: Drop old |
9 |
|
10 |
Package-Manager: Portage-2.3.67, Repoman-2.3.16 |
11 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
12 |
|
13 |
app-admin/sysrqd/Manifest | 1 - |
14 |
.../sysrqd/files/sysrqd-14-fix-build-system.patch | 21 --------- |
15 |
app-admin/sysrqd/sysrqd-14.ebuild | 54 ---------------------- |
16 |
3 files changed, 76 deletions(-) |
17 |
|
18 |
diff --git a/app-admin/sysrqd/Manifest b/app-admin/sysrqd/Manifest |
19 |
index 4c85a4aeb7f..d4f03bf93de 100644 |
20 |
--- a/app-admin/sysrqd/Manifest |
21 |
+++ b/app-admin/sysrqd/Manifest |
22 |
@@ -1,2 +1 @@ |
23 |
-DIST sysrqd-14.tar.gz 4759 BLAKE2B 3ef8b2f5092a899753da487d0a82a71d2d93d0c6a70689b5923fa900f2766de15fa2e416cb667d800dac19499218a0246941b8c52bfe4421af774ccecc62222e SHA512 efad48be3974923ec14d0958e788115c9273bc29b4f03853e6e087f6af872299ea57d42f885be19ff4eeaffa577ecf1c53ea2adb2f84e1487bb2511597b89cb2 |
24 |
DIST sysrqd-17.tar.gz 5232 BLAKE2B 4fd3baf7bce45b43577db7cd4a383161a8d69bd88e041afe20c33d3812235829729c57b748321195c2bccea819827655080199c0167bafad7252ca29b2a3a27c SHA512 fd0e42d2edd5e8548510aa823b2fef6339b2dc1dde1fe387585b9f2611e7d944fa6d73447e3f58a0aa00d45a88459c6e9cbb619428282abf367f62a8270e5d54 |
25 |
|
26 |
diff --git a/app-admin/sysrqd/files/sysrqd-14-fix-build-system.patch b/app-admin/sysrqd/files/sysrqd-14-fix-build-system.patch |
27 |
deleted file mode 100644 |
28 |
index 2668c3c0c49..00000000000 |
29 |
--- a/app-admin/sysrqd/files/sysrqd-14-fix-build-system.patch |
30 |
+++ /dev/null |
31 |
@@ -1,21 +0,0 @@ |
32 |
---- a/Makefile |
33 |
-+++ b/Makefile |
34 |
-@@ -5,15 +5,15 @@ |
35 |
- -Wundef -Wshadow -Wcast-align -Wwrite-strings -Wsign-compare \ |
36 |
- -Wunused -Winit-self -Wpointer-arith -Wredundant-decls \ |
37 |
- -Wmissing-prototypes -Wmissing-format-attribute -Wmissing-noreturn \ |
38 |
-- -std=gnu99 -pipe -DSYSRQD_VERSION="\"$(VERSION)\"" -O3 |
39 |
-+ -std=gnu99 |
40 |
-+CPPFLAGS += -DSYSRQD_VERSION="\"$(VERSION)\"" |
41 |
- |
42 |
- SBINDIR=$(DESTDIR)/usr/sbin |
43 |
- #MANDIR=$(DESTDIR)/usr/share/man/man1 |
44 |
- INSTALL = install |
45 |
- #MAN=sysrqd.1 |
46 |
- |
47 |
--$(BIN): $(O) |
48 |
-- $(CC) $(LDFLAGS) -o $(BIN) $(O) |
49 |
-+all: $(BIN) |
50 |
- |
51 |
- install: $(BIN) |
52 |
- $(INSTALL) -d -m 755 $(SBINDIR) |
53 |
|
54 |
diff --git a/app-admin/sysrqd/sysrqd-14.ebuild b/app-admin/sysrqd/sysrqd-14.ebuild |
55 |
deleted file mode 100644 |
56 |
index c53bc209cd1..00000000000 |
57 |
--- a/app-admin/sysrqd/sysrqd-14.ebuild |
58 |
+++ /dev/null |
59 |
@@ -1,54 +0,0 @@ |
60 |
-# Copyright 1999-2019 Gentoo Authors |
61 |
-# Distributed under the terms of the GNU General Public License v2 |
62 |
- |
63 |
-EAPI=6 |
64 |
- |
65 |
-inherit toolchain-funcs |
66 |
- |
67 |
-DESCRIPTION="Daemon providing access to the kernel sysrq functions via network" |
68 |
-HOMEPAGE="https://github.com/jd/sysrqd" |
69 |
-SRC_URI="https://dev.gentoo.org/~wschlich/src/${CATEGORY}/${PN}/${P}.tar.gz" |
70 |
- |
71 |
-LICENSE="GPL-2" |
72 |
-SLOT="0" |
73 |
-KEYWORDS="~amd64 ~x86" |
74 |
-IUSE="" |
75 |
- |
76 |
-PATCHES=( |
77 |
- "${FILESDIR}"/${PN}-config.patch |
78 |
- "${FILESDIR}"/${PN}-14-fix-build-system.patch |
79 |
-) |
80 |
- |
81 |
-src_configure() { |
82 |
- tc-export CC |
83 |
-} |
84 |
- |
85 |
-src_install() { |
86 |
- dosbin sysrqd |
87 |
- newinitd "${FILESDIR}/sysrqd.init" sysrqd |
88 |
- |
89 |
- local bindip='127.0.0.1' secret |
90 |
- declare -i secret |
91 |
- let secret=${RANDOM}*${RANDOM}*${RANDOM}*${RANDOM} |
92 |
- echo ${bindip} > sysrqd.bind || die |
93 |
- echo ${secret} > sysrqd.secret || die |
94 |
- |
95 |
- diropts -m 0700 -o root -g root |
96 |
- dodir /etc/sysrqd |
97 |
- insinto /etc/sysrqd |
98 |
- insopts -m 0600 -o root -g root |
99 |
- doins sysrqd.bind |
100 |
- doins sysrqd.secret |
101 |
- |
102 |
- einstalldocs |
103 |
-} |
104 |
- |
105 |
-pkg_postinst() { |
106 |
- elog |
107 |
- elog "Be sure to change the initial secret in /etc/sysrqd/sysrqd.secret !" |
108 |
- elog "As a security precaution, sysrqd is configured to only listen on" |
109 |
- elog "127.0.0.1 by default. Change the content of /etc/sysrqd/sysrqd.bind" |
110 |
- elog "to an IPv4 address you want it to listen on or remove the file" |
111 |
- elog "to make it listen on any IP address (0.0.0.0)." |
112 |
- elog |
113 |
-} |