[arch-commits] Commit in emby-server/trunk (4 files)
Maxime Gauduin
alucryd at archlinux.org
Sun Dec 17 20:37:18 UTC 2017
Date: Sunday, December 17, 2017 @ 20:37:17
Author: alucryd
Revision: 274686
systemd-sysusers todo: emby-server 3.2.50.0-2
Added:
emby-server/trunk/emby-server.sysusers
emby-server/trunk/emby-server.tmpfiles
Modified:
emby-server/trunk/PKGBUILD
emby-server/trunk/emby-server.install
----------------------+
PKGBUILD | 17 ++++++++++-------
emby-server.install | 4 ----
emby-server.sysusers | 1 +
emby-server.tmpfiles | 2 ++
4 files changed, 13 insertions(+), 11 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-12-17 20:19:31 UTC (rev 274685)
+++ PKGBUILD 2017-12-17 20:37:17 UTC (rev 274686)
@@ -4,7 +4,7 @@
pkgname=emby-server
pkgver=3.2.50.0
-pkgrel=1
+pkgrel=2
pkgdesc='Bring together your videos, music, photos, and live television'
arch=('any')
url='http://emby.media'
@@ -15,13 +15,17 @@
'emby-server'
'emby-migrate-database'
'emby-server.conf'
- 'emby-server.service')
+ 'emby-server.service'
+ 'emby-server.sysusers'
+ 'emby-server.tmpfiles')
backup=('etc/conf.d/emby-server')
sha256sums=('b9e0883aa7401af47f8c2eb72f48b7a4889ed46e11e74dec49502f1714703dc3'
'f0afca728cf695ae80fffe944ea2700e154293247b30ed592f632c2e58dd00f1'
'b25bf83a0ab371aff3b13b82f7af71b51bfe6d7e51eb8a8a3dd8f0774ffce6a5'
'015869b52601a9cdbd303aed9dffe11ef19959da4a070c775ece8416e699979f'
- '8a91ea49a1699c820c4a180710072cba1d6d5c10e45df97477ff6a898f4e1d70')
+ '8a91ea49a1699c820c4a180710072cba1d6d5c10e45df97477ff6a898f4e1d70'
+ 'f7fa33949757ffc587ecf82496dc35ebc8c8e5c98b882b31dc40a24263d3921a'
+ 'a3b0b558042b91e94030d5b5dbadb8fd0814e07a6fc371724589c9247f340465')
prepare() {
rm -rf system/{electron,runtimes}
@@ -28,15 +32,14 @@
}
package() {
- install -dm 755 "${pkgdir}"/{etc/conf.d,usr/{bin,lib/systemd/system}}
+ install -dm 755 "${pkgdir}"/{etc/conf.d,usr/{bin,lib/{systemd/system,sysusers.d,tmpfiles.d}}}
cp -dr --no-preserve='ownership' system "${pkgdir}"/usr/lib/emby-server
install -m 755 emby-server "${pkgdir}"/usr/bin/
install -m 755 emby-migrate-database "${pkgdir}"/usr/bin/
install -m 644 emby-server.service "${pkgdir}"/usr/lib/systemd/system/
+ install -m 644 emby-server.sysusers "${pkgdir}"/usr/lib/sysusers.d/emby-server.conf
+ install -m 644 emby-server.tmpfiles "${pkgdir}"/usr/lib/tmpfiles.d/emby-server.conf
install -m 644 emby-server.conf "${pkgdir}"/etc/conf.d/emby-server
-
- install -dm 755 "${pkgdir}"/var/lib/emby
- chown 422:422 -R "${pkgdir}"/var/lib/emby
}
# vim: ts=2 sw=2 et:
Modified: emby-server.install
===================================================================
--- emby-server.install 2017-12-17 20:19:31 UTC (rev 274685)
+++ emby-server.install 2017-12-17 20:37:17 UTC (rev 274686)
@@ -1,8 +1,4 @@
post_install() {
- getent group emby > /dev/null 2>&1 || groupadd -g 422 emby
- getent passwd emby > /dev/null 2>&1 || useradd -c 'Emby Media Server' -u 422 -g emby -d /var/lib/emby -s /usr/bin/nologin emby
- passwd -l emby > /dev/null
-
cat <<EOF
Emby is not compatible with the 10-bit versionof libx264. Please stick to the
Added: emby-server.sysusers
===================================================================
--- emby-server.sysusers (rev 0)
+++ emby-server.sysusers 2017-12-17 20:37:17 UTC (rev 274686)
@@ -0,0 +1 @@
+u emby - "Emby Media Server" /var/lib/emby
Added: emby-server.tmpfiles
===================================================================
--- emby-server.tmpfiles (rev 0)
+++ emby-server.tmpfiles 2017-12-17 20:37:17 UTC (rev 274686)
@@ -0,0 +1,2 @@
+d /var/lib/emby 0755 emby emby
+x /var/lib/emby
More information about the arch-commits
mailing list