Compare commits
11 Commits
1.12.4-1ma
...
1.14.8-1ma
Author | SHA1 | Date | |
---|---|---|---|
a64d6a9afc | |||
56abec34c2 | |||
1732ecf213 | |||
38eb247203 | |||
0ffccbcfac | |||
748338cee6 | |||
db2d5f67a5 | |||
555c665594 | |||
964dee142d | |||
a4914a776a | |||
dfce0c0907 |
91
dbus.spec
91
dbus.spec
@ -2,15 +2,15 @@
|
|||||||
%define messagebus_gid 25
|
%define messagebus_gid 25
|
||||||
|
|
||||||
Name: dbus
|
Name: dbus
|
||||||
Version: 1.12.4
|
Version: 1.14.8
|
||||||
Release: 1mamba
|
Release: 1mamba
|
||||||
Summary: A message bus, used for sending messages between applications
|
Summary: A message bus, used for sending messages between applications
|
||||||
Group: System/Servers
|
Group: System/Servers
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
Distribution: openmamba
|
Distribution: openmamba
|
||||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
URL: http://www.freedesktop.org/Software/dbus
|
URL: https://www.freedesktop.org/wiki/Software/dbus/
|
||||||
Source: http://dbus.freedesktop.org/releases/dbus/%{name}-%{version}.tar.gz
|
Source: http://dbus.freedesktop.org/releases/dbus/%{name}-%{version}.tar.xz
|
||||||
Source1: dbus-initscript
|
Source1: dbus-initscript
|
||||||
Source2: %{name}-session-profile.sh
|
Source2: %{name}-session-profile.sh
|
||||||
Patch0: %{name}-1.0.1-cve_2006_6107.patch
|
Patch0: %{name}-1.0.1-cve_2006_6107.patch
|
||||||
@ -50,15 +50,16 @@ BuildRequires: xmlto
|
|||||||
%endif
|
%endif
|
||||||
Requires(pre): /usr/sbin/useradd
|
Requires(pre): /usr/sbin/useradd
|
||||||
Requires(pre): /sbin/chkconfig
|
Requires(pre): /sbin/chkconfig
|
||||||
|
Requires(pre): filesystem >= 2.2-19mamba
|
||||||
|
Requires(pre): shadow
|
||||||
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
Provides: dbus-tools
|
Provides: dbus-tools
|
||||||
Obsoletes: dbus-tools
|
Obsoletes: dbus-tools < 1.14.0
|
||||||
## *AUTOSPEC-OFF*
|
## *AUTOSPEC-OFF*
|
||||||
Obsoletes: dbus-viewer
|
Obsoletes: dbus-viewer < 1.14.0
|
||||||
Obsoletes: dbus1-viewer
|
Obsoletes: dbus1-viewer < 1.14.0
|
||||||
Obsoletes: dbus1
|
Obsoletes: dbus1 < 1.14.0
|
||||||
## *AUTOSPEC-ON*
|
## *AUTOSPEC-ON*
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
D-BUS is a message bus, used for sending messages between applications.
|
D-BUS is a message bus, used for sending messages between applications.
|
||||||
@ -68,7 +69,7 @@ Conceptually, it fits somewhere in between raw sockets and CORBA in terms of com
|
|||||||
Summary: Tools for D-BUS
|
Summary: Tools for D-BUS
|
||||||
Group: System/Tools
|
Group: System/Tools
|
||||||
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
Obsoletes: dbus1-tools
|
Obsoletes: dbus1-tools < 1.14.0
|
||||||
|
|
||||||
%description tools
|
%description tools
|
||||||
dbus-launch: utility to start a message bus from a shell script
|
dbus-launch: utility to start a message bus from a shell script
|
||||||
@ -85,10 +86,10 @@ D-Bus shared library.
|
|||||||
Summary: Devel package for %{name}
|
Summary: Devel package for %{name}
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
Obsoletes: dbus-devel
|
Obsoletes: dbus-devel < 1.14.0
|
||||||
Provides: dbus-devel = %{?epoch:%epoch:}%{version}-%{release}
|
Provides: dbus-devel = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
## *AUTOSPEC-OFF*
|
## *AUTOSPEC-OFF*
|
||||||
Obsoletes: dbus1-devel
|
Obsoletes: dbus1-devel < 1.14.0
|
||||||
Provides: dbus1-devel = %{?epoch:%epoch:}%{version}-%{release}
|
Provides: dbus1-devel = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
## *AUTOSPEC-ON*
|
## *AUTOSPEC-ON*
|
||||||
|
|
||||||
@ -110,7 +111,7 @@ This package includes the %{name} API documentation.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch0 -p1 -b .cve_2006_6107
|
%patch 0 -p1 -b .cve_2006_6107
|
||||||
#%patch2 -p1
|
#%patch2 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
@ -118,10 +119,12 @@ This package includes the %{name} API documentation.
|
|||||||
--enable-dnotify \
|
--enable-dnotify \
|
||||||
--enable-selinux \
|
--enable-selinux \
|
||||||
--enable-systemd \
|
--enable-systemd \
|
||||||
|
--enable-user-session \
|
||||||
--disable-checks \
|
--disable-checks \
|
||||||
--disable-asserts \
|
--disable-asserts \
|
||||||
--with-system-pid-file=%{_var}/run/messagebus.pid \
|
--runstatedir=/run \
|
||||||
--with-system-socket=%{_var}/run/dbus/system_bus_socket \
|
--with-system-pid-file=/run/messagebus.pid \
|
||||||
|
--with-system-socket=/run/dbus/system_bus_socket \
|
||||||
--with-session-socket-dir=/tmp \
|
--with-session-socket-dir=/tmp \
|
||||||
%if "%{stage1}" == "1"
|
%if "%{stage1}" == "1"
|
||||||
--without-x
|
--without-x
|
||||||
@ -137,17 +140,25 @@ This package includes the %{name} API documentation.
|
|||||||
install -d 0755 %{buildroot}%{_datadir}/dbus-1/services
|
install -d 0755 %{buildroot}%{_datadir}/dbus-1/services
|
||||||
install -d %{buildroot}%{_sysconfdir}/dbus-1/system.d/
|
install -d %{buildroot}%{_sysconfdir}/dbus-1/system.d/
|
||||||
install -d %{buildroot}%{_sysconfdir}/dbus-1/session.d/
|
install -d %{buildroot}%{_sysconfdir}/dbus-1/session.d/
|
||||||
install -d %{buildroot}%{_var}/run/dbus
|
|
||||||
install -d %{buildroot}%{_var}/lib/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 -m 0755 %{S:1} %{buildroot}%{_initrddir}/messagebus
|
||||||
install -D -m 0755 %{S:2} %{buildroot}%{_sysconfdir}/profile.d/dbus-session.sh
|
#install -D -m 0755 %{S:2} %{buildroot}%{_sysconfdir}/profile.d/dbus-session.sh
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
|
||||||
%pre
|
%pre
|
||||||
if [ $1 -ge 1 ]; then
|
if [ $1 -ge 1 ]; then
|
||||||
|
%tmpfiles_create dbus.conf
|
||||||
|
## /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
|
# add DBUS user
|
||||||
/usr/sbin/groupadd messagebus -g %{messagebus_gid} &>/dev/null
|
/usr/sbin/groupadd messagebus -g %{messagebus_gid} &>/dev/null
|
||||||
/usr/sbin/useradd -u %{messagebus_uid} -c 'DBUS user' -d /dev/null \
|
/usr/sbin/useradd -u %{messagebus_uid} -c 'DBUS user' -d /dev/null \
|
||||||
@ -193,7 +204,7 @@ find /etc/rc[0-6].d/ -type l -xtype l -exec rm -f {} \;
|
|||||||
%config %{_sysconfdir}/dbus-1/system.conf
|
%config %{_sysconfdir}/dbus-1/system.conf
|
||||||
%dir %{_sysconfdir}/dbus-1/system.d/
|
%dir %{_sysconfdir}/dbus-1/system.d/
|
||||||
%dir %{_sysconfdir}/dbus-1/session.d/
|
%dir %{_sysconfdir}/dbus-1/session.d/
|
||||||
%{_sysconfdir}/profile.d/dbus-session.sh
|
#%{_sysconfdir}/profile.d/dbus-session.sh
|
||||||
%{_bindir}/dbus-cleanup-sockets
|
%{_bindir}/dbus-cleanup-sockets
|
||||||
%{_bindir}/dbus-daemon
|
%{_bindir}/dbus-daemon
|
||||||
%{_bindir}/dbus-launch
|
%{_bindir}/dbus-launch
|
||||||
@ -211,13 +222,17 @@ find /etc/rc[0-6].d/ -type l -xtype l -exec rm -f {} \;
|
|||||||
#%{_unitdir}/dbus.target.wants/dbus.socket
|
#%{_unitdir}/dbus.target.wants/dbus.socket
|
||||||
%{_unitdir}/multi-user.target.wants/dbus.service
|
%{_unitdir}/multi-user.target.wants/dbus.service
|
||||||
%{_unitdir}/sockets.target.wants/dbus.socket
|
%{_unitdir}/sockets.target.wants/dbus.socket
|
||||||
|
%{_userunitdir}/dbus.service
|
||||||
|
%{_userunitdir}/dbus.socket
|
||||||
|
%{_userunitdir}/sockets.target.wants/dbus.socket
|
||||||
%dir %{_datadir}/dbus-1
|
%dir %{_datadir}/dbus-1
|
||||||
%dir %{_datadir}/dbus-1/services
|
%dir %{_datadir}/dbus-1/services
|
||||||
%{_datadir}/dbus-1/session.conf
|
%{_datadir}/dbus-1/session.conf
|
||||||
%{_datadir}/dbus-1/system.conf
|
%{_datadir}/dbus-1/system.conf
|
||||||
%{_datadir}/xml/dbus-1/busconfig.dtd
|
%dir %{_datadir}/xml/dbus-1
|
||||||
%{_datadir}/xml/dbus-1/introspect.dtd
|
%{_datadir}/xml/dbus-1/*.dtd
|
||||||
%dir %{_var}/run/dbus
|
%{_datadir}/xml/dbus-1/catalog.xml
|
||||||
|
#%dir %{_var}/run/dbus
|
||||||
%dir %{_var}/lib/dbus
|
%dir %{_var}/lib/dbus
|
||||||
%{_mandir}/man1/dbus-cleanup-sockets.*
|
%{_mandir}/man1/dbus-cleanup-sockets.*
|
||||||
%{_mandir}/man1/dbus-daemon.*
|
%{_mandir}/man1/dbus-daemon.*
|
||||||
@ -238,7 +253,6 @@ find /etc/rc[0-6].d/ -type l -xtype l -exec rm -f {} \;
|
|||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_libdir}/libdbus-1.so
|
%{_libdir}/libdbus-1.so
|
||||||
%{_libdir}/libdbus-1.a
|
%{_libdir}/libdbus-1.a
|
||||||
%{_libdir}/libdbus-1.la
|
|
||||||
%{_libdir}/pkgconfig/*.pc
|
%{_libdir}/pkgconfig/*.pc
|
||||||
%dir %{_libdir}/dbus-1.0/include/dbus
|
%dir %{_libdir}/dbus-1.0/include/dbus
|
||||||
%{_libdir}/dbus-1.0/include/dbus/dbus-arch-deps.h
|
%{_libdir}/dbus-1.0/include/dbus/dbus-arch-deps.h
|
||||||
@ -254,6 +268,41 @@ find /etc/rc[0-6].d/ -type l -xtype l -exec rm -f {} \;
|
|||||||
%{_docdir}/dbus/*
|
%{_docdir}/dbus/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Jun 07 2023 Automatic Build System <autodist@mambasoft.it> 1.14.8-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
* Thu Feb 09 2023 Automatic Build System <autodist@mambasoft.it> 1.14.6-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
* Thu Oct 06 2022 Automatic Build System <autodist@mambasoft.it> 1.14.4-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
* Wed Sep 28 2022 Automatic Build System <autodist@mambasoft.it> 1.14.2-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
* Fri Mar 04 2022 Automatic Build System <autodist@mambasoft.it> 1.14.0-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
* Sun Oct 06 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 1.13.8-4mamba
|
||||||
|
- add Requires(pre): shadow to fix dbus-daemon-launch-helper permissions on live media
|
||||||
|
|
||||||
|
* Sun Mar 17 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 1.13.8-3mamba
|
||||||
|
- remove legacy /var/run/dbus symlink, require filesystem-2.2-19mamba for /run switch
|
||||||
|
|
||||||
|
* Tue Mar 05 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 1.13.8-2mamba
|
||||||
|
- remove profile.d/dbus-session.sh script; DBUS variables are exported by pam_systemd
|
||||||
|
|
||||||
|
* Wed Feb 20 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 1.13.8-1mamba
|
||||||
|
- update to 1.13.8
|
||||||
|
- configured with --enable-user-session
|
||||||
|
|
||||||
|
* 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
|
* Sat Feb 10 2018 Automatic Build System <autodist@mambasoft.it> 1.12.4-1mamba
|
||||||
- automatic version update by autodist
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user