diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2005-05-12 19:25:55 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2005-05-12 19:25:55 +0000 |
commit | 82a4b9601a4dd90f82bc8760f2cc8e0142399640 (patch) | |
tree | 6686796b2330909333b292dfa2edbda547808e98 /net/bird | |
parent | 3f7103aa9fc4d17570228a582d7a488494ebcc21 (diff) |
Notes
Diffstat (limited to 'net/bird')
-rw-r--r-- | net/bird/Makefile | 26 | ||||
-rw-r--r-- | net/bird/distinfo | 2 | ||||
-rw-r--r-- | net/bird/files/patch-sysdep-unix-krt.c | 10 | ||||
-rw-r--r-- | net/bird/files/patch-tools-Makefile.in | 11 | ||||
-rw-r--r-- | net/bird/pkg-descr | 11 | ||||
-rw-r--r-- | net/bird/pkg-plist | 5 |
6 files changed, 65 insertions, 0 deletions
diff --git a/net/bird/Makefile b/net/bird/Makefile new file mode 100644 index 000000000000..3da32ee9f1dd --- /dev/null +++ b/net/bird/Makefile @@ -0,0 +1,26 @@ +# New ports collection makefile for: bird +# Date created: 12th May 2005 +# Whom: Pav Lucistnik <pav@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= bird +PORTVERSION= 1.0.11 +CATEGORIES= net +MASTER_SITES= ftp://bird.network.cz/pub/bird/ + +MAINTAINER= pav@FreeBSD.org +COMMENT= Dynamic IP routing daemon + +USE_BISON= yes +USE_GMAKE= yes +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --enable-ipv6 + +post-install: + @if [ ! -f ${PREFIX}/etc/bird.conf ]; then \ + ${CP} -p ${PREFIX}/etc/bird.conf.example ${PREFIX}/etc/bird.conf ; \ + fi + +.include <bsd.port.mk> diff --git a/net/bird/distinfo b/net/bird/distinfo new file mode 100644 index 000000000000..64b6edc5872e --- /dev/null +++ b/net/bird/distinfo @@ -0,0 +1,2 @@ +MD5 (bird-1.0.11.tar.gz) = 9f9dfe2af0bde45a0adbbd0ebc36f249 +SIZE (bird-1.0.11.tar.gz) = 573041 diff --git a/net/bird/files/patch-sysdep-unix-krt.c b/net/bird/files/patch-sysdep-unix-krt.c new file mode 100644 index 000000000000..94e0a966353e --- /dev/null +++ b/net/bird/files/patch-sysdep-unix-krt.c @@ -0,0 +1,10 @@ +--- sysdep/unix/krt.c.orig Mon Jun 7 18:51:23 2004 ++++ sysdep/unix/krt.c Thu May 12 20:41:53 2005 +@@ -639,6 +639,7 @@ + return; + } + #endif ++ ; + } + rte_free(e); + } diff --git a/net/bird/files/patch-tools-Makefile.in b/net/bird/files/patch-tools-Makefile.in new file mode 100644 index 000000000000..35a2f3f2caca --- /dev/null +++ b/net/bird/files/patch-tools-Makefile.in @@ -0,0 +1,11 @@ +--- tools/Makefile.in.orig Mon May 31 19:53:02 2004 ++++ tools/Makefile.in Thu May 12 21:04:36 2005 +@@ -49,7 +49,7 @@ + $(INSTALL_PROGRAM) -s $(exedir)/birdc $(sbindir)/ ; \ + fi + if ! test -f $(sysconfdir)/bird.conf ; then \ +- $(INSTALL_DATA) $(srcdir)/doc/bird.conf.example $(sysconfdir)/bird.conf ; \ ++ $(INSTALL_DATA) $(srcdir)/doc/bird.conf.example $(sysconfdir)/bird.conf.example ; \ + else \ + echo "Not overwriting old bird.conf" ; \ + fi diff --git a/net/bird/pkg-descr b/net/bird/pkg-descr new file mode 100644 index 000000000000..5ae9826f66b5 --- /dev/null +++ b/net/bird/pkg-descr @@ -0,0 +1,11 @@ +The BIRD project aims to develop a fully functional dynamic IP routing daemon. + +- Both IPv4 and IPv6 +- Multiple routing tables +- BGP +- RIP +- OSPF (IPv4 only) +- Static routes +- Inter-table protocol + +WWW: http://bird.network.cz/ diff --git a/net/bird/pkg-plist b/net/bird/pkg-plist new file mode 100644 index 000000000000..ec18be838b66 --- /dev/null +++ b/net/bird/pkg-plist @@ -0,0 +1,5 @@ +@unexec if cmp -s %D/etc/bird.conf.example %D/etc/bird.conf; then rm -f %D/etc/bird.conf; fi +etc/bird.conf.example +@exec if [ ! -f %D/etc/bird.conf ] ; then cp -p %D/%F %B/bird.conf; fi +sbin/bird +sbin/birdc |