1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-19 08:13:21 +00:00
freebsd-ports/net/openbgpd/files/patch-bgpd_Makefile
Kurt Jaeger 05f952aaea net/openbgpd: Add patches to allow use of TCPMD5 options
- For additional details, see this post from 2013:
  http://lists.freebsd.org/pipermail/freebsd-net/2013-November/037133.html
- Please note that this patch is used by pfsense
- related changes in the base system have already been integrated, see
  https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=220170

PR:		184545
Submitted by:	anarcat@koumbit.org, eksffa@freebsdbrasil.com.br, garga@FreeBSD.org
Reviewed by:	mykel@mware.ca
Approved by:	hrs (maintainer timeout)
2018-01-12 09:03:49 +00:00

31 lines
1.0 KiB
Plaintext

--- 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