summaryrefslogtreecommitdiff
path: root/net/bird2/Makefile
diff options
context:
space:
mode:
authorOlivier Cochard <olivier@FreeBSD.org>2018-05-25 21:40:31 +0000
committerOlivier Cochard <olivier@FreeBSD.org>2018-05-25 21:40:31 +0000
commitb782168218ce43588149523e6d12003aa68ad324 (patch)
treef6f85a63c9dbe174622bfa9d50e1cd9a79eaf7bd /net/bird2/Makefile
parentUpgrade to version 1.6.3 (diff)
Rename net/bird-devel to net/bird2
Notes
Notes: svn path=/head/; revision=470869
Diffstat (limited to 'net/bird2/Makefile')
-rw-r--r--net/bird2/Makefile58
1 files changed, 58 insertions, 0 deletions
diff --git a/net/bird2/Makefile b/net/bird2/Makefile
new file mode 100644
index 000000000000..26be50d2cf36
--- /dev/null
+++ b/net/bird2/Makefile
@@ -0,0 +1,58 @@
+# Created by: Alexander V. Chernikov <melifaro@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= bird
+DISTVERSION= 2.0.2
+PORTREVISION= 1
+CATEGORIES= net
+MASTER_SITES= ftp://bird.network.cz/pub/bird/
+PKGNAMESUFFIX= 2
+
+MAINTAINER= olivier@FreeBSD.org
+COMMENT= Dynamic IP routing daemon (devel version)
+
+LICENSE= GPLv2
+
+LIB_DEPENDS= libssh.so:security/libssh
+
+CONFLICTS= bird-[0-9]*
+CONFLICTS+= bird6-[0-9]*
+
+USES= bison gmake ncurses readline
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --localstatedir=/var
+USE_RC_SUBR= bird
+SUB_FILES= pkg-message
+
+MAKE_JOBS_UNSAFE= yes
+
+OPTIONS_MULTI= RP
+RP_DESC= Routing Protocols
+OPTIONS_MULTI_RP= BFD BABEL BGP OSPF PIPE RADV RIP STATIC
+OPTIONS_DEFAULT= ${OPTIONS_MULTI_RP}
+
+BFD_DESC= Bidirectional Forwarding Detection
+BABEL_DESC= Babel routing protocol
+BGP_DESC= Border Gateway Protocol
+OSPF_DESC= Open Short Path First
+PIPE_DESC= PIPE routing
+RADV_DESC= Router Advertisement
+RIP_DESC= Routing Information Protocol
+STATIC_DESC= Static routing
+
+BFD_VARS= rt_prot+=bfd
+BABEL_VARS= rt_prot+=babel
+BGP_VARS= rt_prot+=bgp
+OSPF_VARS= rt_prot+=ospf
+PIPE_VARS= rt_prot+=pipe
+RADV_VARS= rt_prot+=radv
+RIP_VARS= rt_prot+=rip
+STATIC_VARS= rt_prot+=static
+
+CONFIGURE_ARGS+=--with-protocols="${RT_PROT}"
+
+post-patch:
+ ${REINPLACE_CMD} -e 's|\.example|\.sample|g' ${WRKSRC}/Makefile.in
+ ${MV} ${WRKSRC}/doc/bird.conf.example ${WRKSRC}/doc/bird.conf.sample
+
+.include <bsd.port.mk>