SHA256
1
0
forked from pool/strongswan
OBS User unknown 2009-07-30 21:00:09 +00:00 committed by Git OBS Bridge
parent 380fc5b493
commit 704cfd98ac
9 changed files with 65 additions and 466 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d2dc584596dda758c6d3d84b292a6aa80bfb53f6178ad08aec1b59519cf9d9e9
size 2639343

View File

@ -1,9 +0,0 @@
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iQCVAwUASjtPmtYbDnNAmVNZAQIK4wQAqJnGiXmod2HenrCH9y1A/rinnVuLZ7TF
s5/yBD3GN2xSnqQELlnPqkVxjNiLbTXhQs7mcmui1Zg9c53WRN09+oriGeHWhomf
czxNDdsmbxgvR8SlRFr7cZOz0hs8FJ/wldASE6Nz54H7vUYFkxrYhk4lyN4GoolL
S4dF7hGkTkY=
=pMzJ
-----END PGP SIGNATURE-----

3
strongswan-4.3.3.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:24717a99b0af34059aad2c9ffceaaa02efedab0050278605e493cb489c5f3c73
size 2666862

View File

@ -0,0 +1,14 @@
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iQGcBAABAgAGBQJKZcjkAAoJEN9CwXCzTbp3cU8L/23gGmj7q+cRdCsAFhP5WezL
neDkMfleqM8UftEeQ9Kjf5gyKxtpqNOpU5qt9tvjX/WBvEVm+WC7L1yXEm7P8Ajh
te5ImVlXwoMUfaoZsd8DRbJC3y/h6/SBwKPzdtQkPlkNc0IKdJsy8z5r5r0qKDS5
6u4s1hHpxMUCFDB8X6VIUF9wHBRkgvAGeoBNslgk5DIUQjIBpYi2t1lvK0S8SLXZ
GyTeu5RUilvRhat1HxICQQvPaozFLHGRCfQoeV+zNFp9P5O8wzHEOIJdOntK5/s1
VLOc6vN6HGfV2VJKyHqk06Plwwe+wZ71FwaQb66cwVUUmqHz8jyAz8vB10Huibxx
ffexXYAbmR/V/AmfY024un2uAdjFcmEtyog7wrLAIesEViyFrH5v3B/XO94NLw3i
UugbKeSOKxJjtPqikNtCVW7XIxUMs+1tt23i54ti8eqTXgGiSkoOnIrl8znpqmj9
oSogAnVP7+iSBvUdfrUB06UONjSnpxHmwuH/BcH4CQ==
=pm4l
-----END PGP SIGNATURE-----

View File

@ -1,3 +1,28 @@
-------------------------------------------------------------------
Mon Jul 27 13:40:57 CEST 2009 - mt@suse.de
- Updated to strongSwan 4.3.3 release:
* The configuration option --enable-integrity-test plus the
strongswan.conf option libstrongswan.integrity_test = yes
activate integrity tests of the IKE daemons charon and pluto,
libstrongswan and all loaded plugins. Thus dynamic library
misconfigurations and non-malicious file manipulations can be
reliably detected.
* The new default setting libstrongswan.ecp_x_coordinate_only=yes
allows IKEv1 interoperability with MS Windows using the ECP DH
groups 19 and 20.
* The IKEv1 pluto daemon now supports the AES-CCM and AES-GCM ESP
authenticated encryption algorithms.
* The IKEv1 pluto daemon now supports V4 OpenPGP keys.
* The RDN parser vulnerability discovered by Orange Labs research
team was not completely fixed in version 4.3.2. Some more
modifications had to be applied to the asn1_length() function to
make it robust.
- Enabled --enable-integrity-test configure option (new feature).
- Removed patch to avoid plugin versions (accepted by upstream)
and added patch to avoid version for new libchecksum library.
- Added -Wno-pointer-sign -Wno-strict-aliasing CFLAGS in the spec.
-------------------------------------------------------------------
Wed Jun 10 11:04:44 CEST 2009 - mt@suse.de

View File

@ -1,5 +1,5 @@
#
# spec file for package strongswan (Version 4.3.2)
# spec file for package strongswan (Version 4.3.3)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@ -19,9 +19,9 @@
Name: strongswan
%define upstream_version 4.3.2
%define upstream_version 4.3.3
%define strongswan_docdir %{_docdir}/%{name}
Version: 4.3.2
Version: 4.3.3
Release: 1
License: GPL v2 or later
Group: Productivity/Networking/Security
@ -38,7 +38,7 @@ Source1: http://download.strongswan.org/strongswan-%{upstream_version}.ta
Source2: %{name}.init.in
Source3: %{name}-%{version}-rpmlintrc
Patch1: %{name}_modprobe_syslog.patch
Patch2: %{name}_no_plugin_version.patch
Patch2: %{name}_no_libchecksum_version.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: bison flex gmp-devel gperf pkg-config
BuildRequires: libcap-devel
@ -130,24 +130,19 @@ Authors:
%prep
%setup -q -n %{name}-%{upstream_version}
%patch1 -p0
# => no_plugin_version.patch creation cmd:
#
#find . -type f -name Makefile.am -exec \
# grep -l 'la_LDFLAGS.*-module' \{\} \; | \
# xargs -r sed -e "s/\(.*la_LDFLAGS.*-module.*\)/\1 -avoid-version/g" -i
#
%patch2 -p0
sed -e 's|@libexecdir@|%_libexecdir|g' \
< $RPM_SOURCE_DIR/strongswan.init.in \
> strongswan.init
%build
export RPM_OPT_FLAGS="$RPM_OPT_FLAGS -W -Wall"
export CFLAGS="$RPM_OPT_FLAGS"
CFLAGS="$RPM_OPT_FLAGS -W -Wall -Wno-pointer-sign -Wno-strict-aliasing"
export RPM_OPT_FLAGS CFLAGS
libtoolize --force
%{?suse_update_config:%{suse_update_config -f}}
autoreconf
%configure \
--enable-integrity-test \
--with-capabilities=libcap \
--with-resolv-conf=%{_localstatedir}/run/strongswan/resolv.conf \
--enable-smartcard \
@ -180,18 +175,17 @@ cat << EOT > ${RPM_BUILD_ROOT}%{_sysconfdir}/ipsec.secrets
EOT
#
rm -f $RPM_BUILD_ROOT%{_libdir}/libstrongswan.{so,a,la}
find $RPM_BUILD_ROOT%{_libdir}/ipsec \
find $RPM_BUILD_ROOT%{_libexecdir}/ipsec \
-name "*.a" -o -name "*.la" | xargs -r rm -f
#
install -m755 -d ${RPM_BUILD_ROOT}%{strongswan_docdir}/
install -m644 TODO NEWS README COPYING CREDITS \
${RPM_BUILD_ROOT}%{strongswan_docdir}/
install -m755 -d $RPM_BUILD_ROOT%{_localstatedir}/run/strongswan
%clean
if [ -n "$RPM_BUILD_ROOT" ] && [ "$RPM_BUILD_ROOT" != "/" ] ; then
rm -rf "$RPM_BUILD_ROOT"
fi
#%clean
#if [ -n "$RPM_BUILD_ROOT" ] && [ "$RPM_BUILD_ROOT" != "/" ] ; then
# rm -rf "$RPM_BUILD_ROOT"
#fi
%post
%{run_ldconfig}
@ -227,11 +221,8 @@ fi
%config %{_sysconfdir}/init.d/ipsec
%{_sbindir}/rcipsec
%{_sbindir}/ipsec
%{_libdir}/ipsec
%{_libdir}/libstrongswan.*
%if "%{_libdir}" != "%{_libexecdir}"
%{_libexecdir}/ipsec
%endif
%{_libdir}/libstrongswan.*
%{_mandir}/man5/ipsec.conf.5*
%{_mandir}/man5/ipsec.secrets.5*
%{_mandir}/man8/ipsec.8*

View File

@ -0,0 +1,10 @@
--- src/checksum/Makefile.am
+++ src/checksum/Makefile.am 2009/07/27 12:30:23
@@ -2,6 +2,7 @@ ipsec_LTLIBRARIES = libchecksum.la
noinst_PROGRAMS = checksum_builder
nodist_libchecksum_la_SOURCES = checksum.c
+libchecksum_la_LDFLAGS = -module -avoid-version
checksum_builder_SOURCES = checksum_builder.c
checksum_builder_LDADD = $(top_builddir)/src/libstrongswan/libstrongswan.la

View File

@ -1,432 +0,0 @@
--- src/charon/plugins/attr/Makefile.am
+++ src/charon/plugins/attr/Makefile.am
@@ -6,4 +6,4 @@
plugin_LTLIBRARIES = libstrongswan-attr.la
libstrongswan_attr_la_SOURCES = attr_plugin.h attr_plugin.c \
attr_provider.h attr_provider.c
-libstrongswan_attr_la_LDFLAGS = -module
+libstrongswan_attr_la_LDFLAGS = -module -avoid-version
--- src/charon/plugins/eap_aka/Makefile.am
+++ src/charon/plugins/eap_aka/Makefile.am
@@ -6,6 +6,6 @@
plugin_LTLIBRARIES = libstrongswan-eapaka.la
libstrongswan_eapaka_la_SOURCES = eap_aka_plugin.h eap_aka_plugin.c eap_aka.h eap_aka.c
-libstrongswan_eapaka_la_LDFLAGS = -module
+libstrongswan_eapaka_la_LDFLAGS = -module -avoid-version
libstrongswan_eapaka_la_LIBADD = -lgmp
--- src/charon/plugins/eap_gtc/Makefile.am
+++ src/charon/plugins/eap_gtc/Makefile.am
@@ -6,5 +6,5 @@
plugin_LTLIBRARIES = libstrongswan-eapgtc.la
libstrongswan_eapgtc_la_SOURCES = eap_gtc_plugin.h eap_gtc_plugin.c eap_gtc.h eap_gtc.c
-libstrongswan_eapgtc_la_LDFLAGS = -module -lpam
+libstrongswan_eapgtc_la_LDFLAGS = -module -lpam -avoid-version
--- src/charon/plugins/eap_identity/Makefile.am
+++ src/charon/plugins/eap_identity/Makefile.am
@@ -6,5 +6,5 @@
plugin_LTLIBRARIES = libstrongswan-eapidentity.la
libstrongswan_eapidentity_la_SOURCES = \
eap_identity_plugin.h eap_identity_plugin.c eap_identity.h eap_identity.c
-libstrongswan_eapidentity_la_LDFLAGS = -module
+libstrongswan_eapidentity_la_LDFLAGS = -module -avoid-version
--- src/charon/plugins/eap_md5/Makefile.am
+++ src/charon/plugins/eap_md5/Makefile.am
@@ -6,5 +6,5 @@
plugin_LTLIBRARIES = libstrongswan-eapmd5.la
libstrongswan_eapmd5_la_SOURCES = eap_md5_plugin.h eap_md5_plugin.c eap_md5.h eap_md5.c
-libstrongswan_eapmd5_la_LDFLAGS = -module
+libstrongswan_eapmd5_la_LDFLAGS = -module -avoid-version
--- src/charon/plugins/eap_mschapv2/Makefile.am
+++ src/charon/plugins/eap_mschapv2/Makefile.am
@@ -8,5 +8,5 @@
libstrongswan_eapmschapv2_la_SOURCES = \
eap_mschapv2_plugin.h eap_mschapv2_plugin.c \
eap_mschapv2.h eap_mschapv2.c
-libstrongswan_eapmschapv2_la_LDFLAGS = -module
+libstrongswan_eapmschapv2_la_LDFLAGS = -module -avoid-version
--- src/charon/plugins/eap_radius/Makefile.am
+++ src/charon/plugins/eap_radius/Makefile.am
@@ -10,5 +10,5 @@
eap_radius.h eap_radius.c \
radius_client.h radius_client.c \
radius_message.h radius_message.c
-libstrongswan_eapradius_la_LDFLAGS = -module
+libstrongswan_eapradius_la_LDFLAGS = -module -avoid-version
--- src/charon/plugins/eap_sim/Makefile.am
+++ src/charon/plugins/eap_sim/Makefile.am
@@ -7,5 +7,5 @@
libstrongswan_eapsim_la_SOURCES = eap_sim.h eap_sim.c \
eap_sim_plugin.h eap_sim_plugin.c
-libstrongswan_eapsim_la_LDFLAGS = -module
+libstrongswan_eapsim_la_LDFLAGS = -module -avoid-version
--- src/charon/plugins/eap_sim_file/Makefile.am
+++ src/charon/plugins/eap_sim_file/Makefile.am
@@ -10,5 +10,5 @@
eap_sim_file_card.h eap_sim_file_card.c \
eap_sim_file_provider.h eap_sim_file_provider.c \
eap_sim_file_triplets.h eap_sim_file_triplets.c
-libstrongswan_eapsim_file_la_LDFLAGS = -module
+libstrongswan_eapsim_file_la_LDFLAGS = -module -avoid-version
--- src/charon/plugins/kernel_klips/Makefile.am
+++ src/charon/plugins/kernel_klips/Makefile.am
@@ -7,4 +7,4 @@
libstrongswan_kernel_klips_la_SOURCES = kernel_klips_plugin.h kernel_klips_plugin.c \
kernel_klips_ipsec.h kernel_klips_ipsec.c pfkeyv2.h
-libstrongswan_kernel_klips_la_LDFLAGS = -module
+libstrongswan_kernel_klips_la_LDFLAGS = -module -avoid-version
--- src/charon/plugins/kernel_netlink/Makefile.am
+++ src/charon/plugins/kernel_netlink/Makefile.am
@@ -8,4 +8,4 @@
libstrongswan_kernel_netlink_la_SOURCES = kernel_netlink_plugin.h kernel_netlink_plugin.c \
kernel_netlink_ipsec.h kernel_netlink_ipsec.c kernel_netlink_net.h kernel_netlink_net.c \
kernel_netlink_shared.h kernel_netlink_shared.c
-libstrongswan_kernel_netlink_la_LDFLAGS = -module
+libstrongswan_kernel_netlink_la_LDFLAGS = -module -avoid-version
--- src/charon/plugins/kernel_pfkey/Makefile.am
+++ src/charon/plugins/kernel_pfkey/Makefile.am
@@ -7,4 +7,4 @@
libstrongswan_kernel_pfkey_la_SOURCES = kernel_pfkey_plugin.h kernel_pfkey_plugin.c \
kernel_pfkey_ipsec.h kernel_pfkey_ipsec.c
-libstrongswan_kernel_pfkey_la_LDFLAGS = -module
+libstrongswan_kernel_pfkey_la_LDFLAGS = -module -avoid-version
--- src/charon/plugins/kernel_pfroute/Makefile.am
+++ src/charon/plugins/kernel_pfroute/Makefile.am
@@ -7,4 +7,4 @@
libstrongswan_kernel_pfroute_la_SOURCES = kernel_pfroute_plugin.h kernel_pfroute_plugin.c \
kernel_pfroute_net.h kernel_pfroute_net.c
-libstrongswan_kernel_pfroute_la_LDFLAGS = -module
+libstrongswan_kernel_pfroute_la_LDFLAGS = -module -avoid-version
--- src/charon/plugins/load_tester/Makefile.am
+++ src/charon/plugins/load_tester/Makefile.am
@@ -13,5 +13,5 @@
load_tester_listener.c load_tester_listener.h \
load_tester_diffie_hellman.c load_tester_diffie_hellman.h
-libstrongswan_load_tester_la_LDFLAGS = -module
+libstrongswan_load_tester_la_LDFLAGS = -module -avoid-version
--- src/charon/plugins/medcli/Makefile.am
+++ src/charon/plugins/medcli/Makefile.am
@@ -8,5 +8,5 @@
medcli_creds.h medcli_creds.c \
medcli_config.h medcli_config.c \
medcli_listener.h medcli_listener.c
-libstrongswan_medcli_la_LDFLAGS = -module
+libstrongswan_medcli_la_LDFLAGS = -module -avoid-version
--- src/charon/plugins/medsrv/Makefile.am
+++ src/charon/plugins/medsrv/Makefile.am
@@ -7,5 +7,5 @@
libstrongswan_medsrv_la_SOURCES = medsrv_plugin.h medsrv_plugin.c \
medsrv_creds.h medsrv_creds.c \
medsrv_config.h medsrv_config.c
-libstrongswan_medsrv_la_LDFLAGS = -module
+libstrongswan_medsrv_la_LDFLAGS = -module -avoid-version
--- src/charon/plugins/nm/Makefile.am
+++ src/charon/plugins/nm/Makefile.am
@@ -9,5 +9,5 @@
nm_service.h nm_service.c \
nm_creds.h nm_creds.c \
nm_handler.h nm_handler.c
-libstrongswan_nm_la_LDFLAGS = -module
+libstrongswan_nm_la_LDFLAGS = -module -avoid-version
libstrongswan_nm_la_LIBADD = ${nm_LIBS}
--- src/charon/plugins/resolv_conf/Makefile.am
+++ src/charon/plugins/resolv_conf/Makefile.am
@@ -8,6 +8,6 @@
libstrongswan_resolv_conf_la_SOURCES = \
resolv_conf_plugin.h resolv_conf_plugin.c \
resolv_conf_handler.h resolv_conf_handler.c
-libstrongswan_resolv_conf_la_LDFLAGS = -module
+libstrongswan_resolv_conf_la_LDFLAGS = -module -avoid-version
--- src/charon/plugins/smp/Makefile.am
+++ src/charon/plugins/smp/Makefile.am
@@ -5,6 +5,6 @@
plugin_LTLIBRARIES = libstrongswan-smp.la
libstrongswan_smp_la_SOURCES = smp.h smp.c
-libstrongswan_smp_la_LDFLAGS = -module
+libstrongswan_smp_la_LDFLAGS = -module -avoid-version
libstrongswan_smp_la_LIBADD = ${xml_LIBS}
--- src/charon/plugins/sql/Makefile.am
+++ src/charon/plugins/sql/Makefile.am
@@ -10,7 +10,7 @@
libstrongswan_sql_la_SOURCES = sql_plugin.h sql_plugin.c \
sql_config.h sql_config.c sql_cred.h sql_cred.c \
sql_attribute.h sql_attribute.c sql_logger.h sql_logger.c
-libstrongswan_sql_la_LDFLAGS = -module
+libstrongswan_sql_la_LDFLAGS = -module -avoid-version
ipsec_PROGRAMS = pool
pool_SOURCES = pool.c
--- src/charon/plugins/stroke/Makefile.am
+++ src/charon/plugins/stroke/Makefile.am
@@ -18,5 +18,5 @@
stroke_list.h stroke_list.c \
stroke_shared_key.h stroke_shared_key.c
-libstrongswan_stroke_la_LDFLAGS = -module
+libstrongswan_stroke_la_LDFLAGS = -module -avoid-version
--- src/charon/plugins/uci/Makefile.am
+++ src/charon/plugins/uci/Makefile.am
@@ -8,7 +8,7 @@
uci_plugin.h uci_plugin.c uci_parser.h uci_parser.c \
uci_config.h uci_config.c uci_creds.h uci_creds.c \
uci_control.h uci_control.c
-libstrongswan_uci_la_LDFLAGS = -module
+libstrongswan_uci_la_LDFLAGS = -module -avoid-version
libstrongswan_uci_la_LIBADD = -luci
--- src/charon/plugins/unit_tester/Makefile.am
+++ src/charon/plugins/unit_tester/Makefile.am
@@ -20,5 +20,5 @@
tests/test_agent.c \
tests/test_id.c
-libstrongswan_unit_tester_la_LDFLAGS = -module
+libstrongswan_unit_tester_la_LDFLAGS = -module -avoid-version
--- src/charon/plugins/updown/Makefile.am
+++ src/charon/plugins/updown/Makefile.am
@@ -7,6 +7,6 @@
libstrongswan_updown_la_SOURCES = \
updown_plugin.h updown_plugin.c \
updown_listener.h updown_listener.c
-libstrongswan_updown_la_LDFLAGS = -module
+libstrongswan_updown_la_LDFLAGS = -module -avoid-version
--- src/libstrongswan/plugins/aes/Makefile.am
+++ src/libstrongswan/plugins/aes/Makefile.am
@@ -6,5 +6,5 @@
plugin_LTLIBRARIES = libstrongswan-aes.la
libstrongswan_aes_la_SOURCES = aes_plugin.h aes_plugin.c aes_crypter.c aes_crypter.h
-libstrongswan_aes_la_LDFLAGS = -module
+libstrongswan_aes_la_LDFLAGS = -module -avoid-version
--- src/libstrongswan/plugins/agent/Makefile.am
+++ src/libstrongswan/plugins/agent/Makefile.am
@@ -8,5 +8,5 @@
libstrongswan_agent_la_SOURCES = agent_plugin.h agent_plugin.c \
agent_private_key.c agent_private_key.h
-libstrongswan_agent_la_LDFLAGS = -module
+libstrongswan_agent_la_LDFLAGS = -module -avoid-version
--- src/libstrongswan/plugins/blowfish/Makefile.am
+++ src/libstrongswan/plugins/blowfish/Makefile.am
@@ -8,5 +8,5 @@
libstrongswan_blowfish_la_SOURCES = \
blowfish_plugin.h blowfish_plugin.c blowfish_crypter.c blowfish_crypter.h \
bf_skey.c blowfish.h bf_pi.h bf_locl.h bf_enc.c
-libstrongswan_blowfish_la_LDFLAGS = -module
+libstrongswan_blowfish_la_LDFLAGS = -module -avoid-version
--- src/libstrongswan/plugins/curl/Makefile.am
+++ src/libstrongswan/plugins/curl/Makefile.am
@@ -6,6 +6,6 @@
plugin_LTLIBRARIES = libstrongswan-curl.la
libstrongswan_curl_la_SOURCES = curl_plugin.h curl_plugin.c curl_fetcher.c curl_fetcher.h
-libstrongswan_curl_la_LDFLAGS = -module
+libstrongswan_curl_la_LDFLAGS = -module -avoid-version
libstrongswan_curl_la_LIBADD = -lcurl
--- src/libstrongswan/plugins/des/Makefile.am
+++ src/libstrongswan/plugins/des/Makefile.am
@@ -6,5 +6,5 @@
plugin_LTLIBRARIES = libstrongswan-des.la
libstrongswan_des_la_SOURCES = des_plugin.h des_plugin.c des_crypter.c des_crypter.h
-libstrongswan_des_la_LDFLAGS = -module
+libstrongswan_des_la_LDFLAGS = -module -avoid-version
--- src/libstrongswan/plugins/fips_prf/Makefile.am
+++ src/libstrongswan/plugins/fips_prf/Makefile.am
@@ -6,5 +6,5 @@
plugin_LTLIBRARIES = libstrongswan-fips-prf.la
libstrongswan_fips_prf_la_SOURCES = fips_prf_plugin.h fips_prf_plugin.c fips_prf.c fips_prf.h
-libstrongswan_fips_prf_la_LDFLAGS = -module
+libstrongswan_fips_prf_la_LDFLAGS = -module -avoid-version
--- src/libstrongswan/plugins/gcrypt/Makefile.am
+++ src/libstrongswan/plugins/gcrypt/Makefile.am
@@ -13,5 +13,5 @@
gcrypt_crypter.h gcrypt_crypter.c \
gcrypt_hasher.h gcrypt_hasher.c
-libstrongswan_gcrypt_la_LDFLAGS = -module
+libstrongswan_gcrypt_la_LDFLAGS = -module -avoid-version
libstrongswan_gcrypt_la_LIBADD = $(LIBGCRYPT_LIBS)
--- src/libstrongswan/plugins/gmp/Makefile.am
+++ src/libstrongswan/plugins/gmp/Makefile.am
@@ -10,6 +10,6 @@
gmp_rsa_private_key.c gmp_rsa_private_key.h \
gmp_rsa_public_key.c gmp_rsa_public_key.h
-libstrongswan_gmp_la_LDFLAGS = -module
+libstrongswan_gmp_la_LDFLAGS = -module -avoid-version
libstrongswan_gmp_la_LIBADD = -lgmp
--- src/libstrongswan/plugins/hmac/Makefile.am
+++ src/libstrongswan/plugins/hmac/Makefile.am
@@ -7,5 +7,5 @@
libstrongswan_hmac_la_SOURCES = hmac_plugin.h hmac_plugin.c hmac.h hmac.c \
hmac_prf.h hmac_prf.c hmac_signer.h hmac_signer.c
-libstrongswan_hmac_la_LDFLAGS = -module
+libstrongswan_hmac_la_LDFLAGS = -module -avoid-version
--- src/libstrongswan/plugins/ldap/Makefile.am
+++ src/libstrongswan/plugins/ldap/Makefile.am
@@ -6,6 +6,6 @@
plugin_LTLIBRARIES = libstrongswan-ldap.la
libstrongswan_ldap_la_SOURCES = ldap_plugin.h ldap_plugin.c ldap_fetcher.h ldap_fetcher.c
-libstrongswan_ldap_la_LDFLAGS = -module
+libstrongswan_ldap_la_LDFLAGS = -module -avoid-version
libstrongswan_ldap_la_LIBADD = -lldap -llber
--- src/libstrongswan/plugins/md4/Makefile.am
+++ src/libstrongswan/plugins/md4/Makefile.am
@@ -6,5 +6,5 @@
plugin_LTLIBRARIES = libstrongswan-md4.la
libstrongswan_md4_la_SOURCES = md4_plugin.h md4_plugin.c md4_hasher.c md4_hasher.h
-libstrongswan_md4_la_LDFLAGS = -module
+libstrongswan_md4_la_LDFLAGS = -module -avoid-version
--- src/libstrongswan/plugins/md5/Makefile.am
+++ src/libstrongswan/plugins/md5/Makefile.am
@@ -6,5 +6,5 @@
plugin_LTLIBRARIES = libstrongswan-md5.la
libstrongswan_md5_la_SOURCES = md5_plugin.h md5_plugin.c md5_hasher.c md5_hasher.h
-libstrongswan_md5_la_LDFLAGS = -module
+libstrongswan_md5_la_LDFLAGS = -module -avoid-version
--- src/libstrongswan/plugins/mysql/Makefile.am
+++ src/libstrongswan/plugins/mysql/Makefile.am
@@ -7,6 +7,6 @@
libstrongswan_mysql_la_SOURCES = mysql_plugin.h mysql_plugin.c \
mysql_database.h mysql_database.c
-libstrongswan_mysql_la_LDFLAGS = -module
+libstrongswan_mysql_la_LDFLAGS = -module -avoid-version
libstrongswan_mysql_la_LIBADD = -lmysqlclient_r
--- src/libstrongswan/plugins/openssl/Makefile.am
+++ src/libstrongswan/plugins/openssl/Makefile.am
@@ -16,6 +16,6 @@
openssl_ec_private_key.c openssl_ec_private_key.h \
openssl_ec_public_key.c openssl_ec_public_key.h
-libstrongswan_openssl_la_LDFLAGS = -module
+libstrongswan_openssl_la_LDFLAGS = -module -avoid-version
libstrongswan_openssl_la_LIBADD = -lcrypto
--- src/libstrongswan/plugins/padlock/Makefile.am
+++ src/libstrongswan/plugins/padlock/Makefile.am
@@ -9,5 +9,5 @@
padlock_aes_crypter.c padlock_aes_crypter.h \
padlock_sha1_hasher.c padlock_sha1_hasher.h \
padlock_rng.c padlock_rng.h
-libstrongswan_padlock_la_LDFLAGS = -module
+libstrongswan_padlock_la_LDFLAGS = -module -avoid-version
--- src/libstrongswan/plugins/pubkey/Makefile.am
+++ src/libstrongswan/plugins/pubkey/Makefile.am
@@ -9,5 +9,5 @@
pubkey_cert.h pubkey_cert.c\
pubkey_public_key.h pubkey_public_key.c
-libstrongswan_pubkey_la_LDFLAGS = -module
+libstrongswan_pubkey_la_LDFLAGS = -module -avoid-version
--- src/libstrongswan/plugins/random/Makefile.am
+++ src/libstrongswan/plugins/random/Makefile.am
@@ -7,5 +7,5 @@
libstrongswan_random_la_SOURCES = random_plugin.h random_plugin.c \
random_rng.c random_rng.h
-libstrongswan_random_la_LDFLAGS = -module
+libstrongswan_random_la_LDFLAGS = -module -avoid-version
--- src/libstrongswan/plugins/sha1/Makefile.am
+++ src/libstrongswan/plugins/sha1/Makefile.am
@@ -7,5 +7,5 @@
libstrongswan_sha1_la_SOURCES = sha1_plugin.h sha1_plugin.c \
sha1_hasher.c sha1_hasher.h sha1_prf.c sha1_prf.h
-libstrongswan_sha1_la_LDFLAGS = -module
+libstrongswan_sha1_la_LDFLAGS = -module -avoid-version
--- src/libstrongswan/plugins/sha2/Makefile.am
+++ src/libstrongswan/plugins/sha2/Makefile.am
@@ -6,5 +6,5 @@
plugin_LTLIBRARIES = libstrongswan-sha2.la
libstrongswan_sha2_la_SOURCES = sha2_plugin.h sha2_plugin.c sha2_hasher.c sha2_hasher.h
-libstrongswan_sha2_la_LDFLAGS = -module
+libstrongswan_sha2_la_LDFLAGS = -module -avoid-version
--- src/libstrongswan/plugins/sqlite/Makefile.am
+++ src/libstrongswan/plugins/sqlite/Makefile.am
@@ -7,6 +7,6 @@
libstrongswan_sqlite_la_SOURCES = sqlite_plugin.h sqlite_plugin.c \
sqlite_database.h sqlite_database.c
-libstrongswan_sqlite_la_LDFLAGS = -module
+libstrongswan_sqlite_la_LDFLAGS = -module -avoid-version
libstrongswan_sqlite_la_LIBADD = -lsqlite3
--- src/libstrongswan/plugins/test_vectors/Makefile.am
+++ src/libstrongswan/plugins/test_vectors/Makefile.am
@@ -29,5 +29,5 @@
test_vectors/sha2_hmac.c \
test_vectors/fips_prf.c \
test_vectors/rng.c
-libstrongswan_test_vectors_la_LDFLAGS = -module
+libstrongswan_test_vectors_la_LDFLAGS = -module -avoid-version
--- src/libstrongswan/plugins/x509/Makefile.am
+++ src/libstrongswan/plugins/x509/Makefile.am
@@ -12,5 +12,5 @@
x509_ocsp_request.h x509_ocsp_request.c \
x509_ocsp_response.h x509_ocsp_response.c \
ietf_attr_list.h ietf_attr_list.c
-libstrongswan_x509_la_LDFLAGS = -module
+libstrongswan_x509_la_LDFLAGS = -module -avoid-version
--- src/libstrongswan/plugins/xcbc/Makefile.am
+++ src/libstrongswan/plugins/xcbc/Makefile.am
@@ -7,5 +7,5 @@
libstrongswan_xcbc_la_SOURCES = xcbc_plugin.h xcbc_plugin.c xcbc.h xcbc.c \
xcbc_prf.h xcbc_prf.c xcbc_signer.h xcbc_signer.c
-libstrongswan_xcbc_la_LDFLAGS = -module
+libstrongswan_xcbc_la_LDFLAGS = -module -avoid-version