[arch-commits] Commit in mpd/repos (18 files)

Gaetan Bisson bisson at nymeria.archlinux.org
Fri Nov 8 16:07:36 UTC 2013


    Date: Friday, November 8, 2013 @ 17:07:36
  Author: bisson
Revision: 199077

archrelease: copy trunk to extra-i686, extra-x86_64

Added:
  mpd/repos/extra-i686/PKGBUILD
    (from rev 199076, mpd/trunk/PKGBUILD)
  mpd/repos/extra-i686/conf
    (from rev 199076, mpd/trunk/conf)
  mpd/repos/extra-i686/install
    (from rev 199076, mpd/trunk/install)
  mpd/repos/extra-i686/tmpfiles.d
    (from rev 199076, mpd/trunk/tmpfiles.d)
  mpd/repos/extra-x86_64/PKGBUILD
    (from rev 199076, mpd/trunk/PKGBUILD)
  mpd/repos/extra-x86_64/conf
    (from rev 199076, mpd/trunk/conf)
  mpd/repos/extra-x86_64/install
    (from rev 199076, mpd/trunk/install)
  mpd/repos/extra-x86_64/tmpfiles.d
    (from rev 199076, mpd/trunk/tmpfiles.d)
Deleted:
  mpd/repos/extra-i686/77c63511d8809f7785328138e7e3a50303302730.patch
  mpd/repos/extra-i686/PKGBUILD
  mpd/repos/extra-i686/conf
  mpd/repos/extra-i686/install
  mpd/repos/extra-i686/tmpfiles.d
  mpd/repos/extra-x86_64/77c63511d8809f7785328138e7e3a50303302730.patch
  mpd/repos/extra-x86_64/PKGBUILD
  mpd/repos/extra-x86_64/conf
  mpd/repos/extra-x86_64/install
  mpd/repos/extra-x86_64/tmpfiles.d

-------------------------------------------------------------+
 /PKGBUILD                                                   |  110 ++++++++++
 /conf                                                       |   14 +
 /install                                                    |   22 ++
 /tmpfiles.d                                                 |    2 
 extra-i686/77c63511d8809f7785328138e7e3a50303302730.patch   |   53 ----
 extra-i686/PKGBUILD                                         |   58 -----
 extra-i686/conf                                             |    7 
 extra-i686/install                                          |   11 -
 extra-i686/tmpfiles.d                                       |    1 
 extra-x86_64/77c63511d8809f7785328138e7e3a50303302730.patch |   53 ----
 extra-x86_64/PKGBUILD                                       |   58 -----
 extra-x86_64/conf                                           |    7 
 extra-x86_64/install                                        |   11 -
 extra-x86_64/tmpfiles.d                                     |    1 
 14 files changed, 148 insertions(+), 260 deletions(-)

Deleted: extra-i686/77c63511d8809f7785328138e7e3a50303302730.patch
===================================================================
--- extra-i686/77c63511d8809f7785328138e7e3a50303302730.patch	2013-11-08 16:06:41 UTC (rev 199076)
+++ extra-i686/77c63511d8809f7785328138e7e3a50303302730.patch	2013-11-08 16:07:36 UTC (rev 199077)
@@ -1,53 +0,0 @@
-From 77c63511d8809f7785328138e7e3a50303302730 Mon Sep 17 00:00:00 2001
-From: Max Kellermann <max at duempel.org>
-Date: Wed, 06 Nov 2013 22:30:29 +0000
-Subject: PlayerThread: reduce the number of DecoderThread wakeups
-
-After the number of decoded chunks has fallen below the threshold, the
-PlayerThread woke up the DecoderThread over and over.  This commit
-adds a boolean flag that avoids these duplicate wakeups, and thus
-reduces the number of system calls.
----
-diff --git a/src/PlayerThread.cxx b/src/PlayerThread.cxx
-index e2e3ee3..cb3d6a9 100644
---- a/src/PlayerThread.cxx
-+++ b/src/PlayerThread.cxx
-@@ -69,6 +69,12 @@ class Player {
- 	bool decoder_starting;
- 
- 	/**
-+	 * Did we wake up the DecoderThread recently?  This avoids
-+	 * duplicate wakeup calls.
-+	 */
-+	bool decoder_woken;
-+
-+	/**
- 	 * is the player paused?
- 	 */
- 	bool paused;
-@@ -133,6 +139,7 @@ public:
- 		:pc(_pc), dc(_dc), buffer(_buffer),
- 		 buffering(true),
- 		 decoder_starting(false),
-+		 decoder_woken(false),
- 		 paused(false),
- 		 queued(true),
- 		 output_open(false),
-@@ -861,8 +868,13 @@ Player::PlayNextChunk()
- 	pc.Lock();
- 	if (!dc.IsIdle() &&
- 	    dc.pipe->GetSize() <= (pc.buffered_before_play +
--				   buffer.GetSize() * 3) / 4)
--		dc.Signal();
-+				   buffer.GetSize() * 3) / 4) {
-+		if (!decoder_woken) {
-+			decoder_woken = true;
-+			dc.Signal();
-+		}
-+	} else
-+		decoder_woken = false;
- 	pc.Unlock();
- 
- 	return true;
---
-cgit v0.9.1-27-gd5a4

Deleted: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD	2013-11-08 16:06:41 UTC (rev 199076)
+++ extra-i686/PKGBUILD	2013-11-08 16:07:36 UTC (rev 199077)
@@ -1,58 +0,0 @@
-# $Id$
-# Maintainer: Gaetan Bisson <bisson at archlinux.org>
-# Contributor: Angel Velasquez <angvp at archlinux.org>
-# Contributor: Andrea Scarpino <andrea at archlinux.org>
-# Contributor: Damir Perisa <damir.perisa at bluewin.ch>
-# Contributor: Ben <ben at benmazer.net>
-
-pkgname=mpd
-pkgver=0.18.2
-pkgrel=2
-pkgdesc='Flexible, powerful, server-side application for playing music'
-url='http://www.musicpd.org/'
-license=('GPL')
-arch=('i686' 'x86_64')
-depends=('libao' 'ffmpeg' 'libmodplug' 'audiofile' 'libshout' 'libmad' 'curl' 'faad2'
-         'sqlite' 'jack' 'libmms' 'wavpack' 'avahi' 'libid3tag' 'yajl')
-makedepends=('doxygen')
-source=("http://www.musicpd.org/download/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz"{,.sig}
-        '77c63511d8809f7785328138e7e3a50303302730.patch'
-        'tmpfiles.d'
-        'conf')
-sha1sums=('116f4cf0147320abd5253435c4be134a1d5eace8' 'SKIP'
-          '361122fa0267fbfc1a37cc953f9aadfa55fa0193'
-          'f4d5922abb69abb739542d8e93f4dfd748acdad7'
-          '67c145c046cddd885630d72ce8ebe71f8321ff3b')
-
-backup=('etc/mpd.conf')
-install=install
-
-prepare() {
-	cd "${srcdir}/${pkgname}-${pkgver}"
-	patch -R -p1 -i ../77c63511d8809f7785328138e7e3a50303302730.patch # http://bugs.musicpd.org/view.php?id=3860
-	sed 's:cdio/paranoia.h:cdio/paranoia/paranoia.h:g' -i src/input/CdioParanoiaInputPlugin.cxx
-}
-
-build() {
-	cd "${srcdir}/${pkgname}-${pkgver}"
-	./configure \
-		--prefix=/usr \
-		--sysconfdir=/etc \
-		--enable-jack \
-		--enable-soundcloud \
-		--enable-pipe-output \
-		--enable-pulse \
-		--disable-sidplay \
-		--with-systemdsystemunitdir=/usr/lib/systemd/system
-	make
-}
-
-package() {
-	cd "${srcdir}/${pkgname}-${pkgver}"
-	make DESTDIR="${pkgdir}" install
-	install -Dm644 ../conf "${pkgdir}"/etc/mpd.conf
-	install -Dm644 ../tmpfiles.d "${pkgdir}"/usr/lib/tmpfiles.d/mpd.conf
-	install -d -g 45 -o 45 "${pkgdir}"/var/lib/mpd/playlists
-	install -d "${pkgdir}"/usr/lib/systemd/user
-	ln -s ../system/mpd.service "${pkgdir}"/usr/lib/systemd/user/mpd.service
-}

Copied: mpd/repos/extra-i686/PKGBUILD (from rev 199076, mpd/trunk/PKGBUILD)
===================================================================
--- extra-i686/PKGBUILD	                        (rev 0)
+++ extra-i686/PKGBUILD	2013-11-08 16:07:36 UTC (rev 199077)
@@ -0,0 +1,55 @@
+# $Id$
+# Maintainer: Gaetan Bisson <bisson at archlinux.org>
+# Contributor: Angel Velasquez <angvp at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Damir Perisa <damir.perisa at bluewin.ch>
+# Contributor: Ben <ben at benmazer.net>
+
+pkgname=mpd
+pkgver=0.18.3
+pkgrel=1
+pkgdesc='Flexible, powerful, server-side application for playing music'
+url='http://www.musicpd.org/'
+license=('GPL')
+arch=('i686' 'x86_64')
+depends=('libao' 'ffmpeg' 'libmodplug' 'audiofile' 'libshout' 'libmad' 'curl' 'faad2'
+         'sqlite' 'jack' 'libmms' 'wavpack' 'avahi' 'libid3tag' 'yajl')
+makedepends=('doxygen')
+source=("http://www.musicpd.org/download/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz"{,.sig}
+        'tmpfiles.d'
+        'conf')
+sha1sums=('e95d1a818ddeff6bb83c969bcc8d3b6ae26ff058' 'SKIP'
+          'f4d5922abb69abb739542d8e93f4dfd748acdad7'
+          '67c145c046cddd885630d72ce8ebe71f8321ff3b')
+
+backup=('etc/mpd.conf')
+install=install
+
+prepare() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+	sed 's:cdio/paranoia.h:cdio/paranoia/paranoia.h:g' -i src/input/CdioParanoiaInputPlugin.cxx
+}
+
+build() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+	./configure \
+		--prefix=/usr \
+		--sysconfdir=/etc \
+		--enable-jack \
+		--enable-soundcloud \
+		--enable-pipe-output \
+		--enable-pulse \
+		--disable-sidplay \
+		--with-systemdsystemunitdir=/usr/lib/systemd/system
+	make
+}
+
+package() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+	make DESTDIR="${pkgdir}" install
+	install -Dm644 ../conf "${pkgdir}"/etc/mpd.conf
+	install -Dm644 ../tmpfiles.d "${pkgdir}"/usr/lib/tmpfiles.d/mpd.conf
+	install -d -g 45 -o 45 "${pkgdir}"/var/lib/mpd/playlists
+	install -d "${pkgdir}"/usr/lib/systemd/user
+	ln -s ../system/mpd.service "${pkgdir}"/usr/lib/systemd/user/mpd.service
+}

Deleted: extra-i686/conf
===================================================================
--- extra-i686/conf	2013-11-08 16:06:41 UTC (rev 199076)
+++ extra-i686/conf	2013-11-08 16:07:36 UTC (rev 199077)
@@ -1,7 +0,0 @@
-# See: /usr/share/doc/mpd/mpdconf.example
-
-user "mpd"
-pid_file "/run/mpd/mpd.pid"
-db_file "/var/lib/mpd/mpd.db"
-state_file "/var/lib/mpd/mpdstate"
-playlist_directory "/var/lib/mpd/playlists"

Copied: mpd/repos/extra-i686/conf (from rev 199076, mpd/trunk/conf)
===================================================================
--- extra-i686/conf	                        (rev 0)
+++ extra-i686/conf	2013-11-08 16:07:36 UTC (rev 199077)
@@ -0,0 +1,7 @@
+# See: /usr/share/doc/mpd/mpdconf.example
+
+user "mpd"
+pid_file "/run/mpd/mpd.pid"
+db_file "/var/lib/mpd/mpd.db"
+state_file "/var/lib/mpd/mpdstate"
+playlist_directory "/var/lib/mpd/playlists"

Deleted: extra-i686/install
===================================================================
--- extra-i686/install	2013-11-08 16:06:41 UTC (rev 199076)
+++ extra-i686/install	2013-11-08 16:07:36 UTC (rev 199077)
@@ -1,11 +0,0 @@
-post_install() {
-	getent group mpd &>/dev/null || groupadd -r -g 45 mpd >/dev/null
-	getent passwd mpd &>/dev/null || useradd -r -u 45 -g mpd -d /var/lib/mpd -s /bin/false -G audio mpd >/dev/null
-	usr/bin/systemd-tmpfiles --create mpd.conf || true
-}
-
-post_remove() {
-	getent passwd mpd &>/dev/null && userdel mpd >/dev/null
-	getent group mpd &>/dev/null && groupdel mpd >/dev/null
-	true
-}

Copied: mpd/repos/extra-i686/install (from rev 199076, mpd/trunk/install)
===================================================================
--- extra-i686/install	                        (rev 0)
+++ extra-i686/install	2013-11-08 16:07:36 UTC (rev 199077)
@@ -0,0 +1,11 @@
+post_install() {
+	getent group mpd &>/dev/null || groupadd -r -g 45 mpd >/dev/null
+	getent passwd mpd &>/dev/null || useradd -r -u 45 -g mpd -d /var/lib/mpd -s /bin/false -G audio mpd >/dev/null
+	usr/bin/systemd-tmpfiles --create mpd.conf || true
+}
+
+post_remove() {
+	getent passwd mpd &>/dev/null && userdel mpd >/dev/null
+	getent group mpd &>/dev/null && groupdel mpd >/dev/null
+	true
+}

Deleted: extra-i686/tmpfiles.d
===================================================================
--- extra-i686/tmpfiles.d	2013-11-08 16:06:41 UTC (rev 199076)
+++ extra-i686/tmpfiles.d	2013-11-08 16:07:36 UTC (rev 199077)
@@ -1 +0,0 @@
-d /run/mpd 0755 mpd mpd

Copied: mpd/repos/extra-i686/tmpfiles.d (from rev 199076, mpd/trunk/tmpfiles.d)
===================================================================
--- extra-i686/tmpfiles.d	                        (rev 0)
+++ extra-i686/tmpfiles.d	2013-11-08 16:07:36 UTC (rev 199077)
@@ -0,0 +1 @@
+d /run/mpd 0755 mpd mpd

Deleted: extra-x86_64/77c63511d8809f7785328138e7e3a50303302730.patch
===================================================================
--- extra-x86_64/77c63511d8809f7785328138e7e3a50303302730.patch	2013-11-08 16:06:41 UTC (rev 199076)
+++ extra-x86_64/77c63511d8809f7785328138e7e3a50303302730.patch	2013-11-08 16:07:36 UTC (rev 199077)
@@ -1,53 +0,0 @@
-From 77c63511d8809f7785328138e7e3a50303302730 Mon Sep 17 00:00:00 2001
-From: Max Kellermann <max at duempel.org>
-Date: Wed, 06 Nov 2013 22:30:29 +0000
-Subject: PlayerThread: reduce the number of DecoderThread wakeups
-
-After the number of decoded chunks has fallen below the threshold, the
-PlayerThread woke up the DecoderThread over and over.  This commit
-adds a boolean flag that avoids these duplicate wakeups, and thus
-reduces the number of system calls.
----
-diff --git a/src/PlayerThread.cxx b/src/PlayerThread.cxx
-index e2e3ee3..cb3d6a9 100644
---- a/src/PlayerThread.cxx
-+++ b/src/PlayerThread.cxx
-@@ -69,6 +69,12 @@ class Player {
- 	bool decoder_starting;
- 
- 	/**
-+	 * Did we wake up the DecoderThread recently?  This avoids
-+	 * duplicate wakeup calls.
-+	 */
-+	bool decoder_woken;
-+
-+	/**
- 	 * is the player paused?
- 	 */
- 	bool paused;
-@@ -133,6 +139,7 @@ public:
- 		:pc(_pc), dc(_dc), buffer(_buffer),
- 		 buffering(true),
- 		 decoder_starting(false),
-+		 decoder_woken(false),
- 		 paused(false),
- 		 queued(true),
- 		 output_open(false),
-@@ -861,8 +868,13 @@ Player::PlayNextChunk()
- 	pc.Lock();
- 	if (!dc.IsIdle() &&
- 	    dc.pipe->GetSize() <= (pc.buffered_before_play +
--				   buffer.GetSize() * 3) / 4)
--		dc.Signal();
-+				   buffer.GetSize() * 3) / 4) {
-+		if (!decoder_woken) {
-+			decoder_woken = true;
-+			dc.Signal();
-+		}
-+	} else
-+		decoder_woken = false;
- 	pc.Unlock();
- 
- 	return true;
---
-cgit v0.9.1-27-gd5a4

Deleted: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD	2013-11-08 16:06:41 UTC (rev 199076)
+++ extra-x86_64/PKGBUILD	2013-11-08 16:07:36 UTC (rev 199077)
@@ -1,58 +0,0 @@
-# $Id$
-# Maintainer: Gaetan Bisson <bisson at archlinux.org>
-# Contributor: Angel Velasquez <angvp at archlinux.org>
-# Contributor: Andrea Scarpino <andrea at archlinux.org>
-# Contributor: Damir Perisa <damir.perisa at bluewin.ch>
-# Contributor: Ben <ben at benmazer.net>
-
-pkgname=mpd
-pkgver=0.18.2
-pkgrel=2
-pkgdesc='Flexible, powerful, server-side application for playing music'
-url='http://www.musicpd.org/'
-license=('GPL')
-arch=('i686' 'x86_64')
-depends=('libao' 'ffmpeg' 'libmodplug' 'audiofile' 'libshout' 'libmad' 'curl' 'faad2'
-         'sqlite' 'jack' 'libmms' 'wavpack' 'avahi' 'libid3tag' 'yajl')
-makedepends=('doxygen')
-source=("http://www.musicpd.org/download/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz"{,.sig}
-        '77c63511d8809f7785328138e7e3a50303302730.patch'
-        'tmpfiles.d'
-        'conf')
-sha1sums=('116f4cf0147320abd5253435c4be134a1d5eace8' 'SKIP'
-          '361122fa0267fbfc1a37cc953f9aadfa55fa0193'
-          'f4d5922abb69abb739542d8e93f4dfd748acdad7'
-          '67c145c046cddd885630d72ce8ebe71f8321ff3b')
-
-backup=('etc/mpd.conf')
-install=install
-
-prepare() {
-	cd "${srcdir}/${pkgname}-${pkgver}"
-	patch -R -p1 -i ../77c63511d8809f7785328138e7e3a50303302730.patch # http://bugs.musicpd.org/view.php?id=3860
-	sed 's:cdio/paranoia.h:cdio/paranoia/paranoia.h:g' -i src/input/CdioParanoiaInputPlugin.cxx
-}
-
-build() {
-	cd "${srcdir}/${pkgname}-${pkgver}"
-	./configure \
-		--prefix=/usr \
-		--sysconfdir=/etc \
-		--enable-jack \
-		--enable-soundcloud \
-		--enable-pipe-output \
-		--enable-pulse \
-		--disable-sidplay \
-		--with-systemdsystemunitdir=/usr/lib/systemd/system
-	make
-}
-
-package() {
-	cd "${srcdir}/${pkgname}-${pkgver}"
-	make DESTDIR="${pkgdir}" install
-	install -Dm644 ../conf "${pkgdir}"/etc/mpd.conf
-	install -Dm644 ../tmpfiles.d "${pkgdir}"/usr/lib/tmpfiles.d/mpd.conf
-	install -d -g 45 -o 45 "${pkgdir}"/var/lib/mpd/playlists
-	install -d "${pkgdir}"/usr/lib/systemd/user
-	ln -s ../system/mpd.service "${pkgdir}"/usr/lib/systemd/user/mpd.service
-}

Copied: mpd/repos/extra-x86_64/PKGBUILD (from rev 199076, mpd/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD	                        (rev 0)
+++ extra-x86_64/PKGBUILD	2013-11-08 16:07:36 UTC (rev 199077)
@@ -0,0 +1,55 @@
+# $Id$
+# Maintainer: Gaetan Bisson <bisson at archlinux.org>
+# Contributor: Angel Velasquez <angvp at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Damir Perisa <damir.perisa at bluewin.ch>
+# Contributor: Ben <ben at benmazer.net>
+
+pkgname=mpd
+pkgver=0.18.3
+pkgrel=1
+pkgdesc='Flexible, powerful, server-side application for playing music'
+url='http://www.musicpd.org/'
+license=('GPL')
+arch=('i686' 'x86_64')
+depends=('libao' 'ffmpeg' 'libmodplug' 'audiofile' 'libshout' 'libmad' 'curl' 'faad2'
+         'sqlite' 'jack' 'libmms' 'wavpack' 'avahi' 'libid3tag' 'yajl')
+makedepends=('doxygen')
+source=("http://www.musicpd.org/download/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz"{,.sig}
+        'tmpfiles.d'
+        'conf')
+sha1sums=('e95d1a818ddeff6bb83c969bcc8d3b6ae26ff058' 'SKIP'
+          'f4d5922abb69abb739542d8e93f4dfd748acdad7'
+          '67c145c046cddd885630d72ce8ebe71f8321ff3b')
+
+backup=('etc/mpd.conf')
+install=install
+
+prepare() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+	sed 's:cdio/paranoia.h:cdio/paranoia/paranoia.h:g' -i src/input/CdioParanoiaInputPlugin.cxx
+}
+
+build() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+	./configure \
+		--prefix=/usr \
+		--sysconfdir=/etc \
+		--enable-jack \
+		--enable-soundcloud \
+		--enable-pipe-output \
+		--enable-pulse \
+		--disable-sidplay \
+		--with-systemdsystemunitdir=/usr/lib/systemd/system
+	make
+}
+
+package() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+	make DESTDIR="${pkgdir}" install
+	install -Dm644 ../conf "${pkgdir}"/etc/mpd.conf
+	install -Dm644 ../tmpfiles.d "${pkgdir}"/usr/lib/tmpfiles.d/mpd.conf
+	install -d -g 45 -o 45 "${pkgdir}"/var/lib/mpd/playlists
+	install -d "${pkgdir}"/usr/lib/systemd/user
+	ln -s ../system/mpd.service "${pkgdir}"/usr/lib/systemd/user/mpd.service
+}

Deleted: extra-x86_64/conf
===================================================================
--- extra-x86_64/conf	2013-11-08 16:06:41 UTC (rev 199076)
+++ extra-x86_64/conf	2013-11-08 16:07:36 UTC (rev 199077)
@@ -1,7 +0,0 @@
-# See: /usr/share/doc/mpd/mpdconf.example
-
-user "mpd"
-pid_file "/run/mpd/mpd.pid"
-db_file "/var/lib/mpd/mpd.db"
-state_file "/var/lib/mpd/mpdstate"
-playlist_directory "/var/lib/mpd/playlists"

Copied: mpd/repos/extra-x86_64/conf (from rev 199076, mpd/trunk/conf)
===================================================================
--- extra-x86_64/conf	                        (rev 0)
+++ extra-x86_64/conf	2013-11-08 16:07:36 UTC (rev 199077)
@@ -0,0 +1,7 @@
+# See: /usr/share/doc/mpd/mpdconf.example
+
+user "mpd"
+pid_file "/run/mpd/mpd.pid"
+db_file "/var/lib/mpd/mpd.db"
+state_file "/var/lib/mpd/mpdstate"
+playlist_directory "/var/lib/mpd/playlists"

Deleted: extra-x86_64/install
===================================================================
--- extra-x86_64/install	2013-11-08 16:06:41 UTC (rev 199076)
+++ extra-x86_64/install	2013-11-08 16:07:36 UTC (rev 199077)
@@ -1,11 +0,0 @@
-post_install() {
-	getent group mpd &>/dev/null || groupadd -r -g 45 mpd >/dev/null
-	getent passwd mpd &>/dev/null || useradd -r -u 45 -g mpd -d /var/lib/mpd -s /bin/false -G audio mpd >/dev/null
-	usr/bin/systemd-tmpfiles --create mpd.conf || true
-}
-
-post_remove() {
-	getent passwd mpd &>/dev/null && userdel mpd >/dev/null
-	getent group mpd &>/dev/null && groupdel mpd >/dev/null
-	true
-}

Copied: mpd/repos/extra-x86_64/install (from rev 199076, mpd/trunk/install)
===================================================================
--- extra-x86_64/install	                        (rev 0)
+++ extra-x86_64/install	2013-11-08 16:07:36 UTC (rev 199077)
@@ -0,0 +1,11 @@
+post_install() {
+	getent group mpd &>/dev/null || groupadd -r -g 45 mpd >/dev/null
+	getent passwd mpd &>/dev/null || useradd -r -u 45 -g mpd -d /var/lib/mpd -s /bin/false -G audio mpd >/dev/null
+	usr/bin/systemd-tmpfiles --create mpd.conf || true
+}
+
+post_remove() {
+	getent passwd mpd &>/dev/null && userdel mpd >/dev/null
+	getent group mpd &>/dev/null && groupdel mpd >/dev/null
+	true
+}

Deleted: extra-x86_64/tmpfiles.d
===================================================================
--- extra-x86_64/tmpfiles.d	2013-11-08 16:06:41 UTC (rev 199076)
+++ extra-x86_64/tmpfiles.d	2013-11-08 16:07:36 UTC (rev 199077)
@@ -1 +0,0 @@
-d /run/mpd 0755 mpd mpd

Copied: mpd/repos/extra-x86_64/tmpfiles.d (from rev 199076, mpd/trunk/tmpfiles.d)
===================================================================
--- extra-x86_64/tmpfiles.d	                        (rev 0)
+++ extra-x86_64/tmpfiles.d	2013-11-08 16:07:36 UTC (rev 199077)
@@ -0,0 +1 @@
+d /run/mpd 0755 mpd mpd




More information about the arch-commits mailing list