Commit graph

108 commits

Author SHA1 Message Date
wiz
b795a572a7 Update to 1.6.16:
D-Bus 1.6.16 (2013-10-08)
==

The “Fortify Agility” release.

Fixes:

• Make dbus_connection_set_route_peer_messages(x, FALSE) behave as
  documented. Previously, it assumed its second parameter was TRUE.
  (fd.o #69165, Chengwei Yang)

• Fix a NULL pointer dereference on an unlikely error path
  (fd.o #69327, Sviatoslav Chagaev)

• Unix-specific:
  · If accept4() fails with EINVAL, as it can on older Linux kernels
    with newer glibc, try accept() instead of going into a busy-loop.
    (fd.o #69026, Chengwei Yang)
  · If socket() or socketpair() fails with EINVAL or EPROTOTYPE,
    for instance on Hurd or older Linux with a new glibc, try without
    SOCK_CLOEXEC. (fd.o #69073; Pino Toscano, Chengwei Yang)
  · Fix a file descriptor leak on an error code path.
    (fd.o #69182, Sviatoslav Chagaev)
  · Fix compilation if writev() is unavailable (fd.o #69409,
    Vasiliy Balyasnyy)
2013-10-17 07:21:48 +00:00
wiz
fe9e1504c8 Update to 1.6.14:
D-Bus 1.6.14 (2013-09-05)
==

The “Restore Fatigue” release.

Fixes:

• Avoid an infinite busy-loop if a signal interrupts waitpid()
  (fd.o #68945, Simon McVittie)

• Escape addresses containing non-ASCII characters correctly
  (fd.o #53499, Chengwei Yang)

• If malloc() returns NULL in _dbus_string_init() or similar, don't free
  an invalid pointer if the string is later freed (fd.o #65959, Chengwei Yang)

• If malloc() returns NULL in dbus_set_error(), don't va_end() a va_list
  that was never va_start()ed (fd.o #66300, Chengwei Yang)

• Fix a regression test on platforms with strict alignment (fd.o #67279,
  Colin Walters)

• Avoid calling function parameters "interface" since certain Windows headers
  have a namespace-polluting macro of that name (fd.o #66493, Ivan Romanov)

• Make "make -j check" work (fd.o #68852, Simon McVittie)
2013-09-12 13:25:47 +00:00
jperkin
b091c2f172 Bump PKGREVISION of all packages which create users, to pick up change of
sysutils/user_* packages.
2013-07-12 10:44:52 +00:00
wiz
3993ee4e27 Update to 1.6.12:
D-Bus 1.6.12 (2013-06-13)
==

Fixes:

• CVE-2013-2168: Fix misuse of va_list that could be used as a denial
  of service for system services. Vulnerability reported by Alexandru Cornea.
  (Simon)

• In dbus-daemon, don't crash if a .service file starts with key=value
  (fd.o #60853, Chengwei Yang)

• Unix-specific:
  · Fix an assertion failure if we try to activate systemd services before
    systemd connects to the bus (fd.o #50199, Chengwei Yang)
  · Avoid compiler warnings for ignoring the return from write()
    (Chengwei Yang)
2013-06-13 13:00:34 +00:00
wiz
70134d7327 Update to 1.6.10:
D-Bus 1.6.10 (2013-04-24)
==

The “little-known facts about bananas” release.

• Following Unicode Corrigendum #9, the noncharacters U+nFFFE, U+nFFFF,
  U+FDD0..U+FDEF are allowed in UTF-8 strings again.
  (fd.o #63072, Simon McVittie)

• Diagnose incorrect use of dbus_connection_get_data() with negative slot
  (i.e. before allocating the slot) rather than returning junk
  (fd.o #63127, Dan Williams)

• In the activation helper, when compiled for tests, do not reset the system
  bus address, fixing the regression tests. (fd.o #52202, Simon)

• Fix building with Valgrind 3.8, at the cost of causing harmless warnings
  with Valgrind 3.6 on some compilers (fd.o #55932, Arun Raghavan)

• Don't leak temporary fds pointing to /dev/null (fd.o #56927, Michel HERMIER)

• Create session.d, system.d directories under CMake (fd.o #41319,
  Ralf Habacker)

• Unix-specific:
  · Include alloca.h for alloca() if available, fixing compilation on
    Solaris 10 (fd.o #63071, Dagobert Michelsen)
2013-05-26 18:06:04 +00:00
ryoon
33ed86b44a Fix build on OpenBSD/amd64 5.2.
* librt should not be linked.
2013-01-06 03:55:51 +00:00
asau
54c5cd959e Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. 2012-10-23 19:50:50 +00:00
wiz
0bdcd2b701 Update to 1.6.8:
D-Bus 1.6.8 (2012-09-28)
==

The "Fix one thing, break another" release.

• Follow up to CVE-2012-3524: The additional hardening
  work to use __secure_getenv() as a followup to bug #52202
  broke certain configurations of gnome-keyring.  Given
  the difficulty of making this work without extensive
  changes to gnome-keyring, use of __secure_getenv() is
  deferred.

D-Bus 1.6.6 (2012-09-28)
==

The "Clear the environment in your setuid binaries, please" release.

• CVE-2012-3524: Don't access environment variables (fd.o #52202)
  Thanks to work and input from Colin Walters, Simon McVittie,
  Geoffrey Thomas, and others.
• Unix-specific:
  · Fix compilation on Solaris (fd.o #53286, Jonathan Perkin)
  · Work around interdependent headers on OpenBSD by including sys/types.h
    before each use of sys/socket.h (fd.o #54418, Brad Smith)
2012-10-07 21:35:13 +00:00
ryoon
81ff5c180a Fix PLIST divergence on Gentoo Linux, that has man2html in PATH.
Disable detection of man2html forcibly.
2012-09-27 19:45:18 +00:00
shattered
c9acda4230 Darwin supports kqueue(2), too. 2012-09-02 13:02:13 +00:00
abs
069960aebf _dbus_poll: Set the timeout value argument to poll to -1 whenever
it is less than -1 to avoid kde4 session start hang
From: Sverre Froyen
Bump PKGREVISION
2012-08-14 19:18:08 +00:00
jperkin
219b809631 Fix a couple of compile problems on Solaris. 2012-08-09 10:21:19 +00:00
drochner
125139b81b update to 1.6.4
this is a step of two major branches, to much to list here

pkgsrc notes:
-I've left out our NETBSD_ATOMIC_OPS patch because it is very invasive
 and gcc intrinsics are hopefully good enough
-A workaround for non-standard behavior of vsnprintf has been added
 upstream, for HPUX as the comment says. We had a patch for __hpux||__sgi
 which is removed now - the sgi case should be checked.
2012-08-01 17:52:21 +00:00
reed
ebc5630634 remove repeated setting 2012-07-28 21:50:31 +00:00
obache
3c586206ca fixes build on OpenBSD, taken from upstream repository. 2012-03-30 14:28:29 +00:00
dholland
bd3e22d634 Fix typo in previous that made deinstallation fail... 2011-10-29 15:17:17 +00:00
marino
e6e2fb2e6c sysutils/dbus: Fix pkg_delete errors
Fixes the following errors:

> pkg_delete dbus-1.2.4.6nb4
pkg_delete: Directory '/usr/pkg/share/dbus-1/system-services' disappeared, skipping
pkg_delete: Directory '/usr/pkg/share/dbus-1/service' disappeared, skipping
2011-10-29 13:26:59 +00:00
tez
1356f9362c Add patch for CVE-2011-2200 (SA44896) from
http://cgit.freedesktop.org/dbus/dbus/commit/?h=dbus-1.2&id=6519a1f77c61d753d4c97efd6e15630eb275336e
2011-06-13 22:06:39 +00:00
obache
1d9df3258a recursive bump from gettext-lib shlib bump. 2011-04-22 13:41:54 +00:00
tron
5db4659a01 Add fix for vulnerability reported in CVE-2010-4352 (SA42580) taken
from the "dbus" GIT repository.
2010-12-29 10:49:21 +00:00
asau
771b9503b1 Bump revision for default options changes on DragonFly. 2010-12-05 18:42:29 +00:00
asau
5173b911cc Default to use kqueue on DragonFly.
Requested by Rumko in PR pkg/44194
2010-12-05 18:29:17 +00:00
shattered
84bfa6f51e kqueue is BSD-specific; add it to PKG_SUPPORTED_OPTIONS only on *BSD. 2010-11-07 15:24:50 +00:00
obache
2a8297368d Exactly disable installation of init scripts.
Fixes PLIST mismatch for RedHat and Slackware like distributions
as reported by Aleksey Cheusov via PR#43369.
2010-05-27 12:36:02 +00:00
tez
c755a771d3 fix for pr#42396 from dbus 1.2.16 (different branch than this)
don't pass -no-pointer-sign to compiler that does not support it (gcc34)
2010-02-21 19:32:25 +00:00
heinz
d653ce6a74 Added LICENSE information. 2010-01-24 17:11:17 +00:00
drochner
c7a7e72179 update to dbus-1.2.4.6permissive
changes: fix CVE-2009-1189 (flaw in signature validation due to
incomplete fix for CVE-2008-3834)
2009-11-23 19:10:46 +00:00
joerg
76039544d1 Remove @dirrm related logic. 2009-06-14 22:57:58 +00:00
joerg
75fc561a65 Convert @exec/@unexec to @pkgdir or drop it. 2009-06-14 21:28:46 +00:00
joerg
f0bbd1517d Remove @dirrm entries from PLISTs 2009-06-14 18:13:25 +00:00
abs
783faeab22 Only install messagebus.redhat and rc.messagebus.slackware iff on linux, plus set group on libexec/dbus-daemon-launch-helper 2009-05-18 21:55:30 +00:00
abs
6ec2d566e2 Set mode 4511 on libexec/dbus-daemon-launch-helper - now dhcpcd-gtk and gnome keyring manager work when everything is installed via binary packages - bump pkgrevision 2009-05-08 13:13:51 +00:00
wiz
401b2a83a0 Fix permissions for dbus-daemon-launch-helper, especially with user-destdir.
Bump PKGREVISION.
2009-05-03 22:46:25 +00:00
joerg
2d1ba244e9 Simply and speed up buildlink3.mk files and processing.
This changes the buildlink3.mk files to use an include guard for the
recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS,
BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new
variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of
enter/exit marker, which can be used to reconstruct the tree and
to determine first level includes. Avoiding := for large variables
(BUILDLINK_ORDER) speeds up parse time as += has linear complexity.
The include guard reduces system time by avoiding reading files over and
over again. For complex packages this reduces both %user and %sys time to
half of the former time.
2009-03-20 19:23:50 +00:00
wiz
844462dbb5 Filter another directory for print-PLIST. 2009-02-23 11:00:01 +00:00
wiz
7a71ed0df8 Add an ignore pattern. 2009-01-13 10:55:37 +00:00
he
70f591c364 Update from version 1.2.4.2nb1 to 1.2.4.2nb2.
Pkgsrc changes:
 o Add BUILDLINK_TRANSFORM settings which deactivate -fPIE and -pie
   in the compiler invocation.  The configure script of this package
   checks to see if gcc accepts those options, and uses them if it
   does.  However, apparently that does not mean that we universally
   will be able to run the resulting executables -- on NetBSD/4.0
   macppc the run-time linker says
     "Unsupported relocation type 6 in non-PLT relocations"

Tested that the dbus-daemon executable remains runnable on both i386
and that it is so now on macppc.

Thanks to jmcneill@ and joerg@ for hints leading to this fix.
2009-01-09 21:54:15 +00:00
he
89137f46cf Update from version 1.2.4.2 to version 1.2.4.2nb1.
Pkgsrc changes:
 o Modify one of the patches with a patch reported as part of
   PR#40347 to make this package build on NetBSD 4.0 and probably
   earlier versions as well.  Many thanks to Hasso Tepper for the
   patch.
2009-01-09 21:47:32 +00:00
wiz
01c69b1c61 Update to 1.2.4.2 on the "permissive" branch.
This addresses the security problem CVE-2008-4311. For more
details, read
http://lists.freedesktop.org/archives/dbus/2008-December/010769.html
2009-01-07 19:11:36 +00:00
hasso
a027a68ca4 Make dbus really work on DragonFly and FreeBSD. The patch obtained from
FreeBSD ports. Bump PKGREVISION.
2009-01-06 19:00:50 +00:00
obache
3afdabb5f4 Negative option name "nox11" should not be used, use "-x11" instead. 2008-12-21 12:09:42 +00:00
jmcneill
1be8e05202 Restore socket credentials fix that was lost 5 months ago, bump PKGREVISION
and STOP BREAKING DBUS.
2008-11-23 01:40:26 +00:00
wiz
80fc0db1d3 Avoid compiling in example directory path into executables.
Noted by jmcneill.

Bump PKGREVISION.
2008-11-21 21:27:36 +00:00
jmcneill
5e210a3f3a Don't use -Wl,--gc-sections as it strips .note.netbsd.* sections. Bump
pkg revision.
2008-11-15 18:15:09 +00:00
chuck
69d720da3b on darwin configure script picks up private per-user tmp directory
in /var/folders/xx/...+++... via the TMPDIR environment and cheerfully
installs it in /usr/pkg/etc/dbus-1/session.conf meaning that only the
user who installed the package will be able to write to that directory...
except that dbus rejects directories with "+"'s in the filename so it
won't work anyway.   use configure --with-session-socket-dir=/tmp
to work around this.   found a description of this issue here:
http://wiki.gnucash.org/wiki/MacOSX/Quartz in the
"Running from the commandline" section.

dbus also cannot cope with $DISPLAY containing "/" chars (like in
darwin ... /tmp/launch-kcvznx/:0 ) so get rid of the ":" as described
here:
 https://trac.macports.org/attachment/ticket/16833/patch-dbus-launch-x11.c.diff
2008-11-15 03:59:10 +00:00
tron
e9bef9cfc7 Update "dbus" package to version 1.2.4. Changes since 1.2.3:
- Security fix for CVE-2008-3834
- A small number of compilation and portability fixes
2008-10-12 11:15:22 +00:00
markd
07deed34e0 When removing a loop, remove both the beginning _and_ the end.
Bump PKGREVISION.  Noted by Cem Kayali in pkgsrc-users@
2008-10-11 19:58:24 +00:00
taca
9ec7528abd Some maintainous to dbus pacakge, approved by agc@.
* Change "${VARBASE}/lib/dbus" to "${VARBASE}/db/dbus".
* Create "${VARBASE}/db/dbus" with OWN_DIRS_PERMS at install time.
* Generate "${VARBASE}/db/dbus/machine-id" file at install time.
* Install dbus-daemon-launch-helper with mode 04550 instead of 04750.

It solves start gimp successfully without running dbus-daemon as before.

Bump PKGREVISION.
2008-09-24 11:37:31 +00:00
drochner
6a4dc19c12 restore a patch which got lost in update 2008-08-16 16:38:01 +00:00
wiz
7f99ed5fe0 Update to 1.2.3:
1.2.3:
    * New UpdateActivationEnvironment bus API (#16669)
    * Solaris Auditing (ADT) support (#15740)
    * Various notable bug fixes: #16727, #16294, #15947 #15588
    * Other more minor bugs
2008-08-15 12:15:17 +00:00