Accepting request 452424 from devel:libraries:c_c++

- Update to new upstream release 2.8.42

OBS-URL: https://build.opensuse.org/request/show/452424
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gsoap?expand=0&rev=26
This commit is contained in:
Dominique Leuenberger 2017-01-28 10:03:51 +00:00 committed by Git OBS Bridge
commit f23a3ce62c
8 changed files with 148 additions and 205 deletions

View File

@ -4,16 +4,24 @@ Date: 2011-07-01 17:19:00 +0200
build: always use shared libraries
---
configure.ac | 10 +++++-----
gsoap/Makefile.am | 34 +++++++++++++++++++++-------------
gsoap/samples/autotest/Makefile.am | 2 +-
gsoap/samples/databinding/Makefile.am | 2 +-
4 files changed, 28 insertions(+), 20 deletions(-)
configure.ac | 10 ++++----
gsoap/Makefile.am | 38 ++++++++++++++++++++++------------
gsoap/gsoap++.sym | 1
gsoap/gsoap.sym | 1
gsoap/gsoapck++.sym | 1
gsoap/gsoapck.sym | 1
gsoap/gsoapckssl++.sym | 1
gsoap/gsoapckssl.sym | 1
gsoap/gsoapssl++.sym | 1
gsoap/gsoapssl.sym | 1
gsoap/samples/autotest/Makefile.am | 2 -
gsoap/samples/databinding/Makefile.am | 2 -
12 files changed, 40 insertions(+), 20 deletions(-)
Index: gsoap-2.8.36/configure.ac
Index: gsoap-2.8.42/configure.ac
===================================================================
--- gsoap-2.8.36.orig/configure.ac
+++ gsoap-2.8.36/configure.ac
--- gsoap-2.8.42.orig/configure.ac
+++ gsoap-2.8.42/configure.ac
@@ -15,8 +15,8 @@ AM_PROG_CC_C_O
AM_PROG_LEX
AC_PROG_YACC
@ -52,11 +60,11 @@ Index: gsoap-2.8.36/configure.ac
fi
AC_SUBST(WSDL2H_EXTRA_FLAGS)
AC_SUBST(WSDL2H_EXTRA_LIBS)
Index: gsoap-2.8.36/gsoap/Makefile.am
Index: gsoap-2.8.42/gsoap/Makefile.am
===================================================================
--- gsoap-2.8.36.orig/gsoap/Makefile.am
+++ gsoap-2.8.36/gsoap/Makefile.am
@@ -34,20 +34,28 @@ stdsoap2_ssl_cpp.cpp: stdsoap2.cpp
--- gsoap-2.8.42.orig/gsoap/Makefile.am
+++ gsoap-2.8.42/gsoap/Makefile.am
@@ -34,20 +34,32 @@ stdsoap2_ssl_cpp.cpp: stdsoap2.cpp
dom_cpp.cpp: dom.cpp
$(LN_S) -f $(srcdir)/dom.cpp dom_cpp.cpp
@ -77,31 +85,83 @@ Index: gsoap-2.8.36/gsoap/Makefile.am
-libgsoapssl___a_CXXFLAGS = $(SOAPCPP2_DEBUG) $(SOAPCPP2_NONAMESPACES) $(SOAPCPP2_IPV6) -D$(platform) $(WSDL2H_EXTRA_FLAGS) -DWITH_DOM -DWITH_COOKIES
+libgsoap_la_SOURCES = stdsoap2.c dom.c
+libgsoap_la_CFLAGS = $(SOAPCPP2_DEBUG) $(SOAPCPP2_NONAMESPACES) $(SOAPCPP2_IPV6) -D$(platform)
+libgsoap_la_LDFLAGS = -release ${PACKAGE_VERSION} -Wl,--version-script=gsoap.sym
+EXTRA_libgsoap_la_DEPENDENCIES = gsoap.sym
+libgsoap___la_SOURCES = stdsoap2_cpp.cpp dom_cpp.cpp
+libgsoap___la_CXXFLAGS = $(SOAPCPP2_DEBUG) $(SOAPCPP2_NONAMESPACES) $(SOAPCPP2_IPV6) -D$(platform)
+libgsoap___la_LDFLAGS = -release ${PACKAGE_VERSION} -Wl,--version-script=gsoap++.sym
+EXTRA_libgsoap___la_DEPENDENCIES = gsoap++.sym
+libgsoapck_la_SOURCES = stdsoap2_ck.c dom.c
+libgsoapck_la_CFLAGS = $(SOAPCPP2_DEBUG) $(SOAPCPP2_NONAMESPACES) $(SOAPCPP2_IPV6) -D$(platform) -DWITH_COOKIES
+libgsoapck_la_LDFLAGS = -release ${PACKAGE_VERSION} -Wl,--version-script=gsoapck.sym
+EXTRA_libgsoapck_la_DEPENDENCIES = gsoapck.sym
+libgsoapck___la_SOURCES = stdsoap2_ck_cpp.cpp dom_cpp.cpp
+libgsoapck___la_CXXFLAGS = $(SOAPCPP2_DEBUG) $(SOAPCPP2_NONAMESPACES) $(SOAPCPP2_IPV6) -D$(platform) -DWITH_COOKIES
+libgsoapck___la_LDFLAGS = -release ${PACKAGE_VERSION} -Wl,--version-script=gsoapck++.sym
+EXTRA_libgsoapck___la_DEPENDENCIES = gsoapck++.sym
+libgsoapssl_la_SOURCES = stdsoap2_ssl.c dom.c
+libgsoapssl_la_CFLAGS = $(SOAPCPP2_DEBUG) $(SOAPCPP2_NONAMESPACES) $(SOAPCPP2_IPV6) -D$(platform) $(WSDL2H_EXTRA_FLAGS) -DWITH_DOM -DWITH_COOKIES
+libgsoapssl_la_LDFLAGS = -release ${PACKAGE_VERSION} -Wl,--version-script=gsoapssl.sym
+EXTRA_libgsoapssl_la_DEPENDENCIES = gsoapssl.sym
+libgsoapssl___la_SOURCES = stdsoap2_ssl_cpp.cpp dom_cpp.cpp
+libgsoapssl___la_CXXFLAGS = $(SOAPCPP2_DEBUG) $(SOAPCPP2_NONAMESPACES) $(SOAPCPP2_IPV6) -D$(platform) $(WSDL2H_EXTRA_FLAGS) -DWITH_DOM -DWITH_COOKIES
+libgsoap_la_LDFLAGS = -release ${PACKAGE_VERSION}
+libgsoap___la_LDFLAGS = ${libgsoap_la_LDFLAGS}
+libgsoapck_la_LDFLAGS = ${libgsoap_la_LDFLAGS}
+libgsoapck___la_LDFLAGS = ${libgsoap_la_LDFLAGS}
+libgsoapssl_la_LDFLAGS = ${libgsoap_la_LDFLAGS}
+libgsoapssl_la_LIBADD = ${SAMPLE_SSL_LIBS}
+libgsoapssl___la_LDFLAGS = ${libgsoap_la_LDFLAGS}
+libgsoapssl___la_LIBADD = ${SAMPLE_SSL_LIBS}
+libgsoapssl___la_LDFLAGS = -release ${PACKAGE_VERSION} -Wl,--version-script=gsoapssl++.sym
+EXTRA_libgsoapssl___la_DEPENDENCIES = gsoapssl++.sym
BUILT_SOURCES = stdsoap2_cpp.cpp dom_cpp.cpp stdsoap2_ck.c stdsoap2_ck_cpp.cpp stdsoap2_ssl.c stdsoap2_ssl_cpp.cpp
Index: gsoap-2.8.36/gsoap/samples/autotest/Makefile.am
Index: gsoap-2.8.42/gsoap/gsoap++.sym
===================================================================
--- gsoap-2.8.36.orig/gsoap/samples/autotest/Makefile.am
+++ gsoap-2.8.36/gsoap/samples/autotest/Makefile.am
--- /dev/null
+++ gsoap-2.8.42/gsoap/gsoap++.sym
@@ -0,0 +1 @@
+GSOAPXX { global: *; };
Index: gsoap-2.8.42/gsoap/gsoap.sym
===================================================================
--- /dev/null
+++ gsoap-2.8.42/gsoap/gsoap.sym
@@ -0,0 +1 @@
+GSOAP { global: *; };
Index: gsoap-2.8.42/gsoap/gsoapck++.sym
===================================================================
--- /dev/null
+++ gsoap-2.8.42/gsoap/gsoapck++.sym
@@ -0,0 +1 @@
+GSOAPCKXX { global: *; };
Index: gsoap-2.8.42/gsoap/gsoapck.sym
===================================================================
--- /dev/null
+++ gsoap-2.8.42/gsoap/gsoapck.sym
@@ -0,0 +1 @@
+GSOAPCK { global: *; };
Index: gsoap-2.8.42/gsoap/gsoapckssl++.sym
===================================================================
--- /dev/null
+++ gsoap-2.8.42/gsoap/gsoapckssl++.sym
@@ -0,0 +1 @@
+GSOAPCKSSLXX { global: *; };
Index: gsoap-2.8.42/gsoap/gsoapckssl.sym
===================================================================
--- /dev/null
+++ gsoap-2.8.42/gsoap/gsoapckssl.sym
@@ -0,0 +1 @@
+GSOAPCKSSL { global: *; };
Index: gsoap-2.8.42/gsoap/gsoapssl++.sym
===================================================================
--- /dev/null
+++ gsoap-2.8.42/gsoap/gsoapssl++.sym
@@ -0,0 +1 @@
+GSOAPSSLXX { global: *; };
Index: gsoap-2.8.42/gsoap/gsoapssl.sym
===================================================================
--- /dev/null
+++ gsoap-2.8.42/gsoap/gsoapssl.sym
@@ -0,0 +1 @@
+GSOAPSSL { global: *; };
Index: gsoap-2.8.42/gsoap/samples/autotest/Makefile.am
===================================================================
--- gsoap-2.8.42.orig/gsoap/samples/autotest/Makefile.am
+++ gsoap-2.8.42/gsoap/samples/autotest/Makefile.am
@@ -14,7 +14,7 @@ SOAP_FLAGS=-SL -T -I$(top_srcdir)/gsoap/
WSDLINPUT=$(srcdir)/examples.wsdl
SOAPHEADER=$(srcdir)/examples.h
@ -111,10 +171,10 @@ Index: gsoap-2.8.36/gsoap/samples/autotest/Makefile.am
$(SOAP_CPP_SRC) : $(WSDLINPUT)
$(WSDL) $(WSDL_FLAGS) $(WSDLINPUT)
Index: gsoap-2.8.36/gsoap/samples/databinding/Makefile.am
Index: gsoap-2.8.42/gsoap/samples/databinding/Makefile.am
===================================================================
--- gsoap-2.8.36.orig/gsoap/samples/databinding/Makefile.am
+++ gsoap-2.8.36/gsoap/samples/databinding/Makefile.am
--- gsoap-2.8.42.orig/gsoap/samples/databinding/Makefile.am
+++ gsoap-2.8.42/gsoap/samples/databinding/Makefile.am
@@ -14,7 +14,7 @@ SOAP_FLAGS=-0 -CS -p address -I$(top_src
WSDLINPUT=$(srcdir)/address.xsd
SOAPHEADER=$(srcdir)/address.h

26
gsoap-02-implicit.diff Normal file
View File

@ -0,0 +1,26 @@
From: Jan Engelhardt <jengelh@inai.de>
Date: 2017-01-24 15:41:51.682076375 +0100
build: resolve compiler warnings
stdsoap2_ck.c: In function soap_s2float:
stdsoap2_ck.c:14147:19: warning: implicit declaration of function strtod_l [-Wimplicit-function-declaration]
*p = (float)strtod_l(s, &r, SOAP_LOCALE(soap));
References: https://sourceforge.net/p/gsoap2/bugs/1096/
---
gsoap/stdsoap2.cpp | 1 +
1 file changed, 1 insertion(+)
Index: gsoap-2.8.42/gsoap/stdsoap2.cpp
===================================================================
--- gsoap-2.8.42.orig/gsoap/stdsoap2.cpp
+++ gsoap-2.8.42/gsoap/stdsoap2.cpp
@@ -50,6 +50,7 @@ compiling, linking, and/or using OpenSSL
A commercial use license is available from Genivia, Inc., contact@genivia.com
--------------------------------------------------------------------------------
*/
+#define _GNU_SOURCE 1
#define GSOAP_LIB_VERSION 20842

View File

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

3
gsoap-2.8.42.tar.xz Normal file
View File

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

View File

@ -1,168 +0,0 @@
From: http://ftp.gwdg.org/pub/linux/debian/debian/pool/main/g/gsoap/gsoap_2.8.35-4.debian.tar.xz
diff -ur gsoap-2.8.34.orig/gsoap/plugin/mecevp.c gsoap-2.8.34/gsoap/plugin/mecevp.c
--- gsoap-2.8.34.orig/gsoap/plugin/mecevp.c 2016-08-17 13:36:00.000000000 +0200
+++ gsoap-2.8.34/gsoap/plugin/mecevp.c 2016-09-09 15:30:48.416000000 +0200
@@ -284,10 +284,15 @@
int ok = 1;
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "soap_mec_init()\n"));
soap_ssl_init();
+#if OPENSSL_VERSION_NUMBER < 0x10100000L
data->ctx = (EVP_CIPHER_CTX*)SOAP_MALLOC(soap, sizeof(EVP_CIPHER_CTX));
+ if (data->ctx)
+ EVP_CIPHER_CTX_init(data->ctx);
+#else
+ data->ctx = EVP_CIPHER_CTX_new();
+#endif
if (!data->ctx)
return soap->error = SOAP_EOM;
- EVP_CIPHER_CTX_init(data->ctx);
data->alg = alg;
data->state = SOAP_MEC_STATE_NONE;
data->restidx = 0;
@@ -443,8 +448,12 @@
data->type = NULL;
if (data->ctx)
{
+#if OPENSSL_VERSION_NUMBER < 0x10100000L
EVP_CIPHER_CTX_cleanup(data->ctx);
SOAP_FREE(soap, data->ctx);
+#else
+ EVP_CIPHER_CTX_free(data->ctx);
+#endif
data->ctx = NULL;
}
if (data->buf)
diff -ur gsoap-2.8.34.orig/gsoap/plugin/smdevp.c gsoap-2.8.34/gsoap/plugin/smdevp.c
--- gsoap-2.8.34.orig/gsoap/plugin/smdevp.c 2016-08-17 13:36:00.000000000 +0200
+++ gsoap-2.8.34/gsoap/plugin/smdevp.c 2016-09-09 14:59:46.348000000 +0200
@@ -479,17 +479,27 @@
/* allocate and init the OpenSSL HMAC or EVP_MD context */
if ((alg & SOAP_SMD_ALGO) == SOAP_SMD_HMAC)
{
+#if OPENSSL_VERSION_NUMBER < 0x10100000L
data->ctx = (void*)SOAP_MALLOC(soap, sizeof(HMAC_CTX));
+ if (data->ctx)
+ HMAC_CTX_init((HMAC_CTX*)data->ctx);
+#else
+ data->ctx = (void*)HMAC_CTX_new();
+#endif
if (!data->ctx)
return soap_set_receiver_error(soap, "soap_smd_init() failed", "No context", SOAP_SSL_ERROR);
- HMAC_CTX_init((HMAC_CTX*)data->ctx);
}
else
{
+#if OPENSSL_VERSION_NUMBER < 0x10100000L
data->ctx = (void*)SOAP_MALLOC(soap, sizeof(EVP_MD_CTX));
+ if (data->ctx)
+ EVP_MD_CTX_init((EVP_MD_CTX*)data->ctx);
+#else
+ data->ctx = (void*)EVP_MD_CTX_new();
+#endif
if (!data->ctx)
return soap_set_receiver_error(soap, "soap_smd_init() failed", "No context", SOAP_SSL_ERROR);
- EVP_MD_CTX_init((EVP_MD_CTX*)data->ctx);
}
DBGLOG(TEST, SOAP_MESSAGE(fdebug, "-- SMD Init alg=%x (%p) --\n", alg, data->ctx));
/* init the digest or signature computations */
@@ -634,11 +644,22 @@
*len = (int)n;
}
/* cleanup */
- if ((data->alg & SOAP_SMD_ALGO) == SOAP_SMD_HMAC)
+ if ((data->alg & SOAP_SMD_ALGO) == SOAP_SMD_HMAC) {
+#if OPENSSL_VERSION_NUMBER < 0x10100000L
HMAC_CTX_cleanup((HMAC_CTX*)data->ctx);
- else
+ SOAP_FREE(soap, data->ctx);
+#else
+ HMAC_CTX_free((HMAC_CTX*)data->ctx);
+#endif
+ }
+ else {
+#if OPENSSL_VERSION_NUMBER < 0x10100000L
EVP_MD_CTX_cleanup((EVP_MD_CTX*)data->ctx);
- SOAP_FREE(soap, data->ctx);
+ SOAP_FREE(soap, data->ctx);
+#else
+ EVP_MD_CTX_free((EVP_MD_CTX*)data->ctx);
+#endif
+ }
data->ctx = NULL;
/* check and return */
return soap_smd_check(soap, data, ok, "soap_smd_final() failed");
@@ -672,11 +693,22 @@
}
if (data->ctx)
{
- if ((data->alg & SOAP_SMD_ALGO) == SOAP_SMD_HMAC)
+ if ((data->alg & SOAP_SMD_ALGO) == SOAP_SMD_HMAC) {
+#if OPENSSL_VERSION_NUMBER < 0x10100000L
HMAC_CTX_cleanup((HMAC_CTX*)data->ctx);
- else
+ SOAP_FREE(soap, data->ctx);
+#else
+ HMAC_CTX_free((HMAC_CTX*)data->ctx);
+#endif
+ }
+ else {
+#if OPENSSL_VERSION_NUMBER < 0x10100000L
EVP_MD_CTX_cleanup((EVP_MD_CTX*)data->ctx);
- SOAP_FREE(soap, data->ctx);
+ SOAP_FREE(soap, data->ctx);
+#else
+ EVP_MD_CTX_free((EVP_MD_CTX*)data->ctx);
+#endif
+ }
data->ctx = NULL;
}
return soap_set_receiver_error(soap, msg, soap->msgbuf, SOAP_SSL_ERROR);
diff -ur gsoap-2.8.34.orig/gsoap/samples/calc_vs2005/calc_vs2005/stdsoap2.cpp gsoap-2.8.34/gsoap/samples/calc_vs2005/calc_vs2005/stdsoap2.cpp
--- gsoap-2.8.34.orig/gsoap/samples/calc_vs2005/calc_vs2005/stdsoap2.cpp 2016-08-17 13:36:04.000000000 +0200
+++ gsoap-2.8.34/gsoap/samples/calc_vs2005/calc_vs2005/stdsoap2.cpp 2016-09-09 13:22:07.488000000 +0200
@@ -5061,7 +5061,7 @@
break;
name = X509_NAME_ENTRY_get_data(X509_NAME_get_entry(subj, i));
if (name)
- { if (!soap_tag_cmp(host, (const char*)M_ASN1_STRING_data(name)))
+ { if (!soap_tag_cmp(host, (const char*)ASN1_STRING_data(name)))
ok = 1;
else
{ unsigned char *tmp = NULL;
diff -ur gsoap-2.8.34.orig/gsoap/stdsoap2.c gsoap-2.8.34/gsoap/stdsoap2.c
--- gsoap-2.8.34.orig/gsoap/stdsoap2.c 2016-08-17 13:36:06.000000000 +0200
+++ gsoap-2.8.34/gsoap/stdsoap2.c 2016-09-09 13:22:07.488000000 +0200
@@ -5061,7 +5061,7 @@
break;
name = X509_NAME_ENTRY_get_data(X509_NAME_get_entry(subj, i));
if (name)
- { if (!soap_tag_cmp(host, (const char*)M_ASN1_STRING_data(name)))
+ { if (!soap_tag_cmp(host, (const char*)ASN1_STRING_data(name)))
ok = 1;
else
{ unsigned char *tmp = NULL;
diff -ur gsoap-2.8.34.orig/gsoap/stdsoap2.cpp gsoap-2.8.34/gsoap/stdsoap2.cpp
--- gsoap-2.8.34.orig/gsoap/stdsoap2.cpp 2016-08-17 13:36:06.000000000 +0200
+++ gsoap-2.8.34/gsoap/stdsoap2.cpp 2016-09-09 13:22:07.488000000 +0200
@@ -5061,7 +5061,7 @@
break;
name = X509_NAME_ENTRY_get_data(X509_NAME_get_entry(subj, i));
if (name)
- { if (!soap_tag_cmp(host, (const char*)M_ASN1_STRING_data(name)))
+ { if (!soap_tag_cmp(host, (const char*)ASN1_STRING_data(name)))
ok = 1;
else
{ unsigned char *tmp = NULL;
diff -ur gsoap-2.8.34.orig/gsoap/VisualStudio2005/wsdl2h/wsdl2h/stdsoap2.cpp gsoap-2.8.34/gsoap/VisualStudio2005/wsdl2h/wsdl2h/stdsoap2.cpp
--- gsoap-2.8.34.orig/gsoap/VisualStudio2005/wsdl2h/wsdl2h/stdsoap2.cpp 2016-08-17 13:36:06.000000000 +0200
+++ gsoap-2.8.34/gsoap/VisualStudio2005/wsdl2h/wsdl2h/stdsoap2.cpp 2016-09-09 13:22:07.488000000 +0200
@@ -5061,7 +5061,7 @@
break;
name = X509_NAME_ENTRY_get_data(X509_NAME_get_entry(subj, i));
if (name)
- { if (!soap_tag_cmp(host, (const char*)M_ASN1_STRING_data(name)))
+ { if (!soap_tag_cmp(host, (const char*)ASN1_STRING_data(name)))
ok = 1;
else
{ unsigned char *tmp = NULL;

View File

@ -1,3 +1,27 @@
-------------------------------------------------------------------
Tue Jan 24 13:53:09 UTC 2017 - jengelh@inai.de
- Update to new upstream release 2.8.42
* Fixed shared pointer to QName string QName output normalization.
* Improved `WITH_REPLACE_ILLEGAL_UTF8` flag to optionally compile
the library with: this replaces illegal UTF-8 input/output
with the replacement character U+FFFD (or define your own
`SOAP_UNKNOWN_UNICODE_CHAR`).
- Add gsoap-02-implicit.diff
-------------------------------------------------------------------
Thu Jan 19 09:06:14 UTC 2017 - jengelh@inai.de
- Update to new upstream release 2.8.41
* Added updates to support OpenSSL 1.1.0.
* Added HTTP header `Accept:
multipart/related,application/xop+xml,*/*;q=0.8` when MTOM is
expected (i.e. when the input mode flag is set to
`SOAP_ENC_MTOM`).
* Improved CORS internals and compatibility.
* Fixed minor issues with `WITH_NOIO` and `WITH_NO_C_LOCALE`.
- Drop gsoap-openssl110.patch (included upstream)
-------------------------------------------------------------------
Tue Dec 13 09:34:31 UTC 2016 - jengelh@inai.de

View File

@ -1,7 +1,7 @@
#
# spec file for package gsoap
#
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -17,20 +17,19 @@
Name: gsoap
%define lname libgsoap-2_8_40
Version: 2.8.40
%define lname libgsoap-2_8_42
Version: 2.8.42
Release: 0
Summary: Toolkit for C/C++ server and client web service applications
License: SUSE-GPL-2.0+-with-openssl-exception
Group: Development/Libraries/C and C++
Url: http://www.genivia.com/dev.html
#DL-URL: http://downloads.sf.net/gsoap2/gsoap_2.8.36.zip
Source: gsoap-%version.tar.xz
Source2: sanitize_source.sh
Patch1: gsoap-automake1_13.diff
Patch2: gsoap-01-sharedlibs.diff
Patch3: gsoap-openssl110.patch
Patch3: gsoap-02-implicit.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: autoconf
BuildRequires: automake

View File

@ -13,9 +13,11 @@ if ! which hardlink >/dev/null; then
exit 1;
fi;
version="2.8.40"
version="2.8.42"
shortver="2.8" # agh...
wget -c "http://downloads.sf.net/gsoap2/gsoap_$version.zip"
if [ ! -e "gsoap_$version.zip" ]; then
wget -c "http://downloads.sf.net/gsoap2/gsoap_$version.zip"
fi
rm -Rf "gsoap-$shortver" "gsoap-$version"
unzip "gsoap_$version.zip"
@ -35,5 +37,5 @@ find "gsoap-$version" -type f "(" \
-name "*~" -o -name .DS_Store ")" -delete
hardlink "gsoap-$version"
find "gsoap-$version" -print0 | sort -z | \
tar -T- --null --owner=root --group=root --no-recur --use=xz \
tar --no-recur -T- --null --owner=root --group=root --use=xz \
-cvf "gsoap-$version.tar.xz"