aboutsummaryrefslogtreecommitdiffstats
path: root/src/starter
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2016-09-27 10:08:15 +0200
committerTobias Brunner <tobias@strongswan.org>2016-10-04 10:13:32 +0200
commit9691e537cd758f733007c0bb4ed397dd73e7ee06 (patch)
treee19b8d05eca977e116526708d5ba8a5a4bc92f19 /src/starter
parent120729f3f4a02c936ee012cebc1fe3af5913acdb (diff)
downloadstrongswan-9691e537cd758f733007c0bb4ed397dd73e7ee06.tar.bz2
strongswan-9691e537cd758f733007c0bb4ed397dd73e7ee06.tar.xz
starter: Install an empty ipsec.secrets file
Diffstat (limited to 'src/starter')
-rw-r--r--src/starter/Makefile.am3
-rw-r--r--src/starter/ipsec.secrets1
2 files changed, 3 insertions, 1 deletions
diff --git a/src/starter/Makefile.am b/src/starter/Makefile.am
index 70efcd854..a3c58126e 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 000000000..dae7709a1
--- /dev/null
+++ b/src/starter/ipsec.secrets
@@ -0,0 +1 @@
+# ipsec.secrets - strongSwan IPsec secrets file