aboutsummaryrefslogtreecommitdiff
path: root/network/coturn
diff options
context:
space:
mode:
authorThomas Bourdon <thomas dot bourdon at halpanet dot org>2023-04-14 21:35:27 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-04-15 07:15:29 +0700
commit3b3eb59f9387453300949832e1f98acf58079d3a (patch)
treecc2893d4134987f3189fb9ef406f0d2d9f74cfc2 /network/coturn
parent732241ae0fc6b72f7a8c5efb0554e3fd6807720d (diff)
network/coturn: Updated for version 4.6.2.
Signed-off-by: bedlam <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/coturn')
-rw-r--r--network/coturn/coturn.SlackBuild10
-rw-r--r--network/coturn/coturn.info6
2 files changed, 9 insertions, 7 deletions
diff --git a/network/coturn/coturn.SlackBuild b/network/coturn/coturn.SlackBuild
index 78611d1aab72..31d0e20da022 100644
--- a/network/coturn/coturn.SlackBuild
+++ b/network/coturn/coturn.SlackBuild
@@ -28,7 +28,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=coturn
-VERSION=${VERSION:-4.5.2}
+VERSION=${VERSION:-4.6.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -88,7 +88,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.?z*
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -114,6 +114,8 @@ make install DESTDIR=$PKG
sed 's%/usr/local%/usr/share/turnserver/examples%' $PKG/etc/turnserver.conf.default > $PKG/etc/turnserver.conf.new
rm -f $PKG/etc/turnserver.conf.default
+rm -f $PKG/usr/share/turnserver/examples/etc/*.pem
+cp -a examples/ca $PKG/usr/share/turnserver/examples
mkdir -p $PKG/etc/{rc.d,logrotate.d}
cat $CWD/rc.turnserver > $PKG/etc/rc.d/rc.turnserver.new
@@ -138,11 +140,11 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
find $PKG/usr/man -type f -exec gzip -9 {} \;
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS ChangeLog LICENSE* README* \
+cp -a ChangeLog LICENSE* README* \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
-find $PKG/{usr/doc,usr/share,usr/include,etc,var} -type f -exec chmod -x {} +
+find $PKG/{usr/doc,usr/man,usr/share,usr/include,etc,var} -type f -exec chmod -x {} +
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
diff --git a/network/coturn/coturn.info b/network/coturn/coturn.info
index 28ecb386638d..fdbc81c70917 100644
--- a/network/coturn/coturn.info
+++ b/network/coturn/coturn.info
@@ -1,8 +1,8 @@
PRGNAM="coturn"
-VERSION="4.5.2"
+VERSION="4.6.2"
HOMEPAGE="https://github.com/coturn/coturn"
-DOWNLOAD="https://github.com/coturn/coturn/archive/4.5.2/coturn-4.5.2.tar.gz"
-MD5SUM="e58d9e14e0607f763945ff98585cb218"
+DOWNLOAD="https://github.com/coturn/coturn/archive/4.6.2/coturn-4.6.2.tar.gz"
+MD5SUM="7d3ad08b1d63417cbc76d62f23e48ec4"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""