From: Tobias Brunner Date: Tue, 27 Sep 2016 08:08:15 +0000 (+0200) Subject: starter: Install an empty ipsec.secrets file X-Git-Tag: 5.5.1rc1~16 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9691e537cd758f733007c0bb4ed397dd73e7ee06;p=thirdparty%2Fstrongswan.git starter: Install an empty ipsec.secrets file --- diff --git a/Makefile.am b/Makefile.am index 898b262058..64b858d5e5 100644 --- a/Makefile.am +++ b/Makefile.am @@ -21,7 +21,7 @@ nodist_config_include_HEADERS = config.h endif # we leave config files behind intentionally so prevent distcheck from complaining -distuninstallcheck_listfiles = find . -type f \! -name '*.conf' -print +distuninstallcheck_listfiles = find . -type f \! -name '*.conf' \! -name '*.secrets' -print Android.common.mk : Android.common.mk.in configure.ac $(AM_V_GEN) \ diff --git a/src/starter/Makefile.am b/src/starter/Makefile.am index 70efcd8546..a3c58126e3 100644 --- a/src/starter/Makefile.am +++ b/src/starter/Makefile.am @@ -39,7 +39,7 @@ starter_LDADD = \ libstarter.la \ $(SOCKLIB) $(PTHREADLIB) $(ATOMICLIB) -EXTRA_DIST = keywords.txt ipsec.conf Android.mk +EXTRA_DIST = keywords.txt ipsec.conf ipsec.secrets Android.mk MAINTAINERCLEANFILES = keywords.c BUILT_SOURCES = keywords.c parser/parser.h @@ -62,3 +62,4 @@ install-exec-local : test -e "$(DESTDIR)${sysconfdir}/ipsec.d/reqs" || $(INSTALL) -d "$(DESTDIR)$(sysconfdir)/ipsec.d/reqs" || true test -e "$(DESTDIR)${sysconfdir}/ipsec.d/private" || $(INSTALL) -d -m 750 "$(DESTDIR)$(sysconfdir)/ipsec.d/private" || true test -e "$(DESTDIR)$(sysconfdir)/ipsec.conf" || $(INSTALL) -m 644 $(srcdir)/ipsec.conf $(DESTDIR)$(sysconfdir)/ipsec.conf || true + test -e "$(DESTDIR)$(sysconfdir)/ipsec.secrets" || $(INSTALL) -m 600 $(srcdir)/ipsec.secrets $(DESTDIR)$(sysconfdir)/ipsec.secrets || true diff --git a/src/starter/ipsec.secrets b/src/starter/ipsec.secrets new file mode 100644 index 0000000000..dae7709a12 --- /dev/null +++ b/src/starter/ipsec.secrets @@ -0,0 +1 @@ +# ipsec.secrets - strongSwan IPsec secrets file