ports/net/openbgpd7/files/patch-Makefile.am
Kurt Jaeger f1fc9eed65 net/openbgpd7: New port
Release-Notes: https://marc.info/?l=openbgpd-users&m=165788800825316&w=2

This version re-adds FIB support for FreeBSD (missing in net/openbgpd6).
This means that this version propagades changes to the system routing tables.

This version adds TCP MD5 support on FreeBSD.

Sponsored-by: Klara Systems Inc.
2022-07-17 11:10:35 +02:00

22 lines
868 B
Text

--- Makefile.am.orig 2020-05-05 08:36:21 UTC
+++ Makefile.am
@@ -19,13 +19,16 @@ ACLOCAL_AMFLAGS = -I m4
EXTRA_DIST = README.md LICENSE VERSION bgpd.conf
install-data-hook:
- @if [ ! -d "$(DESTDIR)$(runstatedir)" ]; then \
+ if [ ! -d "$(DESTDIR)$(runstatedir)" ]; then \
$(INSTALL) -m 755 -d "$(DESTDIR)$(runstatedir)"; \
fi
- @if [ ! -d "$(DESTDIR)$(sysconfdir)" ]; then \
+ if [ ! -d "$(DESTDIR)$(sysconfdir)" ]; then \
$(INSTALL) -m 755 -d "$(DESTDIR)$(sysconfdir)"; \
fi
- @if [ ! -f "$(DESTDIR)$(sysconfdir)/bgpd.conf" ]; then \
+ if [ ! -f "$(DESTDIR)$(sysconfdir)/bgpd.conf.sample" ]; then \
+ $(INSTALL) -m 644 "$(srcdir)/bgpd.conf" "$(DESTDIR)$(sysconfdir)/bgpd.conf.sample"; \
+ fi
+ if [ ! -f "$(DESTDIR)$(sysconfdir)/bgpd.conf" ]; then \
$(INSTALL) -m 644 "$(srcdir)/bgpd.conf" "$(DESTDIR)$(sysconfdir)/bgpd.conf"; \
else \
echo; \