2005-05-17 16:46:42 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2009-06-23 18:44:19 +02:00
|
|
|
PORTNAME= openbgpd
|
2012-12-24 13:41:36 +01:00
|
|
|
PORTVERSION= 5.2.20121209
|
2014-06-03 21:50:10 +02:00
|
|
|
PORTREVISION= 2
|
2005-05-17 16:46:42 +02:00
|
|
|
CATEGORIES= net
|
2015-05-14 12:15:04 +02:00
|
|
|
MASTER_SITES= OPENBSD/OpenBGPD
|
2010-02-16 20:27:03 +01:00
|
|
|
DISTNAME= ${PORTNAME}-4.6
|
2009-07-19 09:31:04 +02:00
|
|
|
DIST_SUBDIR= ${PORTNAME}
|
2005-05-17 16:46:42 +02:00
|
|
|
|
2009-06-23 18:44:19 +02:00
|
|
|
MAINTAINER= hrs@FreeBSD.org
|
2005-05-17 16:46:42 +02:00
|
|
|
COMMENT= Free implementation of the Border Gateway Protocol, Version 4
|
|
|
|
|
2014-05-16 03:29:01 +02:00
|
|
|
LICENSE= ISCL
|
|
|
|
LICENSE_FILE= ${FILESDIR}/COPYING
|
|
|
|
|
2009-06-23 18:44:19 +02:00
|
|
|
CONFLICTS= zebra-[0-9]* quagga-[0-9]*
|
2005-11-03 15:40:12 +01:00
|
|
|
|
2005-05-17 16:46:42 +02:00
|
|
|
WRKSRC= ${WRKDIR}
|
2015-05-14 12:15:04 +02:00
|
|
|
USES= uidfix tar:tgz
|
2012-08-06 01:19:36 +02:00
|
|
|
USE_RC_SUBR= ${PORTNAME}
|
2013-10-17 08:19:25 +02:00
|
|
|
PLIST_FILES= sbin/bgpctl sbin/bgpd man/man5/bgpd.conf.5.gz \
|
|
|
|
man/man8/bgpctl.8.gz man/man8/bgpd.8.gz
|
2007-07-19 13:58:59 +02:00
|
|
|
SUB_FILES= pkg-message
|
2011-07-03 07:18:37 +02:00
|
|
|
USERS= _bgpd
|
|
|
|
GROUPS= _bgpd
|
2007-07-19 13:58:59 +02:00
|
|
|
|
2013-10-17 08:19:25 +02:00
|
|
|
OPTIONS_DEFINE= IPV6LLPEER
|
|
|
|
OPTIONS_DEFAULT=IPV6LLPEER
|
|
|
|
IPV6LLPEER_DESC=Support nexthop using IPv6 link-local address
|
|
|
|
|
|
|
|
.include <bsd.port.options.mk>
|
2005-05-17 16:46:42 +02:00
|
|
|
|
2013-10-17 18:47:58 +02:00
|
|
|
.if ${PORT_OPTIONS:MIPV6LLPEER}
|
2014-05-16 03:29:01 +02:00
|
|
|
MAKE_ARGS+= -DIPV6_LINKLOCAL_PEER
|
2009-07-19 09:31:04 +02:00
|
|
|
.endif
|
|
|
|
|
2005-05-17 16:46:42 +02:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" \
|
|
|
|
${WRKSRC}/bgpd/bgpd.8 \
|
|
|
|
${WRKSRC}/bgpd/bgpd.conf.5 \
|
2005-10-31 13:05:30 +01:00
|
|
|
${WRKSRC}/bgpctl/bgpctl.8
|
2005-05-17 16:46:42 +02:00
|
|
|
|
2013-10-17 08:19:25 +02:00
|
|
|
.include <bsd.port.mk>
|