development/gsoap: Updated for version 2.8.117

Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Heinz Wiesinger 2021-09-05 15:11:28 +02:00 committed by Willy Sudiarto Raharjo
parent a3ca5a93cd
commit 9300de686f
No known key found for this signature in database
GPG key ID: 3F617144D7238786
3 changed files with 21 additions and 30 deletions

View file

@ -2,7 +2,7 @@
# Slackware build script for gsoap
# Copyright 2009-2018 Heinz Wiesinger, Amsterdam, The Netherlands
# Copyright 2009-2021 Heinz Wiesinger, Amsterdam, The Netherlands
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -11,21 +11,21 @@
# 1. Redistributions of this script must retain the above copyright
# notice, this list of conditions and the following disclaimer.
#
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=gsoap
VERSION=${VERSION:-2.8.111}
VERSION=${VERSION:-2.8.117}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -80,8 +80,6 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
# Patches from Gentoo
# Fix Pre-ISO headers
patch -p1 -i $CWD/patches/gsoap-2.7.10-fedora-install_soapcpp2_wsdl2h_aux.patch
# Build shared libraries
patch -p1 -i $CWD/patches/gsoap-2.8.91-shared_libs.patch
@ -101,8 +99,13 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install-strip DESTDIR=$PKG
# Don't ship .la/.a files:
rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.a
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a changelog.md LICENSE.txt NOTES.txt README.txt \
cp -a changelog.md GPLv2_license.txt INSTALL.txt LICENSE.txt \
NOTES.txt README.txt factsheet.pdf license.pdf \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild

View file

@ -1,8 +1,8 @@
PRGNAM="gsoap"
VERSION="2.8.111"
VERSION="2.8.117"
HOMEPAGE="http://gsoap2.sourceforge.net/"
DOWNLOAD="http://ponce.cc/slackware/sources/repo/gsoap_2.8.111.zip"
MD5SUM="dc579d96d8a331a42a845e2541aae763"
DOWNLOAD="https://sourceforge.net/projects/gsoap2/files/gsoap_2.8.117.zip"
MD5SUM="9c1a6c45125d6dda412e8a5a64fbf8b7"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""

View file

@ -1,12 +0,0 @@
--- gsoap-2.7/gsoap/Makefile.am 2008-01-27 15:02:36.000000000 -0600
+++ gsoap-2.7mf/gsoap/Makefile.am 2008-01-28 10:24:26.000000000 -0600
@@ -12,6 +12,9 @@ CLEANFILES=soapcpp2 stdsoap2_cpp.cpp std
AM_CXXFLAGS=$(SOAPCPP2_DEBUG) -D$(platform)
AM_CFLAGS=$(SOAPCPP2_DEBUG) -D$(platform)
+# Install all soapcpp2 and wsdl2h files into /usr/share/gsoap
+nobase_pkgdata_DATA = import/* plugin/* WS/* custom/* extras/*
+
## we cannot build stdsoap2.o from 2 different sources (stdsoap2.cpp and stdsoap2.c), so we need an intermediate target:
stdsoap2_ck.c: stdsoap2.cpp
$(LN_S) $(srcdir)/stdsoap2.cpp stdsoap2_ck.c