diff options
author | Nirbheek Chauhan <nirbheek@gentoo.org> | 2009-04-21 17:52:27 +0000 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek@gentoo.org> | 2009-04-21 17:52:27 +0000 |
commit | fd600b3bddfad45d6787483fe5a474916dd6a1dd (patch) | |
tree | 95365977337d1bc3014946752f740241a48e36fa /sys-apps/dbus | |
parent | Version bump. Thanks to Tim Harder (#266959). Cleanup (diff) | |
download | historical-fd600b3bddfad45d6787483fe5a474916dd6a1dd.tar.gz historical-fd600b3bddfad45d6787483fe5a474916dd6a1dd.tar.bz2 historical-fd600b3bddfad45d6787483fe5a474916dd6a1dd.zip |
Add dbus-1.2.12, reviewed by steev
Package-Manager: portage-2.2_rc30/cvs/Linux i686
Diffstat (limited to 'sys-apps/dbus')
-rw-r--r-- | sys-apps/dbus/ChangeLog | 7 | ||||
-rw-r--r-- | sys-apps/dbus/Manifest | 14 | ||||
-rw-r--r-- | sys-apps/dbus/dbus-1.2.12.ebuild | 134 |
3 files changed, 143 insertions, 12 deletions
diff --git a/sys-apps/dbus/ChangeLog b/sys-apps/dbus/ChangeLog index cb9ad15a76f2..7efac35cbc83 100644 --- a/sys-apps/dbus/ChangeLog +++ b/sys-apps/dbus/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-apps/dbus # Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/dbus/ChangeLog,v 1.231 2009/02/05 19:03:24 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/dbus/ChangeLog,v 1.232 2009/04/21 17:52:27 nirbheek Exp $ + +*dbus-1.2.12 (21 Apr 2009) + + 21 Apr 2009; Nirbheek Chauhan <nirbheek@gentoo.org> +dbus-1.2.12.ebuild: + Add dbus-1.2.12, reviewed by steev 05 Feb 2009; Alexis Ballier <aballier@gentoo.org> +files/dbus-1.2.3-bsd.patch, dbus-1.2.3-r1.ebuild: diff --git a/sys-apps/dbus/Manifest b/sys-apps/dbus/Manifest index 1e46bd47f551..3e919b9aaf4b 100644 --- a/sys-apps/dbus/Manifest +++ b/sys-apps/dbus/Manifest @@ -1,6 +1,3 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - AUX 30-dbus 243 RMD160 b5e7a813cd5d91f2ea60bb22260e432cbfb72fd9 SHA1 35ee3a5d3db9c7e372603ce916e17a41edd01d36 SHA256 a8e8fec9769cc5d46df8216f7d1e1f9df422c4e46f293fd70d4b017fb01d959d AUX dbus-1.0.1-fixfilecreation.patch 474 RMD160 63e1a6737519773dc85b64098577a97bae7ef6cc SHA1 a4748d3db24f425bd8ed2409bf225d01ced11640 SHA256 183ec284a385b3ef724abbcebd10e42765d81212d23e269c473fb3772f9ab2a3 AUX dbus-1.1.20-fix-build.patch 392 RMD160 4a5f6d9ce7a4f8a8c3103c38dccfbf27a8383f2c SHA1 fdb4e94f7e0d58adea87412735ad1e955c780888 SHA256 78e3b41665daa172ff0f946db8d2c55d3c8dcad762733a2fba4ed6d7fcd29768 @@ -12,19 +9,14 @@ DIST dbus-1.0.2.tar.gz 1400278 RMD160 d5eddfb058c4c026d4a9f091ad90abcc6e54861a S DIST dbus-1.1.20.tar.gz 1401902 RMD160 da06f0fca2e83e9ea3af6fa14045a69b97435221 SHA1 fff5db438483e6b4a3c40d430b20baa49ad2d58a SHA256 6f1fca18af9214e896c5c0a11f94fe05a0345c641ed57da886a93a4e3b33147e DIST dbus-1.1.4.tar.gz 1400585 RMD160 22d08a6c00ac3cd0bcf97d7733f39af36bcbfb0b SHA1 f246dfbc7dadb8a11a413f3376fdcd22e52eb1e4 SHA256 4f8ff9324a5d363833833333193a3e83c074a51ce82d8c66c2e304b0378c714d DIST dbus-1.2.1.tar.gz 1406833 RMD160 88b20e16251e10e205fece57e6b434a7aa43b615 SHA1 2c5b38d51b486e0143faf7749d298e07a8c71223 SHA256 8016540602189e1dca6aca6b7c0735706387e4f85ced75217c6a874980fd0e86 +DIST dbus-1.2.12.tar.gz 1574756 RMD160 779d76320f1343dae7447c82a683e372e6c11729 SHA1 13de8dc28c9edae7b9d2928ff691549bb2bef21a SHA256 b2ec81e7d9fa5e24f67baccfd9af2755a7797a65cb4c3cad10d023867f2bd220 DIST dbus-1.2.3.tar.gz 1564475 RMD160 d1a207b2a4c744f27c9c01388e80cebdb61f43f0 SHA1 ceb8d496bc1a9c2dcdbe559515c01ec9c0cdcf81 SHA256 16ffaa4a8758f115cf02c78962b0849ed4d802872420fd460c433a9cd580ed1a EBUILD dbus-1.0.2-r2.ebuild 3315 RMD160 897430a26b2941864b9c147e7985ae0409ba7a9f SHA1 13dab850ec95a6bf04c80b2f176311f0837bad7c SHA256 9cdf0b987b6d5deb276272a7f746d2c303f3679ed8bcd14427aa336fedb24f4c EBUILD dbus-1.1.20.ebuild 3554 RMD160 6bcace0ca9b1bf5d4e1ff29d052757bc16205d1a SHA1 d25cd168bf6900e613a6c689708ae5d00fb23f78 SHA256 2ac1868bc5351b93c4159380b11ace2c34d6dac1ec23238839c337d6fddfcc97 EBUILD dbus-1.1.4.ebuild 3524 RMD160 c1fd3577e80662406576e15e2e855844ed31ac9d SHA1 1f5f6a102163366660a0de6b5c34dda72470c8fc SHA256 f33d61b23351f541248d96a226d129ab32a30c563906e16c831495d070c10ba1 EBUILD dbus-1.2.1.ebuild 3435 RMD160 8e1e26000f4756ceeca42c6122404072cfa1dffb SHA1 1c69fb0086b47831a9a76574781f1b3345570283 SHA256 b3c727a597ee5aa3d34b0317bfe07f197e884b0e21295d31c0627f6a349d5232 +EBUILD dbus-1.2.12.ebuild 3821 RMD160 434f6f53e6d1860f68ba249d4b7d5133e01cc5ad SHA1 d8ea575295a8c6262ccd3511929eadb060bc1b38 SHA256 308eed4bc42c79585bf3318ebce4b4887df46b81ac59bf961ed0c3e819205c37 EBUILD dbus-1.2.3-r1.ebuild 3752 RMD160 dc66d0b29adcde506e40b3240f4e19144f3ed159 SHA1 fc9c2db2f73605fbcc2807ee0bd886e86f8bb93d SHA256 09c62bdce60af40e79f88f6bc7110867f6f6d051b08aa5ed585a10570beeb2fc EBUILD dbus-1.2.3.ebuild 3433 RMD160 b1df4ee5dd0a0d158219d5b14e6149ea5e93660c SHA1 4436f736daf11501ffcf1d2a3ce77e890fe6f73c SHA256 77aa47cc1c15755f0f599da490157313aff699ea8e63e044c1dff6f048261395 -MISC ChangeLog 34531 RMD160 97146f15309479322c02c7ba1fa61c3edf8c34a1 SHA1 f72cd281d558d27d7ea3ba802e4fda21b2c1ee2a SHA256 08e21c6bb3cfbee20582592cf454809ffb2239d903a2977c91d103ac3076c155 +MISC ChangeLog 34672 RMD160 4dc6caf23f37ddf8a6e2e107758d781a6c7ddd97 SHA1 a5bcf9258bb6f1b5bdc6ee2d4244ae470d9f7a7b SHA256 cafb1fc7bce3b0874add3519147d2a30bc123d995e22ca42354e6d87ee84853e MISC metadata.xml 285 RMD160 a557848c4782030e9eeb3dc1f06d98840ad7f73a SHA1 e0ba318a0e1a819cc360ea98cc3477dcf52a1526 SHA256 f0df8a3ebe8d22c87645cf66ed8c50c4e64ded6ad1e279e9912cb5074feb5a82 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.9 (GNU/Linux) - -iEYEARECAAYFAkmLN/0ACgkQvFcC4BYPU0rLOgCdFJEjU08X7nbBmB0rg+oYp0Mi -NIAAniGBg5hOkFyIPbWlLNWnJSb5Ox4i -=KXAY ------END PGP SIGNATURE----- diff --git a/sys-apps/dbus/dbus-1.2.12.ebuild b/sys-apps/dbus/dbus-1.2.12.ebuild new file mode 100644 index 000000000000..08f048830800 --- /dev/null +++ b/sys-apps/dbus/dbus-1.2.12.ebuild @@ -0,0 +1,134 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/dbus/dbus-1.2.12.ebuild,v 1.1 2009/04/21 17:52:27 nirbheek Exp $ + +inherit eutils multilib flag-o-matic + +DESCRIPTION="A message bus system, a simple way for applications to talk to each other" +HOMEPAGE="http://dbus.freedesktop.org/" +SRC_URI="http://dbus.freedesktop.org/releases/dbus/${P}.tar.gz" + +LICENSE="|| ( GPL-2 AFL-2.1 )" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" +IUSE="debug doc selinux test X" + +RDEPEND="X? ( x11-libs/libXt x11-libs/libX11 ) + selinux? ( sys-libs/libselinux + sec-policy/selinux-dbus ) + >=dev-libs/expat-1.95.8 + !<sys-apps/dbus-0.91" +DEPEND="${RDEPEND} + dev-util/pkgconfig + doc? ( app-doc/doxygen + app-text/xmlto )" + +src_unpack() { + unpack ${A} + cd "${S}" + + # Tests were restricted because of this + sed -e 's/.*bus_dispatch_test.*/printf ("Disabled due to excess noise\n");/' \ + -e '/"dispatch"/d' -i "${S}/bus/test-main.c" +} + +src_compile() { + # so we can get backtraces from apps + append-flags -rdynamic + + # libaudit is *only* used in DBus wrt SELinux support, so disable it, if + # not on an SELinux profile. + econf \ + $(use_with X x) \ + $(use_enable kernel_linux inotify) \ + $(use_enable kernel_FreeBSD kqueue) \ + $(use_enable selinux) \ + $(use_enable selinux libaudit) \ + $(use_enable debug verbose-mode) \ + $(use_enable debug asserts) \ + $(use_enable test tests) \ + $(use_enable test asserts) \ + --with-xml=expat \ + --with-system-pid-file=/var/run/dbus.pid \ + --with-system-socket=/var/run/dbus/system_bus_socket \ + --with-session-socket-dir=/tmp \ + --with-dbus-user=messagebus \ + --localstatedir=/var \ + $(use_enable doc doxygen-docs) \ + --disable-xml-docs \ + || die "econf failed" + + # after the compile, it uses a selinuxfs interface to + # check if the SELinux policy has the right support + use selinux && addwrite /selinux/access + + emake || die "make failed" +} + +src_test() { + DBUS_VERBOSE=1 make check || die "make check failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "make install failed" + + # initscript + newinitd "${FILESDIR}"/dbus.init-1.0 dbus + + if use X ; then + # dbus X session script (#77504) + # turns out to only work for GDM. has been merged into other desktop + # (kdm and such scripts) + exeinto /etc/X11/xinit/xinitrc.d/ + doexe "${FILESDIR}"/30-dbus + fi + + # needs to exist for the system socket + keepdir /var/run/dbus + # needs to exist for machine id + keepdir /var/lib/dbus + # needs to exist for dbus sessions to launch + + keepdir /usr/lib/dbus-1.0/services + keepdir /usr/share/dbus-1/services + keepdir /etc/dbus-1/system.d/ + keepdir /etc/dbus-1/session.d/ + + dodoc AUTHORS ChangeLog HACKING NEWS README doc/TODO + if use doc; then + dohtml doc/*html + fi +} + +pkg_preinst() { + enewgroup messagebus + enewuser messagebus -1 "-1" -1 messagebus +} + +pkg_postinst() { + elog "To start the D-Bus system-wide messagebus by default" + elog "you should add it to the default runlevel :" + elog "\`rc-update add dbus default\`" + elog + elog "Some applications require a session bus in addition to the system" + elog "bus. Please see \`man dbus-launch\` for more information." + elog + elog + ewarn "You MUST run 'revdep-rebuild' after emerging this package" + elog + ewarn "You must restart D-Bus \`/etc/init.d/dbus restart\` to run" + ewarn "the new version of the daemon." + + if built_with_use x11-base/xorg-server hal; then + elog + ewarn "You are currently running X with the hal useflag enabled" + ewarn "restarting the dbus service WILL restart X as well" + ebeep 5 + fi + + if use test; then + elog + ewarn "You have unit tests enabled, this results in an insecure library" + ewarn "It is recommended that you reinstall *without* FEATURES=test" + fi +} |