Project

General

Profile

Feature #113

resolve-conf option and resolve.so name mismatch

Added by Jan Willem Beusink about 10 years ago. Updated almost 10 years ago.

Status:
Closed
Priority:
Low
Assignee:
-
Category:
-
Target version:
Start date:
04.06.2010
Due date:
Estimated time:
0.15 h
Resolution:

Description

It would be beneficial for configuration scripting if the {enable/disable}-name of the options described in http://wiki.strongswan.org/projects/strongswan/wiki/Autoconf44 would match the file names it generates in the usr/lib/ipsec/plugins/libstrongswan/ directory.

For example the disable-resolve-conf option would, if not ticked, create usr/lib/ipsec/plugins/libstrongswan/libstrongswan-resolve.s0 instead of libstrongswan-resolve-conf

Thus allowing (as works for many other plugins) the following code to work for resolve-conf too:

  define Package/strongswan4-mod-$(1)/install
    $(INSTALL_DIR) $$(1)/usr/lib/ipsec/plugins
    $(CP) \
        $(PKG_INSTALL_DIR)/usr/lib/ipsec/plugins/libstrongswan-$(1).so \
        $$(1)/usr/lib/ipsec/plugins/ ;
    $(call Plugin/$(1)/install,$$(1))
  endef

$1 being "resolve-conf" in this case.

History

#1 Updated by Andreas Steffen about 10 years ago

  • Status changed from New to Resolved

Corrected option to --disable-resolve in our Wiki.

#2 Updated by Andreas Steffen almost 10 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF