mirror of
git://slackware.nl/current.git
synced 2024-12-30 10:24:23 +01:00
646a5c1cbf
a/pkgtools-15.0-noarch-13.txz: Rebuilt. installpkg: default line length for --terselength is the number of columns. removepkg: added --terse mode. upgradepkg: default line length for --terselength is the number of columns. upgradepkg: accept -option in addition to --option. ap/vim-8.1.0026-x86_64-1.txz: Upgraded. d/bison-3.0.5-x86_64-1.txz: Upgraded. e/emacs-26.1-x86_64-1.txz: Upgraded. kde/kopete-4.14.3-x86_64-8.txz: Rebuilt. Recompiled against libidn-1.35. n/conntrack-tools-1.4.5-x86_64-1.txz: Upgraded. n/libnetfilter_conntrack-1.0.7-x86_64-1.txz: Upgraded. n/libnftnl-1.1.0-x86_64-1.txz: Upgraded. n/links-2.16-x86_64-2.txz: Rebuilt. Rebuilt to enable X driver for -g mode. n/lynx-2.8.9dev.19-x86_64-1.txz: Upgraded. n/nftables-0.8.5-x86_64-1.txz: Upgraded. n/p11-kit-0.23.11-x86_64-1.txz: Upgraded. n/ulogd-2.0.7-x86_64-1.txz: Upgraded. n/whois-5.3.1-x86_64-1.txz: Upgraded. xap/network-manager-applet-1.8.12-x86_64-1.txz: Upgraded. xap/vim-gvim-8.1.0026-x86_64-1.txz: Upgraded.
44 lines
1.6 KiB
Text
44 lines
1.6 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
|
|
|
|
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
|
|
rm -f $PKG/etc/X11/xdm/${conffile}
|
|
#mv $PKG/etc/X11/xdm/${conffile} $PKG/etc/X11/xdm/${conffile}.new ;
|
|
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
|
|
|