08cd323c4d
A number of bug fixes and improvements have accumulated since xdm 1.1.9, including: - crash fixes related to syslog usage - a new option to echo stars in the password field - basic selinux support Full shortlog from 1.1.9 below. Alan Coopersmith (11): Create piddir if needed on startup Make parent authdir if needed at startup Correct default greeterLib path in man page Remove workaround for X11R3 server bug Raise xorg-macros requirement to 1.4 Update Sun license notices to current X.Org standard form echo_passwd should key off PAM no-echo state, not prompt position Replace hardcoded NAMELEN of 14 for ancient SysV with MAXNAMELEN Move m4 macros to m4 subdir as automake/libtool recommend Make sure username is not NULL when calling syslog from FailedLogin() Reject PAM conversation calls after login dialog is closed Branden Robinson (6): downgrade an error to info message Change openFiles() to avoid race-based symlink attacks. Always attempt to write data to the auth file improve error logging Improve logging of xdm's script handling rewrite StorePid() Christoph Bartoschek (1): XDM: Add support for clients that sent ipv4 addresses to a dual-stacked host Dmitry V. Levin (2): Call openlog(3) early greeter: fix logging of failed login attempts Gaetan Nadon (8): .gitignore: use common defaults with custom section # 24239 Makefile.am: ChangeLog not required: EXTRA_DIST or *CLEANFILES #24432 Deploy the new XORG_DEFAULT_OPTIONS #24242 INSTALL, NEWS, README or AUTHORS files are missing/incorrect #24206 Makefile.am: add ChangeLog and INSTALL on MAINTAINERCLEANFILES configure.ac: restore correct order for XORG_DEFAULT_OPTIONS configure.ac: use backticks rather than $() for cmd subs lint: option -rdynamic is not valid for the lint program Georgy A. Shepelev (3): The whole widget borders width could not be set to zero. Adding an option to show stars instead of the password itself. xdm: add documentation of the "EchoPasswd" option to the man page Johannes Dewender (1): Bug #25066: exec sessreg Julien Cristau (4): Don't remove the pid file from xdm child processes xdmcp: disable IPV6_V6ONLY for ipv6 listening sockets Add missing brace in previous commit Bump to 1.1.10 Manoj Srivastava (1): xdm: add SELinux support Martin Dickopp (1): Debian bug 525596: "Login incorrect" only partially cleared on next login git tag: xdm-1.1.10
70 lines
2.2 KiB
Makefile
70 lines
2.2 KiB
Makefile
# $NetBSD: Makefile,v 1.13 2010/07/12 11:39:57 obache Exp $
|
|
|
|
DISTNAME= xdm-1.1.10
|
|
CATEGORIES= x11
|
|
MASTER_SITES= ${MASTER_SITE_XORG:=app/}
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
MAINTAINER= blair.sadewitz@gmail.com
|
|
HOMEPAGE= http://xorg.freedesktop.org/
|
|
COMMENT= X Display Manager from modular X.org
|
|
|
|
DEPENDS+= sessreg-[0-9]*:../../x11/sessreg
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
CONFIGURE_ARGS+= --enable-dynamic-greeter
|
|
CONFIGURE_ARGS+= --enable-tcp-transport
|
|
CONFIGURE_ARGS+= --enable-unix-transport
|
|
|
|
USE_TOOLS+= pkg-config
|
|
GNU_CONFIGURE= yes
|
|
USE_LIBTOOL= yes
|
|
|
|
RCD_SCRIPTS= xdm
|
|
|
|
BUILD_DEFS+= VARBASE
|
|
CONFIGURE_ARGS+= --with-authdir=${VARBASE}/lib/xdm
|
|
OWN_DIRS_PERMS+= ${VARBASE}/lib/xdm \
|
|
${REAL_ROOT_USER} ${REAL_ROOT_GROUP} 0755
|
|
|
|
.include "../../mk/compiler.mk"
|
|
|
|
.if !empty(CC_VERSION:Mgcc-[3-4]*)
|
|
CFLAGS+= -fno-strict-aliasing
|
|
.endif
|
|
|
|
.if empty(PKGSRC_COMPILER:Mgcc)
|
|
CONFIGURE_ENV+= ac_cv_path_RAWCPP="cc -E -Uunix -"
|
|
.endif
|
|
|
|
.if ${OPSYS} == "NetBSD"
|
|
CONFIGURE_ARGS+= --with-random-device=/dev/urandom
|
|
.endif
|
|
|
|
# The following forces the X server to start on the 5th virtual terminal.
|
|
# This is suboptimal but matches the defaults for the xdm configuration,
|
|
# which should work for most installations. See the definition of
|
|
# DEFAULTVT in xsrc/xfree/xc/programs/xdm/config/Imakefile.
|
|
#
|
|
# If we do not do this, we hit a very annoying and obscure problem: during
|
|
# system startup, xdm starts before init spawns gettys. If the X server
|
|
# is started before init spawns the gettys (which easily happens on slow
|
|
# machines), it grabs the first virtual terminal (instead of the first
|
|
# "free" one). Later on, when the first getty is started, it grabs the
|
|
# same terminal X used (the first one). As a result, only one of them
|
|
# will receive key presses. And on slow machines, X will have lost access
|
|
# to the keyboard.
|
|
.if (${OPSYS} == "NetBSD" || ${OPSYS} == "OpenBSD") && \
|
|
(${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64")
|
|
CONFIGURE_ARGS+= --with-default-vt=vt05
|
|
.endif
|
|
|
|
.include "options.mk"
|
|
|
|
.include "../../x11/libXaw/buildlink3.mk"
|
|
.include "../../x11/libXft/buildlink3.mk"
|
|
.include "../../x11/libXmu/buildlink3.mk"
|
|
.include "../../x11/libXinerama/buildlink3.mk"
|
|
.include "../../mk/pam.buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|