Accepting request 137426 from Base:System

- remove libzio build dependency

- dbus-cve-2012-3524.patch: Add patch for CVE-2012-3524 to fix getenv()
  vulnerability in setuid root binaries (bnc#697105) 

- remove libzio build dependency

- Add pkgconfig(x11) as BuildRequires instead of xorg-x11-devel so
  we don't depend on Mesa and create a build cycle.

OBS-URL: https://build.opensuse.org/request/show/137426
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/dbus-1?expand=0&rev=90
This commit is contained in:
Stephan Kulow 2012-10-08 05:10:46 +00:00 committed by Git OBS Bridge
commit f424eedc6f
5 changed files with 25 additions and 11 deletions

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Sun Oct 7 16:57:56 UTC 2012 - coolo@suse.com
- remove libzio build dependency
-------------------------------------------------------------------
Mon Aug 27 13:54:45 CEST 2012 - thoenig@suse.de
- dbus-cve-2012-3524.patch: Add patch for CVE-2012-3524 to fix getenv()
vulnerability in setuid root binaries (bnc#697105)
-------------------------------------------------------------------
Wed Aug 1 10:00:06 UTC 2012 - idonmez@suse.com

View File

@ -34,7 +34,6 @@ BuildRequires: audit-devel
BuildRequires: doxygen
BuildRequires: libexpat-devel
BuildRequires: libtool
BuildRequires: libzio
BuildRequires: pkg-config
BuildRequires: update-desktop-files
%if %{with_systemd}
@ -56,6 +55,7 @@ Source4: baselibs.conf
Patch0: dbus-log-deny.patch
# PATCH-FIX-OPENSUSE coolo@suse.de -- force a feature configure won't accept without x11 in buildrequires
Patch1: dbus-do-autolaunch.patch
Patch2: dbus-cve-2012-3524.patch
%if 0%{?suse_version} > 1100
%bcond_without selinux
%else
@ -79,6 +79,7 @@ in this separate package so server systems need not install X.
%setup -n %{_name}-%{version} -q
%patch0 -p1
%patch1 -p1
%patch2 -p1
%build
autoreconf -fi
@ -125,9 +126,6 @@ mv $tdir/bin/dbus-launch %{buildroot}/%{_bindir}
mv $tdir/%{_mandir}/man1/dbus-launch.1* %{buildroot}/%{_mandir}/man1
rm -rf $tdir
%clean
%{__rm} -rf %{buildroot}
%files
%defattr(-,root,root)
%{_bindir}/dbus-launch

View File

@ -15,11 +15,9 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: dbus-1-x11
%define _name dbus
BuildRequires: xorg-x11-devel
BuildRequires: pkgconfig(x11)
Url: http://dbus.freedesktop.org/
License: GPL2+ or AFL 2.1
Group: System/Daemons
@ -42,9 +40,6 @@ mv $tdir/bin/dbus-launch %{buildroot}/%{_bindir}
mv $tdir/%{_mandir}/man1/dbus-launch.1* %{buildroot}/%{_mandir}/man1
rm -rf $tdir
%clean
%{__rm} -rf %{buildroot}
%files
%defattr(-,root,root)
%{_bindir}/dbus-launch

View File

@ -1,9 +1,20 @@
-------------------------------------------------------------------
Sun Oct 7 16:57:56 UTC 2012 - coolo@suse.com
- remove libzio build dependency
-------------------------------------------------------------------
Mon Aug 27 13:54:45 CEST 2012 - thoenig@suse.de
- dbus-cve-2012-3524.patch: Add patch for CVE-2012-3524 to fix getenv()
vulnerability in setuid root binaries (bnc#697105)
-------------------------------------------------------------------
Wed Aug 1 10:00:06 UTC 2012 - idonmez@suse.com
- Add pkgconfig(x11) as BuildRequires instead of xorg-x11-devel so
we don't depend on Mesa and create a build cycle.
-------------------------------------------------------------------
Tue May 15 07:18:57 UTC 2012 - vuntz@opensuse.org

View File

@ -33,7 +33,6 @@ BuildRequires: audit-devel
BuildRequires: doxygen
BuildRequires: libexpat-devel
BuildRequires: libtool
BuildRequires: libzio
BuildRequires: pkg-config
BuildRequires: update-desktop-files
%if %{with_systemd}