diff options
author | Heinz Wiesinger <pprkut@slackbuilds.org> | 2021-09-12 17:30:56 +0200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-09-16 00:45:37 +0700 |
commit | 9f12f6a5d6d7c73ca8fdf18155f57052be2756d8 (patch) | |
tree | 507b05625a2506ba9bc3c986ab0d1e512fad2e10 | |
parent | 24fc0db490b39b658d62de3ebf1f289627f2ad5c (diff) |
libraries/libcli: Updated for version 1.10.7
Signed-off-by: Heinz Wiesinger <pprkut@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r-- | libraries/libcli/libcli.SlackBuild | 40 | ||||
-rw-r--r-- | libraries/libcli/libcli.info | 8 | ||||
-rw-r--r-- | libraries/libcli/slack-desc | 2 |
3 files changed, 27 insertions, 23 deletions
diff --git a/libraries/libcli/libcli.SlackBuild b/libraries/libcli/libcli.SlackBuild index e4380c8134a80..5c08bd8099567 100644 --- a/libraries/libcli/libcli.SlackBuild +++ b/libraries/libcli/libcli.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for libcli -# Copyright 2009-2014 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=libcli -VERSION=${VERSION:-1.9.7} +VERSION=${VERSION:-1.10.7} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -50,8 +50,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -69,9 +69,9 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf dparrish-libcli-ae56ebc -tar xvf $CWD/dparrish-libcli-v$VERSION-0-gae56ebc.tar.gz -cd dparrish-libcli-ae56ebc +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +cd $PRGNAM-$VERSION chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -93,11 +93,15 @@ make \ DESTDIR=$PKG \ install +# Don't ship .la/.a files: +rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la +rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.a + find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a COPYING README $PKG/usr/doc/$PRGNAM-$VERSION +cp -a COPYING README.md $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/libraries/libcli/libcli.info b/libraries/libcli/libcli.info index 1cea8f0cabf54..5e4ea7caa47ce 100644 --- a/libraries/libcli/libcli.info +++ b/libraries/libcli/libcli.info @@ -1,8 +1,8 @@ PRGNAM="libcli" -VERSION="1.9.7" -HOMEPAGE="http://sites.dparrish.com/libcli" -DOWNLOAD="https://github.com/dparrish/libcli/tarball/v1.9.7/dparrish-libcli-v1.9.7-0-gae56ebc.tar.gz" -MD5SUM="e4d45fb1b2315ce65bfe2fe44d081e7a" +VERSION="1.10.7" +HOMEPAGE="https://dparrish.com/pages/libcli" +DOWNLOAD="https://github.com/dparrish/libcli/archive/V1.10.7/libcli-1.10.7.tar.gz" +MD5SUM="98c68e07babb3cc5ecc7c36c1ada4ab7" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" diff --git a/libraries/libcli/slack-desc b/libraries/libcli/slack-desc index 7fac711a4230a..271ae169634da 100644 --- a/libraries/libcli/slack-desc +++ b/libraries/libcli/slack-desc @@ -13,7 +13,7 @@ libcli: line interface into other software. libcli: It's a telnet interface which supports command-line editing, history, libcli: authentication and callbacks for a user-definable function tree. libcli: -libcli: Homepage: http://code.google.com/p/libcli/ +libcli: Homepage: https://dparrish.com/pages/libcli libcli: libcli: libcli: |