This commit is contained in:
parent
bdafe956cd
commit
208abf0fd0
22
gdm-selinux.patch
Normal file
22
gdm-selinux.patch
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
--- configure
|
||||||
|
+++ configure
|
||||||
|
@@ -32703,7 +32703,7 @@
|
||||||
|
#define HAVE_SELINUX 1
|
||||||
|
_ACEOF
|
||||||
|
|
||||||
|
- EXTRA_DAEMON_LIBS="$EXTRA_DAEMON_LIBS -lselinux -lattr"
|
||||||
|
+ EXTRA_DAEMON_LIBS="$EXTRA_DAEMON_LIBS -lselinux"
|
||||||
|
fi
|
||||||
|
|
||||||
|
#
|
||||||
|
--- configure.ac
|
||||||
|
+++ configure.ac
|
||||||
|
@@ -820,7 +820,7 @@
|
||||||
|
AC_CHECK_LIB(selinux,setexeccon,/bin/true)
|
||||||
|
AC_CHECK_LIB(selinux,is_selinux_enabled,/bin/true)
|
||||||
|
AC_DEFINE(HAVE_SELINUX)
|
||||||
|
- EXTRA_DAEMON_LIBS="$EXTRA_DAEMON_LIBS -lselinux -lattr"
|
||||||
|
+ EXTRA_DAEMON_LIBS="$EXTRA_DAEMON_LIBS -lselinux"
|
||||||
|
fi
|
||||||
|
|
||||||
|
#
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Aug 22 17:04:10 CEST 2008 - prusnak@suse.cz
|
||||||
|
|
||||||
|
- enabled SELinux support [Fate#303662]
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Aug 20 15:16:55 CEST 2008 - sbrabec@suse.cz
|
Wed Aug 20 15:16:55 CEST 2008 - sbrabec@suse.cz
|
||||||
|
|
||||||
|
9
gdm.spec
9
gdm.spec
@ -20,6 +20,7 @@
|
|||||||
|
|
||||||
Name: gdm
|
Name: gdm
|
||||||
BuildRequires: PolicyKit-gnome-devel check-devel docbook_4 fdupes gconf2-devel gnome-common gnome-doc-utils-devel gnome-panel-devel gnome-patch-translation intltool libglade2-devel libgnomeprintui-devel libgnomeui-devel libgnutls-devel librsvg-devel libwnck-devel libxklavier-devel pam-devel perl-XML-Parser pwdutils scrollkeeper tcpd-devel update-desktop-files xorg-x11-server xorg-x11-server-extra zenity
|
BuildRequires: PolicyKit-gnome-devel check-devel docbook_4 fdupes gconf2-devel gnome-common gnome-doc-utils-devel gnome-panel-devel gnome-patch-translation intltool libglade2-devel libgnomeprintui-devel libgnomeui-devel libgnutls-devel librsvg-devel libwnck-devel libxklavier-devel pam-devel perl-XML-Parser pwdutils scrollkeeper tcpd-devel update-desktop-files xorg-x11-server xorg-x11-server-extra zenity
|
||||||
|
BuildRequires: libselinux-devel
|
||||||
PreReq: /usr/sbin/groupadd
|
PreReq: /usr/sbin/groupadd
|
||||||
PreReq: /usr/sbin/useradd
|
PreReq: /usr/sbin/useradd
|
||||||
PreReq: /usr/sbin/usermod
|
PreReq: /usr/sbin/usermod
|
||||||
@ -30,7 +31,7 @@ PreReq: %insserv_prereq
|
|||||||
License: GPL v2 or later
|
License: GPL v2 or later
|
||||||
Group: System/GUI/GNOME
|
Group: System/GUI/GNOME
|
||||||
Version: 2.23.2
|
Version: 2.23.2
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: The GNOME 2.x Display Manager
|
Summary: The GNOME 2.x Display Manager
|
||||||
Source: %{name}-%{version}.tar.bz2
|
Source: %{name}-%{version}.tar.bz2
|
||||||
Source1: gdm.pamd
|
Source1: gdm.pamd
|
||||||
@ -44,6 +45,8 @@ Patch4: gdm-2.21.5-vt7-temporary-hack.patch
|
|||||||
Patch28: gdm-X_SERVER.patch
|
Patch28: gdm-X_SERVER.patch
|
||||||
# PATCH-FIX-UPSTREAM gdm-libwrap.patch bgo548676 sbrabec@suse.cz -- Find tcp_wrappers correctly on bi-arch x86_64
|
# PATCH-FIX-UPSTREAM gdm-libwrap.patch bgo548676 sbrabec@suse.cz -- Find tcp_wrappers correctly on bi-arch x86_64
|
||||||
Patch29: gdm-libwrap.patch
|
Patch29: gdm-libwrap.patch
|
||||||
|
# PATCH-SUSE: enable SELinux
|
||||||
|
Patch60: gdm-selinux.patch
|
||||||
Url: http://www.gnome.org/
|
Url: http://www.gnome.org/
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
DocDir: %{_defaultdocdir}
|
DocDir: %{_defaultdocdir}
|
||||||
@ -101,6 +104,7 @@ Authors:
|
|||||||
%patch4 -p1
|
%patch4 -p1
|
||||||
%patch28
|
%patch28
|
||||||
%patch29
|
%patch29
|
||||||
|
%patch60
|
||||||
|
|
||||||
%build
|
%build
|
||||||
autoreconf -f -i
|
autoreconf -f -i
|
||||||
@ -109,6 +113,7 @@ export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
|
|||||||
--libexecdir=%{_prefix}/lib \
|
--libexecdir=%{_prefix}/lib \
|
||||||
--localstatedir=%{_localstatedir} \
|
--localstatedir=%{_localstatedir} \
|
||||||
--with-atspi-dir=%{_prefix}/lib/at-spi \
|
--with-atspi-dir=%{_prefix}/lib/at-spi \
|
||||||
|
--with-selinux \
|
||||||
--enable-ipv6\
|
--enable-ipv6\
|
||||||
--disable-scrollkeeper\
|
--disable-scrollkeeper\
|
||||||
--enable-secureremote
|
--enable-secureremote
|
||||||
@ -203,6 +208,8 @@ fi
|
|||||||
%files lang -f %{name}.lang
|
%files lang -f %{name}.lang
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Aug 22 2008 prusnak@suse.cz
|
||||||
|
- enabled SELinux support [Fate#303662]
|
||||||
* Wed Aug 20 2008 sbrabec@suse.cz
|
* Wed Aug 20 2008 sbrabec@suse.cz
|
||||||
- Updated to version 2.23.2:
|
- Updated to version 2.23.2:
|
||||||
* Requires ConsoleKit 0.3.0
|
* Requires ConsoleKit 0.3.0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user