conf: Install config snippets in /usr/share/strongswan/templates/config too
This commit is contained in:
@@ -2,6 +2,10 @@
|
|||||||
strongswanconfdir = `dirname $(strongswan_conf)`
|
strongswanconfdir = `dirname $(strongswan_conf)`
|
||||||
strongswanddir = $(strongswanconfdir)/strongswan.d
|
strongswanddir = $(strongswanconfdir)/strongswan.d
|
||||||
charonconfdir = $(strongswanddir)/charon
|
charonconfdir = $(strongswanddir)/charon
|
||||||
|
# copy these files also to /usr/share
|
||||||
|
templatesdir = $(pkgdatadir)/templates/config
|
||||||
|
optionstemplatedir = $(templatesdir)/strongswan.d
|
||||||
|
pluginstemplatedir = $(templatesdir)/plugins
|
||||||
|
|
||||||
options = \
|
options = \
|
||||||
options/charon.opt \
|
options/charon.opt \
|
||||||
@@ -66,6 +70,9 @@ plugins_install_src = $(charon_plugins:%=plugins/%.conf)
|
|||||||
|
|
||||||
options_install_src = $(options:opt=conf)
|
options_install_src = $(options:opt=conf)
|
||||||
|
|
||||||
|
templates_DATA = strongswan.conf
|
||||||
|
optionstemplate_DATA = $(options_install_src)
|
||||||
|
pluginstemplate_DATA = $(plugins_install_src)
|
||||||
man_MANS = \
|
man_MANS = \
|
||||||
strongswan.conf.5
|
strongswan.conf.5
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user