Wed Nov 9 18:28:40 2011 UTC ()
Update xdm to 1.1.11 (PR 45554). It works fine on 5.99.56
      with modular xorg, build succeeds with native Xorg.

  Major changes since 1.10
     Check for allowRootLogin on PAM and non-OpenBSD passwd authentication
         backends
      s/Sun/Oracle/g
      Add man page for xdmshell
      Only install xdmshell if --enable-xdmshell is passed to configure
      config: rename XDM_PRINT to XDM_TOOLKIT
      xdm itself doesn't need to link with Xinerama library
      Delete some unused variables
      greeter: Remove unused extern dpy that is shadowed by local variables
      greeter: inline valueMask for xpm window to avoid shadowing argument
      greeter: Add echoPasswdChar resource to set character to display
      greeter: Make sure text input areas stay inside the lines
      greeter: Replace several #ifdef XPM blocks with LOGO_W macro
      greeter: Make sure cursor stays in bounds too
      Fix potential memory leak in allocation failure cleanup path
      Stop checking for NULL before calling free()
      Stop casting free() arguments to (char *)
      Stop casting return values of malloc and friends
      Only greeter needs XPM CFLAGS & LIBS, not xdm daemon
      Add Solaris 11 libsocket to list of libraries to search for
      getifaddrs()
      freeifaddrs() when done with it in DefineSelf()
      xdm.man: address only needs 2 S's, not 3
      On Solaris, make sure PAM_TTY is only ever set to an actual /dev path
      Bug 13455: allowNullPasswd: true doesn't work until the second login
      attempt
      Use C99 named initializers for XSetWindowAttributes structure
      Replace GCC_PRINTFLIKE with xproto's _X_ATTRIBUTE_PRINTF
      Add _X_ATTRIBUTE_PRINTF to LogVWrite declaration
      Stop using username retrieved from PAM before pam_end frees it.
      Simplify FailedLogin code
      fix whitespace issues


(cheusov)
diff -r1.15 -r1.16 pkgsrc/x11/xdm/Makefile
diff -r1.2 -r1.3 pkgsrc/x11/xdm/PLIST
diff -r1.4 -r1.5 pkgsrc/x11/xdm/distinfo

cvs diff -r1.15 -r1.16 pkgsrc/x11/xdm/Makefile (expand / switch to unified diff)

--- pkgsrc/x11/xdm/Makefile 2011/11/01 06:03:11 1.15
+++ pkgsrc/x11/xdm/Makefile 2011/11/09 18:28:40 1.16
@@ -1,32 +1,32 @@ @@ -1,32 +1,32 @@
1# $NetBSD: Makefile,v 1.15 2011/11/01 06:03:11 sbd Exp $ 1# $NetBSD: Makefile,v 1.16 2011/11/09 18:28:40 cheusov Exp $
2 2
3DISTNAME= xdm-1.1.10 3DISTNAME= xdm-1.1.11
4PKGREVISION= 1 
5CATEGORIES= x11 4CATEGORIES= x11
6MASTER_SITES= ${MASTER_SITE_XORG:=app/} 5MASTER_SITES= ${MASTER_SITE_XORG:=app/}
7EXTRACT_SUFX= .tar.bz2 6EXTRACT_SUFX= .tar.bz2
8 7
9MAINTAINER= blair.sadewitz@gmail.com 8MAINTAINER= blair.sadewitz@gmail.com
10HOMEPAGE= http://xorg.freedesktop.org/ 9HOMEPAGE= http://xorg.freedesktop.org/
11COMMENT= X Display Manager from modular X.org 10COMMENT= X Display Manager from modular X.org
12 11
13DEPENDS+= sessreg-[0-9]*:../../x11/sessreg 12DEPENDS+= sessreg-[0-9]*:../../x11/sessreg
14 13
15PKG_DESTDIR_SUPPORT= user-destdir 14PKG_DESTDIR_SUPPORT= user-destdir
16 15
17CONFIGURE_ARGS+= --enable-dynamic-greeter 16CONFIGURE_ARGS+= --enable-dynamic-greeter
18CONFIGURE_ARGS+= --enable-tcp-transport 17CONFIGURE_ARGS+= --enable-tcp-transport
19CONFIGURE_ARGS+= --enable-unix-transport 18CONFIGURE_ARGS+= --enable-unix-transport
 19CONFIGURE_ARGS+= --enable-xdmshell
20 20
21USE_TOOLS+= pkg-config 21USE_TOOLS+= pkg-config
22GNU_CONFIGURE= yes 22GNU_CONFIGURE= yes
23USE_LIBTOOL= yes 23USE_LIBTOOL= yes
24 24
25RCD_SCRIPTS= xdm 25RCD_SCRIPTS= xdm
26 26
27BUILD_DEFS+= VARBASE 27BUILD_DEFS+= VARBASE
28CONFIGURE_ARGS+= --with-authdir=${VARBASE}/lib/xdm 28CONFIGURE_ARGS+= --with-authdir=${VARBASE}/lib/xdm
29OWN_DIRS_PERMS+= ${VARBASE}/lib/xdm \ 29OWN_DIRS_PERMS+= ${VARBASE}/lib/xdm \
30 ${REAL_ROOT_USER} ${REAL_ROOT_GROUP} 0755 30 ${REAL_ROOT_USER} ${REAL_ROOT_GROUP} 0755
31 31
32.include "../../mk/compiler.mk" 32.include "../../mk/compiler.mk"

cvs diff -r1.2 -r1.3 pkgsrc/x11/xdm/PLIST (expand / switch to unified diff)

--- pkgsrc/x11/xdm/PLIST 2009/06/14 18:25:11 1.2
+++ pkgsrc/x11/xdm/PLIST 2011/11/09 18:28:40 1.3
@@ -1,21 +1,22 @@ @@ -1,21 +1,22 @@
1@comment $NetBSD: PLIST,v 1.2 2009/06/14 18:25:11 joerg Exp $ 1@comment $NetBSD: PLIST,v 1.3 2011/11/09 18:28:40 cheusov Exp $
2bin/xdm 2bin/xdm
3bin/xdmshell 3bin/xdmshell
4lib/X11/app-defaults/Chooser 4lib/X11/app-defaults/Chooser
5lib/X11/xdm/GiveConsole 5lib/X11/xdm/GiveConsole
6lib/X11/xdm/TakeConsole 6lib/X11/xdm/TakeConsole
7lib/X11/xdm/Xaccess 7lib/X11/xdm/Xaccess
8lib/X11/xdm/Xreset 8lib/X11/xdm/Xreset
9lib/X11/xdm/Xresources 9lib/X11/xdm/Xresources
10lib/X11/xdm/Xservers 10lib/X11/xdm/Xservers
11lib/X11/xdm/Xsession 11lib/X11/xdm/Xsession
12lib/X11/xdm/Xsetup_0 12lib/X11/xdm/Xsetup_0
13lib/X11/xdm/Xstartup 13lib/X11/xdm/Xstartup
14lib/X11/xdm/Xwilling 14lib/X11/xdm/Xwilling
15lib/X11/xdm/chooser 15lib/X11/xdm/chooser
16lib/X11/xdm/libXdmGreet.la 16lib/X11/xdm/libXdmGreet.la
17lib/X11/xdm/pixmaps/xorg-bw.xpm 17lib/X11/xdm/pixmaps/xorg-bw.xpm
18lib/X11/xdm/pixmaps/xorg.xpm 18lib/X11/xdm/pixmaps/xorg.xpm
19lib/X11/xdm/xdm-config 19lib/X11/xdm/xdm-config
20man/man1/xdm.1 20man/man1/xdm.1
 21man/man1/xdmshell.1
21share/examples/rc.d/xdm 22share/examples/rc.d/xdm

cvs diff -r1.4 -r1.5 pkgsrc/x11/xdm/distinfo (expand / switch to unified diff)

--- pkgsrc/x11/xdm/distinfo 2010/07/12 11:39:57 1.4
+++ pkgsrc/x11/xdm/distinfo 2011/11/09 18:28:40 1.5
@@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
1$NetBSD: distinfo,v 1.4 2010/07/12 11:39:57 obache Exp $ 1$NetBSD: distinfo,v 1.5 2011/11/09 18:28:40 cheusov Exp $
2 2
3SHA1 (xdm-1.1.10.tar.bz2) = 45eb013aa14ddd8d385b200b94fb0fbcbe09b860 3SHA1 (xdm-1.1.11.tar.bz2) = 8195a8e17d71d18cb89813d04b69a3750e9e818e
4RMD160 (xdm-1.1.10.tar.bz2) = c5f6b3bba2d1294b560ad50e2eaaa90097c62dee 4RMD160 (xdm-1.1.11.tar.bz2) = 574b5bda0b46a43d0df474279d03e49fa93c9a92
5Size (xdm-1.1.10.tar.bz2) = 423578 bytes 5Size (xdm-1.1.11.tar.bz2) = 446612 bytes