lede-packages-rs

git clone git://archive.git.mtrnord.blog/MTRNord/lede-packages-rs.git
Log | Files | Refs | README | LICENSE

commit 094406cde8ceea7d976d975fd5e121cbe55309f9
parent 85597bc84d75028aaa105713536a93dd94005f26
Author: Steven Barth <steven@midlink.org>
Date:   Wed, 26 Aug 2015 09:20:02 +0200

Merge pull request #1708 from uweber/master

strongswan: dont overwrite ipsec.conf and ipsec.user during upgrade
Diffstat:
Mnet/strongswan/Makefile | 7+++----
1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/net/strongswan/Makefile b/net/strongswan/Makefile @@ -348,10 +348,12 @@ endef define Package/strongswan/install $(INSTALL_DIR) $(1)/etc - $(CP) $(PKG_INSTALL_DIR)/etc/strongswan.conf $(1)/etc/ + $(INSTALL_CONF) $(PKG_INSTALL_DIR)/etc/ipsec.conf $(1)/etc/ + $(INSTALL_CONF) $(PKG_INSTALL_DIR)/etc/strongswan.conf $(1)/etc/ $(INSTALL_DIR) $(1)/usr/lib/ipsec $(CP) $(PKG_INSTALL_DIR)/usr/lib/ipsec/{libstrongswan.so.*,libhydra.so.*} $(1)/usr/lib/ipsec/ $(INSTALL_CONF) ./files/ipsec.secrets $(1)/etc/ + $(INSTALL_CONF) ./files/ipsec.user $(1)/etc/ $(INSTALL_DIR) $(1)/etc/init.d $(INSTALL_BIN) ./files/ipsec.init $(1)/etc/init.d/ipsec endef @@ -415,8 +417,6 @@ define Plugin/stroke/install $(INSTALL_DIR) $(1)/etc/ipsec.d/private $(INSTALL_DIR) $(1)/etc/ipsec.d/reqs - $(INSTALL_CONF) $(PKG_INSTALL_DIR)/etc/ipsec.conf $(1)/etc/ - $(INSTALL_DIR) $(1)/usr/lib/ipsec/plugins $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/ipsec/{starter,stroke} $(1)/usr/lib/ipsec/ $(CP) $(PKG_INSTALL_DIR)/usr/lib/ipsec/plugins/libstrongswan-stroke.so $(1)/usr/lib/ipsec/plugins/ @@ -427,7 +427,6 @@ define Plugin/updown/install $(CP) $(PKG_INSTALL_DIR)/usr/lib/ipsec/_updown $(1)/usr/lib/ipsec/ $(CP) $(PKG_INSTALL_DIR)/usr/lib/ipsec/plugins/libstrongswan-updown.so $(1)/usr/lib/ipsec/plugins/ $(INSTALL_DIR) $(1)/etc - $(INSTALL_CONF) ./files/ipsec.user $(1)/etc/ endef define Plugin/whitelist/install