summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2014-04-29 17:40:58 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-08-03 16:34:17 +0700
commita2575e14edd13a3a40bd36fe763c3f2a9649e644 (patch)
treeaf7d2ce074d50ec6813b45375cb240328adfdb06
parent2ef92e76f09f1200182f2edec5407738c9c53a08 (diff)
downloadslackbuilds-a2575e14edd13a3a40bd36fe763c3f2a9649e644.tar.gz
libraries/libtirpc: Updated for version 0.2.4.
Thanks to Larry Hajali for the heads up Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
-rw-r--r--libraries/libtirpc/README2
-rw-r--r--libraries/libtirpc/libtirpc.SlackBuild9
-rw-r--r--libraries/libtirpc/libtirpc.info6
3 files changed, 11 insertions, 6 deletions
diff --git a/libraries/libtirpc/README b/libraries/libtirpc/README
index 4f1de83ccc..1436476f25 100644
--- a/libraries/libtirpc/README
+++ b/libraries/libtirpc/README
@@ -3,3 +3,5 @@ libtirpc (RPC library implementation)
Libtirpc is a port of Suns Transport-Independent RPC library to Linux.
It's being developed by the Bull GNU/Linux NFSv4 project.
It has no des_crypt and NIS support.
+
+heimdal is an optional dependency (for the gssapi).
diff --git a/libraries/libtirpc/libtirpc.SlackBuild b/libraries/libtirpc/libtirpc.SlackBuild
index f68091db32..87d0b1c647 100644
--- a/libraries/libtirpc/libtirpc.SlackBuild
+++ b/libraries/libtirpc/libtirpc.SlackBuild
@@ -1,7 +1,7 @@
#!/bin/sh
# Slackware build script for libtirpc
-# Copyright Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy, 2012
+# Copyright 2013,2014 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,7 +22,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=libtirpc
-VERSION=${VERSION:-20120426_5e8214c}
+VERSION=${VERSION:-0.2.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -55,6 +55,8 @@ fi
DOCS="AUTHORS COPYING ChangeLog INSTALL NEWS README THANKS TODO VERSION"
+GSSAPI=dis ; [ "$(which gsstool)" ] && GSSAPI=en
+
set -e
rm -rf $PKG
@@ -82,12 +84,13 @@ CXXFLAGS="$SLKCFLAGS" \
--mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--enable-static=no \
+ --${GSSAPI}able-gssapi \
--build=$ARCH-slackware-linux
make
make install DESTDIR=$PKG
-mv $PKG/etc/netconfig{,new}
+mv $PKG/etc/netconfig $PKG/etc/netconfig.new
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
diff --git a/libraries/libtirpc/libtirpc.info b/libraries/libtirpc/libtirpc.info
index 39b72feffc..873f4849a9 100644
--- a/libraries/libtirpc/libtirpc.info
+++ b/libraries/libtirpc/libtirpc.info
@@ -1,8 +1,8 @@
PRGNAM="libtirpc"
-VERSION="20120426_5e8214c"
+VERSION="0.2.4"
HOMEPAGE="http://libtirpc.sourceforge.net/"
-DOWNLOAD="http://ponce.cc/slackware/sources/repo/libtirpc-20120426_5e8214c.tar.xz"
-MD5SUM="af54f03efc25b3fc02bf3743b4475892"
+DOWNLOAD="http://downloads.sf.net/libtirpc/libtirpc-0.2.4.tar.bz2"
+MD5SUM="847995e8d002cbf1387bda05947be086"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""