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.
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.
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.
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
* 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.
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
- Fix up some inconsistent handing of CONFIGURE_ARGS (mostly related
to the debug option).
- Add test target (commented out, see Makefile).
- Add some patches from freedesktop.org git (see comments atop new patches).
- Remove trailing comma from an enum in tools/dbus-monitor.c.
Passes all tests on NetBSD/amd64 4.99.65, save for spawn test, which seems
to hang (?). I'm also running GNOME now and everything seems to be in order.
There is some stuff in the pkg which is not completed or doesn't work yet,
as support for NetBSD's new atomic increment ops, but this is not
essential. It is a good moment to do the update right now because gtk2
was just updated, and there is just enough time before the next branch.
This is a major update, too many changes to list here.
Stop lying and drop maintainership of these packages. I have not
maintained them for a very long time already, so leave room for
fresh blood to take over them.
the owner of all installed files is a non-root user. This change
affects most packages that require special users or groups by making
them use the specified unprivileged user and group instead.
(1) Add two new variables PKG_GROUPS_VARS and PKG_USERS_VARS to
unprivileged.mk. These two variables are lists of other bmake
variables that define package-specific users and groups. Packages
that have user-settable variables for users and groups, e.g. apache
and APACHE_{USER,GROUP}, courier-mta and COURIER_{USER,GROUP},
etc., should list these variables in PKG_USERS_VARS and PKG_GROUPS_VARS
so that unprivileged.mk can know to set them to ${UNPRIVILEGED_USER}
and ${UNPRIVILEGED_GROUP}.
(2) Modify packages to use PKG_GROUPS_VARS and PKG_USERS_VARS.
changes:
-Fix bug where calling dbus_threads_init_default would assert
-Fix UUID output to match the spec
-Clear up documentation on UUIDs
-Fix security bug CVE-2006-6107 match rules can be removed by apps that
did not create them
-pthread fix
pkgsrc changes:
-create /var/lib/dbus on startup
-build against X11 to get the automatic startup of the session bus
(can be switched off per pkgsrc option)
defaults messagebus:messagebus trigger daily security warnings (more than 8
characters). The default values are set in mk/defaults/mk.conf but kept the
same for backwards compatibility, so no PKGREVISION bump.
- Add support for LOCAL_CREDS socket credentials so that we can connect to
the system daemon under NetBSD. It was useless before...
Changes since 0.91:
- Proper thread locking added to pending calls
- Threading semantics changed from init early to init before the second thread
is started
- Correctly error out when an application tries to acquire or release the
org.freedesktop.DBus name instead of sending false result codes
- kqueue directory watching code can now be used to monitor config file changes
on FreeBSD
- --with-dbus-daemondir configure switch added so the daemon can be installed
separate from the user binaries
- Makefiles fixed for cygwin
- Various fixes for the ongoing Windows port
- Fixed docs and comments to use the D-Bus spelling instead of D-BUS
- Many memleaks and bugs fixed
D-Bus 0.91 (24 July 2006)
==
- Remove some lingering bits left over from the bindings split
- Fix assertion causing D-Bus applications to crash when checks are enabled
- Fix a timeout bug which would block applications from being auto started
D-Bus 0.90 (17 July 2006)
==
- API/ABI freeze for 1.0
- Bindings are now split out into seperate packages
- ListActivatableNames added as a method on the bus
- Removed deprecated dbus_connection_disconnect (use dbus_connection_close)
- Shared connections are now unreffed on disconnect
- Fixed pending calls for threaded enviornments
- Pending calls get timed out on connection disconnect
- dbus_connection_send_with_reply returns TRUE and a NULL pending call
if you call it on a connection object which has been disconnected already
(it returns FALSE on Out of Memory errors only)
- dbus-monitor now correctly catches methods, not just signals
- dbus-monitor now prints object paths
D-BUS 0.62 (12 June 2006)
==
- Doc fixes
- Added support for all data-types for the dbus tools
- Fixed eavesdropping on method calls (dbus-monitor)
- Fixed silent dropping of method calls with interface=NULL
- Fixed console ownership problems in Solaris
- Fixed installation of dbus-signature.h and #include it in dbus/dbus.h
- Flush the user database cache on config reload
- GLib bindings:
- Fix memory leaks
- Fix properties in DBusGProxy so that they can be given in any
order
- Added lots of assertions to ensure correct use
- Remove duplicated code
- Fix static string pointer uses in GPtrArray-based collections
- Python bindings:
- Remove reference to sys/cdefs.h
- Qt4 bindings:
- Code reorganized
- Added the dbusidl2cpp, dbuscpp2xml and dbus tools
- Added example programs (ping-pong, complex ping-pong, listnames, chat)
- Updated selftests
- Fixed compilation and .moc- and .ui-file processing and cleaning
- Made central classes derive from QObject
- Enhance error reporting
- Many bugfixes
- Mono bindings:
- Minor bugfixes
and add a new helper target and script, "show-buildlink3", that outputs
a listing of the buildlink3.mk files included as well as the depth at
which they are included.
For example, "make show-buildlink3" in fonts/Xft2 displays:
zlib
fontconfig
iconv
zlib
freetype2
expat
freetype2
Xrender
renderproto
RECOMMENDED is removed. It becomes ABI_DEPENDS.
BUILDLINK_RECOMMENDED.foo becomes BUILDLINK_ABI_DEPENDS.foo.
BUILDLINK_DEPENDS.foo becomes BUILDLINK_API_DEPENDS.foo.
BUILDLINK_DEPENDS does not change.
IGNORE_RECOMMENDED (which defaulted to "no") becomes USE_ABI_DEPENDS
which defaults to "yes".
Added to obsolete.mk checking for IGNORE_RECOMMENDED.
I did not manually go through and fix any aesthetic tab/spacing issues.
I have tested the above patch on DragonFly building and packaging
subversion and pkglint and their many dependencies.
I have also tested USE_ABI_DEPENDS=no on my NetBSD workstation (where I
have used IGNORE_RECOMMENDED for a long time). I have been an active user
of IGNORE_RECOMMENDED since it was available.
As suggested, I removed the documentation sentences suggesting bumping for
"security" issues.
As discussed on tech-pkg.
I will commit to revbump, pkglint, pkg_install, createbuildlink separately.
Note that if you use wip, it will fail! I will commit to pkgsrc-wip
later (within day).
D-BUS 0.61 (24 Febuary 2006)
==
- Documentation all around
- dbus-launch now produces correct sh and csh syntax
- Nested arrays now work correctly
- GLib bindings:
- Inheriting from DBusGProxy is now possible
- GPtrArrays can now be marshalled
- org.freedesktop.DBus.GLib.ClientCSymbol annotation added
- Openning connections to arbitrary addresses now supported
- Python bindings:
- sender_keyword and path_keyword keywords added to signal listener API
- Byte types now demarshal to unsigned char
- calling methods now do the correct thing
- Qt bindings:
- both Qt3 and Qt4 bindings can be built at the same time
- Use the standard org.freedesktop.DBus.Method.NoReply annotation
for the "async" calls instead of creating one for us.
- Mono bindings:
- 64bit arch fixes
- Massive bug fixing all around
D-BUS 0.60 (30 November 2005)
==
- major ABI/API changes - sonames changed
- RequestName queuing behavior has changed (refer to dbus-specification)
- DBUS_NAME_FLAG_PROHIBIT_REPLACEMENT has been removed and
DBUS_NAME_FLAG_ALLOW_REPLACEMENT has been added to the flags
- signals emitted by the bus now show up in the introspect data
- auth EXTERNAL now supported on BSD varients
- ReleaseName method added to the bus to allow a service
to remove itself as owner of a bus name
- dbus_connection_read_write added for getting messages off the bus
in the absence of a mainloop
- Qt4 bindings added and the Qt3 bindings have been depricated
- python bindings:
- marshal using introspect data if available
- better exception handling and propigation
- private connections are now supported
- UTF-8 cleanups
- out_signature added to method decorators for specifying
how the return values should be marshaled
- sender_keyword added to method decorators for specifying
and argument to provide the unique name of the method caller
- async_callbacks added to method decorators
- multiple inheritance of classes now supported
- GLib bindings:
- respect NoReply annotations
- dbus_g_method_return_get_reply and dbus_g_method_return_send_reply
added to the lowlevel code for use when the dbus-glib marshalling
code is not adiquate
- numerous bug fixes all around
D-BUS 0.50 (06 September 2005)
===
This is a minor release from 0.36.2. The series number has changed
not because of any technical reasons but as an indication that we
are moving closer to 1.0. It is hoped that this will be the last
series to see major changes, most of which will be isolated to the
GLib and Python bindings, as we transition to concentrate more on
bug busting and code auditing.
- D-Bus builds on the Cygwin platform
- Makefile cleanups
- Various bug fixes
- Optimization of the dbus object tree
- Memleaks and GIL crasher bugs have been fixed in the Python bindings
D-BUS 0.36.2 (29 August 2005)
===
- Security: Restrict other users from connecting to another users
session bus
D-BUS 0.36.1 (24 August 2005)
===
- Python Bindings:
- fixed to work with hal-device-manager
- For 64bit builds everything is installed to lib64/python2.4/
since Python can't handle multilib
D-BUS 0.36 (23 August 2005)
===
- Maximum sized of cached messages have been reduced to 10K
- Match rules now allow matching on arguments inside the message
- introspect.xsl XSLT style sheet added for formatting introspection
data into XHTML for analysis
- Python bindings:
- now have working type objects for explicit
typecasting
- Variant type has been added
- Dictionaries, Variants and Arrays can all be passed the signiture or
type(s) of their children
- the optional timeout= keyword has been added when making method calls
- match on args has been implemented
- a .pth file has been added for dealing with libraries and python files
being in different directories such as in 64bit installs
- various bug fixes
- GLib bindings:
- deeply recursive types now supported
- many symbols are no longer exported as part of the public API
- various memleak and other bug fixes
D-BUS 0.35.2 (17 July 2005)
===
- Rename Unix Security Context to SELinux Security Context in API
- Fixed more dist errors that distcheck didn't pick up on
- Fixed various bugs in the python bindings that prevented them from working
D-BUS 0.35.1 (16 July 2005)
===
- Fixed dist error where python/dbus_bindings.pxd was being shipped
instead of dbus_bindings.pxd.in
- Use this instead of the 0.35 tarball
D-BUS 0.35 (15 July 2005)
===
- --with-dbus-user added to the configure scripts for configuring the
user the system bus runs on
- --with-console-auth-dir added to configure scripts for configuring the
directory to look in for console user locks
- service files for auto-starting D-Bus services now has the ability to pass
in command line arguments to the executable
- Huge auto-start bug squashed which caused some services not to start when
requested in rapid succession
- SE-Linux security contexts can now be appended to messages for inspection
by services that enforce their own security policies
- Colin says the GLib binding are ready for general consumption
- New GLib tutorial
- New GLib example code
- Python bindings are now version (0,42,0)
- Python bindings API has changed on the service side
- dbus.service has been split out as a seperate module
- dbus.service.Service is renamed to dbus.service.BusName
- dbus.service.Object has swapped the bus_name and object_path constructor
parameters to make it easier to do inheritance over the bus
- dbus.glib has been seperated out in order to lessen the dependency on glib
and to allow other mainloops to be integrated with the bindings including
a planned generic mainloop for non-gui apps.
- Python bindings now aquire the GIL when calling back into the python
interpreter. Fixes crashes when using threading and other random segfaults.
- New Python tutorial
- Numerous D-Bus bug fixes all around
D-BUS 0.34 (15 June 2005)
===
- dbus_connection_disconnect is deprecated in favor of dbus_connection_close
- The bus can now use D_NOTIFY (if available) to check when configuration files
have changed and reload them
- New dbus_message_has_path/member/interface API added
- The Ping message from the org.freedesktop.DBus.Peer interface is now handled
- Complete glib bindings overhaul (and are still under construction)
- Tutorial now has an updated GLib section
- GLib bindings can now send/receive hash tables, arrays and other complex types
- Python bindings overhaul (most public facing API's done)
- Python bindings have been split up into separate files
- Python added new type classes for hinting to the marshaler what type
to send over the wire
- Python bindings now have decorators for specifying exported methods and signals
- Numerous bug fixes
D-BUS 0.33 (25 Apr 2005)
===
- downgrade requirement from GTK+-2.6 to 2.4 for building gtk components
- python binding API's have been overhalled to be more "pythonic" and cleaner
- python bindings now export dbus.version which is set to (0,40,0)
- python bindings now implement the org.freedesktop.DBus.Introspectable interface
- python binding match rules are now more flexable
- make check has been fixed
- many, many major bug fixes
D-BUS 0.32 (29 Mar 2005)
===
- mono bindings now compiles correctly
- mono binding cleanups
- glib bindings generates wrappers for bus methods in dbus-glib-bindings.h
- glib binding cleanus
- users and groups can now be specified by UID and GID in config files
- numerous memory leak fixes
- various other fixes
D-BUS 0.31 (07 Mar 2005)
===
- land the new message args API and recursive type system
- add docs and fixed Doxygen warnings throught source
- split out some functions not needed in libdbus to *-util.c source files
- take out type convienience functions
- libdbus now back below 150K
- booleans are now 32-bit instead of 8-bit
- specification updated
- grand renaming to strip out the use of "service"
just say "name" instead (or "bus name" when ambiguous)
- rename dbus-daemon-1 to dbus-daemon throughout
- rename activation to auto-start
- auto-start on by default now
- note that libdbus is the low-level API
- python bindings updated to the new API
- mono bindings updated to the new API
- add 16 bit types
- dictionaries are now ARRAYS of DICT_ENTRY
- dbus-glib-tool renamed to dbus-binding-tool
- massive rewrite of the glib bindings
- saner names for the dbus interface, object path and service defines
- new functions for handling type signitures
- bump sonames for libdbus and libdbus-glib
- various small fixes
type tables from it. It is too stupid to understand the GCC extension
used for (u)int64_t on FreeBSD and DragonFly by the default code.
Use -Dlint on those platforms and hope that FreeBSD 10 will arrive
after the upstream is fixed.
backslashes anymore. A single backslash is enough. Changed the
definition in all affected packages. For those that are not caught, an
additional check is placed into bsd.pkginstall.mk.
file's sole purpose was to provide a dependency on pkg-config and set
some environment variables. Instead, turn pkg-config into a "tool"
in the tools framework, where the pkg-config wrapper automatically
adds PKG_CONFIG_LIBDIR to the environment before invoking the real
pkg-config.
For all package Makefiles that included pkg-config/buildlink3.mk, remove
that inclusion and replace it with USE_TOOLS+=pkg-config.
And always is defined as share/examples/rc.d
which was the default before.
This rc.d scripts are not automatically added to PLISTs now also.
So add to each corresponding PLIST as required.
This was discussed on tech-pkg in late January and late April.
Todo: remove the RCD_SCRIPTS_EXAMPLEDIR uses in MESSAGES and elsewhere
and remove the RCD_SCRIPTS_EXAMPLEDIR itself.
D-BUS 0.23.4 (11 Mar 2005)
===
- fix a failed assertion when trying to get replies from certain
pending calls
D-BUS 0.23.3 (9 Mar 2005)
===
- add back dbus_pending_call_get_reply() which was removed accidentally.
- fix a memory leak in return messages
- fix many memory leaks and lifecycle issues in the mono bindings.
D-BUS 0.23.2 (18 Feb 2005)
===
- shuffle some code around in the mono bindings to deterministically
finalize classes so that delegates are unregistered correctly.
- backport a bunch of thread locking-related fixes from HEAD.
D-BUS 0.23.1 (11 Feb 2005)
===
- fix a bug in which the bus daemon wouldn't recognize that a service
owner quit
- fix a bug in the mono bindings that would cause unmanaged code to
call back into a delegate that had been garbage collected and
crashed.
D-BUS 0.23 (11 Jan 2005)
===
- add setgroups() to drop supplementary groups
- updated SELinux support
- add an "at console" security policy
- fix a bug where org.freedesktop.DBus wasn't recognized as an existing
service.
- error out if --enable-mono is explicitly set and mono libs can't be found
- set the max_match_rules_per_connection limit from the config file.
- removed dbus_bug_get_with_g_main since it's been replaced by
dbus_g_bus_get
- fix fd leaks in socket code
- lots and lots of mono binding updates, including fixes to make it
compatible with Mono 1.1.3
- added --nofork option to override config file setting at runtime
- added support for int64 and uint64 to the python bindings
- lots of python binding updates
- config file DTD updates
- use SerivceOwnerChanges signal instead of ServiceCreated and
ServiceDeleted
- fixes to the authentication code
- new init script for Slackware
- print out the pid even when --fork is passed
- increase preallocation sizes in DBusMessage to heavily reduce
reallocs
- lots of performance enhancements
- lots more small bug fixes
under share/examples/rc.d. The variable name already was named
RCD_SCRIPTS_EXAMPLEDIR.
This is from ideas from Greg Woods and others.
Also bumped PKGREVISION for all packages using RCD_SCRIPTS mechanism
(as requested by wiz).
it does not exist; this directory is removed at boot time by another script.
Also, don't bother to create it with an OWN_DIRS_PERMS line, because the
rc.d script will do it for us.
Bump PKGREVISION to 1.
D-BUS is a message bus, used for sending messages between applications.
Conceptually, it fits somewhere in between raw sockets and CORBA in terms
of complexity.
D-BUS supports broadcast messages, asynchronous messages (thus decreasing
latency), authentication, and more. It is designed to be low-overhead;
messages are sent using a binary protocol, not using XML. D-BUS also
supports a method call mapping for its messages, but it is not required;
this makes using the system quite simple.
This package provides the D-BUS core library and daemon, as well as
some utilities that complement it.