#
# spec file for package SUNWdbus
#
# includes module(s): dbus
#
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
#
Version: %{dbus.version}
SUNW_BaseDir: %{_basedir}
License: %{dbus.license}
SUNW_BaseDir: %{_basedir}
SUNW_BaseDir: %{_basedir}
SUNW_BaseDir: %{_basedir}
SUNW_BaseDir: /
%prep
# stuff in there
#
cd ..
# D-Bus will create it at run-time.
#
# Add SMF integration files.
#
# Add in dbus session launching for gdm
#
echo 'solaris.smf.manage.dbus:::Manage D-BUS Service States::help=SmfDBUSStates.html' > $RPM_BUILD_ROOT/etc/security/auth_attr.d/system-library-dbus
echo 'D-BUS Management:RO::Manage D-BUS:auths=solaris.smf.manage.dbus;help=RtDBUSMngmnt.html' > $RPM_BUILD_ROOT/etc/security/prof_attr.d/system-library-dbus
%{?pkgbuild_postprocess: %pkgbuild_postprocess -v -c "%{version}:%{jds_version}:%{name}:$RPM_ARCH:%(date +%%Y-%%m-%%d):%{support_level}" $RPM_BUILD_ROOT}
%if %(test -f /usr/sadm/install/scripts/i.manifest && echo 0 || echo 1)
#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# Presence of this temp file will tell postinstall script
# that the dbus service is already installed, in which case
# the current service state will be preserved, be it enabled
# or disabled.
fi
exit 0
#
# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# Preinstall script will create this file if dbus service was already
# installed, in which case we preserve current service state,
# be it enabled or disabled.
else
# enable dbus:
# - PKG_INSTALL_ROOT is / or empty when installing onto a live system
# and we can invoke svcadm directly;
# - otherwise it's upgrade, so we append to the upgrade script
if [ "${PKG_INSTALL_ROOT:-/}" = "/" ]; then
fi
else
if [ \`/sbin/zonename\` = global ]; then
/usr/sbin/svcadm enable svc:/system/dbus:default
fi
EOF
fi
fi
exit 0
%config %attr (0644, root, sys) %ips_tag(restart_fmri=svc:/system/rbac:default) /etc/security/auth_attr.d/*
%config %attr (0644, root, sys) %ips_tag(restart_fmri=svc:/system/rbac:default) /etc/security/prof_attr.d/*
%{_includedir}/*
daemon.
* Wed Aug 20 2008 - brian.cameron@sun.com
- Move dbus-daemon.3 manpage to dbus-daemon.1 manpage.
* Thu Mar 27 2008 - brian.cameron@sun.com
- Add SUNW_Copyright.
* Wed Mar 19 2008 - brian.cameron@sun.com
- Remove the symlinks that point from /usr/lib/libdbus-1.so.2 to
/usr/lib/libdbus-1.so.3. Now that ON updated their build machines to use the
new D-Bus library, the symlinks are no longer needed.
* Fri Jan 11 2008 - damien.carbery@sun.com
- Fix amd64/sparcv9 symlink to point to libdbus-1.so.3 (2nd half of Brian's