1 |
flameeyes 09/07/16 14:00:05 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: pulseaudio-0.9.15-r51.ebuild |
5 |
pulseaudio-0.9.16_rc2-r51.ebuild |
6 |
pulseaudio-0.9.15-r2.ebuild |
7 |
pulseaudio-0.9.16_rc2-r2.ebuild |
8 |
pulseaudio-0.9.9-r1.ebuild |
9 |
Log: |
10 |
Add patch to fix CVE-2009-1894, see bug #276986. |
11 |
(Portage version: 2.2_rc33/cvs/Linux x86_64, RepoMan options: --force) |
12 |
|
13 |
Revision Changes Path |
14 |
1.135 media-sound/pulseaudio/ChangeLog |
15 |
|
16 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/pulseaudio/ChangeLog?rev=1.135&view=markup |
17 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/pulseaudio/ChangeLog?rev=1.135&content-type=text/plain |
18 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/pulseaudio/ChangeLog?r1=1.134&r2=1.135 |
19 |
|
20 |
Index: ChangeLog |
21 |
=================================================================== |
22 |
RCS file: /var/cvsroot/gentoo-x86/media-sound/pulseaudio/ChangeLog,v |
23 |
retrieving revision 1.134 |
24 |
retrieving revision 1.135 |
25 |
diff -u -r1.134 -r1.135 |
26 |
--- ChangeLog 3 Jul 2009 00:14:32 -0000 1.134 |
27 |
+++ ChangeLog 16 Jul 2009 14:00:05 -0000 1.135 |
28 |
@@ -1,6 +1,19 @@ |
29 |
# ChangeLog for media-sound/pulseaudio |
30 |
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
31 |
-# $Header: /var/cvsroot/gentoo-x86/media-sound/pulseaudio/ChangeLog,v 1.134 2009/07/03 00:14:32 flameeyes Exp $ |
32 |
+# $Header: /var/cvsroot/gentoo-x86/media-sound/pulseaudio/ChangeLog,v 1.135 2009/07/16 14:00:05 flameeyes Exp $ |
33 |
+ |
34 |
+*pulseaudio-0.9.16_rc2-r51 (16 Jul 2009) |
35 |
+*pulseaudio-0.9.16_rc2-r2 (16 Jul 2009) |
36 |
+*pulseaudio-0.9.15-r51 (16 Jul 2009) |
37 |
+*pulseaudio-0.9.15-r2 (16 Jul 2009) |
38 |
+ |
39 |
+ 16 Jul 2009; Diego E. Pettenò <flameeyes@g.o> |
40 |
+ +pulseaudio-0.9.9-r1.ebuild, +files/pulseaudio-0.9.9-CVE-2009-1894.patch, |
41 |
+ +pulseaudio-0.9.15-r2.ebuild, +pulseaudio-0.9.15-r51.ebuild, |
42 |
+ +files/pulseaudio-0.9.15-CVE-2009-1894.patch, |
43 |
+ +pulseaudio-0.9.16_rc2-r2.ebuild, +pulseaudio-0.9.16_rc2-r51.ebuild, |
44 |
+ +files/pulseaudio-0.9.16-CVE-2009-1894.patch: |
45 |
+ Add patch to fix CVE-2009-1894, see bug #276986. |
46 |
|
47 |
03 Jul 2009; Diego E. Pettenò <flameeyes@g.o> |
48 |
pulseaudio-0.9.16_rc2-r1.ebuild, pulseaudio-0.9.16_rc2-r50.ebuild, |
49 |
|
50 |
|
51 |
|
52 |
1.1 media-sound/pulseaudio/pulseaudio-0.9.15-r51.ebuild |
53 |
|
54 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/pulseaudio/pulseaudio-0.9.15-r51.ebuild?rev=1.1&view=markup |
55 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/pulseaudio/pulseaudio-0.9.15-r51.ebuild?rev=1.1&content-type=text/plain |
56 |
|
57 |
Index: pulseaudio-0.9.15-r51.ebuild |
58 |
=================================================================== |
59 |
# Copyright 1999-2009 Gentoo Foundation |
60 |
# Distributed under the terms of the GNU General Public License v2 |
61 |
# $Header: /var/cvsroot/gentoo-x86/media-sound/pulseaudio/pulseaudio-0.9.15-r51.ebuild,v 1.1 2009/07/16 14:00:05 flameeyes Exp $ |
62 |
|
63 |
EAPI=2 |
64 |
|
65 |
inherit eutils libtool flag-o-matic |
66 |
|
67 |
DESCRIPTION="A networked sound server with an advanced plugin system" |
68 |
HOMEPAGE="http://www.pulseaudio.org/" |
69 |
if [[ ${PV/_rc/} == ${PV} ]]; then |
70 |
SRC_URI="http://0pointer.de/lennart/projects/${PN}/${P}.tar.gz" |
71 |
else |
72 |
SRC_URI="http://0pointer.de/public/${P/_rc/-test}.tar.gz" |
73 |
fi |
74 |
|
75 |
S="${WORKDIR}/${P/_rc/-test}" |
76 |
|
77 |
LICENSE="LGPL-2 GPL-2" |
78 |
SLOT="0" |
79 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86" |
80 |
IUSE="alsa avahi caps jack lirc oss tcpd X hal dbus libsamplerate gnome bluetooth policykit asyncns +glib test" |
81 |
|
82 |
RDEPEND="X? ( x11-libs/libX11 x11-libs/libSM x11-libs/libICE x11-libs/libXtst ) |
83 |
caps? ( sys-libs/libcap ) |
84 |
libsamplerate? ( >=media-libs/libsamplerate-0.1.1-r1 ) |
85 |
alsa? ( >=media-libs/alsa-lib-1.0.19 ) |
86 |
glib? ( >=dev-libs/glib-2.4.0 ) |
87 |
avahi? ( >=net-dns/avahi-0.6.12[dbus] ) |
88 |
>=dev-libs/liboil-0.3.0 |
89 |
jack? ( >=media-sound/jack-audio-connection-kit-0.100 ) |
90 |
tcpd? ( sys-apps/tcp-wrappers ) |
91 |
lirc? ( app-misc/lirc ) |
92 |
dbus? ( >=sys-apps/dbus-1.0.0 ) |
93 |
gnome? ( >=gnome-base/gconf-2.4.0 ) |
94 |
hal? ( |
95 |
>=sys-apps/hal-0.5.7 |
96 |
>=sys-apps/dbus-1.0.0 |
97 |
) |
98 |
app-admin/eselect-esd |
99 |
bluetooth? ( |
100 |
|| ( >=net-wireless/bluez-4 |
101 |
>=net-wireless/bluez-libs-3 ) |
102 |
>=sys-apps/dbus-1.0.0 |
103 |
) |
104 |
policykit? ( sys-auth/policykit ) |
105 |
asyncns? ( net-libs/libasyncns ) |
106 |
>=media-libs/audiofile-0.2.6-r1 |
107 |
>=media-libs/speex-1.2_beta |
108 |
>=media-libs/libsndfile-1.0.10 |
109 |
>=dev-libs/liboil-0.3.6 |
110 |
sys-libs/gdbm |
111 |
>=sys-devel/libtool-2.2.4" # it's a valid RDEPEND, libltdl.so is used |
112 |
|
113 |
DEPEND="${RDEPEND} |
114 |
X? ( x11-proto/xproto ) |
115 |
dev-libs/libatomic_ops |
116 |
dev-util/pkgconfig |
117 |
|| ( dev-util/unifdef sys-freebsd/freebsd-ubin ) |
118 |
dev-util/intltool" |
119 |
|
120 |
# alsa-utils dep is for the alsasound init.d script (see bug #155707) |
121 |
# bluez-utils dep is for the bluetooth init.d script |
122 |
RDEPEND="${RDEPEND} |
123 |
sys-apps/openrc |
124 |
gnome-extra/gnome-audio |
125 |
alsa? ( media-sound/alsa-utils ) |
126 |
bluetooth? ( |
127 |
|| ( >=net-wireless/bluez-4 |
128 |
>=net-wireless/bluez-utils-3 ) )" |
129 |
|
130 |
pkg_setup() { |
131 |
enewgroup audio 18 # Just make sure it exists |
132 |
enewgroup realtime |
133 |
enewgroup pulse-access |
134 |
enewgroup pulse |
135 |
enewuser pulse -1 -1 /var/run/pulse pulse,audio |
136 |
} |
137 |
|
138 |
src_prepare() { |
139 |
epatch "${FILESDIR}/${P}-bsd.patch" |
140 |
epatch "${FILESDIR}/${P}-CVE-2009-1894.patch" |
141 |
elibtoolize |
142 |
} |
143 |
|
144 |
src_configure() { |
145 |
# To properly fix CVE-2008-0008 |
146 |
append-flags -UNDEBUG |
147 |
|
148 |
append-ldflags -Wl,--no-as-needed |
149 |
|
150 |
econf \ |
151 |
--enable-largefile \ |
152 |
$(use_enable glib glib2) \ |
153 |
--disable-solaris \ |
154 |
$(use_enable asyncns) \ |
155 |
$(use_enable oss) \ |
156 |
$(use_enable alsa) \ |
157 |
$(use_enable lirc) \ |
158 |
$(use_enable tcpd tcpwrap) \ |
159 |
$(use_enable jack) \ |
160 |
$(use_enable lirc) \ |
161 |
$(use_enable avahi) \ |
162 |
$(use_enable hal) \ |
163 |
$(use_enable dbus) \ |
164 |
$(use_enable gnome gconf) \ |
165 |
$(use_enable libsamplerate samplerate) \ |
166 |
$(use_enable bluetooth bluez) \ |
167 |
$(use_enable policykit polkit) \ |
168 |
$(use_enable X x11) \ |
169 |
$(use_enable test default-build-tests) \ |
170 |
$(use_with caps) \ |
171 |
--localstatedir=/var \ |
172 |
--with-realtime-group=realtime \ |
173 |
--disable-per-user-esound-socket \ |
174 |
|| die "econf failed" |
175 |
} |
176 |
|
177 |
src_install() { |
178 |
emake DESTDIR="${D}" install || die "make install failed" |
179 |
|
180 |
newconfd "${FILESDIR}/pulseaudio.conf.d" pulseaudio |
181 |
|
182 |
use_define() { |
183 |
local define=${2:-$(echo $1 | tr '[:lower:]' '[:upper:]')} |
184 |
|
185 |
use "$1" && echo "-D$define" || echo "-U$define" |
186 |
} |
187 |
|
188 |
unifdef $(use_define hal) \ |
189 |
$(use_define avahi) \ |
190 |
$(use_define alsa) \ |
191 |
$(use_define bluetooth) \ |
192 |
"${FILESDIR}/pulseaudio.init.d-4" \ |
193 |
> "${T}/pulseaudio" |
194 |
|
195 |
doinitd "${T}/pulseaudio" |
196 |
|
197 |
use avahi && sed -i -e '/module-zeroconf-publish/s:^#::' "${D}/etc/pulse/default.pa" |
198 |
|
199 |
dohtml -r doc |
200 |
dodoc README |
201 |
|
202 |
# Create the state directory |
203 |
diropts -o pulse -g pulse -m0755 |
204 |
keepdir /var/run/pulse |
205 |
|
206 |
find "${D}" -name '*.la' -delete |
207 |
} |
208 |
|
209 |
pkg_postinst() { |
210 |
elog "PulseAudio in Gentoo can use a system-wide pulseaudio daemon." |
211 |
elog "This support is enabled by starting the pulseaudio init.d ." |
212 |
elog "To be able to access that you need to be in the group pulse-access." |
213 |
elog "If you choose to use this feature, please make sure that you" |
214 |
elog "really want to run PulseAudio this way:" |
215 |
elog " http://pulseaudio.org/wiki/WhatIsWrongWithSystemMode" |
216 |
elog "For more information about system-wide support, please refer to:" |
217 |
elog " http://pulseaudio.org/wiki/SystemWideInstance" |
218 |
if use gnome; then |
219 |
elog |
220 |
elog "By enabling gnome USE flag, you enabled gconf support. Please note" |
221 |
elog "that you might need to remove the gnome USE flag or disable the" |
222 |
elog "gconf module on /etc/pulse/system.pa to be able to use PulseAudio" |
223 |
elog "with a system-wide instance." |
224 |
fi |
225 |
elog |
226 |
elog "To use the ESounD wrapper while using a system-wide daemon, you also" |
227 |
elog "need to enable auth-anonymous for the esound-unix module, or to copy" |
228 |
elog "/var/run/pulse/.esd_auth into each home directory." |
229 |
elog |
230 |
elog "If you want to make use of realtime capabilities of PulseAudio" |
231 |
elog "you should follow the realtime guide to create and set up a realtime" |
232 |
elog "user group: http://www.gentoo.org/proj/en/desktop/sound/realtime.xml" |
233 |
elog "Make sure you also have baselayout installed with pam USE flag" |
234 |
elog "enabled, if you're using the rlimit method." |
235 |
if use bluetooth; then |
236 |
elog |
237 |
elog "The BlueTooth proximity module is not enabled in the default" |
238 |
elog "configuration file. If you do enable it, you'll have to have" |
239 |
elog "your BlueTooth controller enabled and inserted at bootup or" |
240 |
elog "PulseAudio will refuse to start." |
241 |
elog |
242 |
elog "Please note that the BlueTooth proximity module seems itself" |
243 |
elog "still experimental, so please report to upstream if you have" |
244 |
elog "problems with it." |
245 |
fi |
246 |
if use alsa; then |
247 |
local pkg="media-plugins/alsa-plugins" |
248 |
if has_version ${pkg} && ! built_with_use --missing false ${pkg} pulseaudio; then |
249 |
elog |
250 |
elog "You have alsa support enabled so you probably want to install" |
251 |
elog "${pkg} with pulseaudio support to have" |
252 |
elog "alsa using applications route their sound through pulseaudio" |
253 |
fi |
254 |
fi |
255 |
|
256 |
eselect esd update --if-unset |
257 |
} |
258 |
|
259 |
|
260 |
|
261 |
1.1 media-sound/pulseaudio/pulseaudio-0.9.16_rc2-r51.ebuild |
262 |
|
263 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/pulseaudio/pulseaudio-0.9.16_rc2-r51.ebuild?rev=1.1&view=markup |
264 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/pulseaudio/pulseaudio-0.9.16_rc2-r51.ebuild?rev=1.1&content-type=text/plain |
265 |
|
266 |
Index: pulseaudio-0.9.16_rc2-r51.ebuild |
267 |
=================================================================== |
268 |
# Copyright 1999-2009 Gentoo Foundation |
269 |
# Distributed under the terms of the GNU General Public License v2 |
270 |
# $Header: /var/cvsroot/gentoo-x86/media-sound/pulseaudio/pulseaudio-0.9.16_rc2-r51.ebuild,v 1.1 2009/07/16 14:00:05 flameeyes Exp $ |
271 |
|
272 |
EAPI=2 |
273 |
|
274 |
inherit eutils libtool flag-o-matic |
275 |
|
276 |
MY_P=${P/_rc/-test} |
277 |
|
278 |
DESCRIPTION="A networked sound server with an advanced plugin system" |
279 |
HOMEPAGE="http://www.pulseaudio.org/" |
280 |
SRC_URI="http://0pointer.de/public/${MY_P}.tar.gz" |
281 |
|
282 |
S="${WORKDIR}/${MY_P}" |
283 |
|
284 |
LICENSE="LGPL-2 GPL-2" |
285 |
SLOT="0" |
286 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86" |
287 |
IUSE="alsa avahi caps jack lirc oss tcpd X hal dbus libsamplerate gnome bluetooth policykit asyncns +glib test doc" |
288 |
|
289 |
RDEPEND="X? ( x11-libs/libX11 x11-libs/libSM x11-libs/libICE x11-libs/libXtst ) |
290 |
caps? ( sys-libs/libcap ) |
291 |
libsamplerate? ( >=media-libs/libsamplerate-0.1.1-r1 ) |
292 |
alsa? ( >=media-libs/alsa-lib-1.0.19 ) |
293 |
glib? ( >=dev-libs/glib-2.4.0 ) |
294 |
avahi? ( >=net-dns/avahi-0.6.12[dbus] ) |
295 |
>=dev-libs/liboil-0.3.0 |
296 |
jack? ( >=media-sound/jack-audio-connection-kit-0.100 ) |
297 |
tcpd? ( sys-apps/tcp-wrappers ) |
298 |
lirc? ( app-misc/lirc ) |
299 |
dbus? ( >=sys-apps/dbus-1.0.0 ) |
300 |
gnome? ( >=gnome-base/gconf-2.4.0 ) |
301 |
hal? ( |
302 |
>=sys-apps/hal-0.5.7 |
303 |
>=sys-apps/dbus-1.0.0 |
304 |
) |
305 |
app-admin/eselect-esd |
306 |
bluetooth? ( |
307 |
|| ( >=net-wireless/bluez-4 |
308 |
>=net-wireless/bluez-libs-3 ) |
309 |
>=sys-apps/dbus-1.0.0 |
310 |
) |
311 |
policykit? ( sys-auth/policykit ) |
312 |
asyncns? ( net-libs/libasyncns ) |
313 |
>=media-libs/audiofile-0.2.6-r1 |
314 |
>=media-libs/speex-1.2_beta |
315 |
>=media-libs/libsndfile-1.0.10 |
316 |
>=dev-libs/liboil-0.3.6 |
317 |
sys-libs/gdbm |
318 |
>=sys-devel/libtool-2.2.4" # it's a valid RDEPEND, libltdl.so is used |
319 |
|
320 |
DEPEND="${RDEPEND} |
321 |
doc? ( app-doc/doxygen ) |
322 |
X? ( x11-proto/xproto ) |
323 |
dev-libs/libatomic_ops |
324 |
dev-util/pkgconfig |
325 |
|| ( dev-util/unifdef sys-freebsd/freebsd-ubin ) |
326 |
dev-util/intltool" |
327 |
|
328 |
# alsa-utils dep is for the alsasound init.d script (see bug #155707) |
329 |
# bluez-utils dep is for the bluetooth init.d script |
330 |
RDEPEND="${RDEPEND} |
331 |
sys-apps/openrc |
332 |
gnome-extra/gnome-audio |
333 |
alsa? ( media-sound/alsa-utils ) |
334 |
bluetooth? ( |
335 |
|| ( >=net-wireless/bluez-4 |
336 |
>=net-wireless/bluez-utils-3 ) )" |
337 |
|
338 |
pkg_setup() { |
339 |
enewgroup audio 18 # Just make sure it exists |
340 |
enewgroup pulse-access |
341 |
enewgroup pulse |
342 |
enewuser pulse -1 -1 /var/run/pulse pulse,audio |
343 |
} |
344 |
|
345 |
src_prepare() { |
346 |
epatch "${FILESDIR}/${PN}-0.9.16-CVE-2009-1894.patch" |
347 |
elibtoolize |
348 |
} |
349 |
|
350 |
src_configure() { |
351 |
# To properly fix CVE-2008-0008 |
352 |
append-flags -UNDEBUG |
353 |
|
354 |
# It's a binutils bug, once I can find time to fix that I'll add a |
355 |
# proper dependency and fix this up. — flameeyes |
356 |
append-ldflags -Wl,--no-as-needed |
357 |
|
358 |
# udev is disabled because we don't have the right version just |
359 |
# yet, and thus we need to avoid it for now. Once we have the |
360 |
# version I'll revbump PA. — flameeyes |
361 |
econf \ |
362 |
--enable-largefile \ |
363 |
$(use_enable glib glib2) \ |
364 |
--disable-solaris \ |
365 |
$(use_enable asyncns) \ |
366 |
$(use_enable oss) \ |
367 |
$(use_enable alsa) \ |
368 |
$(use_enable lirc) \ |
369 |
$(use_enable tcpd tcpwrap) \ |
370 |
$(use_enable jack) \ |
371 |
$(use_enable lirc) \ |
372 |
$(use_enable avahi) \ |
373 |
$(use_enable hal) \ |
374 |
$(use_enable dbus) \ |
375 |
$(use_enable gnome gconf) \ |
376 |
$(use_enable libsamplerate samplerate) \ |
377 |
$(use_enable bluetooth bluez) \ |
378 |
$(use_enable X x11) \ |
379 |
$(use_enable test default-build-tests) \ |
380 |
$(use_with caps) \ |
381 |
--disable-udev \ |
382 |
--localstatedir=/var \ |
383 |
--disable-per-user-esound-socket \ |
384 |
--with-database=gdbm \ |
385 |
|| die "econf failed" |
386 |
|
387 |
if use doc; then |
388 |
pushd doxygen |
389 |
doxygen doxygen.conf || die |
390 |
popd |
391 |
fi |
392 |
} |
393 |
|
394 |
src_install() { |
395 |
emake -j1 DESTDIR="${D}" install || die "make install failed" |
396 |
|
397 |
newconfd "${FILESDIR}/pulseaudio.conf.d" pulseaudio |
398 |
|
399 |
use_define() { |
400 |
local define=${2:-$(echo $1 | tr '[:lower:]' '[:upper:]')} |
401 |
|
402 |
use "$1" && echo "-D$define" || echo "-U$define" |
403 |
} |
404 |
|
405 |
unifdef $(use_define hal) \ |
406 |
$(use_define avahi) \ |
407 |
$(use_define alsa) \ |
408 |
$(use_define bluetooth) \ |
409 |
"${FILESDIR}/pulseaudio.init.d-4" \ |
410 |
> "${T}/pulseaudio" |
411 |
|
412 |
doinitd "${T}/pulseaudio" |
413 |
|
414 |
use avahi && sed -i -e '/module-zeroconf-publish/s:^#::' "${D}/etc/pulse/default.pa" |
415 |
|
416 |
# the “true” condition should be replaced by “use udev” once |
417 |
# that's enabled. |
418 |
if use hal && true; then |
419 |
sed -i -e 's:-udev:-hal:' "${D}/etc/pulse/default.pa" || die |
420 |
fi |
421 |
|
422 |
dodoc README ChangeLog todo || die |
423 |
|
424 |
if use doc; then |
425 |
pushd doxygen/html |
426 |
dohtml * || die |
427 |
popd |
428 |
fi |
429 |
|
430 |
# Create the state directory |
431 |
diropts -o pulse -g pulse -m0755 |
432 |
keepdir /var/run/pulse |
433 |
|
434 |
find "${D}" -name '*.la' -delete |
435 |
} |
436 |
|
437 |
pkg_postinst() { |
438 |
elog "PulseAudio in Gentoo can use a system-wide pulseaudio daemon." |
439 |
elog "This support is enabled by starting the pulseaudio init.d ." |
440 |
elog "To be able to access that you need to be in the group pulse-access." |
441 |
elog "If you choose to use this feature, please make sure that you" |
442 |
elog "really want to run PulseAudio this way:" |
443 |
elog " http://pulseaudio.org/wiki/WhatIsWrongWithSystemMode" |
444 |
elog "For more information about system-wide support, please refer to:" |
445 |
elog " http://pulseaudio.org/wiki/SystemWideInstance" |
446 |
if use gnome; then |
447 |
elog |
448 |
elog "By enabling gnome USE flag, you enabled gconf support. Please note" |
449 |
elog "that you might need to remove the gnome USE flag or disable the" |
450 |
elog "gconf module on /etc/pulse/system.pa to be able to use PulseAudio" |
451 |
elog "with a system-wide instance." |
452 |
fi |
453 |
elog |
454 |
elog "To use the ESounD wrapper while using a system-wide daemon, you also" |
455 |
elog "need to enable auth-anonymous for the esound-unix module, or to copy" |
456 |
elog "/var/run/pulse/.esd_auth into each home directory." |
457 |
elog |
458 |
if use bluetooth; then |
459 |
elog |
460 |
elog "The BlueTooth proximity module is not enabled in the default" |
461 |
elog "configuration file. If you do enable it, you'll have to have" |
462 |
elog "your BlueTooth controller enabled and inserted at bootup or" |
463 |
elog "PulseAudio will refuse to start." |
464 |
elog |
465 |
elog "Please note that the BlueTooth proximity module seems itself" |
466 |
elog "still experimental, so please report to upstream if you have" |
467 |
elog "problems with it." |
468 |
fi |
469 |
if use alsa; then |
470 |
local pkg="media-plugins/alsa-plugins" |
471 |
if has_version ${pkg} && ! built_with_use --missing false ${pkg} pulseaudio; then |
472 |
elog |
473 |
elog "You have alsa support enabled so you probably want to install" |
474 |
elog "${pkg} with pulseaudio support to have" |
475 |
elog "alsa using applications route their sound through pulseaudio" |
476 |
fi |
477 |
fi |
478 |
|
479 |
eselect esd update --if-unset |
480 |
} |
481 |
|
482 |
|
483 |
|
484 |
1.1 media-sound/pulseaudio/pulseaudio-0.9.15-r2.ebuild |
485 |
|
486 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/pulseaudio/pulseaudio-0.9.15-r2.ebuild?rev=1.1&view=markup |
487 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/pulseaudio/pulseaudio-0.9.15-r2.ebuild?rev=1.1&content-type=text/plain |
488 |
|
489 |
Index: pulseaudio-0.9.15-r2.ebuild |
490 |
=================================================================== |
491 |
# Copyright 1999-2009 Gentoo Foundation |
492 |
# Distributed under the terms of the GNU General Public License v2 |
493 |
# $Header: /var/cvsroot/gentoo-x86/media-sound/pulseaudio/pulseaudio-0.9.15-r2.ebuild,v 1.1 2009/07/16 14:00:05 flameeyes Exp $ |
494 |
|
495 |
EAPI=2 |
496 |
|
497 |
inherit eutils libtool flag-o-matic |
498 |
|
499 |
DESCRIPTION="A networked sound server with an advanced plugin system" |
500 |
HOMEPAGE="http://www.pulseaudio.org/" |
501 |
if [[ ${PV/_rc/} == ${PV} ]]; then |
502 |
SRC_URI="http://0pointer.de/lennart/projects/${PN}/${P}.tar.gz" |
503 |
else |
504 |
SRC_URI="http://0pointer.de/public/${P/_rc/-test}.tar.gz" |
505 |
fi |
506 |
|
507 |
S="${WORKDIR}/${P/_rc/-test}" |
508 |
|
509 |
LICENSE="LGPL-2 GPL-2" |
510 |
SLOT="0" |
511 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86" |
512 |
IUSE="alsa avahi caps jack lirc oss tcpd X hal dbus libsamplerate gnome bluetooth policykit asyncns +glib test" |
513 |
|
514 |
RDEPEND="X? ( x11-libs/libX11 x11-libs/libSM x11-libs/libICE x11-libs/libXtst ) |
515 |
caps? ( sys-libs/libcap ) |
516 |
libsamplerate? ( >=media-libs/libsamplerate-0.1.1-r1 ) |
517 |
alsa? ( >=media-libs/alsa-lib-1.0.19 ) |
518 |
glib? ( >=dev-libs/glib-2.4.0 ) |
519 |
avahi? ( >=net-dns/avahi-0.6.12[dbus] ) |
520 |
>=dev-libs/liboil-0.3.0 |
521 |
jack? ( >=media-sound/jack-audio-connection-kit-0.100 ) |
522 |
tcpd? ( sys-apps/tcp-wrappers ) |
523 |
lirc? ( app-misc/lirc ) |
524 |
dbus? ( >=sys-apps/dbus-1.0.0 ) |
525 |
gnome? ( >=gnome-base/gconf-2.4.0 ) |
526 |
hal? ( |
527 |
>=sys-apps/hal-0.5.7 |
528 |
>=sys-apps/dbus-1.0.0 |
529 |
) |
530 |
app-admin/eselect-esd |
531 |
bluetooth? ( |
532 |
|| ( >=net-wireless/bluez-4 |
533 |
>=net-wireless/bluez-libs-3 ) |
534 |
>=sys-apps/dbus-1.0.0 |
535 |
) |
536 |
policykit? ( sys-auth/policykit ) |
537 |
asyncns? ( net-libs/libasyncns ) |
538 |
>=media-libs/audiofile-0.2.6-r1 |
539 |
>=media-libs/speex-1.2_beta |
540 |
>=media-libs/libsndfile-1.0.10 |
541 |
>=dev-libs/liboil-0.3.6 |
542 |
sys-libs/gdbm |
543 |
>=sys-devel/libtool-2.2.4" # it's a valid RDEPEND, libltdl.so is used |
544 |
|
545 |
DEPEND="${RDEPEND} |
546 |
X? ( x11-proto/xproto ) |
547 |
dev-libs/libatomic_ops |
548 |
dev-util/pkgconfig |
549 |
dev-util/intltool" |
550 |
|
551 |
RDEPEND="${RDEPEND} |
552 |
gnome-extra/gnome-audio" |
553 |
|
554 |
pkg_setup() { |
555 |
enewgroup audio 18 # Just make sure it exists |
556 |
enewgroup realtime |
557 |
enewgroup pulse-access |
558 |
enewgroup pulse |
559 |
enewuser pulse -1 -1 /var/run/pulse pulse,audio |
560 |
} |
561 |
|
562 |
src_prepare() { |
563 |
epatch "${FILESDIR}/${P}-bsd.patch" |
564 |
epatch "${FILESDIR}/${P}-CVE-2009-1894.patch" |
565 |
elibtoolize |
566 |
} |
567 |
|
568 |
src_configure() { |
569 |
# To properly fix CVE-2008-0008 |
570 |
append-flags -UNDEBUG |
571 |
|
572 |
append-ldflags -Wl,--no-as-needed |
573 |
|
574 |
econf \ |
575 |
--enable-largefile \ |
576 |
$(use_enable glib glib2) \ |
577 |
--disable-solaris \ |
578 |
$(use_enable asyncns) \ |
579 |
$(use_enable oss) \ |
580 |
$(use_enable alsa) \ |
581 |
$(use_enable lirc) \ |
582 |
$(use_enable tcpd tcpwrap) \ |
583 |
$(use_enable jack) \ |
584 |
$(use_enable lirc) \ |
585 |
$(use_enable avahi) \ |
586 |
$(use_enable hal) \ |
587 |
$(use_enable dbus) \ |
588 |
$(use_enable gnome gconf) \ |
589 |
$(use_enable libsamplerate samplerate) \ |
590 |
$(use_enable bluetooth bluez) \ |
591 |
$(use_enable policykit polkit) \ |
592 |
$(use_enable X x11) \ |
593 |
$(use_enable test default-build-tests) \ |
594 |
$(use_with caps) \ |
595 |
--localstatedir=/var \ |
596 |
--with-realtime-group=realtime \ |
597 |
--disable-per-user-esound-socket \ |
598 |
|| die "econf failed" |
599 |
} |
600 |
|
601 |
src_install() { |
602 |
emake DESTDIR="${D}" install || die "make install failed" |
603 |
|
604 |
use avahi && sed -i -e '/module-zeroconf-publish/s:^#::' "${D}/etc/pulse/default.pa" |
605 |
|
606 |
dohtml -r doc |
607 |
dodoc README |
608 |
|
609 |
# Create the state directory |
610 |
diropts -o pulse -g pulse -m0755 |
611 |
keepdir /var/run/pulse |
612 |
|
613 |
find "${D}" -name '*.la' -delete |
614 |
} |
615 |
|
616 |
pkg_postinst() { |
617 |
elog "If you want to make use of realtime capabilities of PulseAudio" |
618 |
elog "you should follow the realtime guide to create and set up a realtime" |
619 |
elog "user group: http://www.gentoo.org/proj/en/desktop/sound/realtime.xml" |
620 |
elog "Make sure you also have baselayout installed with pam USE flag" |
621 |
elog "enabled, if you're using the rlimit method." |
622 |
if use bluetooth; then |
623 |
elog |
624 |
elog "The BlueTooth proximity module is not enabled in the default" |
625 |
elog "configuration file. If you do enable it, you'll have to have" |
626 |
elog "your BlueTooth controller enabled and inserted at bootup or" |
627 |
elog "PulseAudio will refuse to start." |
628 |
elog |
629 |
elog "Please note that the BlueTooth proximity module seems itself" |
630 |
elog "still experimental, so please report to upstream if you have" |
631 |
elog "problems with it." |
632 |
fi |
633 |
if use alsa; then |
634 |
local pkg="media-plugins/alsa-plugins" |
635 |
if has_version ${pkg} && ! built_with_use --missing false ${pkg} pulseaudio; then |
636 |
elog |
637 |
elog "You have alsa support enabled so you probably want to install" |
638 |
elog "${pkg} with pulseaudio support to have" |
639 |
elog "alsa using applications route their sound through pulseaudio" |
640 |
fi |
641 |
fi |
642 |
|
643 |
eselect esd update --if-unset |
644 |
} |
645 |
|
646 |
|
647 |
|
648 |
1.1 media-sound/pulseaudio/pulseaudio-0.9.16_rc2-r2.ebuild |
649 |
|
650 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/pulseaudio/pulseaudio-0.9.16_rc2-r2.ebuild?rev=1.1&view=markup |
651 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/pulseaudio/pulseaudio-0.9.16_rc2-r2.ebuild?rev=1.1&content-type=text/plain |
652 |
|
653 |
Index: pulseaudio-0.9.16_rc2-r2.ebuild |
654 |
=================================================================== |
655 |
# Copyright 1999-2009 Gentoo Foundation |
656 |
# Distributed under the terms of the GNU General Public License v2 |
657 |
# $Header: /var/cvsroot/gentoo-x86/media-sound/pulseaudio/pulseaudio-0.9.16_rc2-r2.ebuild,v 1.1 2009/07/16 14:00:05 flameeyes Exp $ |
658 |
|
659 |
EAPI=2 |
660 |
|
661 |
inherit eutils libtool flag-o-matic |
662 |
|
663 |
DESCRIPTION="A networked sound server with an advanced plugin system" |
664 |
HOMEPAGE="http://www.pulseaudio.org/" |
665 |
if [[ ${PV/_rc/} == ${PV} ]]; then |
666 |
SRC_URI="http://0pointer.de/lennart/projects/${PN}/${P}.tar.gz" |
667 |
else |
668 |
SRC_URI="http://0pointer.de/public/${P/_rc/-test}.tar.gz" |
669 |
fi |
670 |
|
671 |
S="${WORKDIR}/${P/_rc/-test}" |
672 |
|
673 |
LICENSE="LGPL-2 GPL-2" |
674 |
SLOT="0" |
675 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86" |
676 |
IUSE="alsa avahi caps jack lirc oss tcpd X hal dbus libsamplerate gnome bluetooth policykit asyncns +glib test doc" |
677 |
|
678 |
RDEPEND="X? ( x11-libs/libX11 x11-libs/libSM x11-libs/libICE x11-libs/libXtst ) |
679 |
caps? ( sys-libs/libcap ) |
680 |
libsamplerate? ( >=media-libs/libsamplerate-0.1.1-r1 ) |
681 |
alsa? ( >=media-libs/alsa-lib-1.0.19 ) |
682 |
glib? ( >=dev-libs/glib-2.4.0 ) |
683 |
avahi? ( >=net-dns/avahi-0.6.12[dbus] ) |
684 |
>=dev-libs/liboil-0.3.0 |
685 |
jack? ( >=media-sound/jack-audio-connection-kit-0.100 ) |
686 |
tcpd? ( sys-apps/tcp-wrappers ) |
687 |
lirc? ( app-misc/lirc ) |
688 |
dbus? ( >=sys-apps/dbus-1.0.0 ) |
689 |
gnome? ( >=gnome-base/gconf-2.4.0 ) |
690 |
hal? ( |
691 |
>=sys-apps/hal-0.5.7 |
692 |
>=sys-apps/dbus-1.0.0 |
693 |
) |
694 |
app-admin/eselect-esd |
695 |
bluetooth? ( |
696 |
|| ( >=net-wireless/bluez-4 |
697 |
>=net-wireless/bluez-libs-3 ) |
698 |
>=sys-apps/dbus-1.0.0 |
699 |
) |
700 |
policykit? ( sys-auth/policykit ) |
701 |
asyncns? ( net-libs/libasyncns ) |
702 |
>=media-libs/audiofile-0.2.6-r1 |
703 |
>=media-libs/speex-1.2_beta |
704 |
>=media-libs/libsndfile-1.0.10 |
705 |
>=dev-libs/liboil-0.3.6 |
706 |
sys-libs/gdbm |
707 |
>=sys-devel/libtool-2.2.4" # it's a valid RDEPEND, libltdl.so is used |
708 |
|
709 |
DEPEND="${RDEPEND} |
710 |
doc? ( app-doc/doxygen ) |
711 |
X? ( x11-proto/xproto ) |
712 |
dev-libs/libatomic_ops |
713 |
dev-util/pkgconfig |
714 |
dev-util/intltool" |
715 |
|
716 |
RDEPEND="${RDEPEND} |
717 |
gnome-extra/gnome-audio" |
718 |
|
719 |
pkg_setup() { |
720 |
enewgroup audio 18 # Just make sure it exists |
721 |
enewgroup realtime |
722 |
enewgroup pulse-access |
723 |
enewgroup pulse |
724 |
enewuser pulse -1 -1 /var/run/pulse pulse,audio |
725 |
} |
726 |
|
727 |
src_prepare() { |
728 |
epatch "${FILESDIR}/${PN}-0.9.16-CVE-2009-1894.patch" |
729 |
elibtoolize |
730 |
} |
731 |
|
732 |
src_configure() { |
733 |
# To properly fix CVE-2008-0008 |
734 |
append-flags -UNDEBUG |
735 |
|
736 |
append-ldflags -Wl,--no-as-needed |
737 |
|
738 |
econf \ |
739 |
--enable-largefile \ |
740 |
$(use_enable glib glib2) \ |
741 |
--disable-solaris \ |
742 |
$(use_enable asyncns) \ |
743 |
$(use_enable oss) \ |
744 |
$(use_enable alsa) \ |
745 |
$(use_enable lirc) \ |
746 |
$(use_enable tcpd tcpwrap) \ |
747 |
$(use_enable jack) \ |
748 |
$(use_enable lirc) \ |
749 |
$(use_enable avahi) \ |
750 |
$(use_enable hal) \ |
751 |
$(use_enable dbus) \ |
752 |
$(use_enable gnome gconf) \ |
753 |
$(use_enable libsamplerate samplerate) \ |
754 |
$(use_enable bluetooth bluez) \ |
755 |
$(use_enable policykit polkit) \ |
756 |
$(use_enable X x11) \ |
757 |
$(use_enable test default-build-tests) \ |
758 |
$(use_with caps) \ |
759 |
--localstatedir=/var \ |
760 |
--with-realtime-group=realtime \ |
761 |
--disable-per-user-esound-socket \ |
762 |
|| die "econf failed" |
763 |
|
764 |
if use doc; then |
765 |
pushd doxygen |
766 |
doxygen doxygen.conf || die |
767 |
popd |
768 |
fi |
769 |
} |
770 |
|
771 |
src_install() { |
772 |
emake DESTDIR="${D}" install || die "make install failed" |
773 |
|
774 |
use avahi && sed -i -e '/module-zeroconf-publish/s:^#::' "${D}/etc/pulse/default.pa" |
775 |
|
776 |
# the “true” condition should be replaced by “use udev” once |
777 |
# that's enabled. |
778 |
if use hal && true; then |
779 |
sed -i -e 's:-udev:-hal:' "${D}/etc/pulse/default.pa" || die |
780 |
fi |
781 |
|
782 |
dodoc README ChangeLog todo || die |
783 |
|
784 |
if use doc; then |
785 |
pushd doxygen/html |
786 |
dohtml * || die |
787 |
popd |
788 |
fi |
789 |
|
790 |
# Create the state directory |
791 |
diropts -o pulse -g pulse -m0755 |
792 |
keepdir /var/run/pulse |
793 |
|
794 |
find "${D}" -name '*.la' -delete |
795 |
} |
796 |
|
797 |
pkg_postinst() { |
798 |
elog "If you want to make use of realtime capabilities of PulseAudio" |
799 |
elog "you should follow the realtime guide to create and set up a realtime" |
800 |
elog "user group: http://www.gentoo.org/proj/en/desktop/sound/realtime.xml" |
801 |
elog "Make sure you also have baselayout installed with pam USE flag" |
802 |
elog "enabled, if you're using the rlimit method." |
803 |
if use bluetooth; then |
804 |
elog |
805 |
elog "The BlueTooth proximity module is not enabled in the default" |
806 |
elog "configuration file. If you do enable it, you'll have to have" |
807 |
elog "your BlueTooth controller enabled and inserted at bootup or" |
808 |
elog "PulseAudio will refuse to start." |
809 |
elog |
810 |
elog "Please note that the BlueTooth proximity module seems itself" |
811 |
elog "still experimental, so please report to upstream if you have" |
812 |
elog "problems with it." |
813 |
fi |
814 |
if use alsa; then |
815 |
local pkg="media-plugins/alsa-plugins" |
816 |
if has_version ${pkg} && ! built_with_use --missing false ${pkg} pulseaudio; then |
817 |
elog |
818 |
elog "You have alsa support enabled so you probably want to install" |
819 |
elog "${pkg} with pulseaudio support to have" |
820 |
elog "alsa using applications route their sound through pulseaudio" |
821 |
fi |
822 |
fi |
823 |
|
824 |
eselect esd update --if-unset |
825 |
} |
826 |
|
827 |
|
828 |
|
829 |
1.3 media-sound/pulseaudio/pulseaudio-0.9.9-r1.ebuild |
830 |
|
831 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/pulseaudio/pulseaudio-0.9.9-r1.ebuild?rev=1.3&view=markup |
832 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/pulseaudio/pulseaudio-0.9.9-r1.ebuild?rev=1.3&content-type=text/plain |
833 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/pulseaudio/pulseaudio-0.9.9-r1.ebuild?r1=1.2&r2=1.3 |