2a96e60cb3
Upstream changes: Version 4.2.21 * Fix: regressing on announcing routes from the API #1108 Version 4.2.20 * Fix: correctly filter routes announced by the API to the right peer #1005 * Feature: healthcheck neighbor filtering and path-information backport of #1098 and #1099 * Fix: backport #1101 fix parsing of FlowSpec TCPFlags with NS * Fix: backport #1102 fix parsing of Fragment with IPv6 destinations/sources * Fix: bug in CLI when failing to read data Version 4.2.19 * Feature: force PGP signing of tags * Feature: backport ICMP types * Fix: backport healthcheck setup_ips requiring a label backport by: Steven Honson Version 4.2.18 * Feature: add ICMP experimental codes reported: enag11 * Feature: PGP signing releases
49 lines
1.2 KiB
Makefile
49 lines
1.2 KiB
Makefile
# $NetBSD: Makefile,v 1.40 2022/09/18 12:02:00 he Exp $
|
|
|
|
DISTNAME= exabgp-4.2.21
|
|
CATEGORIES= net
|
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=Exa-Networks/}
|
|
|
|
MAINTAINER= he@NetBSD.org
|
|
HOMEPAGE= https://github.com/Exa-Networks/exabgp/
|
|
COMMENT= BGP swiss army knife
|
|
LICENSE= modified-bsd
|
|
|
|
TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
|
|
|
|
USE_PKG_RESOURCES= yes
|
|
|
|
USE_TOOLS+= perl:run
|
|
|
|
REPLACE_PERL+= etc/exabgp/run/dynamic-1.pl
|
|
REPLACE_PERL+= etc/exabgp/run/watchdog-1.pl
|
|
|
|
REPLACE_PYTHON+= etc/exabgp/run/*.run
|
|
REPLACE_PYTHON+= etc/exabgp/run/*.py
|
|
|
|
CHECK_PORTABILITY_SKIP+= dev/release/google
|
|
|
|
PYTHON_VERSIONS_INCOMPATIBLE= 27
|
|
|
|
USE_LANGUAGES= # none
|
|
|
|
INSTALLATION_DIRS+= share/exabgp bin
|
|
INSTALLATION_DIRS+= ${PKGMANDIR}/man1 ${PKGMANDIR}/man5
|
|
|
|
pre-install:
|
|
find ${WRKDIR} -name "*.orig" | xargs rm -f
|
|
|
|
post-install:
|
|
${INSTALL_MAN} ${WRKSRC}/doc/man/exabgp.1 \
|
|
${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
|
|
${INSTALL_MAN} ${WRKSRC}/doc/man/exabgp.conf.5 \
|
|
${DESTDIR}${PREFIX}/${PKGMANDIR}/man5
|
|
|
|
TEST_ENV+= PYTHONPATH=${WRKSRC}/build/lib
|
|
do-test:
|
|
cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}
|
|
|
|
.include "../../lang/python/egg.mk"
|
|
.include "../../lang/python/application.mk"
|
|
.include "../../lang/python/pyversion.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|