1 |
lavajoe 11/01/05 19:53:27 |
2 |
|
3 |
Modified: squeezeboxserver.init.d |
4 |
Added: |
5 |
squeezeboxserver-7.5.2-build-perl-modules-gentoo.patch |
6 |
build-modules-7.5.2.sh |
7 |
squeezeboxserver-7.5.2-squeezeslave.patch |
8 |
squeezeboxserver-7.5.2-uuid-gentoo.patch |
9 |
Removed: |
10 |
squeezeboxserver-7.5.0-build-perl-modules-gentoo.patch |
11 |
squeezeboxserver-7.4.2-build-perl-modules-gentoo.patch |
12 |
squeezeboxserver-7.4.2-squeezeslave.patch |
13 |
squeezeboxserver-7.5.0-uuid-gentoo.patch |
14 |
build-modules-7.5.1.sh |
15 |
squeezeboxserver-7.4.2-uuid-gentoo.patch |
16 |
squeezeboxserver-7.5.0-squeezeslave.patch |
17 |
Log: |
18 |
Add new version 7.5.2; remove old versions |
19 |
|
20 |
(Portage version: 2.1.9.29/cvs/Linux x86_64) |
21 |
|
22 |
Revision Changes Path |
23 |
1.4 media-sound/squeezeboxserver/files/squeezeboxserver.init.d |
24 |
|
25 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/squeezeboxserver/files/squeezeboxserver.init.d?rev=1.4&view=markup |
26 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/squeezeboxserver/files/squeezeboxserver.init.d?rev=1.4&content-type=text/plain |
27 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/squeezeboxserver/files/squeezeboxserver.init.d?r1=1.3&r2=1.4 |
28 |
|
29 |
Index: squeezeboxserver.init.d |
30 |
=================================================================== |
31 |
RCS file: /var/cvsroot/gentoo-x86/media-sound/squeezeboxserver/files/squeezeboxserver.init.d,v |
32 |
retrieving revision 1.3 |
33 |
retrieving revision 1.4 |
34 |
diff -u -r1.3 -r1.4 |
35 |
--- squeezeboxserver.init.d 25 Apr 2010 22:26:28 -0000 1.3 |
36 |
+++ squeezeboxserver.init.d 5 Jan 2011 19:53:27 -0000 1.4 |
37 |
@@ -1,7 +1,7 @@ |
38 |
#!/sbin/runscript |
39 |
-# Copyright 1999-2009 Gentoo Foundation |
40 |
+# Copyright 1999-2011 Gentoo Foundation |
41 |
# Distributed under the terms of the GNU General Public License v2 |
42 |
-# $Header: /var/cvsroot/gentoo-x86/media-sound/squeezeboxserver/files/squeezeboxserver.init.d,v 1.3 2010/04/25 22:26:28 lavajoe Exp $ |
43 |
+# $Header: /var/cvsroot/gentoo-x86/media-sound/squeezeboxserver/files/squeezeboxserver.init.d,v 1.4 2011/01/05 19:53:27 lavajoe Exp $ |
44 |
|
45 |
# These fit the Squeezebox Server ebuild and so shouldn't need to be changed; |
46 |
# user-servicable parts go in /etc/conf.d/squeezeboxserver. |
47 |
@@ -44,6 +44,6 @@ |
48 |
|
49 |
stop() { |
50 |
ebegin "Stopping Squeezebox Server" |
51 |
- start-stop-daemon -o --stop --pidfile ${pidfile} |
52 |
+ start-stop-daemon --oknodo --retry 10 --stop --pidfile ${pidfile} |
53 |
eend $? "Failed to stop Squeezebox Server" |
54 |
} |
55 |
|
56 |
|
57 |
|
58 |
1.1 media-sound/squeezeboxserver/files/squeezeboxserver-7.5.2-build-perl-modules-gentoo.patch |
59 |
|
60 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/squeezeboxserver/files/squeezeboxserver-7.5.2-build-perl-modules-gentoo.patch?rev=1.1&view=markup |
61 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/squeezeboxserver/files/squeezeboxserver-7.5.2-build-perl-modules-gentoo.patch?rev=1.1&content-type=text/plain |
62 |
|
63 |
Index: squeezeboxserver-7.5.2-build-perl-modules-gentoo.patch |
64 |
=================================================================== |
65 |
--- Slim/bootstrap.pm.old 2010-07-06 08:30:49.267542493 +0100 |
66 |
+++ Slim/bootstrap.pm 2010-07-06 08:30:49.255502095 +0100 |
67 |
@@ -192,27 +192,6 @@ |
68 |
print "To run from source on Windows, please install ActivePerl 5.10. ActivePerl 5.8.8 is no longer supported.\n"; |
69 |
print "http://www.activestate.com/activeperl/\n\n"; |
70 |
} |
71 |
- else { |
72 |
- print qq{ |
73 |
-******* |
74 |
- |
75 |
-NOTE: |
76 |
- |
77 |
-If you're running some unsupported Linux/Unix platform, please use the buildme.sh |
78 |
-script located here: |
79 |
- |
80 |
-http://svn.slimdevices.com/repos/slim/7.5/trunk/vendor/CPAN/ |
81 |
- |
82 |
-You should never need to do this if you're on Windows or Mac OSX. If the installers |
83 |
-don't work for you, ask for help and/or report a bug. |
84 |
- |
85 |
-If 7.5 is outdated by the time you read this, Replace "7.5" with the major version |
86 |
-of Squeezebox Server you are running. |
87 |
- |
88 |
-******* |
89 |
- |
90 |
- \n}; |
91 |
- } |
92 |
|
93 |
print "Exiting..\n"; |
94 |
|
95 |
|
96 |
|
97 |
|
98 |
1.1 media-sound/squeezeboxserver/files/build-modules-7.5.2.sh |
99 |
|
100 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/squeezeboxserver/files/build-modules-7.5.2.sh?rev=1.1&view=markup |
101 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/squeezeboxserver/files/build-modules-7.5.2.sh?rev=1.1&content-type=text/plain |
102 |
|
103 |
Index: build-modules-7.5.2.sh |
104 |
=================================================================== |
105 |
#!/bin/bash |
106 |
# |
107 |
# $Id: build-modules-7.5.2.sh,v 1.1 2011/01/05 19:53:27 lavajoe Exp $ |
108 |
# |
109 |
# This script builds all binary Perl modules required by Squeezebox Server. |
110 |
|
111 |
DISTDIR="$1"; shift |
112 |
D="$1"; shift |
113 |
|
114 |
# Build dir |
115 |
BUILD=$PWD |
116 |
|
117 |
# Require modules to pass tests |
118 |
RUN_TESTS=1 |
119 |
|
120 |
FLAGS="" |
121 |
|
122 |
# $1 = module to build |
123 |
# $2 = Makefile.PL arg(s) |
124 |
function build_module { |
125 |
tar zxvf $DISTDIR/SqueezeboxServer-$1.tar.gz || exit 1 |
126 |
cd $1 |
127 |
|
128 |
perl Makefile.PL PREFIX=$D $2 |
129 |
if [ $RUN_TESTS -eq 1 ]; then |
130 |
make test |
131 |
else |
132 |
make |
133 |
fi |
134 |
if [ $? != 0 ]; then |
135 |
if [ $RUN_TESTS -eq 1 ]; then |
136 |
echo "make test failed, aborting" |
137 |
else |
138 |
echo "make failed, aborting" |
139 |
fi |
140 |
exit $? |
141 |
fi |
142 |
make install || exit 1 |
143 |
make clean || exit 1 |
144 |
|
145 |
cd .. |
146 |
rm -rf $1 |
147 |
} |
148 |
|
149 |
function build_all { |
150 |
export PERL_MM_USE_DEFAULT=1 |
151 |
RUN_TESTS=0 |
152 |
build_module EV-3.8 |
153 |
RUN_TESTS=1 |
154 |
export PERL_MM_USE_DEFAULT= |
155 |
} |
156 |
|
157 |
# Build a single module if requested, or all |
158 |
if [ $1 ]; then |
159 |
build $1 |
160 |
else |
161 |
build_all |
162 |
fi |
163 |
|
164 |
# Reset PERL5LIB |
165 |
export PERL5LIB= |
166 |
|
167 |
# clean out useless .bs/.packlist files, etc |
168 |
find $BUILD -name '*.bs' -exec rm -f {} \; |
169 |
find $BUILD -name '*.packlist' -exec rm -f {} \; |
170 |
|
171 |
|
172 |
|
173 |
1.1 media-sound/squeezeboxserver/files/squeezeboxserver-7.5.2-squeezeslave.patch |
174 |
|
175 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/squeezeboxserver/files/squeezeboxserver-7.5.2-squeezeslave.patch?rev=1.1&view=markup |
176 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/squeezeboxserver/files/squeezeboxserver-7.5.2-squeezeslave.patch?rev=1.1&content-type=text/plain |
177 |
|
178 |
Index: squeezeboxserver-7.5.2-squeezeslave.patch |
179 |
=================================================================== |
180 |
--- Slim/Web/HTTP.pm.old 2010-07-06 08:30:49.243499965 +0100 |
181 |
+++ Slim/Web/HTTP.pm 2010-07-06 08:30:49.243499965 +0100 |
182 |
@@ -2214,9 +2214,10 @@ |
183 |
# only kill the timer if we were called for the active streaming connection; |
184 |
# otherwise we might kill the timer related to the next connection too. |
185 |
Slim::Utils::Timers::killTimers($client, \&tryStreamingLater); |
186 |
- |
187 |
- Slim::Networking::Select::addWrite($httpClient, \&sendStreamingResponse, 1); |
188 |
} |
189 |
+ |
190 |
+ # Bug 14740 - always call sendStreamingResponse so we ensure the socket gets closed |
191 |
+ Slim::Networking::Select::addWrite($httpClient, \&sendStreamingResponse, 1); |
192 |
} |
193 |
|
194 |
sub forgetClient { |
195 |
|
196 |
|
197 |
|
198 |
1.1 media-sound/squeezeboxserver/files/squeezeboxserver-7.5.2-uuid-gentoo.patch |
199 |
|
200 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/squeezeboxserver/files/squeezeboxserver-7.5.2-uuid-gentoo.patch?rev=1.1&view=markup |
201 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/squeezeboxserver/files/squeezeboxserver-7.5.2-uuid-gentoo.patch?rev=1.1&content-type=text/plain |
202 |
|
203 |
Index: squeezeboxserver-7.5.2-uuid-gentoo.patch |
204 |
=================================================================== |
205 |
--- slimserver.pl.old 2010-07-06 08:30:49.267542493 +0100 |
206 |
+++ slimserver.pl 2010-07-06 08:30:49.267542493 +0100 |
207 |
@@ -397,8 +397,9 @@ |
208 |
|
209 |
# Generate a UUID for this SC instance on first-run |
210 |
if ( !$prefs->get('server_uuid') ) { |
211 |
- require UUID::Tiny; |
212 |
- $prefs->set( server_uuid => UUID::Tiny::create_UUID_as_string( UUID::Tiny::UUID_V4() ) ); |
213 |
+ require Data::UUID; |
214 |
+ my $ug = new Data::UUID; |
215 |
+ $prefs->set( server_uuid => lc $ug->create_str() ); |
216 |
} |
217 |
|
218 |
main::INFOLOG && $log->info("Squeezebox Server binary search path init..."); |