mcde: PAM files for Linux again, MAIL where the mail indicator looks, 0079.dtcursor installed

dtlogin.src/dtsession.src: NetBSD keeps `include display_manager'; every
other system gets the stack of the CDE import (7a787b72c5) again -- Linux
has no display_manager file, so a native build had a PAM file that denied
every login.

Xsession.src: MAIL is $HOME/.mail/INBOX, the file dtwm's mail indicator
watches (Dtwm.defs.src:184, 6266bc5031); the folder and the file are made
at login.

Makefile.am: 0079.dtcursor (t0301) was in the tree and in the PLIST but
not in dist_xsess_SCRIPTS, so it was never installed.
This commit is contained in:
lotherk committed 2026-11-17 16:37:51 +00:00
1 parent ec23c381ca
commit fc0c936693
4 files changed
+47 -9

No files matched your search

+1 -1
View File
@@ -76,7 +76,7 @@ dist_configs_DATA = Xaccess Xconfig Xfailsafe Xservers
dist_configs_SCRIPTS = sys.dtprofile sys.sessionetc Xfailsafe Xreset Xsetup Xstartup
xsessdir=$(CDE_INSTALLATION_TOP)/config/Xsession.d
dist_xsess_SCRIPTS = 0010.language 0060.dtsysenv 0070.dtfonts 0071.displays 0072.dtkeys 0075.homefolders 0077.dtappscan 0078.dtthemesync
dist_xsess_SCRIPTS = 0010.language 0060.dtsysenv 0070.dtfonts 0071.displays 0072.dtkeys 0075.homefolders 0077.dtappscan 0078.dtthemesync 0079.dtcursor
# MCDE: the desktop programs, started by dtsession through sys.sessionetc
# once the session resources and the colour server are there
+10 -8
View File
@@ -53,16 +53,16 @@ XCOMM ##########################################################################
#if defined (_AIX)
# define cpp_XINITUSER "$HOME/.xinitrc"
# define cpp_MAIL "/var/spool/mail/$USER"
# define cpp_MAIL "$HOME/.mail/INBOX"
#elif defined (sun)
# define cpp_XINITUSER "$HOME/.xinitrc"
# define cpp_MAIL "/var/mail/$USER"
# define cpp_MAIL "$HOME/.mail/INBOX"
# undef cpp_HELLO
# define cpp_HELLO "$DT_BINPATH/dthello -file $DT_INSTALL/copyright &"
#endif
#ifdef linux
# define cpp_MAIL "/var/mail/$USER"
# define cpp_MAIL "$HOME/.mail/INBOX"
# define cpp_XDIR "/usr/bin"
# define cpp_XINITUSER "$HOME/.xinitrc"
# define cpp_XDMSYS "/etc/X11/Xsession"
@@ -71,7 +71,7 @@ XCOMM ##########################################################################
#endif
#ifdef __FreeBSD__
# define cpp_MAIL "/var/mail/$USER"
# define cpp_MAIL "$HOME/.mail/INBOX"
# define cpp_XINITUSER "$HOME/.xinitrc"
# define cpp_XDMSYS "/usr/local/lib/X11/xdm/Xsession"
# undef cpp_HELLO
@@ -79,7 +79,7 @@ XCOMM ##########################################################################
#endif
#ifdef __OpenBSD__
# define cpp_MAIL "/var/mail/$USER"
# define cpp_MAIL "$HOME/.mail/INBOX"
# define cpp_XINITUSER "$HOME/.xinitrc"
# define cpp_XDMSYS "/etc/X11/xdm/Xsession"
# undef cpp_HELLO
@@ -87,7 +87,7 @@ XCOMM ##########################################################################
#endif
#ifdef __NetBSD__
# define cpp_MAIL "/var/mail/$USER"
# define cpp_MAIL "$HOME/.mail/INBOX"
# define cpp_XINITUSER "$HOME/.xinitrc"
# define cpp_XDMSYS "/etc/X11/xdm/Xsession"
# undef cpp_HELLO
@@ -106,7 +106,7 @@ XCOMM ##########################################################################
#endif
#if !defined (cpp_MAIL)
# define cpp_MAIL "/var/mail/$USER"
# define cpp_MAIL "$HOME/.mail/INBOX"
#endif
#if !defined (cpp_HELLO)
@@ -216,7 +216,9 @@ XCOMM
XCOMM ##########################################################################
[ -z "$EDITOR" ] && EDITOR=CDE_INSTALLATION_TOP/bin/dtpad
[ -z "$MAIL" ] && MAIL=cpp_MAIL
mkdir -p "$HOME/.mail" >/dev/null 2>&1
[ -z "$MAIL" ] && MAIL="$HOME/.mail/INBOX"
[ ! -f "$HOME/.mail/INBOX" ] && touch "$HOME/.mail/INBOX" >/dev/null 2>&1
[ -z "$LANG" ] && LANG="C"
TERM=dtterm
SESSION_SVR=`hostname`
+18
View File
@@ -1,14 +1,32 @@
XCOMM PAM configuration for the "dtlogin" service (MCDE/Makronix).
#ifdef __NetBSD__
XCOMM Use the same stack as the other display managers on NetBSD.
#endif
XCOMM
XCOMM auth
#ifdef __NetBSD__
auth include display_manager
#else
#ifdef PAM_AUTHENTICATION_MODULE
auth sufficient PAM_AUTHENTICATION_MODULE
#endif
auth required pam_unix.so
#endif
XCOMM account
#ifdef __NetBSD__
account include display_manager
#else
account required pam_nologin.so
account required pam_unix.so
#endif
XCOMM session
#ifdef __NetBSD__
session include display_manager
#else
session required pam_lastlog.so
#endif
XCOMM password
password required pam_deny.so
+18
View File
@@ -1,14 +1,32 @@
XCOMM PAM configuration for the "dtsession" service (MCDE/Makronix).
#ifdef __NetBSD__
XCOMM Use the same stack as the other display managers on NetBSD.
#endif
XCOMM
XCOMM auth
#ifdef __NetBSD__
auth include display_manager
#else
#ifdef PAM_AUTHENTICATION_MODULE
auth sufficient PAM_AUTHENTICATION_MODULE
#endif
auth required pam_nologin.so
auth required pam_unix.so
#endif
XCOMM account
#ifdef __NetBSD__
account include display_manager
#else
account required pam_unix.so
#endif
XCOMM session
#ifdef __NetBSD__
session include display_manager
#else
session required pam_deny.so
#endif
XCOMM password
password required pam_deny.so