summaryrefslogtreecommitdiffstats
path: root/libraries
diff options
context:
space:
mode:
author Guillermo Bonvehi <gbonvehi@gmail.com>2015-04-16 23:44:53 +0700
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2015-04-17 00:38:49 +0700
commitcc303b95d421c213756b959a034120e9650bba85 (patch)
treed5d78aff801a8fffa5f8dd1f0043f92fd8b4ae11 /libraries
parent2d493116923c5952d2fef845dd79f2bbc2e2f6ad (diff)
downloadslackbuilds-cc303b95d421c213756b959a034120e9650bba85.tar.gz
slackbuilds-cc303b95d421c213756b959a034120e9650bba85.tar.xz
libraries/libotr: Updated for version 4.1.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries')
-rw-r--r--libraries/libotr/libotr.SlackBuild17
-rw-r--r--libraries/libotr/libotr.info8
2 files changed, 11 insertions, 14 deletions
diff --git a/libraries/libotr/libotr.SlackBuild b/libraries/libotr/libotr.SlackBuild
index ee96dc6ae5..aacfc8fb5b 100644
--- a/libraries/libotr/libotr.SlackBuild
+++ b/libraries/libotr/libotr.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for libotr
-# Copyright 2007-2013 by Guillermo Bonvehi (gbonvehi@gmail.com)
+# Copyright 2007-2015 by Guillermo Bonvehi (gbonvehi@gmail.com)
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=libotr
-VERSION=4.0.0
+VERSION=${VERSION:-4.1.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -67,7 +67,7 @@ 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 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -83,17 +83,14 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+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
-( cd $PKG/usr/man
- find . -type f -exec gzip -9 {} \;
- for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-)
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- README AUTHORS COPYING* ChangeLog INSTALL NEWS UPGRADING Protocol-v3.html \
+cp -a README AUTHORS COPYING* ChangeLog INSTALL NEWS UPGRADING Protocol-v3.html \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/libraries/libotr/libotr.info b/libraries/libotr/libotr.info
index 08c3ba01dc..31ee6659be 100644
--- a/libraries/libotr/libotr.info
+++ b/libraries/libotr/libotr.info
@@ -1,8 +1,8 @@
PRGNAM="libotr"
-VERSION="4.0.0"
-HOMEPAGE="http://www.cypherpunks.ca/otr/"
-DOWNLOAD="http://www.cypherpunks.ca/otr/libotr-4.0.0.tar.gz"
-MD5SUM="00979dca82d70383fcd1b01f3974363c"
+VERSION="4.1.0"
+HOMEPAGE="https://otr.cypherpunks.ca/"
+DOWNLOAD="https://otr.cypherpunks.ca/libotr-4.1.0.tar.gz"
+MD5SUM="6589f81e7ccbe244f265e8db372814a2"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""