Compare commits
7 Commits
1.8.8-2mam
...
1.13.2-1ma
Author | SHA1 | Date | |
---|---|---|---|
a4914a776a | |||
dfce0c0907 | |||
35a3864537 | |||
04d4d41d52 | |||
4379da58b3 | |||
46674deb60 | |||
783466452d |
78
dbus.spec
78
dbus.spec
@ -2,8 +2,8 @@
|
||||
%define messagebus_gid 25
|
||||
|
||||
Name: dbus
|
||||
Version: 1.8.8
|
||||
Release: 2mamba
|
||||
Version: 1.13.2
|
||||
Release: 1mamba
|
||||
Summary: A message bus, used for sending messages between applications
|
||||
Group: System/Servers
|
||||
Vendor: openmamba
|
||||
@ -111,7 +111,7 @@ This package includes the %{name} API documentation.
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1 -b .cve_2006_6107
|
||||
%patch2 -p1
|
||||
#%patch2 -p1
|
||||
|
||||
%build
|
||||
%configure \
|
||||
@ -120,8 +120,9 @@ This package includes the %{name} API documentation.
|
||||
--enable-systemd \
|
||||
--disable-checks \
|
||||
--disable-asserts \
|
||||
--with-system-pid-file=%{_var}/run/messagebus.pid \
|
||||
--with-system-socket=%{_var}/run/dbus/system_bus_socket \
|
||||
--runstatedir=/run \
|
||||
--with-system-pid-file=/run/messagebus.pid \
|
||||
--with-system-socket=/run/dbus/system_bus_socket \
|
||||
--with-session-socket-dir=/tmp \
|
||||
%if "%{stage1}" == "1"
|
||||
--without-x
|
||||
@ -137,8 +138,9 @@ This package includes the %{name} API documentation.
|
||||
install -d 0755 %{buildroot}%{_datadir}/dbus-1/services
|
||||
install -d %{buildroot}%{_sysconfdir}/dbus-1/system.d/
|
||||
install -d %{buildroot}%{_sysconfdir}/dbus-1/session.d/
|
||||
install -d %{buildroot}%{_var}/run/dbus
|
||||
install -d %{buildroot}%{_var}/lib/dbus
|
||||
[ -e %{buildroot}%{_var}/run/dbus ] && rmdir %{buildroot}%{_var}/run/dbus
|
||||
ln -s /run/dbus %{buildroot}%{_var}/run/dbus
|
||||
|
||||
#install -m 0755 %{S:1} %{buildroot}%{_initrddir}/messagebus
|
||||
install -D -m 0755 %{S:2} %{buildroot}%{_sysconfdir}/profile.d/dbus-session.sh
|
||||
@ -148,6 +150,12 @@ install -D -m 0755 %{S:2} %{buildroot}%{_sysconfdir}/profile.d/dbus-session.sh
|
||||
|
||||
%pre
|
||||
if [ $1 -ge 1 ]; then
|
||||
# /var/run to /run upgrade with compatibility symlink
|
||||
if [ -d /var/run/dbus -a ! -L /var/run/dbus -a ! -e /run/dbus ]; then
|
||||
mkdir /run/dbus
|
||||
mv /var/run/dbus/* /run/dbus
|
||||
rmdir /var/run/dbus
|
||||
fi
|
||||
# add DBUS user
|
||||
/usr/sbin/groupadd messagebus -g %{messagebus_gid} &>/dev/null
|
||||
/usr/sbin/useradd -u %{messagebus_uid} -c 'DBUS user' -d /dev/null \
|
||||
@ -200,14 +208,23 @@ find /etc/rc[0-6].d/ -type l -xtype l -exec rm -f {} \;
|
||||
%{_bindir}/dbus-monitor
|
||||
%{_bindir}/dbus-run-session
|
||||
%{_bindir}/dbus-send
|
||||
%{_bindir}/dbus-test-tool
|
||||
%{_bindir}/dbus-update-activation-environment
|
||||
%{_bindir}/dbus-uuidgen
|
||||
%attr(4750,root,messagebus) %{_libexecdir}/dbus-daemon-launch-helper
|
||||
%{_prefix}/lib/sysusers.d/dbus.conf
|
||||
%{_prefix}/lib/tmpfiles.d/dbus.conf
|
||||
%{_unitdir}/dbus.service
|
||||
%{_unitdir}/dbus.socket
|
||||
%{_unitdir}/dbus.target.wants/dbus.socket
|
||||
#%{_unitdir}/dbus.target.wants/dbus.socket
|
||||
%{_unitdir}/multi-user.target.wants/dbus.service
|
||||
%{_unitdir}/sockets.target.wants/dbus.socket
|
||||
%dir %{_datadir}/dbus-1
|
||||
%dir %{_datadir}/dbus-1/services
|
||||
%{_datadir}/dbus-1/session.conf
|
||||
%{_datadir}/dbus-1/system.conf
|
||||
%{_datadir}/xml/dbus-1/busconfig.dtd
|
||||
%{_datadir}/xml/dbus-1/introspect.dtd
|
||||
%dir %{_var}/run/dbus
|
||||
%dir %{_var}/lib/dbus
|
||||
%{_mandir}/man1/dbus-cleanup-sockets.*
|
||||
@ -217,6 +234,8 @@ find /etc/rc[0-6].d/ -type l -xtype l -exec rm -f {} \;
|
||||
%{_mandir}/man1/dbus-uuidgen.*
|
||||
%{_mandir}/man1/dbus-launch.*
|
||||
%{_mandir}/man1/dbus-monitor.*
|
||||
%{_mandir}/man1/dbus-test-tool.1*
|
||||
%{_mandir}/man1/dbus-update-activation-environment.1*
|
||||
|
||||
%files -n lib%{name}
|
||||
%defattr(-,root,root)
|
||||
@ -232,24 +251,10 @@ find /etc/rc[0-6].d/ -type l -xtype l -exec rm -f {} \;
|
||||
%dir %{_libdir}/dbus-1.0/include/dbus
|
||||
%{_libdir}/dbus-1.0/include/dbus/dbus-arch-deps.h
|
||||
%dir %{_includedir}/dbus-1.0/dbus
|
||||
%{_includedir}/dbus-1.0/dbus/dbus-address.h
|
||||
%{_includedir}/dbus-1.0/dbus/dbus-bus.h
|
||||
%{_includedir}/dbus-1.0/dbus/dbus-connection.h
|
||||
%{_includedir}/dbus-1.0/dbus/dbus-errors.h
|
||||
%{_includedir}/dbus-1.0/dbus/dbus-macros.h
|
||||
%{_includedir}/dbus-1.0/dbus/dbus-memory.h
|
||||
%{_includedir}/dbus-1.0/dbus/dbus-message.h
|
||||
%{_includedir}/dbus-1.0/dbus/dbus-misc.h
|
||||
%{_includedir}/dbus-1.0/dbus/dbus-pending-call.h
|
||||
%{_includedir}/dbus-1.0/dbus/dbus-protocol.h
|
||||
%{_includedir}/dbus-1.0/dbus/dbus-server.h
|
||||
%{_includedir}/dbus-1.0/dbus/dbus-shared.h
|
||||
%{_includedir}/dbus-1.0/dbus/dbus-signature.h
|
||||
%{_includedir}/dbus-1.0/dbus/dbus-syntax.h
|
||||
%{_includedir}/dbus-1.0/dbus/dbus-threads.h
|
||||
%{_includedir}/dbus-1.0/dbus/dbus-types.h
|
||||
%{_includedir}/dbus-1.0/dbus/dbus.h
|
||||
%doc ChangeLog NEWS README
|
||||
%{_includedir}/dbus-1.0/dbus/*
|
||||
%dir %{_libdir}/cmake/DBus1
|
||||
%{_libdir}/cmake/DBus1/DBus1Config*.cmake
|
||||
#%doc ChangeLog NEWS README
|
||||
|
||||
%files apidocs
|
||||
%defattr(-,root,root)
|
||||
@ -257,6 +262,29 @@ find /etc/rc[0-6].d/ -type l -xtype l -exec rm -f {} \;
|
||||
%{_docdir}/dbus/*
|
||||
|
||||
%changelog
|
||||
* Thu Mar 29 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 1.13.2-1mamba
|
||||
- update to 1.13.2
|
||||
- move /var/run to /run
|
||||
|
||||
* Tue Mar 06 2018 Automatic Build System <autodist@mambasoft.it> 1.12.6-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Sat Feb 10 2018 Automatic Build System <autodist@mambasoft.it> 1.12.4-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Sun Dec 24 2017 Automatic Build System <autodist@mambasoft.it> 1.12.2-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Tue Oct 24 2017 Automatic Build System <autodist@mambasoft.it> 1.10.24-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Tue Aug 15 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 1.10.22-1mamba
|
||||
- update to 1.10.22
|
||||
|
||||
* Sat Jan 10 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 1.8.14-1mamba
|
||||
- update to 1.8.14
|
||||
- remove previous patch apparently not needed anymore with systemd 218
|
||||
|
||||
* Fri Dec 05 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.8.8-2mamba
|
||||
- patch systemd service file to fix shutdown hang (http://superuser.com/questions/767414/why-does-systemd-hang-during-reboot)
|
||||
- remove old initscript and complete systemd migration
|
||||
|
Reference in New Issue
Block a user