summaryrefslogtreecommitdiffstats
path: root/package/shairport-sync
Commit message (Collapse)AuthorAgeFilesLines
* package/shairport-sync: fix init script (stop)Carlos Santos2018-12-211-2/+4
| | | | | | | | | | | | | | | | shairport-sync creates its pidfile at /var/run/shairport-sync/, so pass that path to start-stop-daemon in the stop operation. Also pass the executable path, allowing start-stop-daemon to check if the PID matches the shairport-sync process, preventing killing some other inocent daemon. Fixes: https://bugs.busybox.net/show_bug.cgi?id=11566 Reported-by: Bin Zhang <yangtze31@gmail.com> Signed-off-by: Carlos Santos <casantos@datacom.com.br> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* shairport-sync: add upstream patch to fix soxr configure issueJörg Krause2018-09-101-0/+35
| | | | | | | | | | | | | | | | | Commit e047dee241fe0660d92311a124757065c6c4c93d adds an upstream patch to fix a build issue with soxr. The patch also adds detecting soxr using pkg-config. Upstream detected an config issue [1], where the resulting binary lacks soxr support, although libsoxr was correctly detected. This patch adds a define for `HAVE_LIBSOXR` when using pkg-config. Backported from: cd6a99a7cfde1c5e1c1cc74ee6a77041bb4012d9 [1] https://github.com/mikebrady/shairport-sync/issues/740 Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/shairport-sync: add upstream patch to fix build issue with soxrJörg Krause2018-08-281-0/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add upstream patch to fix build issue detected by the Buildroot autobuilder: ``` arm-buildroot-linux-uclibcgnueabi/sysroot/usr//lib/libsoxr.a(soxr.c.o): In function `soxr_create': soxr.c:(.text+0xd4c): undefined reference to `av_get_cpu_flags' collect2: error: ld returned 1 exit status ``` A quick look at the soxr source code shows that `soxr_create()` might use `av_get_cpu_flags()` depending on the architecture. For the sake of simplicity link with `-lavutil` if it is found when using soxr. Even better, as soxr provides a pkg-config file, this should be prefered. Upstream issue: https://github.com/mikebrady/shairport-sync/issues/733 Upstream status: 5101ab2d13e2b89ea3c1276df5fb7413634eeccd Fixes: http://autobuild.buildroot.net/results/53d/53d21686780aa2485745b59e812b6280dd39f1c5 http://autobuild.buildroot.net/results/605/60576363adfca404c3a7883d5d46e8a4a9ee8171 http://autobuild.buildroot.net/results/806/806867ab1c6f42ad1b34d44844efc57272d48235 http://autobuild.buildroot.net/results/840/840810601fbb8a7957ea9dae175b959a7f9b7491 .. and more. Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* shairport-sync: bump to version 3.2.1Jörg Krause2018-07-182-2/+2
| | | | | Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/*/Config.in: fix help text check-package warningsThomas Petazzoni2017-12-181-10/+11
| | | | | | | | | | | | | This commit fixes the warnings reported by check-package on the help text of all package Config.in files, related to the formatting of the help text: should start with a tab, then 2 spaces, then at most 62 characters. The vast majority of warnings fixed were caused by too long lines. A few warnings were related to spaces being used instead of a tab to indent the help text. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* shairport-sync: bump to version 3.1.6Jörg Krause2017-12-162-2/+2
| | | | | Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* shairport-sync: bump to version 3.1.5Jörg Krause2017-12-122-2/+2
| | | | | Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* shairport-sync: security bump to version 3.1.4Jörg Krause2017-11-232-2/+2
| | | | | | | | | | | | | | | | | The bundled tinysvcmdns library is affected by CVE-2017-12087 [1]: > An exploitable heap overflow vulnerability exists in the tinysvcmdns library > version 2016-07-18. A specially crafted packet can make the library overwrite > an arbitrary amount of data on the heap with attacker controlled values. An > attacker needs send a dns packet to trigger this vulnerability. shairport-sync has incorparated upstreams fixes in [2]. [1] https://bugs.launchpad.net/bugs/cve/2017-12087 [2] https://github.com/mikebrady/shairport-sync/commit/1dbdf94811b8315705dbac5ba9199d417231c5d3 Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* shairport-sync: bump to version 3.1.3Jörg Krause2017-10-052-2/+2
| | | | | | | | | | | Fixes a runtime startup issue on SysV init systems: ``` # shairport-sync -d Daemon returned 2 as return value. ``` Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* shairport-sync: fix static link with mbedtlsBaruch Siach2017-09-241-0/+6
| | | | | | | | | | | | | mbedtls provided libraries are interdependent. libmbedtls depends on libmbedx509. Both depend on libmbedcrypto. When compression is enabled libz is also needed. Fixes: http://autobuild.buildroot.net/results/79d/79d9aff5edb6a767c38efb54256a4f20fc36a6ee/ Cc: Jörg Krause <joerg.krause@embedded.rocks> Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
* shairport-sync: bump to version 3.1.2Jörg Krause2017-09-132-2/+2
| | | | | Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* shairport-sync: bump to version 3.1.1Jörg Krause2017-09-082-2/+2
| | | | | Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* shairport-sync: bump to version 3.0.2Jörg Krause2017-05-292-2/+2
| | | | | Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* boot, package: use SPDX short identifier for BSD-3cRahul Bedarkar2017-04-011-1/+1
| | | | | | | | | | | We want to use SPDX identifier for license string as much as possible. SPDX short identifier for BSD-3c is BSD-3-Clause. This change is done using following command. find . -name "*.mk" | xargs sed -ri '/LICENSE( )?[\+:]?=/s/BSD-3c/BSD-3-Clause/g' Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* shairport-sync: requires C++Baruch Siach2017-03-291-2/+3
| | | | | | | | | | Fixes: http://autobuild.buildroot.net/results/122/122d6cedf0205e8db27d498d6a2a839e11e7b6f2/ http://autobuild.buildroot.net/results/bef/bef5fb328e6688107496cb213d8aeeca527abf03/ Cc: Jörg Krause <joerg.krause@embedded.rocks> Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* shairport-sync: bump to version 3.0.1Jörg Krause2017-03-123-6/+6
| | | | | | | | | | | Support for PolarSSL is deprecated and the usage of mbedTLS is recommended, if not OpenSSL is used as crypto backend. Also change the direction of the OpenSSL/mbedTLS package selection to be the same as in ustream-ssl to prevent a circular dependency. Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* Revert "shairport-sync: bump to version 3.0"Thomas Petazzoni2017-03-103-5/+5
| | | | | | | | | | | This reverts commit 7670dcc43e3b023b9bd613fa464533ecde7aca70, which causes a Config.in circular dependency: package/openssl/Config.in:1:error: recursive dependency detected! package/openssl/Config.in:1: symbol BR2_PACKAGE_OPENSSL is selected by BR2_PACKAGE_MBEDTLS package/mbedtls/Config.in:1: symbol BR2_PACKAGE_MBEDTLS is selected by BR2_PACKAGE_OPENSSL Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* shairport-sync: bump to version 3.0Jörg Krause2017-03-103-5/+5
| | | | | | | | Support for PolarSSL is deprecated and the usage of mbedTLS is recommended, if not OpenSSL is used as crypto backend. Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/shairport-sync: bump version to 2.8.6Jörg Krause2016-12-062-2/+2
| | | | | Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/shairport-sync: bump to version 2.8.5Jörg Krause2016-10-122-2/+2
| | | | | Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/shairport-sync: bump to version 2.8.4Jörg Krause2016-06-092-2/+2
| | | | | Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* shairport-sync: bump to version 2.8.3Jörg Krause2016-04-292-2/+2
| | | | | Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* shairport-sync: bump to version 2.8.2Jörg Krause2016-04-212-2/+2
| | | | | Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/shairport-sync: bump to version 2.8.1Jörg Krause2016-03-052-4/+2
| | | | | | | Also remove patch from upstream. Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/shairport-sync: fix static build issueJörg Krause2016-02-212-0/+2
| | | | | | | | | | | | | | | Add a patch from upstream to fix static build issue with linking against openssl and alsa. Fixes: http://autobuild.buildroot.net/results/682/6821605cf12e1a5393c29b30baf00cb0f1e1a451/ http://autobuild.buildroot.net/results/3cb/3cb79d566e197771d88e317789d05e9f467f4717/ http://autobuild.buildroot.net/results/9bc/9bcc27461b67e718f49419ba292afd28f1152dc6/ http://autobuild.buildroot.net/results/75a/75afbec6ba4c4b0ae2c18423a0d7eccf098b2eaa/ .. and possibly more. Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/shairport-sync: bump to version 2.8.0Jörg Krause2016-02-012-2/+2
| | | | | Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/shairport-sync: bump to version 2.6Jörg Krause2015-10-182-2/+2
| | | | | Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/shairport-sync: bump to version 2.4.2Jörg Krause2015-10-172-1/+3
| | | | | | | Also add a hash file - github release tarballs are considered stable now. Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/shairport-sync: bump to version 2.4.1Jörg Krause2015-10-121-3/+2
| | | | | | | | | - Remove backported from upstream patch. - Fix autoreconf comment that was wrong. Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package: Replace 'echo -n' by 'printf'Maxime Hadjinlian2015-10-041-2/+2
| | | | | | | | | | | | 'echo -n' is not a POSIX construct (no flag support), we shoud use 'printf', especially in init script. This patch was generated by the following command line: git grep -l 'echo -n' -- `git ls-files | grep -v 'patch'` | xargs sed -i 's/echo -n/printf/' Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* shairport-sync: fix non-existent meta_dir member of shairport_cfg structVicente Olivert Riera2015-09-231-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | shairport-sync tries to access to a non-existent member called "meta_dir" of a "shairport_cfg" struct: [snip] if (config.meta_dir) [snip] That struct doesn't have that member so it causes a build failure like this one: mdns_tinysvcmdns.c: In function 'mdns_tinysvcmdns_register': mdns_tinysvcmdns.c:121:13: error: 'shairport_cfg' has no member named 'meta_dir' if (config.meta_dir) This issue has been reported and fixed upstream: https://github.com/mikebrady/shairport-sync/issues/128#issuecomment-141947175 Fixes: http://autobuild.buildroot.net/results/89d/89d22ba2d41e05b407cde04c7e57510b36973ce9/ Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/shairport-sync: bump to version 2.4Jörg Krause2015-09-202-3/+9
| | | | | | | | | | | Version 2.4 of shairport-sync introduces new optional features (metadata, stdout, pipe) which we enable by default. The impact on the binary size is about 18 kB (110 kB vs 92 kB) for an ARM target. Also add a new dependency to libconfig and install the default config script. Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/shairport-sync: bump to version 2.2.4Jörg Krause2015-06-141-1/+1
| | | | | | | Amongst other things, the new release fixes the build with musl. Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/shairport-sync: bump to version 2.2.3Jörg Krause2015-04-221-1/+1
| | | | | Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/shairport-sync: bump to version 2.2.1Jörg Krause2015-02-141-1/+1
| | | | | Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/shairport-sync: bump to version 2.1.15Jörg Krause2015-01-054-94/+1
| | | | | Signed-off-by: Jörg Krause <jkrause@posteo.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* Merge branch 'next'Peter Korsgaard2014-12-011-1/+1
|\ | | | | | | | | | | | | | | | | Conflicts: Makefile package/flac/0001-fix-altivec-logic.patch package/grantlee/Config.in Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
| * package/shairport-sync: bump to version 2.1.11Jörg Krause2014-11-181-1/+1
| | | | | | | | | | Signed-off-by: Jörg Krause <jkrause@posteo.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* | package/shairport-sync: fix static buildsYann E. MORIN2014-11-304-2/+98
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Because shairport-sync uses AC_CHECK_LIB to find some of the needed libraries (opensl, alsa, popt...), it fails to bring in the dependencies of those libraries; for example, -lssl requires -lz. When doing a dynamically-linked build, those dependent libraries are pulled in thanks to the DT_NEEDED ELF tags, but those are not available in static libraries. Use PKG_CHECK_MODULES instead of AC_CHECK_LIB, and emulate the results of AC_CJECK_LIB (i.e. set the HAVE_LIBxxx and the LIBS variable appropriately) to minimise the amount of code touched. This should fix: http://autobuild.buildroot.net/results/1a5/1a56dbff3583bed0d693508dfc16859086846ecd/ http://autobuild.buildroot.net/results/6d5/6d5a8157592f7a2c9469bf71b0453796ef982ab1/ At the same time, remove a comment at the end of a variable assignment, since this has proven to cause some problems. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Jörg Krause <jkrause@posteo.de> Cc: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* | package/shairport-sync: fix init scriptJörg Krause2014-11-191-2/+2
|/ | | | | | | | | | | | | shairport-sync uses libdaemon for running as daemon and creating the pidfile which conflicts with start-stop-daemons `-b -m` options. For that reason shairport-sync does not start using /etc/init.d/S99shairport-sync start. The issue is fixed by removing the background and pidfile task from start-stop-daemon and add a daemon option `-d` to shairport-sync. Signed-off-by: Jörg Krause <jkrause@posteo.de> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/shairport-sync: fix avahi dependencyJörg Krause2014-11-121-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | shairport-sync uses mDNS to pubish its service. This task is implemented (among others) in avahi and tinysvcmdns. To use avahi as the mDNS backend, shairport-sync requires libavahi-client or libdns_sd. Both will work, but libavahi-client is sufficient. To get libavahi-client support from avahi BR2_PACKAGE_AVAHI_DAEMON and BR2_PACKAGE_DBUS needs to be selected. Unfortunatly this is not immediately obvious if you've not checked avahis configure file. A BR2_PACKAGE_LIBAVAHI_CLIENT config symbol may help here for clarification, but is not present yet. Fixes autobuild errors: - http://autobuild.buildroot.net/results/a6a/a6ab7641a3cafcdaeffe11f08d5fcacbbb882d8d/ - http://autobuild.buildroot.net/results/cb4/cb41980f2fb416d627bea0950e1dae727eae0ca6/ - http://autobuild.buildroot.net/results/009/00929df01474813be576936e80e86374efdbc327/ - http://autobuild.buildroot.net/results/a40/a40b8cf9aaa4ade4d96524219276cfad2920104c/ - http://autobuild.buildroot.net/results/03f/03fff2805b3348f2557bbef73a716eadea3add03/ and some more. Signed-off-by: Jörg Krause <jkrause@posteo.de> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* sysv init scripts: fix == bashismAndré Erdmann2014-11-111-2/+2
| | | | | | | | | | | | | | | | | test a == b is not available in e.g. dash. Command(s) used for editing: q=\[\"\'\] operand="${q}?[$]?[a-zA-Z0-9_\?]+${q}?" ## doesn't detect ${VAR} test_expr="(\[\s+${operand}\s+)==(\s+${operand}\s+\])" find . -type f -name '[SK][0-9][0-9]*' | \ xargs sed -r -e "s@${test_expr}@\1=\2@g" -i Signed-off-by: André Erdmann <dywi@mailerd.de> Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* shairport-sync: needs toolchain with NPTLBaruch Siach2014-10-301-3/+3
| | | | | | | | | | | | Also remove the comment attributing threads dependency to alsa-lib, since shairport-sync itself uses pthreads. Fixes: http://autobuild.buildroot.net/results/58e/58eafd2499919a45bfb5a2becc233d3678deedde/ Signed-off-by: Baruch Siach <baruch@tkos.co.il> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/shairport-sync: bump to version 2.1.8Jörg Krause2014-10-301-6/+3
| | | | | | | | | Bump to version 2.1.8: * remove comment about COPYING (fixed upstream) * adapt ssl configure option for openssl and polarssl Signed-off-by: Jörg Krause <jkrause@posteo.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* shairport-sync: requires alsa-lib mixer supportThomas Petazzoni2014-10-251-0/+1
| | | | | | | | Fixes: http://autobuild.buildroot.org/results/b74/b74c764e9527ce1cce8825682285824a519ac2cf/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* shairplay-sync: new packageJörg Krause2014-10-253-0/+113
[Thomas: - rework init script to be more like other Buildroot init scripts, and fix indentation. - fix indentation in the .mk file - remove dependencies on host-autoconf and host-libtool, since the package has AUTORECONF = YES, this is not needed. - fix licensing informations.] Signed-off-by: Jörg Krause <jkrause@posteo.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
OpenPOWER on IntegriCloud