--- /dev/null
+shairplay (0.9.0-6~trusty) trusty; urgency=high
+
+ * fix password auth with itunes
+ * fix race condition between ipv4 and ipv6
+
+ -- wsnipex <wsnipex@a1.net> Tue, 27 Mar 2014 10:38:52 +0100
+
+shairplay (0.9.0-5~trusty) trusty; urgency=high
+
+ * port to trusty
+
+ -- wsnipex <wsnipex@a1.net> Wed, 29 Jan 2014 10:38:52 +0100
+
+shairplay (0.9.0-5~saucy) saucy; urgency=low
+
+ * build for saucy
+
+ -- wsnipex <wsnipex@a1.net> 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 <wsnipex@a1.net> Thu, 18 Apr 2013 22:20:27 +0200
--- /dev/null
+Source: shairplay
+Section: net
+Priority: extra
+Maintainer: wsnipex <wsnipex@a1.net>
+Build-Depends: debhelper (>= 9.0.0), autotools-dev, 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.
+
--- /dev/null
+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 <wsnipex@a1.net>
+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 <http://www.gnu.org/licenses/>
+ .
+ On Debian systems, the complete text of the GNU General
+ Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".
+
--- /dev/null
+usr/include
+usr/lib/*/*.so
--- /dev/null
+usr/lib/*/*.so.*
--- /dev/null
+--- a/src/lib/httpd.c
++++ b/src/lib/httpd.c
+@@ -237,7 +237,8 @@ struct httpd_s {
+ continue;
+ }
+ }
+- if (httpd->server_fd6 != -1 && FD_ISSET(httpd->server_fd6, &rfds)) {
++ if (httpd->open_connections < httpd->max_connections &&
++ httpd->server_fd6 != -1 && FD_ISSET(httpd->server_fd6, &rfds)) {
+ ret = httpd_accept_connection(httpd, httpd->server_fd6, 1);
+ if (ret == -1) {
+ break;
+
--- /dev/null
+--- a/src/lib/raop.c.orig 2013-04-17 15:17:49.000000000 +0200
++++ b/src/lib/raop.c 2014-03-24 23:22:30.000000000 +0100
+@@ -139,7 +139,7 @@
+ }
+
+ res = http_response_init("RTSP/1.0", 200, "OK");
+- if (strlen(raop->password)) {
++ if (strcmp(method, "OPTIONS") && strlen(raop->password)) {
+ const char *authorization;
+
+ authorization = http_request_get_header(request, "Authorization");
+
--- /dev/null
+--- shairplay-0.9.0.orig/src/shairplay.c
++++ shairplay-0.9.0/src/shairplay.c
+@@ -313,8 +313,11 @@ main(int argc, char *argv[])
+
+ raop = raop_init_from_keyfile(10, &raop_cbs, "airport.key", NULL);
+ if (raop == NULL) {
+- fprintf(stderr, "Could not initialize the RAOP service\n");
+- return -1;
++ 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");
++ return -1;
++ }
+ }
+
+ if (strlen(options.password)) {
--- /dev/null
+read_airportkey_from_etc.patch
+fix-ipv4-ipv6-race.patch
+passwd-auth-with-itunes.patch
--- /dev/null
+#!/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 autotools-dev
+
+override_dh_auto_configure:
+ ./configure --disable-static --prefix=/usr --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH)
--- /dev/null
+usr/bin
+airport.key /etc/shairplay
--- /dev/null
+3.0 (quilt)
--- /dev/null
+src/lib/.libs/libshairplay.a
+src/lib/alac/.libs/libalac.a
+src/lib/crypto/.libs/libcrypto.a
+src/shairplay
+src/shairplay-shairplay.o