[arch-commits] Commit in umurmur/repos (8 files)
Bartłomiej Piotrowski
bpiotrowski at archlinux.org
Wed Feb 18 08:02:42 UTC 2015
Date: Wednesday, February 18, 2015 @ 09:02:42
Author: bpiotrowski
Revision: 127902
archrelease: copy trunk to community-staging-i686, community-staging-x86_64
Added:
umurmur/repos/community-staging-i686/
umurmur/repos/community-staging-i686/PKGBUILD
(from rev 127901, umurmur/trunk/PKGBUILD)
umurmur/repos/community-staging-i686/umurmur.install
(from rev 127901, umurmur/trunk/umurmur.install)
umurmur/repos/community-staging-i686/umurmur.service
(from rev 127901, umurmur/trunk/umurmur.service)
umurmur/repos/community-staging-x86_64/
umurmur/repos/community-staging-x86_64/PKGBUILD
(from rev 127901, umurmur/trunk/PKGBUILD)
umurmur/repos/community-staging-x86_64/umurmur.install
(from rev 127901, umurmur/trunk/umurmur.install)
umurmur/repos/community-staging-x86_64/umurmur.service
(from rev 127901, umurmur/trunk/umurmur.service)
------------------------------------------+
community-staging-i686/PKGBUILD | 39 +++++++++++++++++++++++++++++
community-staging-i686/umurmur.install | 13 +++++++++
community-staging-i686/umurmur.service | 15 +++++++++++
community-staging-x86_64/PKGBUILD | 39 +++++++++++++++++++++++++++++
community-staging-x86_64/umurmur.install | 13 +++++++++
community-staging-x86_64/umurmur.service | 15 +++++++++++
6 files changed, 134 insertions(+)
Copied: umurmur/repos/community-staging-i686/PKGBUILD (from rev 127901, umurmur/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2015-02-18 08:02:42 UTC (rev 127902)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: 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.15
+pkgrel=2
+pkgdesc='Minimalistic Mumble server'
+arch=('i686' 'x86_64')
+url='http://code.google.com/p/umurmur/'
+license=('custom')
+depends=('mbedtls' 'libconfig' 'protobuf-c')
+install=$pkgname.install
+backup=('etc/umurmur/umurmur.conf')
+source=(https://github.com/fatbob313/umurmur/archive/$pkgver.tar.gz
+ umurmur.service)
+md5sums=('e29d831a8a4cbc465668ae7b8b4cd020'
+ 'd9d556e4ffa77e193fb40ce508804720')
+
+prepare() {
+ cd $pkgname-$pkgver
+ ./autogen.sh
+}
+
+build() {
+ cd $pkgname-$pkgver
+ ./configure --prefix=/usr --mandir=/usr/share/man --with-ssl=polarssl
+ make
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+
+ install -Dm644 umurmur.conf.example "$pkgdir"/etc/umurmur/umurmur.conf
+ install -Dm644 ../umurmur.service "$pkgdir"/usr/lib/systemd/system/umurmur.service
+ install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
Copied: umurmur/repos/community-staging-i686/umurmur.install (from rev 127901, umurmur/trunk/umurmur.install)
===================================================================
--- community-staging-i686/umurmur.install (rev 0)
+++ community-staging-i686/umurmur.install 2015-02-18 08:02:42 UTC (rev 127902)
@@ -0,0 +1,13 @@
+post_install() {
+ getent group umurmur > /dev/null || groupadd -r umurmur 1>/dev/null
+ getent passwd umurmur > /dev/null || useradd -r -M -g umurmur -s /bin/false umurmur 1>/dev/null
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ getent passwd umurmur > /dev/null && userdel umurmur 1>/dev/null
+ getent group umurmur > /dev/null && groupdel umurmur 1>/dev/null
+}
Copied: umurmur/repos/community-staging-i686/umurmur.service (from rev 127901, umurmur/trunk/umurmur.service)
===================================================================
--- community-staging-i686/umurmur.service (rev 0)
+++ community-staging-i686/umurmur.service 2015-02-18 08:02:42 UTC (rev 127902)
@@ -0,0 +1,15 @@
+[Unit]
+Description=A 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 -p /run/umurmurd.pid -c /etc/umurmur/umurmur.conf
+ExecReload=/bin/kill -HUP $MAINPID
+
+[Install]
+WantedBy=multi-user.target
Copied: umurmur/repos/community-staging-x86_64/PKGBUILD (from rev 127901, umurmur/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2015-02-18 08:02:42 UTC (rev 127902)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: 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.15
+pkgrel=2
+pkgdesc='Minimalistic Mumble server'
+arch=('i686' 'x86_64')
+url='http://code.google.com/p/umurmur/'
+license=('custom')
+depends=('mbedtls' 'libconfig' 'protobuf-c')
+install=$pkgname.install
+backup=('etc/umurmur/umurmur.conf')
+source=(https://github.com/fatbob313/umurmur/archive/$pkgver.tar.gz
+ umurmur.service)
+md5sums=('e29d831a8a4cbc465668ae7b8b4cd020'
+ 'd9d556e4ffa77e193fb40ce508804720')
+
+prepare() {
+ cd $pkgname-$pkgver
+ ./autogen.sh
+}
+
+build() {
+ cd $pkgname-$pkgver
+ ./configure --prefix=/usr --mandir=/usr/share/man --with-ssl=polarssl
+ make
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+
+ install -Dm644 umurmur.conf.example "$pkgdir"/etc/umurmur/umurmur.conf
+ install -Dm644 ../umurmur.service "$pkgdir"/usr/lib/systemd/system/umurmur.service
+ install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
Copied: umurmur/repos/community-staging-x86_64/umurmur.install (from rev 127901, umurmur/trunk/umurmur.install)
===================================================================
--- community-staging-x86_64/umurmur.install (rev 0)
+++ community-staging-x86_64/umurmur.install 2015-02-18 08:02:42 UTC (rev 127902)
@@ -0,0 +1,13 @@
+post_install() {
+ getent group umurmur > /dev/null || groupadd -r umurmur 1>/dev/null
+ getent passwd umurmur > /dev/null || useradd -r -M -g umurmur -s /bin/false umurmur 1>/dev/null
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ getent passwd umurmur > /dev/null && userdel umurmur 1>/dev/null
+ getent group umurmur > /dev/null && groupdel umurmur 1>/dev/null
+}
Copied: umurmur/repos/community-staging-x86_64/umurmur.service (from rev 127901, umurmur/trunk/umurmur.service)
===================================================================
--- community-staging-x86_64/umurmur.service (rev 0)
+++ community-staging-x86_64/umurmur.service 2015-02-18 08:02:42 UTC (rev 127902)
@@ -0,0 +1,15 @@
+[Unit]
+Description=A 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 -p /run/umurmurd.pid -c /etc/umurmur/umurmur.conf
+ExecReload=/bin/kill -HUP $MAINPID
+
+[Install]
+WantedBy=multi-user.target
More information about the arch-commits
mailing list