From owner-cvs-all@FreeBSD.ORG Sun Jan 8 03:37:43 2012 Return-Path: Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DC087106566B; Sun, 8 Jan 2012 03:37:42 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from mouf.net (unknown [IPv6:2607:fc50:0:4400:216:3eff:fe69:33b2]) by mx1.freebsd.org (Postfix) with ESMTP id 98D3E8FC0A; Sun, 8 Jan 2012 03:37:42 +0000 (UTC) Received: from meatwad.mouf.net (cpe-024-162-230-236.nc.res.rr.com [24.162.230.236]) (authenticated bits=0) by mouf.net (8.14.4/8.14.4) with ESMTP id q083bf4K077651 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NOT); Sat, 7 Jan 2012 22:37:41 -0500 (EST) (envelope-from swills@FreeBSD.org) Message-ID: <4F090F85.8000502@FreeBSD.org> Date: Sat, 07 Jan 2012 22:37:41 -0500 From: Steve Wills User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:9.0) Gecko/20111228 Thunderbird/9.0 MIME-Version: 1.0 To: Alexander Logvinov References: <201201071124.q07BOLTp087070@repoman.freebsd.org> In-Reply-To: <201201071124.q07BOLTp087070@repoman.freebsd.org> X-Enigmail-Version: 1.1.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (mouf.net [204.109.58.86]); Sat, 07 Jan 2012 22:37:41 -0500 (EST) X-Virus-Scanned: clamav-milter 0.97.2 at mouf.net X-Virus-Status: Clean Cc: cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org, ports-committers@FreeBSD.org Subject: Re: cvs commit: ports/audio Makefile ports/audio/shairport Makefile distinfo pkg-descr ports/audio/shairport/files shairport.in X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Jan 2012 03:37:43 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, On 01/07/12 06:24, Alexander Logvinov wrote: > avl 2012-01-07 11:24:21 UTC > > FreeBSD ports repository > > Modified files: audio Makefile Added files: > audio/shairport Makefile distinfo pkg-descr > audio/shairport/files shairport.in Log: This program emulates an > AirPort Express for the purpose of streaming music from iTunes and > compatible iPods. It implements a server for the Apple RAOP > protocol. ShairPort does not support AirPlay v2 (video and photo > streaming). > > It supports multiple simultaneous streams, if your audio output > chain (as detected by libao) does so. > > WWW: https://github.com/albertz/shairport > > PR: ports/163777 Submitted by: Miks Mikelsons at cubesystems.lv> > > Revision Changes Path 1.1203 +1 -0 ports/audio/Makefile 1.1 > +48 -0 ports/audio/shairport/Makefile (new) 1.1 +2 -0 > ports/audio/shairport/distinfo (new) 1.1 +31 -0 > ports/audio/shairport/files/shairport.in (new) 1.1 +8 -0 > ports/audio/shairport/pkg-descr (new) This port is really nice, thanks! I'm really enjoying streaming music to my FreeBSD box from my iPhone. I do have a few suggestions for the port and a question. Since the /usr/local/bin/shairport.pl that runs it has: use 5.10.0; # For given() { when() { } ... } use feature ":5.10"; at the top, perhaps USE_PERL5=5.10.0+ would be good to add to the port Makefile. The rc script has: # REQUIRE: DAEMON avahi_daemon but should probably have: # REQUIRE: LOGIN avahi_daemon instead. Also, I think it may be more correct to set command_interpreter instead of setting procname="perl". See http://www.freebsd.org/doc/en/books/porters-handbook/rc-scripts.html for info on both of these. I notice that there seems to be a C port included as well. Perhaps that could be used instead of the perl version, so that it doesn't need perl at all? There is no documentation installed at all. Perhaps at least installing the README.md file would be nice? When I went to start it up, it would startup then fail. dbus did log this message: dbus[2498]: [system] Failed to activate service 'org.freedesktop.Avahi': timed out and eventually I figured out I needed to start avahi-daemon. Then I got this in messages: avahi-daemon[30489]: WARNING: No NSS support for mDNS detected, consider installing nss-mdns! Not sure if anything can be done about that one. I guess this is a more general question about the rc script, but should the avahi_daemon bit in the REQUIRE line trigger something telling me that or causing the script to not start if avahi_daemon isn't running or is it only used for ordering? Thanks, Steve -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (FreeBSD) iQEcBAEBAgAGBQJPCQ+EAAoJEPXPYrMgexuhXE4IAIObXH2XBb8r+puNzGZOILoX 5u42ISaWagqX7wdMO2W9hHfetEOaa+Or8VNHgGgJPhmtmyTLwkjvlbcHCcUZHybH 9bBW6vl1vpnco1vXQO1gINJFaHtZYJ8qR6kKF2d6DsS6C6ShbGWQ8xQTyzCCqZeP xZ04TkwQZhQhh/g7c12fjQ5yBqQc1gaVTZfbsfviiELgKc7X1Hpog7VnAj3jWQzh n/VLmyD10GyIIoHYnwTWMsERXzCoqxSf7um0oX/+XnLJDpSGE1PMIBQWpYRgbMQf REyrUrFTI5LM9mNHK69jWIghzIsxH76Txrj/GvecX/9aZK0sY4XVQ7Ibf7kSBu8= =tBA4 -----END PGP SIGNATURE-----