1 |
cardoe 08/10/06 18:27:48 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: dbus-1.2.3-r1.ebuild |
5 |
Log: |
6 |
Fix potential DoS issue. fdo bug #17803. Gentoo bug #240308 |
7 |
(Portage version: 2.2_rc11/cvs/Linux 2.6.26-gentoo-r1 x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.221 sys-apps/dbus/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/dbus/ChangeLog?rev=1.221&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/dbus/ChangeLog?rev=1.221&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/dbus/ChangeLog?r1=1.220&r2=1.221 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/sys-apps/dbus/ChangeLog,v |
19 |
retrieving revision 1.220 |
20 |
retrieving revision 1.221 |
21 |
diff -u -r1.220 -r1.221 |
22 |
--- ChangeLog 6 Oct 2008 00:55:51 -0000 1.220 |
23 |
+++ ChangeLog 6 Oct 2008 18:27:48 -0000 1.221 |
24 |
@@ -1,6 +1,13 @@ |
25 |
# ChangeLog for sys-apps/dbus |
26 |
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/dbus/ChangeLog,v 1.220 2008/10/06 00:55:51 steev Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/dbus/ChangeLog,v 1.221 2008/10/06 18:27:48 cardoe Exp $ |
29 |
+ |
30 |
+*dbus-1.2.3-r1 (06 Oct 2008) |
31 |
+ |
32 |
+ 06 Oct 2008; Doug Goldstein <cardoe@g.o> |
33 |
+ +files/dbus-1.2.3-panic-from-dbus_signature_validate.patch, |
34 |
+ +dbus-1.2.3-r1.ebuild: |
35 |
+ Fix potential DoS issue. fdo bug #17803. Gentoo bug #240308 |
36 |
|
37 |
06 Oct 2008; <steev@g.o> dbus-1.0.2-r2.ebuild, dbus-1.1.4.ebuild, |
38 |
dbus-1.1.20.ebuild, dbus-1.2.1.ebuild, dbus-1.2.3.ebuild: |
39 |
|
40 |
|
41 |
|
42 |
1.1 sys-apps/dbus/dbus-1.2.3-r1.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/dbus/dbus-1.2.3-r1.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/dbus/dbus-1.2.3-r1.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: dbus-1.2.3-r1.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2008 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/sys-apps/dbus/dbus-1.2.3-r1.ebuild,v 1.1 2008/10/06 18:27:48 cardoe Exp $ |
52 |
|
53 |
inherit eutils multilib flag-o-matic |
54 |
|
55 |
DESCRIPTION="A message bus system, a simple way for applications to talk to each other" |
56 |
HOMEPAGE="http://dbus.freedesktop.org/" |
57 |
SRC_URI="http://dbus.freedesktop.org/releases/dbus/${P}.tar.gz" |
58 |
|
59 |
LICENSE="|| ( GPL-2 AFL-2.1 )" |
60 |
SLOT="0" |
61 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" |
62 |
IUSE="debug doc selinux X" |
63 |
|
64 |
RDEPEND="X? ( x11-libs/libXt x11-libs/libX11 ) |
65 |
selinux? ( sys-libs/libselinux |
66 |
sec-policy/selinux-dbus ) |
67 |
>=dev-libs/expat-1.95.8 |
68 |
!<sys-apps/dbus-0.91" |
69 |
DEPEND="${RDEPEND} |
70 |
dev-util/pkgconfig |
71 |
doc? ( app-doc/doxygen |
72 |
app-text/xmlto )" |
73 |
|
74 |
src_unpack() { |
75 |
unpack ${A} |
76 |
cd "${S}" |
77 |
# Fix potential DoS issue. fdo bug #17803. Gentoo bug #240308 |
78 |
epatch "${FILESDIR}"/${PN}-1.2.3-panic-from-dbus_signature_validate.patch |
79 |
} |
80 |
|
81 |
src_compile() { |
82 |
# so we can get backtraces from apps |
83 |
append-flags -rdynamic |
84 |
|
85 |
local myconf="" |
86 |
|
87 |
hasq test ${FEATURES} && myconf="${myconf} --enable-tests=yes" |
88 |
# libaudit is *only* used in DBus wrt SELinux support, so disable it, if |
89 |
# not on an SELinux profile. |
90 |
econf \ |
91 |
$(use_with X x) \ |
92 |
$(use_enable kernel_linux inotify) \ |
93 |
$(use_enable kernel_FreeBSD kqueue) \ |
94 |
$(use_enable selinux) \ |
95 |
$(use_enable selinux libaudit) \ |
96 |
$(use_enable debug verbose-mode) \ |
97 |
$(use_enable debug asserts) \ |
98 |
--with-xml=expat \ |
99 |
--with-system-pid-file=/var/run/dbus.pid \ |
100 |
--with-system-socket=/var/run/dbus/system_bus_socket \ |
101 |
--with-session-socket-dir=/tmp \ |
102 |
--with-dbus-user=messagebus \ |
103 |
--localstatedir=/var \ |
104 |
$(use_enable doc doxygen-docs) \ |
105 |
--disable-xml-docs \ |
106 |
${myconf} \ |
107 |
|| die "econf failed" |
108 |
|
109 |
# after the compile, it uses a selinuxfs interface to |
110 |
# check if the SELinux policy has the right support |
111 |
use selinux && addwrite /selinux/access |
112 |
|
113 |
emake || die "make failed" |
114 |
} |
115 |
|
116 |
src_test() { |
117 |
DBUS_VERBOSE=1 make check || die "make check failed" |
118 |
} |
119 |
|
120 |
src_install() { |
121 |
emake DESTDIR="${D}" install || die "make install failed" |
122 |
|
123 |
# initscript |
124 |
newinitd "${FILESDIR}"/dbus.init-1.0 dbus |
125 |
|
126 |
# dbus X session script (#77504) |
127 |
# turns out to only work for GDM. has been merged into other desktop |
128 |
# (kdm and such scripts) |
129 |
exeinto /etc/X11/xinit/xinitrc.d/ |
130 |
doexe "${FILESDIR}"/30-dbus |
131 |
|
132 |
# needs to exist for the system socket |
133 |
keepdir /var/run/dbus |
134 |
# needs to exist for machine id |
135 |
keepdir /var/lib/dbus |
136 |
# needs to exist for dbus sessions to launch |
137 |
|
138 |
keepdir /usr/lib/dbus-1.0/services |
139 |
keepdir /usr/share/dbus-1/services |
140 |
keepdir /etc/dbus-1/system.d/ |
141 |
keepdir /etc/dbus-1/session.d/ |
142 |
|
143 |
dodoc AUTHORS ChangeLog HACKING NEWS README doc/TODO |
144 |
if use doc; then |
145 |
dohtml doc/*html |
146 |
fi |
147 |
} |
148 |
|
149 |
pkg_preinst() { |
150 |
enewgroup messagebus |
151 |
enewuser messagebus -1 "-1" -1 messagebus |
152 |
} |
153 |
|
154 |
pkg_postinst() { |
155 |
elog "To start the D-Bus system-wide messagebus by default" |
156 |
elog "you should add it to the default runlevel :" |
157 |
elog "\`rc-update add dbus default\`" |
158 |
elog |
159 |
elog "Some applications require a session bus in addition to the system" |
160 |
elog "bus. Please see \`man dbus-launch\` for more information." |
161 |
elog |
162 |
elog |
163 |
ewarn "You MUST run 'revdep-rebuild' after emerging this package" |
164 |
elog |
165 |
ewarn "If you are currently running X with the hal useflag enabled" |
166 |
ewarn "restarting the dbus service WILL restart X as well" |
167 |
ebeep 5 |
168 |
elog |
169 |
ewarn "You must restart D-Bus \`/etc/init.d/dbus restart\` to run" |
170 |
ewarn "the new version of the daemon. For many people, this means" |
171 |
ewarn "exiting X as well." |
172 |
|
173 |
} |