From: Jérôme Benoit Date: Wed, 26 Nov 2014 01:14:45 +0000 (+0100) Subject: Merge branch 'upstream' X-Git-Tag: debian/0.9.0-7_trusty~2 X-Git-Url: https://git.piment-noir.org/?p=deb_shairplay.git;a=commitdiff_plain;h=d3a662880cfc564403d7830e6da961371c9f73d5;hp=e6a946b079e3ad746b9f67ea30688bd21bde498f Merge branch 'upstream' --- diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..aeb0137 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,28 @@ +shairplay (0.9.0-6~trusty) trusty; urgency=high + + * fix password auth with itunes + * fix race condition between ipv4 and ipv6 + + -- wsnipex Tue, 27 Mar 2014 10:38:52 +0100 + +shairplay (0.9.0-5~trusty) trusty; urgency=high + + * port to trusty + + -- wsnipex Wed, 29 Jan 2014 10:38:52 +0100 + +shairplay (0.9.0-5~saucy) saucy; urgency=low + + * build for saucy + + -- wsnipex Thu, 27 Jun 2013 11:58:29 +0200 + +shairplay (0.9.0-5~raring) raring; urgency=low + + * debian multiarch + + * add patch to read airport.key from /etc/shairport/airport.key + + * Initial release + + -- wsnipex Thu, 18 Apr 2013 22:20:27 +0200 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..ec63514 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +9 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..a815a08 --- /dev/null +++ b/debian/control @@ -0,0 +1,31 @@ +Source: shairplay +Section: net +Priority: extra +Maintainer: wsnipex +Build-Depends: debhelper (>= 9.0.0), dh-autoreconf, libao-dev, pkg-config, autoconf, automake, libtool +Standards-Version: 3.9.3 +Homepage: https://github.com/juhovh/shairplay +Vcs-Git: git://github.com/juhovh/shairplay + +Package: shairplay +Architecture: any +Depends: libshairplay0, libavahi-compat-libdnssd-dev, ${shlibs:Depends}, ${misc:Depends} +Description: Free portable AirPlay server implementation + Free portable AirPlay server implementation similar to ShairPort. + +Package: libshairplay-dev +Multi-Arch: same +Section: libdevel +Architecture: any +Depends: libao-dev, libshairplay0 (= ${binary:Version}), ${misc:Depends} +Description: Free portable AirPlay server implementation (development files) + Free portable AirPlay server implementation similar to ShairPort. + +Package: libshairplay0 +Architecture: any +Multi-Arch: same +Pre-Depends: ${misc:Pre-Depends} +Depends: libao4, ${shlibs:Depends}, ${misc:Depends} +Description: Free portable AirPlay server implementation (development files) + Free portable AirPlay server implementation similar to ShairPort. + diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..ddb10fa --- /dev/null +++ b/debian/copyright @@ -0,0 +1,54 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: shairplay +Source: https://github.com/juhovh/shairplay + +Files: * +Copyright: 2012 Juho Vähä-Herttua +License: MIT + Permission is hereby granted, free of charge, to any person obtaining + a copy of this software and associated documentation files (the + "Software"), to deal in the Software without restriction, including + without limitation the rights to use, copy, modify, merge, publish, + distribute, sublicense, and/or sell copies of the Software, and to + permit persons to whom the Software is furnished to do so, subject to + the following conditions: + . + The above copyright notice and this permission notice shall be included + in all copies or substantial portions of the Software. + . + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. + IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY + CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, + TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE + SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +Files: src/lib/* +License: LGPLv2.1+ + +Files: AirTV-Qt/* +License: LGPLv2.1+ + +Files: src/lib/crypto/* +License: New BSD License + +Files: debian/* +Copyright: 2013 wsnipex +License: GPL-2+ + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + . + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + . + You should have received a copy of the GNU General Public License + along with this program. If not, see + . + On Debian systems, the complete text of the GNU General + Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". + diff --git a/debian/docs b/debian/docs new file mode 100644 index 0000000..b43bf86 --- /dev/null +++ b/debian/docs @@ -0,0 +1 @@ +README.md diff --git a/debian/libshairplay-dev.install b/debian/libshairplay-dev.install new file mode 100644 index 0000000..146a603 --- /dev/null +++ b/debian/libshairplay-dev.install @@ -0,0 +1,2 @@ +usr/include +usr/lib/*/*.so diff --git a/debian/libshairplay0.install b/debian/libshairplay0.install new file mode 100644 index 0000000..3de3b10 --- /dev/null +++ b/debian/libshairplay0.install @@ -0,0 +1 @@ +usr/lib/*/*.so.* diff --git a/debian/patches/fix-ipv4-ipv6-race.patch b/debian/patches/fix-ipv4-ipv6-race.patch new file mode 100644 index 0000000..e69de29 diff --git a/debian/patches/passwd-auth-with-itunes.patch b/debian/patches/passwd-auth-with-itunes.patch new file mode 100644 index 0000000..e69de29 diff --git a/debian/patches/read_airportkey_from_etc.patch b/debian/patches/read_airportkey_from_etc.patch new file mode 100644 index 0000000..8b3f33d --- /dev/null +++ b/debian/patches/read_airportkey_from_etc.patch @@ -0,0 +1,15 @@ +--- a/src/shairplay.c ++++ b/src/shairplay.c +@@ -346,10 +346,10 @@ + raop_cbs.audio_destroy = audio_destroy; + raop_cbs.audio_set_volume = audio_set_volume; + +- raop = raop_init_from_keyfile(10, &raop_cbs, "airport.key", NULL); ++ raop = raop_init_from_keyfile(10, &raop_cbs, "/etc/shairplay/airport.key", NULL); + if (raop == NULL) { + fprintf(stderr, "Could not initialize the RAOP service\n"); +- fprintf(stderr, "Please make sure the airport.key file is in the current directory.\n"); ++ fprintf(stderr, "Please make sure the /etc/shairplay/airport.key file is in the current directory.\n"); + return -1; + } + diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..5e6fbad --- /dev/null +++ b/debian/patches/series @@ -0,0 +1 @@ +read_airportkey_from_etc.patch diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..6e58ad0 --- /dev/null +++ b/debian/rules @@ -0,0 +1,25 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# +# This file was originally written by Joey Hess and Craig Small. +# As a special exception, when this file is copied by dh-make into a +# dh-make output file, you may use that output file without restriction. +# This special exception was added by Craig Small in version 0.37 of dh-make. +# +# Modified to make a template file for a multi-binary package with separated +# build-arch and build-indep targets by Bill Allombert 2001 + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# This has to be exported to make some magic below work. +export DH_OPTIONS +DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) + + +%: + dh $@ --with autoreconf + +override_dh_auto_configure: + ./configure --disable-static --prefix=/usr --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) diff --git a/debian/shairplay.install b/debian/shairplay.install new file mode 100644 index 0000000..8093b25 --- /dev/null +++ b/debian/shairplay.install @@ -0,0 +1,2 @@ +usr/bin +airport.key /etc/shairplay diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/debian/source/include-binaries b/debian/source/include-binaries new file mode 100644 index 0000000..ba08270 --- /dev/null +++ b/debian/source/include-binaries @@ -0,0 +1,5 @@ +src/lib/.libs/libshairplay.a +src/lib/alac/.libs/libalac.a +src/lib/crypto/.libs/libcrypto.a +src/shairplay +src/shairplay-shairplay.o