network/coturn: Updated for version 4.6.2.

Signed-off-by: bedlam <dave@slackbuilds.org>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Thomas Bourdon 2023-04-14 21:35:27 +01:00 committed by Willy Sudiarto Raharjo
parent 732241ae0f
commit 3b3eb59f93
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
2 changed files with 9 additions and 7 deletions

View File

@ -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

View File

@ -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=""