SHA256
1
0
forked from jengelh/strongswan
strongswan/strongswan_no_plugin_version.patch

433 lines
16 KiB
Diff

--- 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