summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfram Schlich <wschlich@gentoo.org>2012-07-09 18:43:28 +0000
committerWolfram Schlich <wschlich@gentoo.org>2012-07-09 18:43:28 +0000
commit5a5135d3b65d2c653b0825c1f3fb14ba02a7caf5 (patch)
tree315b1f4b1f807f065845212728e3198dce5cb1b4 /app-admin/sysrqd
parentStable for HPPA (bug #424767). (diff)
downloadgentoo-2-5a5135d3b65d2c653b0825c1f3fb14ba02a7caf5.tar.gz
gentoo-2-5a5135d3b65d2c653b0825c1f3fb14ba02a7caf5.tar.bz2
gentoo-2-5a5135d3b65d2c653b0825c1f3fb14ba02a7caf5.zip
removed old versions, updated HOMEPAGE wrt bug #407803
(Portage version: 2.2.0_alpha112/cvs/Linux x86_64)
Diffstat (limited to 'app-admin/sysrqd')
-rw-r--r--app-admin/sysrqd/ChangeLog7
-rw-r--r--app-admin/sysrqd/files/sysrqd-12-config.patch13
-rw-r--r--app-admin/sysrqd/files/sysrqd-9-config.patch14
-rw-r--r--app-admin/sysrqd/sysrqd-12.ebuild56
-rw-r--r--app-admin/sysrqd/sysrqd-14.ebuild4
-rw-r--r--app-admin/sysrqd/sysrqd-9.ebuild55
6 files changed, 8 insertions, 141 deletions
diff --git a/app-admin/sysrqd/ChangeLog b/app-admin/sysrqd/ChangeLog
index 9c46d0c45255..02ce30458bd4 100644
--- a/app-admin/sysrqd/ChangeLog
+++ b/app-admin/sysrqd/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-admin/sysrqd
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/sysrqd/ChangeLog,v 1.6 2012/03/11 12:02:27 wschlich Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/sysrqd/ChangeLog,v 1.7 2012/07/09 18:43:27 wschlich Exp $
+
+ 09 Jul 2012; Wolfram Schlich <wschlich@gentoo.org> -sysrqd-9.ebuild,
+ -files/sysrqd-9-config.patch, -sysrqd-12.ebuild,
+ -files/sysrqd-12-config.patch, sysrqd-14.ebuild:
+ removed old versions, updated HOMEPAGE wrt bug #407803
*sysrqd-14 (11 Mar 2012)
diff --git a/app-admin/sysrqd/files/sysrqd-12-config.patch b/app-admin/sysrqd/files/sysrqd-12-config.patch
deleted file mode 100644
index ce463814d1e3..000000000000
--- a/app-admin/sysrqd/files/sysrqd-12-config.patch
+++ /dev/null
@@ -1,13 +0,0 @@
---- sysrqd.c.orig 2009-11-05 14:58:21.644471772 +0100
-+++ sysrqd.c 2009-11-05 14:58:43.276472005 +0100
-@@ -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-9-config.patch b/app-admin/sysrqd/files/sysrqd-9-config.patch
deleted file mode 100644
index 5f368ae4ead8..000000000000
--- a/app-admin/sysrqd/files/sysrqd-9-config.patch
+++ /dev/null
@@ -1,14 +0,0 @@
-diff -urN sysrqd-9.orig/sysrqd.h sysrqd-9/sysrqd.h
---- sysrqd-9.orig/sysrqd.h 2007-01-19 15:33:26.000000000 +0100
-+++ sysrqd-9/sysrqd.h 2007-03-05 21:22:44.000000000 +0100
-@@ -4,8 +4,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/sysrqd-12.ebuild b/app-admin/sysrqd/sysrqd-12.ebuild
deleted file mode 100644
index 8e0881ad8b4b..000000000000
--- a/app-admin/sysrqd/sysrqd-12.ebuild
+++ /dev/null
@@ -1,56 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/sysrqd/sysrqd-12.ebuild,v 1.1 2009/11/16 10:00:26 wschlich Exp $
-
-inherit eutils toolchain-funcs
-
-IUSE=""
-DESCRIPTION="daemon providing access to the kernel sysrq functions via network"
-HOMEPAGE="http://julien.danjou.info/sysrqd.html"
-SRC_URI="http://julien.danjou.info/${PN}/${P}.tar.gz"
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~x86 ~amd64"
-DEPEND=""
-RDEPEND="${DEPEND}"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- epatch "${FILESDIR}/${P}-config.patch"
-}
-
-src_compile() {
- $(tc-getCC) ${CFLAGS} -o sysrqd sysrqd.c
-}
-
-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
- echo ${secret} > sysrqd.secret
-
- 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
-
- dodoc README ChangeLog
-}
-
-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
-}
diff --git a/app-admin/sysrqd/sysrqd-14.ebuild b/app-admin/sysrqd/sysrqd-14.ebuild
index c41f663b1ae2..8e661688a280 100644
--- a/app-admin/sysrqd/sysrqd-14.ebuild
+++ b/app-admin/sysrqd/sysrqd-14.ebuild
@@ -1,12 +1,12 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/sysrqd/sysrqd-14.ebuild,v 1.1 2012/03/11 12:02:27 wschlich Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/sysrqd/sysrqd-14.ebuild,v 1.2 2012/07/09 18:43:27 wschlich Exp $
inherit eutils toolchain-funcs
IUSE=""
DESCRIPTION="daemon providing access to the kernel sysrq functions via network"
-HOMEPAGE="http://julien.danjou.info/sysrqd.html"
+HOMEPAGE="http://julien.danjou.info/projects/sysrqd"
#SRC_URI="http://julien.danjou.info/${PN}/${P}.tar.gz"
SRC_URI="http://dev.gentoo.org/~wschlich/src/${CATEGORY}/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
diff --git a/app-admin/sysrqd/sysrqd-9.ebuild b/app-admin/sysrqd/sysrqd-9.ebuild
deleted file mode 100644
index 4a3f965a4ba3..000000000000
--- a/app-admin/sysrqd/sysrqd-9.ebuild
+++ /dev/null
@@ -1,55 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/sysrqd/sysrqd-9.ebuild,v 1.4 2009/10/28 04:18:05 robbat2 Exp $
-
-inherit eutils toolchain-funcs
-
-IUSE=""
-DESCRIPTION="daemon providing access to the kernel sysrq functions via network"
-HOMEPAGE="http://julien.danjou.info/sysrqd.html"
-SRC_URI="http://julien.danjou.info/${PN}/${P}.tar.gz"
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~x86 ~amd64"
-DEPEND=""
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- epatch "${FILESDIR}/${P}-config.patch"
-}
-
-src_compile() {
- $(tc-getCC) ${CFLAGS} -o sysrqd sysrqd.c
-}
-
-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
- echo ${secret} > sysrqd.secret
-
- 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
-
- dodoc README ChangeLog
-}
-
-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
-}