[arch-commits] Commit in coturn/repos/community-x86_64 (8 files)
Sergej Pupykin
spupykin at archlinux.org
Sat Jul 4 10:54:22 UTC 2020
Date: Saturday, July 4, 2020 @ 10:54:21
Author: spupykin
Revision: 657674
archrelease: copy trunk to community-x86_64
Added:
coturn/repos/community-x86_64/PKGBUILD
(from rev 657673, coturn/trunk/PKGBUILD)
coturn/repos/community-x86_64/turnserver.service
(from rev 657673, coturn/trunk/turnserver.service)
coturn/repos/community-x86_64/turnserver.sysusers.d
(from rev 657673, coturn/trunk/turnserver.sysusers.d)
coturn/repos/community-x86_64/turnserver.tmpfiles.d
(from rev 657673, coturn/trunk/turnserver.tmpfiles.d)
Deleted:
coturn/repos/community-x86_64/PKGBUILD
coturn/repos/community-x86_64/turnserver.service
coturn/repos/community-x86_64/turnserver.sysusers.d
coturn/repos/community-x86_64/turnserver.tmpfiles.d
-----------------------+
PKGBUILD | 130 ++++++++++++++++++++++++------------------------
turnserver.service | 28 +++++-----
turnserver.sysusers.d | 2
turnserver.tmpfiles.d | 4 -
4 files changed, 82 insertions(+), 82 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-07-04 10:54:08 UTC (rev 657673)
+++ PKGBUILD 2020-07-04 10:54:21 UTC (rev 657674)
@@ -1,65 +0,0 @@
-# Maintainer: Sergej Pupykin <arch+pub at sergej.pp.ru>
-# Previous Maintainer: Jean Lucas <jean at 4ray.co>
-# Contributor: Vladimir Tsanev <tsachev at gmail.com>
-# Contributor: MoeRT09 <https://aur.archlinux.org/account/MoeRT09>
-# Contributor: jlkon13 <internet at devpi.de>
-
-pkgname=coturn
-pkgver=4.5.1.2
-pkgrel=1
-pkgdesc='Open-source implementation of TURN and STUN server'
-arch=(x86_64)
-url=https://github.com/coturn/coturn
-license=(BSD)
-depends=(libevent postgresql-libs libmariadbclient hiredis sqlite)
-backup=(etc/turnserver/turnserver.conf)
-source=($pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz
- turnserver.service
- turnserver.sysusers.d
- turnserver.tmpfiles.d)
-sha256sums=('a1ab5fb6a97c1fdd509f6301c5e706f422475a7086657c0c56e2b27cbe01932c'
- '32d0ef62663bcbda0b5c7d324d156ce83605861c3ce63536bc57b5f0e5ba6f5c'
- '92e51ecd664ab53031baa0aeee615fa7c4e73f79c5a3ebc49ac8e0919e4d23fd'
- 'd765d14ff3a6527498257e4dc9e76231742cd41d8fe658004e171b8937db6a75')
-
-build() {
- cd coturn-$pkgver
- ./configure \
- --prefix=/usr \
- --manprefix=/usr/share \
- --examplesdir=/usr/share/turnserver/examples \
- --disable-rpath
- make
-}
-
-check() {
- cd coturn-$pkgver
- make check
-}
-
-package() {
- install -Dm 644 turnserver.service -t "$pkgdir"/usr/lib/systemd/system
- install -Dm 644 turnserver.sysusers.d "$pkgdir"/usr/lib/sysusers.d/turnserver.conf
- install -Dm 644 turnserver.tmpfiles.d "$pkgdir"/usr/lib/tmpfiles.d/turnserver.conf
-
- cd coturn-$pkgver
-
- make DESTDIR="$pkgdir" install
- install -Dm 644 LICENSE -t "$pkgdir"/usr/share/licenses/coturn
-
- cd "$pkgdir"
-
- # Create needed directories
- 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=\/run\/turnserver\/turnserver.pid' \
- -i etc/turnserver/turnserver.conf
- rmdir usr/etc
-
- # Remove unneeded executable bits
- find {etc,usr/include,usr/lib,usr/share,var} -type f ! -name '*.sh' ! -name '*.pl' -exec chmod 644 {} +
-}
Copied: coturn/repos/community-x86_64/PKGBUILD (from rev 657673, coturn/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-07-04 10:54:21 UTC (rev 657674)
@@ -0,0 +1,65 @@
+# Maintainer: Sergej Pupykin <arch+pub at sergej.pp.ru>
+# Previous Maintainer: Jean Lucas <jean at 4ray.co>
+# Contributor: Vladimir Tsanev <tsachev at gmail.com>
+# Contributor: MoeRT09 <https://aur.archlinux.org/account/MoeRT09>
+# Contributor: jlkon13 <internet at devpi.de>
+
+pkgname=coturn
+pkgver=4.5.1.3
+pkgrel=1
+pkgdesc='Open-source implementation of TURN and STUN server'
+arch=(x86_64)
+url=https://github.com/coturn/coturn
+license=(BSD)
+depends=(libevent postgresql-libs libmariadbclient hiredis sqlite)
+backup=(etc/turnserver/turnserver.conf)
+source=($pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz
+ turnserver.service
+ turnserver.sysusers.d
+ turnserver.tmpfiles.d)
+sha256sums=('4ff1f8c041ac71445018d81321d4b66e5dce4f171ef73a348d858dc9a0cc1cce'
+ '32d0ef62663bcbda0b5c7d324d156ce83605861c3ce63536bc57b5f0e5ba6f5c'
+ '92e51ecd664ab53031baa0aeee615fa7c4e73f79c5a3ebc49ac8e0919e4d23fd'
+ 'd765d14ff3a6527498257e4dc9e76231742cd41d8fe658004e171b8937db6a75')
+
+build() {
+ cd coturn-$pkgver
+ ./configure \
+ --prefix=/usr \
+ --manprefix=/usr/share \
+ --examplesdir=/usr/share/turnserver/examples \
+ --disable-rpath
+ make
+}
+
+check() {
+ cd coturn-$pkgver
+ make check
+}
+
+package() {
+ install -Dm 644 turnserver.service -t "$pkgdir"/usr/lib/systemd/system
+ install -Dm 644 turnserver.sysusers.d "$pkgdir"/usr/lib/sysusers.d/turnserver.conf
+ install -Dm 644 turnserver.tmpfiles.d "$pkgdir"/usr/lib/tmpfiles.d/turnserver.conf
+
+ cd coturn-$pkgver
+
+ make DESTDIR="$pkgdir" install
+ install -Dm 644 LICENSE -t "$pkgdir"/usr/share/licenses/coturn
+
+ cd "$pkgdir"
+
+ # Create needed directories
+ 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=\/run\/turnserver\/turnserver.pid' \
+ -i etc/turnserver/turnserver.conf
+ rmdir usr/etc
+
+ # Remove unneeded executable bits
+ find {etc,usr/include,usr/lib,usr/share,var} -type f ! -name '*.sh' ! -name '*.pl' -exec chmod 644 {} +
+}
Deleted: turnserver.service
===================================================================
--- turnserver.service 2020-07-04 10:54:08 UTC (rev 657673)
+++ turnserver.service 2020-07-04 10:54:21 UTC (rev 657674)
@@ -1,14 +0,0 @@
-[Unit]
-Description=STUN and TURN relay server for VoIP and WebRTC
-After=network.target
-
-[Service]
-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
Copied: coturn/repos/community-x86_64/turnserver.service (from rev 657673, coturn/trunk/turnserver.service)
===================================================================
--- turnserver.service (rev 0)
+++ turnserver.service 2020-07-04 10:54:21 UTC (rev 657674)
@@ -0,0 +1,14 @@
+[Unit]
+Description=STUN and TURN relay server for VoIP and WebRTC
+After=network.target
+
+[Service]
+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
Deleted: turnserver.sysusers.d
===================================================================
--- turnserver.sysusers.d 2020-07-04 10:54:08 UTC (rev 657673)
+++ turnserver.sysusers.d 2020-07-04 10:54:21 UTC (rev 657674)
@@ -1 +0,0 @@
-u turnserver - "TurnServer user" /etc/turnserver
Copied: coturn/repos/community-x86_64/turnserver.sysusers.d (from rev 657673, coturn/trunk/turnserver.sysusers.d)
===================================================================
--- turnserver.sysusers.d (rev 0)
+++ turnserver.sysusers.d 2020-07-04 10:54:21 UTC (rev 657674)
@@ -0,0 +1 @@
+u turnserver - "TurnServer user" /etc/turnserver
Deleted: turnserver.tmpfiles.d
===================================================================
--- turnserver.tmpfiles.d 2020-07-04 10:54:08 UTC (rev 657673)
+++ turnserver.tmpfiles.d 2020-07-04 10:54:21 UTC (rev 657674)
@@ -1,2 +0,0 @@
-d /etc/turnserver 0700 turnserver turnserver
-Z /etc/turnserver/turnserver.conf 0600 turnserver turnserver
Copied: coturn/repos/community-x86_64/turnserver.tmpfiles.d (from rev 657673, coturn/trunk/turnserver.tmpfiles.d)
===================================================================
--- turnserver.tmpfiles.d (rev 0)
+++ turnserver.tmpfiles.d 2020-07-04 10:54:21 UTC (rev 657674)
@@ -0,0 +1,2 @@
+d /etc/turnserver 0700 turnserver turnserver
+Z /etc/turnserver/turnserver.conf 0600 turnserver turnserver
More information about the arch-commits
mailing list