[arch-commits] Commit in shairport-sync/repos/community-x86_64 (4 files)
Anatol Pomozov
anatolik at archlinux.org
Fri Dec 29 04:16:10 UTC 2017
Date: Friday, December 29, 2017 @ 04:16:10
Author: anatolik
Revision: 276826
archrelease: copy trunk to community-x86_64
Added:
shairport-sync/repos/community-x86_64/PKGBUILD
(from rev 276825, shairport-sync/trunk/PKGBUILD)
shairport-sync/repos/community-x86_64/shairport-sync.sysusers
(from rev 276825, shairport-sync/trunk/shairport-sync.sysusers)
Deleted:
shairport-sync/repos/community-x86_64/PKGBUILD
shairport-sync/repos/community-x86_64/shairport-sync.install
-------------------------+
PKGBUILD | 84 +++++++++++++++++++++++-----------------------
shairport-sync.install | 11 ------
shairport-sync.sysusers | 3 +
3 files changed, 46 insertions(+), 52 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2017-12-29 04:15:42 UTC (rev 276825)
+++ PKGBUILD 2017-12-29 04:16:10 UTC (rev 276826)
@@ -1,41 +0,0 @@
-# $Id$
-# Maintainer: Anatol Pomozov <anatol.pomozov at gmail.com>
-
-pkgname=shairport-sync
-pkgver=3.1.6
-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'
-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
- useradd.patch::https://github.com/mikebrady/shairport-sync/commit/15c376ad57629dad16f1120dbf4c080f7de48475.patch)
-sha1sums=('0b2e07dcc3172e647f546ecaf7537bea27daf5f4'
- '0d216ac98a7c390476c79732e7361c4e66651340')
-
-prepare() {
- cd shairport-sync-$pkgver
- # Revert adding users with 'make install'. We have a separate *.install script for it.
- patch -R < ../useradd.patch
-}
-
-build() {
- cd shairport-sync-$pkgver
-
- autoreconf -i -f
- ./configure --prefix=/usr --sysconfdir=/etc --with-alsa --with-pa --with-avahi --with-ssl=openssl --with-soxr --with-dns_sd --with-pkg-config --with-systemd --with-configfiles
- make
-
- sed 's|/usr/local/bin/|/usr/bin/|' -i scripts/shairport-sync.service
-}
-
-package() {
- cd shairport-sync-$pkgver
- make DESTDIR="$pkgdir" install
- install -D -m664 LICENSES "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
- rm "$pkgdir"/etc/shairport-sync.conf.sample
-}
Copied: shairport-sync/repos/community-x86_64/PKGBUILD (from rev 276825, shairport-sync/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2017-12-29 04:16:10 UTC (rev 276826)
@@ -0,0 +1,43 @@
+# $Id$
+# Maintainer: Anatol Pomozov <anatol.pomozov at gmail.com>
+
+pkgname=shairport-sync
+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'
+arch=(x86_64)
+license=(GPL)
+backup=(etc/shairport-sync.conf)
+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=('2cfc85732a9dcbe26eef032b0b29524dfaff2a33'
+ 'b806f9cd3eeaf8585a51d79c7b5681e3d3e4748a'
+ '0d216ac98a7c390476c79732e7361c4e66651340')
+
+prepare() {
+ cd shairport-sync-$pkgver
+ # Revert adding users with 'make install'. We have a separate *.install script for it.
+ patch -R < ../useradd.patch
+}
+
+build() {
+ cd shairport-sync-$pkgver
+
+ autoreconf -i -f
+ ./configure --prefix=/usr --sysconfdir=/etc --with-alsa --with-pa --with-avahi --with-ssl=openssl --with-soxr --with-dns_sd --with-pkg-config --with-systemd --with-configfiles
+ make
+
+ sed 's|/usr/local/bin/|/usr/bin/|' -i scripts/shairport-sync.service
+}
+
+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:15:42 UTC (rev 276825)
+++ shairport-sync.install 2017-12-29 04:16:10 UTC (rev 276826)
@@ -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
-}
Copied: shairport-sync/repos/community-x86_64/shairport-sync.sysusers (from rev 276825, shairport-sync/trunk/shairport-sync.sysusers)
===================================================================
--- shairport-sync.sysusers (rev 0)
+++ shairport-sync.sysusers 2017-12-29 04:16:10 UTC (rev 276826)
@@ -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