Changeset 40525


Ignore:
Timestamp:
2014-04-17T19:20:12+02:00 (4 years ago)
Author:
nbd
Message:

strongswan: add missing config files for plugins

Signed-off-by: Felix Fietkau <nbd@…>

Backport of r40524

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/packages_12.09/net/strongswan/Makefile

    r40518 r40525  
    317317  endef 
    318318 
     319  strongswan_mod_conf=$(wildcard $(PKG_INSTALL_DIR)/etc/strongswan.d/charon/$(1).conf) 
    319320  define Package/strongswan-mod-$(1)/install 
     321        $(INSTALL_DIR) $$(1)/etc/strongswan.d/charon 
     322        $(if $(call strongswan_mod_conf,$(1)), \ 
     323                $(INSTALL_DATA) \ 
     324                        $(call strongswan_mod_conf,$(1)) \ 
     325                        $$(1)/etc/strongswan.d/charon/ \ 
     326        ) 
    320327        $(INSTALL_DIR) $$(1)/usr/lib/ipsec/plugins 
    321328        $(CP) $(PKG_INSTALL_DIR)/usr/lib/ipsec/plugins/libstrongswan-$(1).so \ 
     
    323330        $(call Plugin/$(1)/install,$$(1)) 
    324331  endef 
     332 
     333  Package/strongswan-mod-$(1)/conffiles=$(patsubst $(PKG_INSTALL_DIR)%,%,$(call strongswan_mod_conf,$(1))) 
    325334 
    326335  $$(eval $$(call BuildPackage,strongswan-mod-$(1))) 
Note: See TracChangeset for help on using the changeset viewer.