summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTony Vroon <chainsaw@gentoo.org>2009-07-22 12:20:53 +0000
committerTony Vroon <chainsaw@gentoo.org>2009-07-22 12:20:53 +0000
commit5199e35a64174b1fe1679a19203b0031fc680e47 (patch)
tree0f798ab1e54cbaa71f09722df6892e34af1adcbf /net-misc/bird
parentfix Manfiest (diff)
downloadhistorical-5199e35a64174b1fe1679a19203b0031fc680e47.tar.gz
historical-5199e35a64174b1fe1679a19203b0031fc680e47.tar.bz2
historical-5199e35a64174b1fe1679a19203b0031fc680e47.zip
Resurrected ebuild that was in the tree earlier. With thanks to Chet McNeill <chet@somedec.com> in bug #122823 for an initial ebuild and patch set.
Package-Manager: portage-2.1.6.13/cvs/Linux x86_64
Diffstat (limited to 'net-misc/bird')
-rw-r--r--net-misc/bird/ChangeLog12
-rw-r--r--net-misc/bird/Manifest16
-rw-r--r--net-misc/bird/bird-1.1.0.ebuild40
-rw-r--r--net-misc/bird/files/1.1.0-nostrip.patch15
-rw-r--r--net-misc/bird/files/initd-bird-1.1.037
-rw-r--r--net-misc/bird/metadata.xml9
6 files changed, 129 insertions, 0 deletions
diff --git a/net-misc/bird/ChangeLog b/net-misc/bird/ChangeLog
new file mode 100644
index 000000000000..bff206e1eca7
--- /dev/null
+++ b/net-misc/bird/ChangeLog
@@ -0,0 +1,12 @@
+# ChangeLog for net-misc/bird
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/bird/ChangeLog,v 1.3 2009/07/22 12:20:53 chainsaw Exp $
+
+*bird-1.1.0 (22 Jul 2009)
+
+ 22 Jul 2009; <chainsaw@gentoo.org> +files/1.1.0-nostrip.patch,
+ +files/initd-bird-1.1.0, +bird-1.1.0.ebuild, +metadata.xml:
+ Resurrected ebuild that was in the tree earlier. With thanks to Chet
+ McNeill <chet@somedec.com> in bug #122823 for an initial ebuild and patch
+ set.
+
diff --git a/net-misc/bird/Manifest b/net-misc/bird/Manifest
new file mode 100644
index 000000000000..00fec1d5f0a9
--- /dev/null
+++ b/net-misc/bird/Manifest
@@ -0,0 +1,16 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+AUX 1.1.0-nostrip.patch 872 RMD160 497f01be007fe5e7de26a9bb616a3731ceb564ce SHA1 00d87689269ace0cfda54c9f8a5c4a8668f5f3be SHA256 e45d409c0732f8538fce133e64bbf3a5543a9e074078b32e29a20a45ec9c66f3
+AUX initd-bird-1.1.0 721 RMD160 decfca41753a499de74e7ce8166ff8cae4dd2e70 SHA1 0bb6a0fdedcddaa0e3598d01c0bd458c7ca35cfc SHA256 50fbdc4593fa2ab14bf2f30b1af027db0b7acf6cd056053a801ec42127c224e8
+DIST bird-1.1.0.tar.gz 642729 RMD160 6bf3f7939b72b672d56a3598d0db1ada4209e2e7 SHA1 9acf34b47a89368262e23f52ec2fe56b6b184892 SHA256 10aa8860c10f7a48f978dde39d26935b195ed9662e486c58c2833b913cdbaf6e
+EBUILD bird-1.1.0.ebuild 902 RMD160 fcf1b2fc3cdaefde7c0f4d04a2f941e81fe0178e SHA1 246e243428e1b5aa4022f79c42cd49a01229eede SHA256 3d4b20807b0dc3b769d5f29d209785dc8af05cfcd3cc3fbc09af0f2ad87bdea5
+MISC ChangeLog 510 RMD160 f6ccc0de4963ee75115b5869e6ab02c4c34bf7b1 SHA1 b236d7c716f827adf3e7183fd0321cd3cfc22090 SHA256 73db77a446fad5eb2d8d46dee566b58790325d431f28a12799d14a8e7507ebd7
+MISC metadata.xml 252 RMD160 39688056775b93958486028092a635d7596f2295 SHA1 84206aff0a072a68600245da08a0d83233da8259 SHA256 794815266f2c79c7762e9f4eaf6fd122af3b2b5b2d9d07a4aef8787218133d59
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.11 (GNU/Linux)
+
+iEYEARECAAYFAkpnBBsACgkQp5vW4rUFj5pVUgCfVasyxtb/kh37I8CkwNbMyNaR
+Fp4AnAhrweOf0fppWVT2MkwQXd+WqIW0
+=DPS6
+-----END PGP SIGNATURE-----
diff --git a/net-misc/bird/bird-1.1.0.ebuild b/net-misc/bird/bird-1.1.0.ebuild
new file mode 100644
index 000000000000..f49100004310
--- /dev/null
+++ b/net-misc/bird/bird-1.1.0.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/bird/bird-1.1.0.ebuild,v 1.1 2009/07/22 12:20:53 chainsaw Exp $
+
+inherit eutils
+
+DESCRIPTION="A routing daemon implementing OSPF, RIPv2 & BGP for IPv4 or IPv6"
+HOMEPAGE="http://bird.network.cz"
+SRC_URI="ftp://bird.network.cz/pub/${PN}/${P}.tar.gz"
+LICENSE="GPL-2"
+
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="ipv6"
+
+RDEPEND="sys-libs/ncurses
+ sys-libs/readline
+ ${DEPEND}"
+DEPEND="sys-devel/flex
+ sys-devel/bison
+ sys-devel/m4"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}/${PV}-nostrip.patch"
+}
+
+src_compile() {
+ econf \
+ --enable-client \
+ $(use_enable ipv6) \
+ || die "Configuration stage failed"
+ emake -j1 || die "Compilation stage failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die
+ newinitd "${FILESDIR}/initd-${P}" bird
+}
diff --git a/net-misc/bird/files/1.1.0-nostrip.patch b/net-misc/bird/files/1.1.0-nostrip.patch
new file mode 100644
index 000000000000..9555c89b56bc
--- /dev/null
+++ b/net-misc/bird/files/1.1.0-nostrip.patch
@@ -0,0 +1,15 @@
+diff -uNr bird-1.1.0.ORIG/tools/Makefile.in bird-1.1.0/tools/Makefile.in
+--- bird-1.1.0.ORIG/tools/Makefile.in 2009-07-22 12:23:19.000000000 +0100
++++ bird-1.1.0/tools/Makefile.in 2009-07-22 12:25:50.000000000 +0100
+@@ -44,9 +44,9 @@
+
+ install: all
+ $(INSTALL) -d $(DESTDIR)/$(sbindir) $(DESTDIR)/$(sysconfdir) $(DESTDIR)/$(localstatedir)
+- $(INSTALL_PROGRAM) -s $(exedir)/bird $(DESTDIR)/$(sbindir)/bird@SUFFIX6@
++ $(INSTALL_PROGRAM) $(exedir)/bird $(DESTDIR)/$(sbindir)/bird@SUFFIX6@
+ if test -n "@CLIENT@" ; then \
+- $(INSTALL_PROGRAM) -s $(exedir)/birdc $(DESTDIR)/$(sbindir)/birdc@SUFFIX6@ ; \
++ $(INSTALL_PROGRAM) $(exedir)/birdc $(DESTDIR)/$(sbindir)/birdc@SUFFIX6@ ; \
+ fi
+ if ! test -f $(DESTDIR)/$(sysconfdir)/bird@SUFFIX6@.conf ; then \
+ $(INSTALL_DATA) $(srcdir)/doc/bird.conf.example $(DESTDIR)/$(sysconfdir)/bird@SUFFIX6@.conf ; \
diff --git a/net-misc/bird/files/initd-bird-1.1.0 b/net-misc/bird/files/initd-bird-1.1.0
new file mode 100644
index 000000000000..0beaa89d8bd3
--- /dev/null
+++ b/net-misc/bird/files/initd-bird-1.1.0
@@ -0,0 +1,37 @@
+#!/sbin/runscript
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/bird/files/initd-bird-1.1.0,v 1.1 2009/07/22 12:20:53 chainsaw Exp $
+
+SOCK=/var/lib/run/bird.ctl
+
+depend() {
+ need net
+ use logger
+}
+
+checkconfig() {
+ if [ ! -f /etc/bird.conf ]; then
+ eerror "Please create /etc/bird.conf"
+ return 1
+ fi
+ return 0
+}
+
+start() {
+ checkconfig || return $?
+
+ ebegin "Starting BIRD"
+ /usr/sbin/bird -c /etc/bird.conf -s "${SOCK}"
+ eend $? "Failed to start BIRD"
+}
+
+stop() {
+ ebegin "Stopping BIRD"
+ if [ -f "${SOCK}" ]; then
+ echo "down" | /usr/sbin/birdc &>/dev/null
+ eend $? "Failed to stop BIRD"
+ else
+ eend 0
+ fi
+}
diff --git a/net-misc/bird/metadata.xml b/net-misc/bird/metadata.xml
new file mode 100644
index 000000000000..b7c7dd56afb9
--- /dev/null
+++ b/net-misc/bird/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>no-herd</herd>
+ <maintainer>
+ <email>chainsaw@gentoo.org</email>
+ <name>Tony Vroon</name>
+ </maintainer>
+</pkgmetadata> \ No newline at end of file