[arch-commits] Commit in shairport-sync/trunk (3 files)
Anatol Pomozov
anatolik at archlinux.org
Fri Dec 29 04:15:42 UTC 2017
Date: Friday, December 29, 2017 @ 04:15:42
Author: anatolik
Revision: 276825
upgpkg: shairport-sync 3.1.7-1
Add sysusers systemd file
Added:
shairport-sync/trunk/shairport-sync.sysusers
Modified:
shairport-sync/trunk/PKGBUILD
Deleted:
shairport-sync/trunk/shairport-sync.install
-------------------------+
PKGBUILD | 8 +++++---
shairport-sync.install | 11 -----------
shairport-sync.sysusers | 3 +++
3 files changed, 8 insertions(+), 14 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-12-29 04:14:39 UTC (rev 276824)
+++ PKGBUILD 2017-12-29 04:15:42 UTC (rev 276825)
@@ -2,7 +2,7 @@
# Maintainer: Anatol Pomozov <anatol.pomozov at gmail.com>
pkgname=shairport-sync
-pkgver=3.1.6
+pkgver=3.1.7
pkgrel=1
pkgdesc='Emulates an AirPort Express for the purpose of streaming music from iTunes and compatible iPods and iPhones'
url='https://github.com/mikebrady/shairport-sync'
@@ -9,12 +9,13 @@
arch=(x86_64)
license=(GPL)
backup=(etc/shairport-sync.conf)
-install=shairport-sync.install
depends=(openssl avahi libsoxr popt alsa-lib libconfig libpulse)
makedepends=(xmltoman)
source=(shairport-sync-$pkgver.zip::https://github.com/mikebrady/shairport-sync/archive/$pkgver.zip
+ shairport-sync.sysusers
useradd.patch::https://github.com/mikebrady/shairport-sync/commit/15c376ad57629dad16f1120dbf4c080f7de48475.patch)
-sha1sums=('0b2e07dcc3172e647f546ecaf7537bea27daf5f4'
+sha1sums=('2cfc85732a9dcbe26eef032b0b29524dfaff2a33'
+ 'b806f9cd3eeaf8585a51d79c7b5681e3d3e4748a'
'0d216ac98a7c390476c79732e7361c4e66651340')
prepare() {
@@ -36,6 +37,7 @@
package() {
cd shairport-sync-$pkgver
make DESTDIR="$pkgdir" install
+ install -D -m644 "$srcdir"/shairport-sync.sysusers "$pkgdir"/usr/lib/sysusers.d/shairport-sync.conf
install -D -m664 LICENSES "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
rm "$pkgdir"/etc/shairport-sync.conf.sample
}
Deleted: shairport-sync.install
===================================================================
--- shairport-sync.install 2017-12-29 04:14:39 UTC (rev 276824)
+++ shairport-sync.install 2017-12-29 04:15:42 UTC (rev 276825)
@@ -1,11 +0,0 @@
-post_install() {
- getent group shairport-sync &>/dev/null || groupadd --system shairport-sync >/dev/null
- getent passwd shairport-sync &> /dev/null || useradd --system -c 'ShairportSync AirPort receiver' -d /var/lib/shairport-sync -m -g shairport-sync -s /bin/false -G audio shairport-sync >/dev/null
-
- [ -f /etc/conf.d/shairport-sync ] && echo "ShairportSync config has been moved to /etc/shairport-sync.conf. Please remove old config file /etc/conf.d/shairport-sync"
- true
-}
-
-post_upgrade() {
- post_install
-}
Added: shairport-sync.sysusers
===================================================================
--- shairport-sync.sysusers (rev 0)
+++ shairport-sync.sysusers 2017-12-29 04:15:42 UTC (rev 276825)
@@ -0,0 +1,3 @@
+u shairport-sync - "ShairportSync AirPort receiver" /var/lib/shairport-sync
+g shairport-sync
+m shairport-sync audio
More information about the arch-commits
mailing list