diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2016-08-27 15:39:09 +0000 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2016-08-27 16:02:33 +0000 |
commit | 556b623c327723e03bba3bf0f5ac841dd005b3b8 (patch) | |
tree | 06ac7e1fde484a46afc8afe28e07d8550dc21706 /community/gsoap | |
parent | fdd2e727080ec29f306028a53c296f674298989c (diff) | |
download | aports-556b623c327723e03bba3bf0f5ac841dd005b3b8.tar.bz2 aports-556b623c327723e03bba3bf0f5ac841dd005b3b8.tar.xz |
testing/gsoap: move to community
Diffstat (limited to 'community/gsoap')
-rw-r--r-- | community/gsoap/APKBUILD | 41 | ||||
-rw-r--r-- | community/gsoap/musl-fixes.patch | 22 |
2 files changed, 63 insertions, 0 deletions
diff --git a/community/gsoap/APKBUILD b/community/gsoap/APKBUILD new file mode 100644 index 0000000000..4081390c17 --- /dev/null +++ b/community/gsoap/APKBUILD @@ -0,0 +1,41 @@ +# Contributor: <xmingske@gmail.com> +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=gsoap +pkgver=2.8.34 +pkgrel=0 +arch="all" +pkgdesc='A cross-platform C and C++ SDK for SOAP/XML Web services' +license="GPL-2 gSOAP" +url="http://gsoap2.sourceforge.net" +depends= +makedepends="autoconf automake bison flex zlib-dev openssl-dev libtool" +subpackages="$pkgname-dev" +source="http://downloads.sourceforge.net/project/gsoap2/gSOAP/${pkgname}_${pkgver}.zip + musl-fixes.patch + " + +builddir="$srcdir"/$pkgname-${pkgver%.*} + +build() { + cd "${builddir}" + touch configure.ac aclocal.m4 configure Makefile.am Makefile.in + ./configure --prefix=/usr \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --exec-prefix=/usr \ + --enable-ipv6 \ + || return 1 + make -j1 || return 1 +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install || return 1 +} + +md5sums="abc4cd7a3b3c042cf2eeb7c0d791bad5 gsoap_2.8.34.zip +ce945058c898a360951c11d574699872 musl-fixes.patch" +sha256sums="94b51ff91b241d2cd6206056bbd3d3cde2560e99296cffc5a8f6f49672469377 gsoap_2.8.34.zip +db122e51e629121ce295f76e1f0d90595c5450c42d46342def50c56696150363 musl-fixes.patch" +sha512sums="112ac6699416fa63bef231480333b763e24337cc0f3a17d3e0f8cb8bc18ddf3518048b2a02576ba9f865849b704d6a0e46e754f9a31449b5e14ce9a36f13c70e gsoap_2.8.34.zip +4c96126bdd9263fd686e7e9283e80d751f209a03d5920b9c3763851a1a8a48d48e1740eaa9269f05a1b3128a9476323a2359904dfd4c2ac43f5cee5ff64e4b98 musl-fixes.patch" diff --git a/community/gsoap/musl-fixes.patch b/community/gsoap/musl-fixes.patch new file mode 100644 index 0000000000..a6836ae9cf --- /dev/null +++ b/community/gsoap/musl-fixes.patch @@ -0,0 +1,22 @@ +--- ./gsoap/stdsoap2.cpp.orig ++++ ./gsoap/stdsoap2.cpp +@@ -18691,7 +18691,7 @@ + { + #ifndef WIN32 + # ifdef HAVE_STRERROR_R +-# if defined(_GNU_SOURCE) && !defined(__ANDROID__) ++# if defined(_GNU_SOURCE) && !defined(__ANDROID__) && defined(__GLIBC__) + return strerror_r(err, soap->msgbuf, sizeof(soap->msgbuf)); /* GNU-specific */ + # else + strerror_r(err, soap->msgbuf, sizeof(soap->msgbuf)); /* XSI-compliant */ +--- gsoap-2.8.orig/gsoap/stdsoap2.h ++++ gsoap-2.8/gsoap/stdsoap2.h +@@ -859,7 +859,7 @@ + # endif + #elif defined(SOCKLEN_T) + # define SOAP_SOCKLEN_T SOCKLEN_T +-#elif defined(__socklen_t_defined) || defined(_SOCKLEN_T) || defined(CYGWIN) || defined(FREEBSD) || defined(__FreeBSD__) || defined(OPENBSD) || defined(__QNX__) || defined(QNX) || defined(OS390) || defined(__ANDROID__) || defined(_XOPEN_SOURCE) ++#elif defined(__socklen_t_defined) || defined(_SOCKLEN_T) || defined(CYGWIN) || defined(FREEBSD) || defined(__FreeBSD__) || defined(OPENBSD) || defined(__QNX__) || defined(QNX) || defined(OS390) || defined(__ANDROID__) || defined(_XOPEN_SOURCE) || defined (LINUX) + # define SOAP_SOCKLEN_T socklen_t + #elif defined(IRIX) || defined(WIN32) || defined(__APPLE__) || defined(SUN_OS) || defined(OPENSERVER) || defined(TRU64) || defined(VXWORKS) || defined(HP_UX) + # define SOAP_SOCKLEN_T int |