summaryrefslogtreecommitdiff
path: root/net/openbgpd6/files/patch-Makefile.am
diff options
context:
space:
mode:
authorKurt Jaeger <pi@FreeBSD.org>2019-06-04 17:45:06 +0000
committerKurt Jaeger <pi@FreeBSD.org>2019-06-04 17:45:06 +0000
commitc2b35a8093a613f1b6966f295967a4801f73918a (patch)
tree2b52f2208b14548b7d4ac181ac47dfdd6ccfeba7 /net/openbgpd6/files/patch-Makefile.am
parentUpdate to 2.1.9 (diff)
New port: net/openbgpd6
OpenBGPD is a FREE implementation of the Border Gateway Protocol, Version 4. It allows ordinary machines to be used as routers exchanging routes with other systems speaking the BGP protocol. This is the portable version and it does not have the means to influence kernel routing tables. It is only suitable for route servers/collectors. WWW: http://www.openbgpd.org/ PR: 213445
Notes
Notes: svn path=/head/; revision=503486
Diffstat (limited to 'net/openbgpd6/files/patch-Makefile.am')
-rw-r--r--net/openbgpd6/files/patch-Makefile.am20
1 files changed, 20 insertions, 0 deletions
diff --git a/net/openbgpd6/files/patch-Makefile.am b/net/openbgpd6/files/patch-Makefile.am
new file mode 100644
index 000000000000..da85a8ad6103
--- /dev/null
+++ b/net/openbgpd6/files/patch-Makefile.am
@@ -0,0 +1,20 @@
+--- Makefile.am.orig 2019-05-01 11:22:14 UTC
++++ Makefile.am
+@@ -19,13 +19,14 @@
+ EXTRA_DIST = README.md VERSION bgpd.conf
+
+ install-data-hook:
+- @if [ ! -d "$(DESTDIR)$(localstatedir)/run" ]; then \
++ if [ ! -d "$(DESTDIR)$(localstatedir)/run" ]; then \
+ $(INSTALL) -m 755 -d "$(DESTDIR)$(localstatedir)/run"; \
+ 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 \
++ $(INSTALL) -m 644 "$(srcdir)/bgpd.conf" "$(DESTDIR)$(sysconfdir)/bgpd.conf.sample"; \
++ if [ ! -f "$(DESTDIR)$(sysconfdir)/bgpd.conf" ]; then \
+ $(INSTALL) -m 644 "$(srcdir)/bgpd.conf" "$(DESTDIR)$(sysconfdir)/bgpd.conf"; \
+ else \
+ echo; \