diff options
author | Kurt Jaeger <pi@FreeBSD.org> | 2019-06-03 20:08:36 +0000 |
---|---|---|
committer | Kurt Jaeger <pi@FreeBSD.org> | 2019-06-03 20:08:36 +0000 |
commit | 713c2289b8d66d3752c1225ca18d740daa50c8fc (patch) | |
tree | 26af7b6de4c410d2e2810fec4c81c3ab0b9c5e76 /net/openbgpd/files/patch-bgpd_Makefile | |
parent | Upgrade to 0.0.5 (diff) |
net/openbgpd: revert upgrade from 6.5p0 to 5.2.20121209
- openbgpd version 6.5p0 was the "portable" version, which specifically
does *not* support kernel routing updates.
- Therefore this is only suitable for route servers/collectors, not
for production use in routers. This significantly violates POLA :)
PR: 213445
Submitted by: Oliver H <oliver@watershed.co.uk>
Diffstat (limited to 'net/openbgpd/files/patch-bgpd_Makefile')
-rw-r--r-- | net/openbgpd/files/patch-bgpd_Makefile | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/net/openbgpd/files/patch-bgpd_Makefile b/net/openbgpd/files/patch-bgpd_Makefile new file mode 100644 index 000000000000..fc2701497ef1 --- /dev/null +++ b/net/openbgpd/files/patch-bgpd_Makefile @@ -0,0 +1,30 @@ +--- bgpd/Makefile.orig 2013-02-21 19:20:05.000000000 +0000 ++++ bgpd/Makefile 2013-02-21 19:20:54.000000000 +0000 +@@ -1,15 +1,25 @@ + # $OpenBSD: Makefile,v 1.28 2009/06/25 14:14:54 deraadt Exp $ + ++.PATH: ${.CURDIR}/.. ${.CURDIR}/../openbsd-compat ++ ++CONFFILE?= ${PREFIX}/etc/bgpd.conf ++ + PROG= bgpd +-SRCS= bgpd.c buffer.c session.c log.c parse.y config.c imsg.c \ ++SRCS= bgpd.c session.c log.c parse.y config.c \ + rde.c rde_rib.c rde_decide.c rde_prefix.c mrt.c kroute.c \ + control.c pfkey.c rde_update.c rde_attr.c printconf.c \ +- rde_filter.c pftable.c name2id.c util.c carp.c timer.c ++ rde_filter.c pftable.c name2id.c util.c carp.c timer.c \ ++ imsg.c imsg-buffer.c + CFLAGS+= -Wall -I${.CURDIR} ++CFLAGS+= -I${.CURDIR}/../openbsd-compat + CFLAGS+= -Wstrict-prototypes -Wmissing-prototypes + CFLAGS+= -Wmissing-declarations + CFLAGS+= -Wshadow -Wpointer-arith -Wcast-qual + CFLAGS+= -Wsign-compare ++CFLAGS+= -DCONFFILE=\"${CONFFILE}\" ++.if defined(IPV6_LINKLOCAL_PEER) ++CFLAGS+= -DIPV6_LINKLOCAL_PEER ++.endif + YFLAGS= + MAN= bgpd.8 bgpd.conf.5 + |