SHA256
1
0
forked from pool/gdm
OBS User unknown 2007-09-13 08:29:09 +00:00 committed by Git OBS Bridge
parent 5010bfe5cd
commit 6d0a8c197c
3 changed files with 34 additions and 1 deletions

22
gdm-2.19.7-vncxauth.patch Normal file
View File

@ -0,0 +1,22 @@
--- gdm-2.19.7/daemon/auth.c~ 2007-08-27 12:08:20.000000000 -0400
+++ gdm-2.19.7/daemon/auth.c 2007-09-11 17:45:12.000000000 -0400
@@ -322,7 +322,7 @@ add_auth_entry_for_addr (GdmDisplay
unsigned short family;
switch (ss->ss_family) {
-#if IPV6_ENABLED
+#ifdef ENABLE_IPV6
case AF_INET6:
family = FamilyInternetV6;
addr = (const char *) &SIN6 (ss)->sin6_addr;
--- gdm-2.19.7/common/gdm-common.c~ 2007-08-27 12:07:59.000000000 -0400
+++ gdm-2.19.7/common/gdm-common.c 2007-09-11 18:37:35.000000000 -0400
@@ -87,7 +87,7 @@ gdm_address_is_loopback (struct sockaddr
break;
#endif
case AF_INET:
- return (INADDR_LOOPBACK == (((struct sockaddr_in *)sa)->sin_addr.s_addr));
+ return (INADDR_LOOPBACK == htonl (((struct sockaddr_in *)sa)->sin_addr.s_addr));
break;
default:
break;

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Sep 12 19:42:46 CEST 2007 - jberkman@novell.com
- correctly add localhost xauth for "remote" connections on little
endian machines (bnc #296699)
-------------------------------------------------------------------
Wed Sep 5 17:45:26 CEST 2007 - sbrabec@suse.cz

View File

@ -22,7 +22,7 @@ PreReq: %insserv_prereq
License: GPL v2 or later
Group: System/GUI/GNOME
Version: 2.19.7
Release: 5
Release: 10
Summary: The GNOME 2.x Display Manager
Source: %{name}-%{version}.tar.bz2
Source1: gdm.pamd
@ -55,6 +55,7 @@ Patch37: gdm-2.19.3-token-login.patch
Patch38: gdm-2.19.3-token-login2.patch
Patch39: gdm-2.19.7-pam-hide-password.patch
Patch40: gdm-XKeepsCrashing-SaX2.patch
Patch41: gdm-2.19.7-vncxauth.patch
URL: http://www.gnome.org/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Docdir: %{_defaultdocdir}
@ -110,6 +111,7 @@ gnome-patch-translation-prepare
%patch38 -p0
%patch39 -p1
%patch40
%patch41 -p1
gnome-patch-translation-update
%build
@ -244,6 +246,9 @@ sed -i s:DISPLAYMANAGER=/opt/gnome/sbin/gdm:DISPLAYMANAGER=/usr/sbin/gdm:g etc/i
%files lang -f %{name}.lang
%changelog
* Wed Sep 12 2007 - jberkman@novell.com
- correctly add localhost xauth for "remote" connections on little
endian machines (bnc #296699)
* Wed Sep 05 2007 - sbrabec@suse.cz
- Search for SaX2 in XKeepsCrashing.
* Wed Sep 05 2007 - sbrabec@suse.cz