import net/bird;

The BIRD project aims to develop a fully functional dynamic IP
routing daemon primarily targeted on (but not limited to) UNIX-like
systems and distributed under the GNU General Public License.

    * Both IPv4 and IPv6
    * Multiple routing tables (not on OpenBSD yet)
    * BGP
    * RIP
    * OSPF (IPv4 only)
    * Static routes
    * Inter-table protocol
    * Command-line interface
    * Soft reconfiguration
    * Powerful language for route filtering

Due to bird's build system, packages are split: the bird package
contains IPv4 daemons, bird-v6 contains IPv6 daemons (build with
FLAVOR=v6), and bird-doc contains the manual.
This commit is contained in:
sthen 2009-08-17 23:03:58 +00:00
parent 8ebc7c97b0
commit 975302b293
7 changed files with 143 additions and 0 deletions

62
net/bird/Makefile Normal file
View File

@ -0,0 +1,62 @@
# $OpenBSD: Makefile,v 1.1.1.1 2009/08/17 23:03:58 sthen Exp $
COMMENT-main= bird internet routing daemon
COMMENT-doc= bird internet routing daemon (documentation)
V= 1.1.1
DISTNAME= bird-$V
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
${DISTNAME:S/-/-doc-/}${EXTRACT_SUFX}
CATEGORIES= net
HOMEPAGE= http://bird.network.cz/
MAINTAINER= Stuart Henderson <sthen@openbsd.org>
# GPLv2+
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB-main= c ncurses readline
MULTI_PACKAGES= -main -doc
FULLPKGNAME-doc=bird-doc-$V
FULLPKGPATH-doc=net/bird,-doc
FLAVORS= v6
FLAVOR?=
SUBST_VARS+= SIX
.if ${FLAVOR:L:Mv6}
FULLPKGNAME-main= bird-v6-$V
SIX= 6
.else
PKGNAME-main= bird-$V
.endif
MASTER_SITES= ftp://bird.network.cz/pub/bird/
BUILD_DEPENDS= ::devel/m4
FAKE_FLAGS= sysconfdir=${TRUEPREFIX}/share/examples/bird
USE_GMAKE= Yes
CONFIGURE_STYLE=gnu
CONFIGURE_ARGS= --localstatedir=/var
.if ${FLAVOR:L:Mv6}
CONFIGURE_ARGS+=--enable-ipv6
.endif
MODGNU_CONFIG_GUESS_DIRS= ${WRKSRC}/tools
NO_REGRESS= Yes
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/bird
${INSTALL_DATA} ${WRKDIR}/bird-doc-$V/doc/* ${PREFIX}/share/doc/bird/
${INSTALL_DATA} ${WRKSRC}/doc/*.html ${PREFIX}/share/doc/bird/
.include <bsd.port.mk>

10
net/bird/distinfo Normal file
View File

@ -0,0 +1,10 @@
MD5 (bird-1.1.1.tar.gz) = AlSKC/vQWd1JPK1XcVfC3Q==
MD5 (bird-doc-1.1.1.tar.gz) = OE17Ew9K84+K9trfppK3gw==
RMD160 (bird-1.1.1.tar.gz) = DVDH6KKY3mGSQ9txiLVBTKhuASw=
RMD160 (bird-doc-1.1.1.tar.gz) = xqAVT5XQnzVuVGondb38DRvSbVM=
SHA1 (bird-1.1.1.tar.gz) = vH1EffKB6b8aLVcGyp8RJHcv/EE=
SHA1 (bird-doc-1.1.1.tar.gz) = 1PatGeZCgk3m6EfLhg+k4cvRIVs=
SHA256 (bird-1.1.1.tar.gz) = aPeBgSUXoA/IBIcdJ9s93TWWqCqekM81Fv+dJ2rFmpk=
SHA256 (bird-doc-1.1.1.tar.gz) = Cgmkv5jO0rKJOBZLhlp2uaKdeY0/ADoQJrSUYFoBzfQ=
SIZE (bird-1.1.1.tar.gz) = 646377
SIZE (bird-doc-1.1.1.tar.gz) = 316643

View File

@ -0,0 +1,11 @@
$OpenBSD: patch-nest_bird_h,v 1.1.1.1 2009/08/17 23:03:58 sthen Exp $
--- nest/bird.h.orig Sun May 31 17:12:01 2009
+++ nest/bird.h Sun May 31 17:12:13 2009
@@ -11,6 +11,7 @@
#include "sysdep/config.h"
#include "lib/birdlib.h"
+#include "lib/endian.h"
#include "lib/ip.h"
#endif

16
net/bird/pkg/DESCR-doc Normal file
View File

@ -0,0 +1,16 @@
The BIRD project aims to develop a fully functional dynamic IP
routing daemon primarily targeted on (but not limited to) UNIX-like
systems and distributed under the GNU General Public License.
* Both IPv4 and IPv6
* Multiple routing tables
* BGP
* RIP
* OSPF (IPv4 only)
* Static routes
* Inter-table protocol
* Command-line interface
* Soft reconfiguration
* Powerful language for route filtering
This package contains the documentation.

18
net/bird/pkg/DESCR-main Normal file
View File

@ -0,0 +1,18 @@
The BIRD project aims to develop a fully functional dynamic IP
routing daemon primarily targeted on (but not limited to) UNIX-like
systems and distributed under the GNU General Public License.
* Both IPv4 and IPv6
* Multiple routing tables (not on OpenBSD yet)
* BGP
* RIP
* OSPF (IPv4 only)
* Static routes
* Inter-table protocol
* Command-line interface
* Soft reconfiguration
* Powerful language for route filtering
Due to bird's build system, packages are split: the bird package
contains IPv4 daemons, bird-v6 contains IPv6 daemons (build with
FLAVOR=v6), and bird-doc contains the manual.

21
net/bird/pkg/PLIST-doc Normal file
View File

@ -0,0 +1,21 @@
@comment $OpenBSD: PLIST-doc,v 1.1.1.1 2009/08/17 23:03:58 sthen Exp $
share/doc/bird/
share/doc/bird/bird-1.html
share/doc/bird/bird-2.html
share/doc/bird/bird-3.html
share/doc/bird/bird-4.html
share/doc/bird/bird-5.html
share/doc/bird/bird-6.html
share/doc/bird/bird-7.html
share/doc/bird/bird.html
share/doc/bird/bird.ps
share/doc/bird/prog-1.html
share/doc/bird/prog-2.html
share/doc/bird/prog-3.html
share/doc/bird/prog-4.html
share/doc/bird/prog-5.html
share/doc/bird/prog-6.html
share/doc/bird/prog-7.html
share/doc/bird/prog-8.html
share/doc/bird/prog.html
share/doc/bird/prog.ps

5
net/bird/pkg/PLIST-main Normal file
View File

@ -0,0 +1,5 @@
@comment $OpenBSD: PLIST-main,v 1.1.1.1 2009/08/17 23:03:58 sthen Exp $
@bin sbin/bird${SIX}
@bin sbin/birdc${SIX}
share/examples/bird/bird${SIX}.conf
@sample ${SYSCONFDIR}/bird${SIX}.conf