Up to [cvs.NetBSD.org] / pkgsrc / x11 / xdm
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
xdm: update to 1.1.12. This release collects 7 years worth of bug fixes and code cleanups, including the fix for CVE-2013-2179 that was previously distributed as a patch against the prior release. Heads up to packagers: the config files have switched from *.cpp files that are processed by the C Pre-Processor to *.in files processed by sed, so you will have to adjust any local patches you apply to the configs. Alan Coopersmith (27): Mark some chars as const to fix gcc -Wwrite-strings warnings Fix warnings about printing longs with int type format strings Add some missing malloc failure checks Remove unused TLI ("STREAMSCONN") code from xdm Remove unused DECnet ("DNETCONN") code from xdm Remove unused NCR/Wollongong TCP ("WINTCP") code from xdm Remove old Interactive Unix ("ISC") code from xdm Assume signal handlers return void, as C89 requires Stop leaking address struct on every call to getLocalAddress() Remove old man page note about XDM-AUTHENTICATION-1 Avoid fd leak when fdopen() fails in openFiles() Show compile time options in Debug output Ensure fgets read at least one byte before modifying string configure: Drop AM_MAINTAINER_MODE autogen.sh: Honor NOCONFIGURE=1 Protect against unlikely NULL pointer dereference in FormatChooserArgument Only pass -u & -w args to sessreg if --with-{u,w}tmp-file=path specified Only free input or output to realloc, not both Mark LogPanic as noreturn per gcc's suggestion Get rid of an extraneous ; at the end of a C source line Remove non-existent cpp resource from man page Install xdm man pages under admin section (8), not user programs (1) Add missing brackets to multi-statement if in SaveServerAuthorizations Update README for gitlab migration Update configure.ac bug URL for gitlab migration Use sed instead of the C pre-processor to generate config files xdm 1.1.12 Björn Esser (1): glibc: Include <crypt.h> if needed, fix build with 2.28 Chí-Thanh Christopher Nguyễn (2): xdm uses arc4random without proper includes for Linux libbsd xdm uses setproctitle without proper includes for Linux libbsd David Carlier (2): fix memory leak in StorePid() fix length format in StartClient() debug message Egbert Eich (1): dm: Don't crash if argc == 0 Emil Velikov (1): autogen.sh: use quoted string variables Eric S. Raymond (1): Don't rely on the ability to set tab stops. Jeremy Huddleston (1): Require xt >= 1.0 for appdefaultdir Jeremy Huddleston Sequoia (6): Look for pam in both pam/ and security/ paths xdm: Add missing include of <arpa/inet.h> for inet_ntop Add missing return type (void) for PrintProtoDisplay Add missing prototype for PrintSockAddr Silence -Wmissing-noreturn warnings Fixup various format warnings in PrintProtoDisplay Jon TURNEY (1): Link libXdmGreet with -no-undefined libtool flag Julien Cristau (1): greeter: link against -lXrender if xft is enabled Matthieu Herrb (9): Fix build outside of source dir. Fixes distcheck too. replace <varargs.h> by <stdarg.h>. Spotted my Marco Peereboom with clang. Fix format string for systems where time_t is 64 bits long. Allow the greeter to set the input fields bg color Remove #if 0'd code Remove AIXV3, SCO, Unixware, OS/2 support Unifdef X_NO_SYS_UN Missed on arc4random() conversion. chown before chmod Michał Górny (1): Support systemd startup notification. Mihail Konev (1): autogen: add default patch prefix Peter Hutterer (1): autogen.sh: use exec instead of waiting for configure to finish Thomas Klausner (2): Use appropriate format string. Add wrapper function for write. mancha (1): Handle NULL returns from glibc 2.17+ crypt().
Remove example rc.d scripts from PLISTs. These are now handled dynamically if INIT_SYSTEM is set to "rc.d", or ignored otherwise.
Put xdm's config files in ${PKG_SYSCONFBASE}/xdm, install them using CONF_FILES, and adjust the rc.d script. (As requested in PR#41102). Bump PKGREVISION.
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
Remove @dirrm entries from PLISTs
Import new "xdm" package: X Display Manager from modular X.org This package is based on Blair Sadewitz's "xdm" package in "pkgsrc-wip".
Initial revision