[arch-commits] Commit in umurmur/repos (5 files)

David Runge dvzrv at archlinux.org
Mon Dec 9 14:03:53 UTC 2019


    Date: Monday, December 9, 2019 @ 14:03:52
  Author: dvzrv
Revision: 536395

archrelease: copy trunk to community-staging-x86_64

Added:
  umurmur/repos/community-staging-x86_64/
  umurmur/repos/community-staging-x86_64/PKGBUILD
    (from rev 536394, umurmur/trunk/PKGBUILD)
  umurmur/repos/community-staging-x86_64/umurmur.service
    (from rev 536394, umurmur/trunk/umurmur.service)
  umurmur/repos/community-staging-x86_64/umurmur.sysusers
    (from rev 536394, umurmur/trunk/umurmur.sysusers)
  umurmur/repos/community-staging-x86_64/umurmur.tmpfiles
    (from rev 536394, umurmur/trunk/umurmur.tmpfiles)

------------------+
 PKGBUILD         |   55 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 umurmur.service  |   26 +++++++++++++++++++++++++
 umurmur.sysusers |    1 
 umurmur.tmpfiles |    1 
 4 files changed, 83 insertions(+)

Copied: umurmur/repos/community-staging-x86_64/PKGBUILD (from rev 536394, umurmur/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2019-12-09 14:03:52 UTC (rev 536395)
@@ -0,0 +1,55 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: David Runge <dvzrv at archlinux.org>
+# Contributor: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
+# Contributor: Robert Knauer <robert at privatdemail.net>
+# Contributor: xav <xav at ethertricks dot net>
+
+pkgname=umurmur
+pkgver=0.2.17
+pkgrel=17
+pkgdesc='Minimalistic Mumble server'
+url="https://github.com/umurmur/umurmur"
+arch=('x86_64')
+license=('BSD')
+depends=('glibc' 'libconfig.so' 'libprotobuf-c.so' 'mbedtls')
+makedepends=('cmake')
+backup=('etc/umurmur/umurmur.conf')
+source=(${pkgname}-${pkgver}.tar.gz::https://github.com/umurmur/umurmur/archive/${pkgver}.tar.gz
+        umurmur.sysusers
+        umurmur.service
+        umurmur.tmpfiles)
+sha256sums=('e77b7b6616768f4a1c07442afe49a772692f667b00c23cc85909d4dd0ce206d2'
+            '0fc68df464ee51a431d934d068aed0be5f8c5e64d0bd29848f97532d39f8c310'
+            'b8b22b6299777fbd1d12e3105280c8585ceca9b6caf7b8d3ab0642c5a56b031f'
+            '287068f47fc035a70e2ae0c8434e8013f176d185bf7688216c36976982fe4491')
+sha512sums=('a496a51fd7815ad117f5aee17bb78cbd319c584ad60ab8aebbfd8ddf7b1760f443f2337bc74be1e0d5af17d3c3df2ae6c9060eca576cf1e6ed4c6cb0825e9c15'
+            'd84950a32ab8a2e84f5fe333cd2894e52aba624531644d106c982aa4ff04271d318543398fa7f48c719f26338679fa971bb5332472e9040ac9aa8a9b4a1f2832'
+            '746a3e2d9e8c5154bdfb2cef6cbe39cccf0356bc1dde0434b92ec1a6b224a5bfa51fd15483c3ac5a75292eae7a6d4b0431ecb2a586bdd9fcc3fe9b2a7bff64a1'
+            '825b50448231b5d791e87d7c4c471fdfe2e9a1560dad6fc90c2f4f8d0c5ed682291bf20b147a6a8c7ae361aeb8b1a11c24c6d41ffc17f06fb0f5ccd8208a899a')
+
+prepare() {
+  cd ${pkgname}-${pkgver}
+  mkdir build
+}
+
+build() {
+  cd ${pkgname}-${pkgver}/build
+  cmake .. \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DSSL=mbedtls
+  make
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  make -C build DESTDIR="${pkgdir}" install
+  install -vDm 640 "${pkgdir}/usr/etc/umurmur.conf" -t "${pkgdir}/etc/umurmur"
+  rm -r "${pkgdir}/usr/etc"
+  install -vDm 644 "${srcdir}/umurmur.service" -t "${pkgdir}/usr/lib/systemd/system"
+  install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+
+  install -vDm 644 "${srcdir}/umurmur.sysusers" "${pkgdir}/usr/lib/sysusers.d/umurmur.conf"
+  install -vDm 644 "${srcdir}/umurmur.tmpfiles" "${pkgdir}/usr/lib/tmpfiles.d/umurmur.conf"
+}
+
+# vim: ts=2 sw=2 et:

Copied: umurmur/repos/community-staging-x86_64/umurmur.service (from rev 536394, umurmur/trunk/umurmur.service)
===================================================================
--- community-staging-x86_64/umurmur.service	                        (rev 0)
+++ community-staging-x86_64/umurmur.service	2019-12-09 14:03:52 UTC (rev 536395)
@@ -0,0 +1,26 @@
+[Unit]
+Description=Minimalistic Mumble server
+After=network.target
+
+[Service]
+Type=simple
+User=umurmur
+Group=umurmur
+PIDFile=/run/umurmurd.pid
+ExecStartPre=/usr/bin/umurmurd -t -c /etc/umurmur/umurmur.conf
+ExecStart=/usr/bin/umurmurd -d -r -c /etc/umurmur/umurmur.conf
+ExecReload=/bin/kill -HUP $MAINPID
+PrivateDevices=yes
+PrivateTmp=yes
+ProtectSystem=strict
+ReadWriteDirectories=/etc/umurmur
+ProtectHome=yes
+ProtectControlGroups=yes
+ProtectKernelModules=yes
+ProtectKernelTunables=yes
+LockPersonality=yes
+NoNewPrivileges=yes
+LimitRTPRIO=1
+
+[Install]
+WantedBy=multi-user.target

Copied: umurmur/repos/community-staging-x86_64/umurmur.sysusers (from rev 536394, umurmur/trunk/umurmur.sysusers)
===================================================================
--- community-staging-x86_64/umurmur.sysusers	                        (rev 0)
+++ community-staging-x86_64/umurmur.sysusers	2019-12-09 14:03:52 UTC (rev 536395)
@@ -0,0 +1 @@
+u umurmur - - -

Copied: umurmur/repos/community-staging-x86_64/umurmur.tmpfiles (from rev 536394, umurmur/trunk/umurmur.tmpfiles)
===================================================================
--- community-staging-x86_64/umurmur.tmpfiles	                        (rev 0)
+++ community-staging-x86_64/umurmur.tmpfiles	2019-12-09 14:03:52 UTC (rev 536395)
@@ -0,0 +1 @@
+z /etc/umurmur/umurmur.conf 0640 root umurmur



More information about the arch-commits mailing list