rpms/gdm/F-8 gdm-2.18.4-tcp-wrappers.patch, NONE, 1.1 gdm.spec, 1.308, 1.309

Ray Strode (rstrode) fedora-extras-commits at redhat.com
Tue Nov 6 22:56:11 UTC 2007


Author: rstrode

Update of /cvs/pkgs/rpms/gdm/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv17634

Modified Files:
	gdm.spec 
Added Files:
	gdm-2.18.4-tcp-wrappers.patch 
Log Message:
- link tcp wrappers in (bug 363021), 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-8/gdm.spec,v
retrieving revision 1.308
retrieving revision 1.309
diff -u -r1.308 -r1.309
--- gdm.spec	26 Oct 2007 06:13:46 -0000	1.308
+++ gdm.spec	6 Nov 2007 22:55:35 -0000	1.309
@@ -16,7 +16,7 @@
 Summary: The GNOME Display Manager
 Name: gdm
 Version: 2.20.1
-Release: 5%{?dist}
+Release: 6%{?dist}
 Epoch: 1
 License: GPLv2+
 Group: User Interface/X
@@ -64,6 +64,8 @@
 # http://bugzilla.redhat.com/show_bug.cgi?id=246399
 Patch43: gdm-2.20.1-keymouselistener-segfault.patch
 
+patch44: gdm-2.18.4-tcp-wrappers.patch
+
 Patch100: gdm-2.20.1-change-defaults.patch
 Patch101: stupid-bullets.patch
 
@@ -118,6 +120,7 @@
 BuildRequires: nss-devel >= %{nss_version}
 BuildRequires: ConsoleKit
 BuildRequires: libselinux-devel
+BuildRequires: tcp_wrappers-devel
 
 Requires: audit-libs >= %{libauditver}
 
@@ -152,6 +155,7 @@
 %patch41 -p1 -b .pixbuf-ref
 %patch42 -p1 -b .allow-escape
 %patch43 -p1 -b .keymouselistener-segfault
+%patch44 -p1 -b .tcp-wrappers
 
 %patch100 -p1 -b .change-defaults
 %patch101 -p1 -b .stupid-bullets
@@ -365,6 +369,9 @@
 %{_datadir}/pixmaps/faces/extras/*.jpg
 
 %changelog
+* Tue Nov  6 2007 Ray Strode <rstrode at redhat.com> - 1:2.20.1-6
+- link tcp wrappers in (bug 363021), CVE-2007-5079
+
 * Fri Oct  26 2007 Ray Strode <rstrode at redhat.com> - 1:2.20.1-5
 - fix gdmflexiserver -n (bug 352491)
 




More information about the fedora-extras-commits mailing list