From: Tobias Brunner Date: Thu, 29 Jun 2017 07:32:25 +0000 (+0200) Subject: swanctl: Include config snippets from conf.d subdirectory X-Git-Tag: 5.6.0dr4~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ae48325a5973c347a907a5a0c869461e9560ad0a;p=thirdparty%2Fstrongswan.git swanctl: Include config snippets from conf.d subdirectory Fixes #2371. --- diff --git a/src/swanctl/Makefile.am b/src/swanctl/Makefile.am index 2fc998262b..19815c51ad 100644 --- a/src/swanctl/Makefile.am +++ b/src/swanctl/Makefile.am @@ -64,6 +64,7 @@ maintainer-clean-local: install-data-local: swanctl.conf test -e "$(DESTDIR)$(swanctldir)" || $(INSTALL) -d "$(DESTDIR)$(swanctldir)" || true + test -e "$(DESTDIR)$(swanctldir)/conf.d" || $(INSTALL) -d "$(DESTDIR)$(swanctldir)/conf.d" || true test -e "$(DESTDIR)$(swanctldir)/x509" || $(INSTALL) -d "$(DESTDIR)$(swanctldir)/x509" || true test -e "$(DESTDIR)$(swanctldir)/x509ca" || $(INSTALL) -d "$(DESTDIR)$(swanctldir)/x509ca" || true test -e "$(DESTDIR)$(swanctldir)/x509aa" || $(INSTALL) -d "$(DESTDIR)$(swanctldir)/x509aa" || true diff --git a/src/swanctl/swanctl.opt b/src/swanctl/swanctl.opt index a36e837df4..634271d264 100644 --- a/src/swanctl/swanctl.opt +++ b/src/swanctl/swanctl.opt @@ -1158,3 +1158,5 @@ authorities..cert_uri_base = built by appending the SHA1 hash of the DER encoded certificates to this base URI. +include conf.d/*.conf + Include config snippets