summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAustin English <wizardedit@gentoo.org>2016-05-03 19:22:08 -0500
committerAustin English <wizardedit@gentoo.org>2016-05-03 19:22:08 -0500
commit502298619cc393af7441a50ac2371f2a9a158e0c (patch)
tree2940618594f9acaeb303b164637c860187a5b82f /net-misc/netkit-routed
parentnet-misc/mrouted: remove old version (diff)
downloadgentoo-502298619cc393af7441a50ac2371f2a9a158e0c.tar.gz
gentoo-502298619cc393af7441a50ac2371f2a9a158e0c.tar.bz2
gentoo-502298619cc393af7441a50ac2371f2a9a158e0c.zip
net-misc/netkit-routed: use #!/sbin/openrc-run instead of #!/sbin/runscript
Gentoo-Bug: https://bugs.gentoo.org/573846 Package-Manager: portage-2.2.26
Diffstat (limited to 'net-misc/netkit-routed')
-rw-r--r--net-misc/netkit-routed/files/routed.initd4
-rw-r--r--net-misc/netkit-routed/netkit-routed-0.17-r5.ebuild47
2 files changed, 49 insertions, 2 deletions
diff --git a/net-misc/netkit-routed/files/routed.initd b/net-misc/netkit-routed/files/routed.initd
index 562af6f10adb..0b821fd19e83 100644
--- a/net-misc/netkit-routed/files/routed.initd
+++ b/net-misc/netkit-routed/files/routed.initd
@@ -1,5 +1,5 @@
-#!/sbin/runscript
-# Copyright 1999-2004 Gentoo Foundation
+#!/sbin/openrc-run
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
diff --git a/net-misc/netkit-routed/netkit-routed-0.17-r5.ebuild b/net-misc/netkit-routed/netkit-routed-0.17-r5.ebuild
new file mode 100644
index 000000000000..23568572cdcb
--- /dev/null
+++ b/net-misc/netkit-routed/netkit-routed-0.17-r5.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="Netkit - routed"
+HOMEPAGE="ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/"
+SRC_URI="mirror://debian/pool/main/n/netkit-routed/${PN}_${PV}.orig.tar.gz"
+
+LICENSE="BSD GPL-2"
+SLOT="0"
+KEYWORDS="alpha ~amd64 ~mips ppc sparc x86"
+IUSE=""
+
+src_prepare() {
+ sed -i configure -e '/^LDFLAGS=/d' || die
+ epatch "${FILESDIR}"/${P}-time.patch
+ epatch "${FILESDIR}"/${P}-printf.patch #529992
+}
+
+src_configure() {
+ # Not an autotools generated configure script
+ ./configure --with-c-compiler=$(tc-getCC) || die
+}
+
+src_install() {
+ # ripquery
+ dosbin ripquery/ripquery
+ doman ripquery/ripquery.8
+
+ # routed
+ dosbin routed/routed
+ dosym routed /usr/sbin/in.routed
+ doman routed/routed.8
+ dosym routed.8 /usr/share/man/man8/in.routed.8
+
+ # docs
+ dodoc README ChangeLog
+ newdoc routed/README README.routed
+
+ # init scripts
+ newconfd "${FILESDIR}"/routed.confd routed
+ newinitd "${FILESDIR}"/routed.initd routed
+}