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