summaryrefslogtreecommitdiff
path: root/net-misc/mrouted
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /net-misc/mrouted
reinit the tree, so we can have metadata
Diffstat (limited to 'net-misc/mrouted')
-rw-r--r--net-misc/mrouted/Manifest6
-rw-r--r--net-misc/mrouted/files/mrouted.rc29
-rw-r--r--net-misc/mrouted/metadata.xml5
-rw-r--r--net-misc/mrouted/mrouted-3.9.5-r1.ebuild40
4 files changed, 80 insertions, 0 deletions
diff --git a/net-misc/mrouted/Manifest b/net-misc/mrouted/Manifest
new file mode 100644
index 000000000000..246815eee0e9
--- /dev/null
+++ b/net-misc/mrouted/Manifest
@@ -0,0 +1,6 @@
+AUX mrouted.rc 603 SHA256 bd16a37814fdc234a2a96f881042aa74f9974abf9ab555d94854f7aee4fd098b SHA512 08e65f7bcf759889fe42349d6b7432e7b76c84069ff295ad7d72e0517cae2eabd2de11619e07cf7a573e5c2eeb3f0159becd355cae4358be093b93a9824424d3 WHIRLPOOL b52ee01119bfe4fbfaf9a761ce3747f84ad7b6aadbec4e10851fea22e2389b41fdaa0915cf2eecc3729a825eed124423749fa364e5938243b00f36fc9e131951
+DIST mrouted-3.9.5.tar.bz2 112746 SHA256 10f0204f3a420033df7b5dfe4cac96dfba58649cbd813d7c6e2253367601b147 SHA512 6ab7335fd18bcb971eb0f9af26e8fd566b1bf2e53abdfcdea847c4bd719d282496c443914678c6fcbcf754e276663ed48ac9f0ae9e940e60eff71ceb1f4622fd WHIRLPOOL a452871a4ab57e294d54378ec7604f7fda517656759ebceb7f8dfe802cb96f2c71f496bea54e6d49f8f573a4199d43f717685b3886165220a214fb3f829fe28d
+EBUILD mrouted-3.9.5-r1.ebuild 841 SHA256 17a2a90248ec2ca1c378dde9e93c071986a2574e518595c89ac00af5e9d69fb5 SHA512 e45dd94d7e7ea511e7798c0a9f75b5fdff669d98b9cc00f272c153d2ce2ab37296c5605390bb9df115928de99f654b3ed17242619e8b5c1ce4f8c25d790ec725 WHIRLPOOL c9b07c3a922e61bd24c49a2bf025374a78aa81414edd7dc9ff059f3f931264571035db318320361534ba8cab88f0ed01d32de46833974b00865e9c7f495d5308
+MISC ChangeLog 2944 SHA256 ab3b9b0a08aa031d04508e5a7558ee2c28affc821a12495d620c8f58b1791b5e SHA512 f666893706103baac3f489199256c94c5e7b77836ed961660dc92f2fa449363a2fa13042c624da8b2f0b0f1a7c1f668ce3fe89a456295d43446bb0c77ea7e107 WHIRLPOOL 1e5a9e524062e1a087dbd9a278f0bc5b93046f151e3e07d355aa3093e80414c7144689f04173ef8966af4cced36d755f82a5fe65ed375de0e8d32ea8772fe70c
+MISC ChangeLog-2015 2052 SHA256 72d5d97fbc2a7768324e0278ee81786b06d78e754b9a9319644d16d323b0ee9d SHA512 b4a316397681b3bba5310de1c069e565a487de0070d013fe2c91d29e3461934200bf8f4bba2bf2b6ebbed3fc3e39795f893729ff18da477be41a47fbd8f97d90 WHIRLPOOL 87d82b80bad37990f1b86eb8e644d8adc096ac7232f251ace2d166a0a1b79e11edce0bbb4b638a008baa886d7f6c576ec6a74ecdc0b998ceea20442abe422beb
+MISC metadata.xml 166 SHA256 2caff447f5bd2701d8456ada5cc633c41ef4373fa4bfeabeb73599d40bcc941b SHA512 a56648c974a1d14dd4c18237532773c72057a13ab90c58b5da04f185e3c12a8bd8d5c21fb06053507f31766291a82dc7d87b34cd65fd94cfe2af7295c813ef84 WHIRLPOOL 1ff70497eca6531f0e0614c72a19f4b8e5ff486a58d369f4f0b36308d1d6b01168f9da887740e3b9f536236be251d3fe05f904d27a9233a7cf613416ba882968
diff --git a/net-misc/mrouted/files/mrouted.rc b/net-misc/mrouted/files/mrouted.rc
new file mode 100644
index 000000000000..2be6b393d472
--- /dev/null
+++ b/net-misc/mrouted/files/mrouted.rc
@@ -0,0 +1,29 @@
+#!/sbin/openrc-run
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+depend() {
+ use logger
+ need net
+}
+
+checkconfig() {
+ if [ ! -e /etc/mrouted.conf ] ; then
+ eerror "You need an /etc/mrouted.conf file to run mrouted"
+ return 1
+ fi
+}
+
+start() {
+ checkconfig || return 1
+ ebegin "Starting mrouted"
+ start-stop-daemon --start --quiet --pidfile /var/run/mrouted.pid \
+ --startas /usr/bin/mrouted -- -c /etc/mrouted.conf
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping mrouted"
+ start-stop-daemon --stop --quiet --pidfile /var/run/mrouted.pid
+ eend $?
+}
diff --git a/net-misc/mrouted/metadata.xml b/net-misc/mrouted/metadata.xml
new file mode 100644
index 000000000000..6f49eba8f496
--- /dev/null
+++ b/net-misc/mrouted/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<!-- maintainer-needed -->
+</pkgmetadata>
diff --git a/net-misc/mrouted/mrouted-3.9.5-r1.ebuild b/net-misc/mrouted/mrouted-3.9.5-r1.ebuild
new file mode 100644
index 000000000000..68ce93661989
--- /dev/null
+++ b/net-misc/mrouted/mrouted-3.9.5-r1.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+inherit toolchain-funcs
+
+DESCRIPTION="IP multicast routing daemon"
+HOMEPAGE="http://troglobit.com/mrouted.shtml"
+SRC_URI="ftp://ftp.vmlinux.org/pub/People/jocke/${PN}/${P}.tar.bz2"
+LICENSE="Stanford GPL-2"
+
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+IUSE=""
+
+DEPEND="|| ( dev-util/yacc sys-devel/bison )"
+RDEPEND=""
+
+src_prepare() {
+ # Respect user CFLAGS, remove upstream optimisation and -Werror
+ sed -i Makefile \
+ -e '/^CFLAGS/{s|[[:space:]]=| +=|g;s|-O2||g;s|-Werror||g}' \
+ || die
+ default
+}
+
+src_compile() {
+ emake CC=$(tc-getCC)
+}
+
+src_install() {
+ dobin mrouted
+ dosbin mtrace mrinfo map-mbone
+ doman mrouted.8 mtrace.8 mrinfo.8 map-mbone.8
+
+ insinto /etc
+ doins mrouted.conf
+ newinitd "${FILESDIR}"/mrouted.rc mrouted
+}