rpms/gdm/F-7 gdm-2.18.4-tcp-wrappers.patch, NONE, 1.1 gdm.spec, 1.258, 1.259
Ray Strode (rstrode)
fedora-extras-commits at redhat.com
Tue Nov 6 22:52:02 UTC 2007
Author: rstrode
Update of /cvs/pkgs/rpms/gdm/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv17450
Modified Files:
gdm.spec
Added Files:
gdm-2.18.4-tcp-wrappers.patch
Log Message:
- link against tcp_wrappers (bug 363011, CVE-2007-5079)
gdm-2.18.4-tcp-wrappers.patch:
--- NEW FILE gdm-2.18.4-tcp-wrappers.patch ---
We just fill LIBWRAP_PATH with junk so it passes the rest of the tests
diff -up gdm-2.18.4/configure.ac.tcp-wrappers gdm-2.18.4/configure.ac
--- gdm-2.18.4/configure.ac.tcp-wrappers 2007-11-06 17:45:44.000000000 -0500
+++ gdm-2.18.4/configure.ac 2007-11-06 17:45:51.000000000 -0500
@@ -546,7 +546,7 @@ if test x$with_tcp_wrappers = xno ; then
echo "TCP wrappers disabled"
else
AC_MSG_CHECKING([whether to use TCP wrappers])
- LIBWRAP_PATH=""
+ LIBWRAP_PATH="-lwrap"
case "$host" in
*-*-solaris*)
if test -f /usr/sfw/lib/libwrap.so; then
diff -up gdm-2.18.4/configure.tcp-wrappers gdm-2.18.4/configure
--- gdm-2.18.4/configure.tcp-wrappers 2007-07-30 16:10:54.000000000 -0400
+++ gdm-2.18.4/configure 2007-11-06 17:45:13.000000000 -0500
@@ -29409,7 +29409,7 @@ if test x$with_tcp_wrappers = xno ; then
else
{ echo "$as_me:$LINENO: checking whether to use TCP wrappers" >&5
echo $ECHO_N "checking whether to use TCP wrappers... $ECHO_C" >&6; }
- LIBWRAP_PATH=""
+ LIBWRAP_PATH="-lwrap"
case "$host" in
*-*-solaris*)
if test -f /usr/sfw/lib/libwrap.so; then
Index: gdm.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gdm/F-7/gdm.spec,v
retrieving revision 1.258
retrieving revision 1.259
diff -u -r1.258 -r1.259
--- gdm.spec 18 Oct 2007 01:27:17 -0000 1.258
+++ gdm.spec 6 Nov 2007 22:51:25 -0000 1.259
@@ -17,7 +17,7 @@
Summary: The GNOME Display Manager
Name: gdm
Version: 2.18.4
-Release: 4%{?dist}
+Release: 5%{?dist}
Epoch: 1
License: LGPL/GPL
Group: User Interface/X
@@ -81,6 +81,9 @@
# http://bugzilla.redhat.com/show_bug.cgi?id=246399
Patch39: gdm-2.20.1-keymouselistener-segfault.patch
+# https://bugzilla.redhat.com/show_bug.cgi?id=363011
+Patch40: gdm-2.18.4-tcp-wrappers.patch
+
# https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=234567
Patch99: gdm-2.18.0-be-more-verbose.patch
@@ -135,6 +138,7 @@
%endif
BuildRequires: nss-devel >= %{nss_version}
BuildRequires: ConsoleKit
+BuildRequires: tcp_wrappers-devel
Requires: libselinux >= %{libselinuxver}
Requires: audit-libs >= %{libauditver}
@@ -174,6 +178,8 @@
%patch36 -p1 -b .dont-expect-utf8
%patch37 -p1 -b hide-disabled-users
%patch38 -p1 -b .dont-warp-pointer-to-stylus
+%patch39 -p1 -b .key-mouse-listener
+%patch40 -p1 -b .tcp-wrappers
%patch99 -p1 -b .be-more-verbose
%build
@@ -191,6 +197,7 @@
--enable-console-helper \
--disable-scrollkeeper \
--with-selinux \
+ --with-tcp-wrappers=yes \
--with-console-kit
make
@@ -397,6 +404,9 @@
%{_datadir}/pixmaps/faces/extras/*.jpg
%changelog
+* Tue Nov 6 2007 Ray Strode <rstrode at redhat.com> - 1:2.18.4-5
+- link against tcp_wrappers (bug 363011, CVE-2007-5079)
+
* Wed Oct 17 2007 Ray Strode <rstrode at redhat.com> - 1:2.18.4-4
- Fix crash in keymouselistener plugin to address part two of
bug 246399
More information about the fedora-extras-commits
mailing list