summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author David Spencer <baildon.research@googlemail.com>2015-08-03 19:47:09 +0100
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-17 09:40:16 +0700
commit1e1bf4a88535ad4712d6fb4bfdb96b901c41b776 (patch)
tree4adea77e0caa81019e7022264cc60d7a746c49e2
parenta17f47e87a395184e8c5bb5cb6185f20a969acb4 (diff)
downloadslackbuilds-1e1bf4a88535ad4712d6fb4bfdb96b901c41b776.tar.gz
slackbuilds-1e1bf4a88535ad4712d6fb4bfdb96b901c41b776.tar.xz
network/thrift: Updated for version 0.9.2.
Fixes build failure with bison-3 on -current. Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
-rw-r--r--network/thrift/thrift.SlackBuild15
-rw-r--r--network/thrift/thrift.info6
2 files changed, 12 insertions, 9 deletions
diff --git a/network/thrift/thrift.SlackBuild b/network/thrift/thrift.SlackBuild
index 81135d111e..f76fb6b52c 100644
--- a/network/thrift/thrift.SlackBuild
+++ b/network/thrift/thrift.SlackBuild
@@ -17,7 +17,7 @@
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
PRGNAM=thrift
-VERSION=${VERSION:-0.6.0}
+VERSION=${VERSION:-0.9.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -58,10 +58,12 @@ 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 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+
+# Disable unit tests: https://issues.apache.org/jira/browse/THRIFT-3249
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -74,6 +76,7 @@ CXXFLAGS="$SLKCFLAGS" \
--without-ruby \
--without-php \
--without-php_extension \
+ --disable-tests \
--build=$ARCH-slackware-linux
make
@@ -81,7 +84,7 @@ make install-strip DESTDIR=$PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- CHANGES CONTRIBUTORS DISCLAIMER LICENSE NEWS NOTICE README \
+ CHANGES LICENSE NOTICE README.md \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/network/thrift/thrift.info b/network/thrift/thrift.info
index 4fb4576c9e..ec2179291c 100644
--- a/network/thrift/thrift.info
+++ b/network/thrift/thrift.info
@@ -1,8 +1,8 @@
PRGNAM="thrift"
-VERSION="0.6.0"
+VERSION="0.9.2"
HOMEPAGE="http://thrift.apache.org"
-DOWNLOAD="http://archive.apache.org/dist/thrift/0.6.0/thrift-0.6.0.tar.gz"
-MD5SUM="c1a9c679bc75d038ce5ef447bf6e4c75"
+DOWNLOAD="http://archive.apache.org/dist/thrift/0.9.2/thrift-0.9.2.tar.gz"
+MD5SUM="89f63cc4d0100912f4a1f8a9dee63678"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""