pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/42682: update for (broken?) x11/xdm [patch]



>Number:         42682
>Category:       pkg
>Synopsis:       update for (broken?) x11/xdm [patch]
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jan 27 20:40:01 +0000 2010
>Originator:     Aleksey Cheusov
>Release:        NetBSD 5.0.1_PATCH
>Organization:
>Environment:
System: NetBSD asrock.chizhovka.net 5.0.1_PATCH NetBSD 5.0.1_PATCH (GENERIC) 
#0: Mon Nov 9 14:18:37 PST 2009 
snj%nimbus.blef.org@localhost:/usr/tmpobj/50amd64/sys/arch/amd64/compile/GENERIC
 amd64
Architecture: x86_64
Machine: amd64
>Description:
I'm trying to setup x11/xdm to accept remote connections:

  /etc/X11/xdm/Xservers:
     # 0: local /usr/pkg/bin/X :0 vt05

  /etc/X11/xdm/Xaccess:
     LISTEN 192.168.41.5

  /etc/X11/xdm/xdm-config:
     # ...
     # config files from /etc/X11/xdm directory are used
     # ...
     !!!! DisplayManager.requestPort: 0

  /etc/rc.conf:
     xdm=yes

After starting a daemon I run the following command from remote host (Linux).

     X -query 192.168.41.5 :1

Login screen appeares, I enter a username and password, press Enter,
login succeeded and then... login screen reappeared, i.e. login fails.

In Linux's console I see the following

     (EE) XKB: No components provided for device Virtual core keyboard

I don't know what exactly causes the problem but updating x11/xdm
from xdm-1.1.6nb2 to xdm-1.1.9 solcves the problem.

So, I propose to update the package. Patch is below.
patches/patch-aa is not needed anymore because it was applied in upstream.

>How-To-Repeat:
See above
>Fix:

Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/x11/xdm/Makefile,v
retrieving revision 1.10
diff -u -r1.10 Makefile
--- Makefile    25 Oct 2009 12:15:54 -0000      1.10
+++ Makefile    27 Jan 2010 20:31:32 -0000
@@ -1,7 +1,6 @@
 # $NetBSD: Makefile,v 1.10 2009/10/25 12:15:54 tnn Exp $
 
-DISTNAME=      xdm-1.1.6
-PKGREVISION=   2
+DISTNAME=      xdm-1.1.9
 CATEGORIES=    x11
 MASTER_SITES=  ${MASTER_SITE_XORG:=app/}
 EXTRACT_SUFX=  .tar.bz2
Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/x11/xdm/distinfo,v
retrieving revision 1.2
diff -u -r1.2 distinfo
--- distinfo    18 Jan 2008 02:54:15 -0000      1.2
+++ distinfo    27 Jan 2010 20:31:32 -0000
@@ -1,6 +1,5 @@
 $NetBSD: distinfo,v 1.2 2008/01/18 02:54:15 bjs Exp $
 
-SHA1 (xdm-1.1.6.tar.bz2) = 9b5642407f01bbdaa8ad699e2d2417bd26372c53
-RMD160 (xdm-1.1.6.tar.bz2) = 24f5d5fef2e608b7a0a0f7efd174e4d536663c90
-Size (xdm-1.1.6.tar.bz2) = 394175 bytes
-SHA1 (patch-aa) = f2308286759f5af228fea0e0dfe4934b56a4b591
+SHA1 (xdm-1.1.9.tar.bz2) = ea0ee2923999d54848dc8a165867ffa7c628fd7b
+RMD160 (xdm-1.1.9.tar.bz2) = 4a80e19ad1af6d3c61f3e10c3d2719c4811418d9
+Size (xdm-1.1.9.tar.bz2) = 425348 bytes
Index: patches/patch-aa
===================================================================
RCS file: patches/patch-aa
diff -N patches/patch-aa
--- patches/patch-aa    18 Jan 2008 02:54:15 -0000      1.1
+++ /dev/null   1 Jan 1970 00:00:00 -0000
@@ -1,21 +0,0 @@
-$NetBSD: patch-aa,v 1.1 2008/01/18 02:54:15 bjs Exp $
-
---- config/Xresources.cpp.orig 2008-01-17 21:46:07.000000000 -0500
-+++ config/Xresources.cpp
-@@ -36,6 +36,16 @@ xlogin*greetFace:   Serif-24:bold:italic
- xlogin*face:          Helvetica-18
- xlogin*promptFace:    Helvetica-18:bold
- xlogin*failFace:      Helvetica-18:bold
-+XHASHelse
-+xlogin*greetFont: 
-adobe-helvetica-bold-o-normal--17-120-100-100-p-92-iso8859-1
-+xlogin*font: -adobe-helvetica-medium-r-normal--12-120-75-75-p-67-iso8859-1
-+xlogin*promptFont: -adobe-helvetica-bold-r-normal--12-120-75-75-p-70-iso8859-1
-+xlogin*failFont: -adobe-helvetica-bold-o-normal--14-140-75-75-p-82-iso8859-1
-+xlogin*greetFace:     Serif-18:bold:italic
-+xlogin*face:          Helvetica-12
-+xlogin*promptFace:    Helvetica-12:bold
-+xlogin*failFace:      Helvetica-14:bold
-+XHASHendif
- 
- XHASHifdef COLOR
- xlogin*borderWidth: 1



Home | Main Index | Thread Index | Old Index