summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /net-misc/mrouted
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'net-misc/mrouted')
-rw-r--r--net-misc/mrouted/Manifest1
-rw-r--r--net-misc/mrouted/files/mrouted.rc30
-rw-r--r--net-misc/mrouted/metadata.xml7
-rw-r--r--net-misc/mrouted/mrouted-3.9.5.ebuild40
4 files changed, 78 insertions, 0 deletions
diff --git a/net-misc/mrouted/Manifest b/net-misc/mrouted/Manifest
new file mode 100644
index 000000000000..f5182d070a3b
--- /dev/null
+++ b/net-misc/mrouted/Manifest
@@ -0,0 +1 @@
+DIST mrouted-3.9.5.tar.bz2 112746 RMD160 85c92215c71744c7d1d3cd9211c0b560a5884cba SHA1 0c4055591beb96464befee80400017579eabed01 SHA256 10f0204f3a420033df7b5dfe4cac96dfba58649cbd813d7c6e2253367601b147
diff --git a/net-misc/mrouted/files/mrouted.rc b/net-misc/mrouted/files/mrouted.rc
new file mode 100644
index 000000000000..fa47acbd6eff
--- /dev/null
+++ b/net-misc/mrouted/files/mrouted.rc
@@ -0,0 +1,30 @@
+#!/sbin/runscript
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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..d9cd2cad66c2
--- /dev/null
+++ b/net-misc/mrouted/metadata.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer>
+<email>maintainer-needed@gentoo.org</email>
+</maintainer>
+</pkgmetadata>
diff --git a/net-misc/mrouted/mrouted-3.9.5.ebuild b/net-misc/mrouted/mrouted-3.9.5.ebuild
new file mode 100644
index 000000000000..9b0dd9b4f073
--- /dev/null
+++ b/net-misc/mrouted/mrouted-3.9.5.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="2"
+
+inherit eutils 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
+}
+
+src_compile() {
+ emake CC=$(tc-getCC) || die
+}
+
+src_install() {
+ dobin mrouted || die
+ dosbin mtrace mrinfo map-mbone || die
+ doman mrouted.8 mtrace.8 mrinfo.8 map-mbone.8 || die
+
+ insinto /etc
+ doins mrouted.conf || die
+ newinitd "${FILESDIR}"/mrouted.rc mrouted || die
+}