[arch-commits] Commit in murmur/trunk (PKGBUILD murmur.install murmur.sysusers)

Sven-Hendrik Haase svenstaro at archlinux.org
Sat Dec 30 06:52:07 UTC 2017


    Date: Saturday, December 30, 2017 @ 06:52:05
  Author: svenstaro
Revision: 276950

upgpkg: murmur 1.2.19-10

Use sysusers

Added:
  murmur/trunk/murmur.sysusers
Modified:
  murmur/trunk/PKGBUILD
  murmur/trunk/murmur.install

-----------------+
 PKGBUILD        |    9 ++++++---
 murmur.install  |    3 ---
 murmur.sysusers |    1 +
 3 files changed, 7 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-12-30 06:52:01 UTC (rev 276949)
+++ PKGBUILD	2017-12-30 06:52:05 UTC (rev 276950)
@@ -5,7 +5,7 @@
 
 pkgname=murmur
 pkgver=1.2.19
-pkgrel=9
+pkgrel=10
 pkgdesc="The voice chat application server for Mumble"
 arch=('x86_64')
 url="http://mumble.sourceforge.net"
@@ -16,10 +16,12 @@
 install="murmur.install"
 source=(https://github.com/mumble-voip/mumble/releases/download/${pkgver}/mumble-${pkgver}.tar.gz
         "murmur.dbus.conf"
-        "murmur.service")
+        "murmur.service"
+        "murmur.sysusers")
 sha512sums=('f91111194a899149b500a94afcf7cc5b9691c7ce8669f07fca2c66adbb3916ddb863bf703d04fb8387133fb75f3c8edb52974d1acf3febfafa1f73da19946de4'
             '97c7effdddec324e40195c36ef4927950a5de26d2ee2d268d89df6fb547207bbbe30292773316cae6f57ec9923244f205fb0edc377b798771ba7385e3c11d86a'
-            '1773802b938ae2a80fa21e26cd33d162f00de00e074af9f1481f1c682ef32756ffdd2384a1d1f5a4202df55a982a80067efa78d7ad4e077bf5c7f7ccfc4399e4')
+            '1773802b938ae2a80fa21e26cd33d162f00de00e074af9f1481f1c682ef32756ffdd2384a1d1f5a4202df55a982a80067efa78d7ad4e077bf5c7f7ccfc4399e4'
+            '5af28d0c2b2b072cfbd500b5f63549e88a86cf3fc15e4d2df89e787c4d2bafdecbe078a518e0d1b25d82f9873cb06838ec1c9ebed625ffb7e8c80fcd942ebf74')
 
 prepare() {
   cd ${srcdir}/mumble-$pkgver
@@ -52,6 +54,7 @@
   install -Dm644 man/murmurd.1 ${pkgdir}/usr/share/man/man1/murmurd.1
   install -Dm644 ${srcdir}/murmur.service ${pkgdir}/usr/lib/systemd/system/murmur.service
   install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+  install -Dm644 ${srcdir}/murmur.sysusers ${pkgdir}/usr/lib/sysusers.d/$pkgname.conf
 }
 
 # vim: sw=2:ts=2 et:

Modified: murmur.install
===================================================================
--- murmur.install	2017-12-30 06:52:01 UTC (rev 276949)
+++ murmur.install	2017-12-30 06:52:05 UTC (rev 276950)
@@ -1,7 +1,4 @@
 post_install() {
-    getent group murmur > /dev/null || groupadd -g 122 murmur 1>/dev/null
-    getent passwd murmur > /dev/null || useradd -u 122 -d /var/db/murmur -g murmur -s /bin/false murmur 1>/dev/null
-
     echo "You might have to reload dbus before launching murmur:"
     echo "    systemctl reload dbus"
     echo "Don't forget to set the superuser password:"

Added: murmur.sysusers
===================================================================
--- murmur.sysusers	                        (rev 0)
+++ murmur.sysusers	2017-12-30 06:52:05 UTC (rev 276950)
@@ -0,0 +1 @@
+u murmur 122 "Murmur User" /var/db/murmur



More information about the arch-commits mailing list