starter: Install an empty ipsec.secrets file

This commit is contained in:
Tobias Brunner
2016-10-04 10:13:32 +02:00
parent 120729f3f4
commit 9691e537cd
3 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -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) \
+2 -1
View File
@@ -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
+1
View File
@@ -0,0 +1 @@
# ipsec.secrets - strongSwan IPsec secrets file