[arch-commits] Commit in coturn/trunk (3 files)
Sergej Pupykin
spupykin at archlinux.org
Sun Mar 29 20:53:02 UTC 2020
Date: Sunday, March 29, 2020 @ 20:53:02
Author: spupykin
Revision: 606474
upgpkg: coturn 4.5.1.1-8
Modified:
coturn/trunk/PKGBUILD
coturn/trunk/turnserver.service
coturn/trunk/turnserver.tmpfiles.d
-----------------------+
PKGBUILD | 10 +++++-----
turnserver.service | 3 +++
turnserver.tmpfiles.d | 3 +--
3 files changed, 9 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-03-29 20:33:27 UTC (rev 606473)
+++ PKGBUILD 2020-03-29 20:53:02 UTC (rev 606474)
@@ -6,7 +6,7 @@
pkgname=coturn
pkgver=4.5.1.1
-pkgrel=7
+pkgrel=8
pkgdesc='Open-source implementation of TURN and STUN server'
arch=(x86_64)
url=https://github.com/coturn/coturn
@@ -18,9 +18,9 @@
turnserver.sysusers.d
turnserver.tmpfiles.d)
sha256sums=('8eabe4c241ad9a74655d8516c69b1fa3275e020e7f7fca50a6cb822809e7c220'
- 'b6d4007e898e59ed280d665fc3f995cd41c0a2363ddea87d75f80be6398cad19'
+ '32d0ef62663bcbda0b5c7d324d156ce83605861c3ce63536bc57b5f0e5ba6f5c'
'92e51ecd664ab53031baa0aeee615fa7c4e73f79c5a3ebc49ac8e0919e4d23fd'
- '3b6ca82bb420404098e4b8563c246c450571f403e8f1b5acf3256f2b7c042f21')
+ 'd765d14ff3a6527498257e4dc9e76231742cd41d8fe658004e171b8937db6a75')
build() {
cd coturn-$pkgver
@@ -50,13 +50,13 @@
cd "$pkgdir"
# Create needed directories
- mkdir -p {etc/turnserver,var/log/turnserver}
+ install -dm 700 "$pkgdir"/etc/turnserver
# Use Arch-specific directories in config
mv {usr/etc/turnserver.conf.default,etc/turnserver/turnserver.conf}
sed \
-e '/^#log-file=\/var\/tmp\/turn.log$/c log-file=\/var\/log\/turnserver\/turn.log' \
- -e '/^#pidfile="\/var\/run\/turnserver.pid"$/c pidfile=\/var\/run\/turnserver\/turnserver.pid' \
+ -e '/^#pidfile="\/var\/run\/turnserver.pid"$/c pidfile=\/run\/turnserver\/turnserver.pid' \
-i etc/turnserver/turnserver.conf
rmdir usr/etc
Modified: turnserver.service
===================================================================
--- turnserver.service 2020-03-29 20:33:27 UTC (rev 606473)
+++ turnserver.service 2020-03-29 20:53:02 UTC (rev 606474)
@@ -6,6 +6,9 @@
User=turnserver
Type=forking
ExecStart=/usr/bin/turnserver -c /etc/turnserver/turnserver.conf -o -v
+RuntimeDirectory=turnserver
+LogsDirectory=turnserver
+RuntimeDirectoryMode=0700
[Install]
WantedBy=multi-user.target
Modified: turnserver.tmpfiles.d
===================================================================
--- turnserver.tmpfiles.d 2020-03-29 20:33:27 UTC (rev 606473)
+++ turnserver.tmpfiles.d 2020-03-29 20:53:02 UTC (rev 606474)
@@ -1,3 +1,2 @@
d /etc/turnserver 0700 turnserver turnserver
-z /etc/turnserver/turnserver.conf 0600 turnserver turnserver
-d /run/turnserver 0700 turnserver turnserver
+Z /etc/turnserver/turnserver.conf 0600 turnserver turnserver
More information about the arch-commits
mailing list