diff options
author | Leonardo Arena <rnalrd@alpinelinux.org> | 2018-01-12 07:51:26 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2018-01-12 07:51:44 +0000 |
commit | 3f2b6a8541d4537fa2213abf1b20638d5d8c47b7 (patch) | |
tree | ba79727bb56a3755c1e670ea661bb30dda5b0e48 /testing/spreed-webrtc | |
parent | aef221becd3be1bc415659f44462b847a5f8065f (diff) | |
download | aports-3f2b6a8541d4537fa2213abf1b20638d5d8c47b7.tar.bz2 aports-3f2b6a8541d4537fa2213abf1b20638d5d8c47b7.tar.xz |
testing/spreed-webrtc: upgrade to 0.29.7
Minor updates to initd
Diffstat (limited to 'testing/spreed-webrtc')
-rw-r--r-- | testing/spreed-webrtc/APKBUILD | 17 | ||||
-rw-r--r-- | testing/spreed-webrtc/spreed-webrtc.initd | 5 |
2 files changed, 11 insertions, 11 deletions
diff --git a/testing/spreed-webrtc/APKBUILD b/testing/spreed-webrtc/APKBUILD index d2d5a5f9cb..869cee6904 100644 --- a/testing/spreed-webrtc/APKBUILD +++ b/testing/spreed-webrtc/APKBUILD @@ -1,7 +1,7 @@ # Contributor: Leonardo Arena <rnalrd@alpinelinux.org> # Maintainer: Francesco Colista <fcolista@alpinelinux.org> pkgname=spreed-webrtc -pkgver=0.29.6 +pkgver=0.29.7 pkgrel=0 pkgdesc="WebRTC audio/video call and conferencing server" url="http://spreed.me" @@ -26,10 +26,10 @@ prepare() { cd "$builddir" ./autogen.sh #some libraries aren't in the expected path in the tarball - mkdir -p src/github.com/$_vendor/$pkgname && mv go src/github.com/$_vendor/$pkgname || return 1 + mkdir -p src/github.com/$_vendor/$pkgname && mv go src/github.com/$_vendor/$pkgname #fix default server config sed -i 's|;root = /usr/share/spreed-webrtc-server/www|root = /usr/share/spreed-webrtc-server/www|' \ - server.conf.in || return 1 + server.conf.in } build() { @@ -38,19 +38,18 @@ build() { --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info - make GOPATH="$GOPATH $builddir/go:$builddir/src" assets || return 1 - make GOPATH="$GOPATH $builddir:$builddir/go:$builddir/src" binaryall || return 1 + make GOPATH="$GOPATH $builddir/go:$builddir/src" assets + make GOPATH="$GOPATH $builddir:$builddir/go:$builddir/src" binaryall } package() { cd "$builddir" - make DESTDIR="$pkgdir" install || return 1 + make DESTDIR="$pkgdir" install mkdir -p "$pkgdir"/usr/share/doc/$pkgname mv doc/* "$pkgdir"/usr/share/doc/$pkgname install -m644 -D server.conf.in "$pkgdir"/etc/$pkgname/${pkgname}-server.conf install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/${pkgname}-server - mkdir -p "$pkgdir"/var/log/$pkgname && chown spreed:spreed "$pkgdir"/var/log/$pkgname } -sha512sums="861f541ea471667e0215ddbdf1297e4fca0d73ebde7a74e110f7186253b992b8de5201d67083b8b76f5e58c6adb38f355ec10a0ba0e1058713efea0cf967b6b3 spreed-webrtc-0.29.6.tar.gz -740290f2803fd5b960630c74c34efd36f85381d1422d2dac5704346a74cd2395b5bab931c8bcbf5d7db5ead188618020a937933c609fe2db6b184bd5f7e20419 spreed-webrtc.initd" +sha512sums="bc4acf1dc53325c4da19429a802fdba8d72e619dbf7e872d007b87fbc711e9e63962a83c770f77d44c2454bc038bef0306d57556e86381d4e4c48262030af30b spreed-webrtc-0.29.7.tar.gz +1419b5cbec88f18de71d5dc550bde3d784fc744f0675115ad57e55ebbdbc9f65222584f806bfd6ed2a9b3d4e1c14fe92d8f220cd105851abcb4f4956a6cf6e3a spreed-webrtc.initd" diff --git a/testing/spreed-webrtc/spreed-webrtc.initd b/testing/spreed-webrtc/spreed-webrtc.initd index 5ab0efd22b..1622781c9f 100644 --- a/testing/spreed-webrtc/spreed-webrtc.initd +++ b/testing/spreed-webrtc/spreed-webrtc.initd @@ -4,6 +4,7 @@ command=/usr/sbin/spreed-webrtc-server pidfile=/var/run/spreed-webrtc/${SVCNAME}.pid conf=/etc/spreed-webrtc/${SVCNAME}.conf logfile=/var/log/spreed-webrtc/spreed-webrtc-server.log +command_args="-c $conf -l $logfile" : ${exec_user:=spreed} : ${exec_group:=spreed} @@ -16,6 +17,6 @@ depend() { } start_pre() { - checkpath --directory ${pidfile%/*} --owner ${exec_user}:${exec_group} - command_args="-c $conf -l $logfile" + checkpath --directory ${pidfile%/*} --directory ${logfile%/*} \ + --owner ${exec_user}:${exec_group} } |