slackware-current/source/x/x11/post-install/xdm.post-install
Patrick J Volkerding 8b1588afc8 Tue Jan 5 22:42:46 UTC 2021
a/lzlib-1.12-x86_64-1.txz:  Upgraded.
ap/qpdf-10.1.0-x86_64-1.txz:  Upgraded.
kde/bluedevil-5.20.5-x86_64-1.txz:  Upgraded.
kde/breeze-5.20.5-x86_64-1.txz:  Upgraded.
kde/breeze-grub-5.20.5-x86_64-1.txz:  Upgraded.
kde/breeze-gtk-5.20.5-x86_64-1.txz:  Upgraded.
kde/drkonqi-5.20.5-x86_64-1.txz:  Upgraded.
kde/kactivitymanagerd-5.20.5-x86_64-1.txz:  Upgraded.
kde/kde-cli-tools-5.20.5-x86_64-1.txz:  Upgraded.
kde/kde-gtk-config-5.20.5-x86_64-1.txz:  Upgraded.
kde/kdecoration-5.20.5-x86_64-1.txz:  Upgraded.
kde/kdeplasma-addons-5.20.5-x86_64-1.txz:  Upgraded.
kde/kgamma5-5.20.5-x86_64-1.txz:  Upgraded.
kde/khotkeys-5.20.5-x86_64-1.txz:  Upgraded.
kde/kinfocenter-5.20.5-x86_64-1.txz:  Upgraded.
kde/kmenuedit-5.20.5-x86_64-1.txz:  Upgraded.
kde/kscreen-5.20.5-x86_64-1.txz:  Upgraded.
kde/kscreenlocker-5.20.5-x86_64-1.txz:  Upgraded.
kde/ksshaskpass-5.20.5-x86_64-1.txz:  Upgraded.
kde/ksysguard-5.20.5-x86_64-1.txz:  Upgraded.
kde/kwallet-pam-5.20.5-x86_64-1.txz:  Upgraded.
kde/kwayland-integration-5.20.5-x86_64-1.txz:  Upgraded.
kde/kwayland-server-5.20.5-x86_64-1.txz:  Upgraded.
kde/kwin-5.20.5-x86_64-1.txz:  Upgraded.
kde/kwrited-5.20.5-x86_64-1.txz:  Upgraded.
kde/libkscreen-5.20.5-x86_64-1.txz:  Upgraded.
kde/libksysguard-5.20.5-x86_64-1.txz:  Upgraded.
kde/milou-5.20.5-x86_64-1.txz:  Upgraded.
kde/oxygen-5.20.5-x86_64-1.txz:  Upgraded.
kde/plasma-browser-integration-5.20.5-x86_64-1.txz:  Upgraded.
kde/plasma-desktop-5.20.5-x86_64-1.txz:  Upgraded.
kde/plasma-disks-5.20.5-x86_64-1.txz:  Upgraded.
kde/plasma-integration-5.20.5-x86_64-1.txz:  Upgraded.
kde/plasma-nm-5.20.5-x86_64-1.txz:  Upgraded.
kde/plasma-pa-5.20.5-x86_64-1.txz:  Upgraded.
kde/plasma-sdk-5.20.5-x86_64-1.txz:  Upgraded.
kde/plasma-vault-5.20.5-x86_64-1.txz:  Upgraded.
kde/plasma-workspace-5.20.5-x86_64-1.txz:  Upgraded.
kde/plasma-workspace-wallpapers-5.20.5-x86_64-1.txz:  Upgraded.
kde/polkit-kde-agent-1-5.20.5-x86_64-1.txz:  Upgraded.
kde/powerdevil-5.20.5-x86_64-1.txz:  Upgraded.
kde/sddm-kcm-5.20.5-x86_64-1.txz:  Upgraded.
kde/systemsettings-5.20.5-x86_64-1.txz:  Upgraded.
kde/xdg-desktop-portal-kde-5.20.5-x86_64-1.txz:  Upgraded.
l/pipewire-0.3.19-x86_64-1.txz:  Upgraded.
l/vte-0.62.1-x86_64-2.txz:  Rebuilt.
  Get rid of bogus symlink in the docs directory. Thanks to titopoquito.
n/php-7.4.14-x86_64-1.txz:  Upgraded.
  This update fixes bugs and a security issue:
  Standard: FILTER_VALIDATE_URL accepts URLs with invalid userinfo.
  For more information, see:
    https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-7071
  (* Security fix *)
x/x11-skel-7.7-x86_64-6.txz:  Rebuilt.
  Added /usr/share/xsessions/xwmconfig.desktop to run the session type
  configured by xwmconfig. This will show up in SDDM.
x/xdm-1.1.11-x86_64-12.txz:  Rebuilt.
  Fix some permissions in /etc/X11/xdm/.
2021-01-06 08:59:50 +01:00

49 lines
1.7 KiB
Text

mkdir -p $PKG/etc/X11
mv $PKG/usr/lib/X11/xdm $PKG/etc/X11
ln -sf ../../../etc/X11/xdm $PKG/usr/lib/X11/xdm
#( cd $PKG/usr/lib/X11
# mv xdm $PKG/etc/X11
# ln -sf ../../../etc/X11/xdm .
#)
mkdir -p $PKG/usr/doc/xdm-$MODULAR_PACKAGE_VERSION
mv $PKG/etc/X11/xdm/Xsession $PKG/usr/doc/xdm-$MODULAR_PACKAGE_VERSION/Xsession.orig
mv $PKG/etc/X11/xdm/Xsetup_0 $PKG/usr/doc/xdm-$MODULAR_PACKAGE_VERSION/Xsetup_0.orig
cp -a $CWD/post-install/xdm/Xsession $PKG/etc/X11/xdm/Xsession
cp -a $CWD/post-install/xdm/Xsetup_0 $PKG/etc/X11/xdm/Xsetup_0
if [ -L /lib${LIBDIRSUFFIX}/libpam.so.? ]; then
mkdir -p $PKG/etc/pam.d
cat $CWD/post-install/xdm/xdm.pamd > $PKG/etc/pam.d/xdm.new
fi
chown root:root $PKG/etc/X11/xdm/Xsession $PKG/etc/X11/xdm/Xsetup_0
chmod 0755 $PKG/etc/X11/xdm/Xsession $PKG/etc/X11/xdm/Xsetup_0
for conffile in \
Xaccess Xreset Xresources Xservers Xsession Xsetup_0 Xstartup Xwilling \
GiveConsole TakeConsole xdm-config ../app-defaults/Chooser ;
do
# Use awk to strip leading blank lines... weird bug that cropped up in the
# pre Slackware-14.1 development cycle.
awk "/[^ ]/ { copy=1 }; copy { print }" $PKG/etc/X11/xdm/${conffile} > $PKG/etc/X11/xdm/${conffile}.new
touch -r $PKG/etc/X11/xdm/${conffile} $PKG/etc/X11/xdm/${conffile}.new
chmod --reference=$PKG/etc/X11/xdm/${conffile} $PKG/etc/X11/xdm/${conffile}.new
rm -f $PKG/etc/X11/xdm/${conffile}
done
# Change default auth type:
cat << EOF >> $PKG/etc/X11/xdm/xdm-config.new
! In xdm-config, default to MIT-MAGIC-COOKIE-1 authorization as
! the XDM-AUTHORIZATION-1 method (which is the default otherwise) is
! mostly broken (i.e. with SDL2 apps):
DisplayManager.*.authName: MIT-MAGIC-COOKIE-1
EOF
mkdir -p $PKG/var/lib/xdm
chown root:root $PKG/var/lib/xdm
chmod 755 $PKG/var/lib/xdm