Skip to contentSkip to conversation

package/strongswan: Install libraries to /usr/lib

PATCH New Sam Voss 2 participants 2 messages Dec 12, 2017 – Dec 13, 2017

lore
Share & tools
lore

Sam Voss

author
#0 lore raw

PATCH v3 1/1 package/strongswan: Install libraries to /usr/lib

Install strongswan ipsec libraries into /usr/lib instead of /usr/lib/ipsec to place them in preferred library common location.

--

v2->v3
- Update description to not include RPATH issue as it could not be reproduced.
v1->v2
- Specify plugindir and imcvdir to keep default values to avoid them moving when ipseclibdir changes.

---
 package/strongswan/strongswan.mk | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
package/strongswan/strongswan.mk +4 -1
index 1070eea..9fccd99 100644
@@ -36,7 +36,10 @@ STRONGSWAN_CONF_OPTS += \
 	--enable-scepclient=$(if $(BR2_PACKAGE_STRONGSWAN_SCEP),yes,no) \
 	--enable-scripts=$(if $(BR2_PACKAGE_STRONGSWAN_SCRIPTS),yes,no) \
 	--enable-vici=$(if $(BR2_PACKAGE_STRONGSWAN_VICI),yes,no) \
-	--enable-swanctl=$(if $(BR2_PACKAGE_STRONGSWAN_VICI),yes,no)
+	--enable-swanctl=$(if $(BR2_PACKAGE_STRONGSWAN_VICI),yes,no) \
+	--with-ipseclibdir=/usr/lib \
+	--with-plugindir=/usr/lib/ipsec/plugins \
+	--with-imcvdir=/usr/lib/ipsec/imcvs
 
 ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y)
 STRONGSWAN_CONF_ENV += LIBS='-latomic'
Signature · 1 line
1.9.1
#1 lore raw

PATCH v3 1/1 package/strongswan: Install libraries to /usr/lib

Hello,

Quoted 13 lines · Sam Voss

Install strongswan ipsec libraries into /usr/lib instead of /usr/lib/ipsec to place them in preferred library common location.

--

v2->v3
- Update description to not include RPATH issue as it could not be reproduced.
v1->v2
- Specify plugindir and imcvdir to keep default values to avoid them moving when ipseclibdir changes.

Quoted 3 lines
---
 package/strongswan/strongswan.mk | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com