summaryrefslogtreecommitdiff
path: root/libraries/libtirpc
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/libtirpc')
-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=""