Index: 1.1.14/Makefile
===================================================================
--- 1.1.14/Makefile (nonexistent)
+++ 1.1.14/Makefile (revision 5)
@@ -0,0 +1,287 @@
+
+COMPONENT_TARGETS = $(HARDWARE_INTEL_PC32)
+COMPONENT_TARGETS += $(HARDWARE_INTEL_PC64)
+COMPONENT_TARGETS += $(HARDWARE_EBOX_3350DX2)
+COMPONENT_TARGETS += $(HARDWARE_CB1X)
+COMPONENT_TARGETS += $(HARDWARE_CB2X)
+COMPONENT_TARGETS += $(HARDWARE_CB3X)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PP2E)
+COMPONENT_TARGETS += $(HARDWARE_NANOPI_NEO)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PP)
+COMPONENT_TARGETS += $(HARDWARE_ORANGE_PL2)
+COMPONENT_TARGETS += $(HARDWARE_WECHIP_TX6)
+COMPONENT_TARGETS += $(HARDWARE_FFRK3288)
+COMPONENT_TARGETS += $(HARDWARE_POIN2)
+COMPONENT_TARGETS += $(HARDWARE_RK3328_CC)
+COMPONENT_TARGETS += $(HARDWARE_KHADAS_EDGE)
+COMPONENT_TARGETS += $(HARDWARE_LEEZ_P710)
+COMPONENT_TARGETS += $(HARDWARE_M201)
+COMPONENT_TARGETS += $(HARDWARE_MXV)
+COMPONENT_TARGETS += $(HARDWARE_P201)
+COMPONENT_TARGETS += $(HARDWARE_NEXBOX_A95X)
+COMPONENT_TARGETS += $(HARDWARE_ODROID_C2)
+COMPONENT_TARGETS += $(HARDWARE_P212)
+COMPONENT_TARGETS += $(HARDWARE_KHADAS_VIM)
+COMPONENT_TARGETS += $(HARDWARE_Q201)
+COMPONENT_TARGETS += $(HARDWARE_ENYBOX_X2)
+COMPONENT_TARGETS += $(HARDWARE_KHADAS_VIM2)
+COMPONENT_TARGETS += $(HARDWARE_NIT6Q)
+COMPONENT_TARGETS += $(HARDWARE_OKMX6DL_C)
+COMPONENT_TARGETS += $(HARDWARE_OKMX6Q_C)
+COMPONENT_TARGETS += $(HARDWARE_BONE_BLACK)
+COMPONENT_TARGETS += $(HARDWARE_OMAP5UEVM)
+COMPONENT_TARGETS += $(HARDWARE_DRA7XXEVM)
+COMPONENT_TARGETS += $(HARDWARE_CI20)
+COMPONENT_TARGETS += $(HARDWARE_BAIKAL_T1)
+COMPONENT_TARGETS += $(HARDWARE_BAIKAL_M1)
+COMPONENT_TARGETS += $(HARDWARE_S824L)
+COMPONENT_TARGETS += $(HARDWARE_VESNIN)
+COMPONENT_TARGETS += $(HARDWARE_S824L_LSB)
+COMPONENT_TARGETS += $(HARDWARE_VESNIN_LSB)
+COMPONENT_TARGETS += $(HARDWARE_TL2WK2)
+COMPONENT_TARGETS += $(HARDWARE_TL2SV2)
+COMPONENT_TARGETS += $(HARDWARE_TL2WK2_LSB)
+COMPONENT_TARGETS += $(HARDWARE_TL2SV2_LSB)
+COMPONENT_TARGETS += $(HARDWARE_SIFIVE_U740)
+
+
+NEED_ABS_PATH = true
+COMPONENT_IS_3PP = true
+
+
+include ../../../../../build-system/constants.mk
+
+
+SOURCE_REQUIRES = sources/X.org/app/xdm
+
+REQUIRES = X11/X.org/lib/libXaw/1.0.14
+REQUIRES += X11/X.org/lib/libXft/2.3.7
+REQUIRES += X11/X.org/lib/libXinerama/1.1.5
+REQUIRES += secure/pam/1.5.1
+
+# ======= __END_OF_REQUIRES__ =======
+
+
+version = 1.1.14
+tar_xz_archive = $(SRC_PACKAGE_PATH)/X.org/app/xdm/xdm-$(version).tar.xz
+SRC_ARCHIVE = $(tar_xz_archive)
+SRC_DIR = $(TARGET_BUILD_DIR)/xdm-$(version)
+src_dir_name = xdm-$(version)
+src_done = $(TARGET_BUILD_DIR)/.source_done
+
+xdm_pam = $(CURDIR)/pam/xdm.pam
+startup_dir = $(CURDIR)/startup
+
+PATCHES = PATCHES
+
+build_dir = $(TARGET_BUILD_DIR)/build
+build_target = $(TARGET_BUILD_DIR)/.build_done
+install_target = $(TARGET_BUILD_DIR)/.install_done
+
+
+####### Targets
+
+PKG_GROUP = xorg
+
+#
+# *PKG_NAME & *PKG_VERSION shouldn't be a reference to value.
+#
+XORG_PKG_NAME = xdm
+XORG_PKG_VERSION = 1.1.14
+XORG_PKG_ARCH = $(PKGARCH)
+XORG_PKG_DISTRO_NAME = $(DISTRO_NAME)
+XORG_PKG_DISTRO_VERSION = $(DISTRO_VERSION)
+XORG_PKG_GROUP = $(PKG_GROUP)
+### |---handy-ruler-------------------------------|
+XORG_PKG_SHORT_DESCRIPTION = X11 display manager
+XORG_PKG_URL = $(BUG_URL)
+XORG_PKG_LICENSE = custom
+XORG_PKG_DESCRIPTION_FILE = $(TARGET_BUILD_DIR)/$(XORG_PKG_NAME)-pkg-description
+XORG_PKG_DESCRIPTION_FILE_IN = $(XORG_PKG_NAME)-pkg-description.in
+XORG_PKG_INSTALL_SCRIPT = $(XORG_PKG_NAME)-pkg-install.sh
+
+XORG_PKG = $(CURDIR)/$(TARGET_BUILD_DIR)/$(XORG_PKG_NAME)-package
+
+pkg_basename = $(XORG_PKG_NAME)-$(XORG_PKG_VERSION)-$(XORG_PKG_ARCH)-$(XORG_PKG_DISTRO_NAME)-$(XORG_PKG_DISTRO_VERSION)
+
+pkg_archive = $(TARGET_BUILD_DIR)/$(PKG_GROUP)/$(pkg_basename).$(pkg_arch_suffix)
+pkg_signature = $(call sign-name,$(pkg_archive))
+pkg_description = $(call desc-name,$(pkg_archive))
+products = $(call pkg-files,$(pkg_archive))
+
+BUILD_TARGETS = $(build_target)
+BUILD_TARGETS += $(install_target)
+
+PRODUCT_TARGETS = $(products)
+
+ROOTFS_TARGETS = $(pkg_archive)
+
+
+include ../../../../../build-system/core.mk
+
+
+env_sysroot = DESTDIR=$(XORG_PKG)
+
+
+extra_configure_switches = --libdir=/usr/lib$(LIBSUFFIX)
+extra_configure_switches += --docdir=/usr/share/doc/$(src_dir_name)
+extra_configure_switches += --infodir=/usr/share/info
+extra_configure_switches += --mandir=/usr/share/man
+extra_configure_switches += --disable-dependency-tracking
+extra_configure_switches += --sysconfdir=/etc
+extra_configure_switches += --localstatedir=/var
+
+extra_configure_switches += --with-pam
+
+extra_configure_switches += --with-random-device=/dev/urandom
+extra_configure_switches += --with-utmp-file=/var/log/wtmp
+extra_configure_switches += --with-wtmp-file=/var/run/utmp
+
+extra_configure_switches += --with-xdmlibdir=/etc/X11/xdm
+extra_configure_switches += --with-xdmconfigdir=/etc/X11/xdm
+extra_configure_switches += --with-xdmscriptdir=/etc/X11/xdm
+extra_configure_switches += --with-pixmapdir=/etc/X11/xdm/pixmaps
+
+extra_configure_switches += --disable-xdm-auth
+extra_configure_switches += --disable-static
+
+
+CFLAGS += -Wno-discarded-qualifiers -Wno-shadow -Wno-format-overflow
+CFLAGS += -Wno-format-truncation -Wno-stringop-truncation -Wno-incompatible-pointer-types
+
+TARGET_BIN_RPATH = /lib$(LIBSUFFIX):/usr/lib$(LIBSUFFIX)
+TARGET_LIB_RPATH = /lib$(LIBSUFFIX):/usr/lib$(LIBSUFFIX):/usr/lib/../lib$(LIBSUFFIX)
+
+LDFLAGS += -Wl,-rpath,$(TARGET_BIN_RPATH)
+
+
+####### Dependencies
+
+$(src_done): $(SRC_ARCHIVE) $(PATCHES_DEP)
+ $(UNPACK_SRC_ARCHIVE)
+ $(APPLY_PATCHES)
+ @touch $@
+
+$(build_target): $(src_done)
+ @mkdir -p $(build_dir)
+ @cd $(build_dir) && \
+ $(BUILD_ENVIRONMENT) ../$(src_dir_name)/configure \
+ --prefix=/usr \
+ --build=$(BUILD) \
+ --host=$(TARGET) \
+ $(extra_configure_switches)
+ @cd $(build_dir) && $(BUILD_ENVIRONMENT) $(MAKE)
+ @touch $@
+
+$(install_target): $(build_target)
+ @mkdir -p $(XORG_PKG)
+ @cd $(build_dir) && $(BUILD_ENVIRONMENT) $(MAKE) -j1 install $(env_sysroot)
+ @mkdir -p $(XORG_PKG)/usr/lib$(LIBSUFFIX)/X11
+ @ln -sf ../../../etc/X11/xdm $(XORG_PKG)/usr/lib$(LIBSUFFIX)/X11/xdm
+ @mkdir -p $(XORG_PKG)/var/lib/xdm
+ @chmod 755 $(XORG_PKG)/var/lib/xdm
+ # ======= Install PAM config file =======
+ @mkdir -p $(XORG_PKG)/etc/pam.d
+ @cp -a $(xdm_pam) $(XORG_PKG)/etc/pam.d/xdm
+ @chmod 0644 $(XORG_PKG)/etc/pam.d/xdm
+ # ======= Install Documentation =======
+ @if [ -d $(XORG_PKG)/usr/share/man ]; then \
+ ( cd $(XORG_PKG)/usr/share/man ; \
+ for manpagedir in `find . -type d -name "man*"` ; do \
+ ( cd $$manpagedir ; \
+ for eachpage in `find . -type l -maxdepth 1` ; do \
+ ln -s `readlink $$eachpage`.gz $$eachpage.gz ; \
+ rm $$eachpage ; \
+ done ; \
+ gzip -9 *.? ; \
+ ) \
+ done \
+ ) \
+ fi
+ @mkdir -p $(XORG_PKG)/usr/doc/$(src_dir_name)
+ @cp -a $(SRC_DIR)/AUTHORS $(SRC_DIR)/COPYING \
+ $(XORG_PKG)/usr/doc/$(src_dir_name)
+ @mkdir -p $(XORG_PKG)/usr/share/doc/$(src_dir_name)
+ @( cd $(SRC_DIR) ; \
+ cp -a AUTHORS COPYING INSTALL README.md \
+ $(XORG_PKG)/usr/share/doc/$(src_dir_name) \
+ )
+ @( cd $(XORG_PKG)/usr/share/doc ; \
+ ln -sf $(src_dir_name) $(XORG_PKG_NAME) ; \
+ )
+ @( cd $(SRC_DIR) ; \
+ if [ -r ChangeLog ]; then \
+ DOCSDIR=`echo $(XORG_PKG)/usr/share/doc/$(src_dir_name)` ; \
+ cat ChangeLog | head -n 1000 > $$DOCSDIR/ChangeLog ; \
+ touch -r ChangeLog $$DOCSDIR/ChangeLog ; \
+ fi \
+ )
+ # ======= Install Xsession, Xsetup_0, ... scripts =======
+ @( cd $(XORG_PKG)/etc/X11/xdm ; \
+ mv Xsession $(XORG_PKG)/usr/share/doc/$(src_dir_name)/Xsession.orig ; \
+ mv Xsetup_0 $(XORG_PKG)/usr/share/doc/$(src_dir_name)/Xsetup_0.orig ; \
+ cp -a $(startup_dir)/Xsession $(startup_dir)/Xsetup_0 . ; \
+ chmod 0755 Xsession Xsetup_0 ; \
+ for conffile in Xaccess Xreset Xresources Xservers Xsession Xsetup_0 Xstartup Xwilling \
+ GiveConsole TakeConsole xdm-config ../app-defaults/Chooser ; do \
+ awk "/[^ ]/ { copy=1 }; copy { print }" $(XORG_PKG)/etc/X11/xdm/$${conffile} > $(XORG_PKG)/etc/X11/xdm/$${conffile}.new ; \
+ touch -r $(XORG_PKG)/etc/X11/xdm/$${conffile} $(XORG_PKG)/etc/X11/xdm/$${conffile}.new ; \
+ rm -f $(XORG_PKG)/etc/X11/xdm/$${conffile} ; \
+ done ; \
+ )
+ # ======= remove toolchain path from target libtool *.la files =======
+ @( cd $(XORG_PKG)/etc/X11/xdm ; \
+ sed -i "s,$(TARGET_DEST_DIR),,g" libXdmGreet.la ; \
+ )
+ # ======= Install the same to $(TARGET_DEST_DIR) =======
+ $(call install-into-devenv, $(XORG_PKG))
+ # ======= Strip binaries =======
+ @( cd $(XORG_PKG) ; \
+ find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs $(STRIP) --strip-unneeded 2> /dev/null ; \
+ find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs $(STRIP) --strip-unneeded 2> /dev/null ; \
+ )
+ifneq ($(PATCHELF),)
+ # ======= Set RPATH/RUNPATH for target binaries =======
+ @( cd $(XORG_PKG) ; \
+ for file in `find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs echo` ; do \
+ rpath=`$(PATCHELF) --print-rpath $$file 2> /dev/null` ; \
+ if echo "$$rpath" | grep -q "$(TARGET_DEST_DIR)" ; then \
+ $(PATCHELF) --set-rpath $(TARGET_BIN_RPATH) $$file 1> /dev/null 2> /dev/null ; \
+ fi ; \
+ done ; \
+ )
+ # ======= Set RPATH/RUNPATH for target shared objects =======
+ @( cd $(XORG_PKG) ; \
+ for file in `find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs echo` ; do \
+ rpath=`$(PATCHELF) --print-rpath $$file 2> /dev/null` ; \
+ if echo "$$rpath" | grep -q "$(TARGET_DEST_DIR)" ; then \
+ $(PATCHELF) --set-rpath $(TARGET_LIB_RPATH) $$file 1> /dev/null 2> /dev/null ; \
+ fi ; \
+ done ; \
+ )
+endif
+ @touch $@
+
+$(XORG_PKG_DESCRIPTION_FILE): $(XORG_PKG_DESCRIPTION_FILE_IN)
+ @cat $< | $(SED) -e "s/@VERSION@/$(version)/g" > $@
+
+$(pkg_certificate) : $(pkg_archive) ;
+$(pkg_signature) : $(pkg_archive) ;
+$(pkg_description) : $(pkg_archive) ;
+
+$(pkg_archive): $(install_target) $(XORG_PKG_DESCRIPTION_FILE) $(XORG_PKG_INSTALL_SCRIPT)
+ @cp $(XORG_PKG_DESCRIPTION_FILE) $(XORG_PKG)/.DESCRIPTION
+ @cp $(XORG_PKG_INSTALL_SCRIPT) $(XORG_PKG)/.INSTALL
+ @$(BUILD_PKG_REQUIRES) $(XORG_PKG)/.REQUIRES
+ @echo "pkgname=$(XORG_PKG_NAME)" > $(XORG_PKG)/.PKGINFO ; \
+ echo "pkgver=$(XORG_PKG_VERSION)" >> $(XORG_PKG)/.PKGINFO ; \
+ echo "arch=$(XORG_PKG_ARCH)" >> $(XORG_PKG)/.PKGINFO ; \
+ echo "distroname=$(XORG_PKG_DISTRO_NAME)" >> $(XORG_PKG)/.PKGINFO ; \
+ echo "distrover=$(XORG_PKG_DISTRO_VERSION)" >> $(XORG_PKG)/.PKGINFO ; \
+ echo "group=$(XORG_PKG_GROUP)" >> $(XORG_PKG)/.PKGINFO ; \
+ echo "short_description=\"$(XORG_PKG_SHORT_DESCRIPTION)\"" >> $(XORG_PKG)/.PKGINFO ; \
+ echo "url=$(XORG_PKG_URL)" >> $(XORG_PKG)/.PKGINFO ; \
+ echo "license=$(XORG_PKG_LICENSE)" >> $(XORG_PKG)/.PKGINFO
+ @$(PSEUDO) sh -c "cd $(XORG_PKG) && \
+ chown -R root:root . && \
+ $(MAKE_PACKAGE) -J --linkadd=yes $(GNUPG_OPTIONS) -m -d .. ."
Index: 1.1.14/PATCHES
===================================================================
Index: 1.1.14/pam/xdm.pam
===================================================================
--- 1.1.14/pam/xdm.pam (nonexistent)
+++ 1.1.14/pam/xdm.pam (revision 5)
@@ -0,0 +1,13 @@
+#
+# /etc/pam.d/xdm
+#
+
+auth include system-auth
+account required pam_nologin.so
+account include system-auth
+password include system-auth
+session include system-auth
+session required pam_loginuid.so
+-session optional pam_ck_connector.so
+-session optional pam_elogind.so
+session include postlogin
Index: 1.1.14/pam
===================================================================
--- 1.1.14/pam (nonexistent)
+++ 1.1.14/pam (revision 5)
Property changes on: 1.1.14/pam
___________________________________________________________________
Added: svn:ignore
## -0,0 +1,73 ##
+
+# install dir
+dist
+
+# Target build dirs
+.a1x-newlib
+.a2x-newlib
+.at91sam7s-newlib
+
+.build-machine
+
+.a1x-glibc
+.a2x-glibc
+.h3-glibc
+.h5-glibc
+.i586-glibc
+.i686-glibc
+.imx6-glibc
+.jz47xx-glibc
+.makefile
+.am335x-glibc
+.omap543x-glibc
+.p5600-glibc
+.power8-glibc
+.power8le-glibc
+.power9-glibc
+.power9le-glibc
+.m1000-glibc
+.riscv64-glibc
+.rk328x-glibc
+.rk33xx-glibc
+.rk339x-glibc
+.s8xx-glibc
+.s9xx-glibc
+.x86_64-glibc
+
+# Hidden files (each file)
+.makefile
+.dist
+.rootfs
+
+# src & hw requires
+.src_requires
+.src_requires_depend
+.requires
+.requires_depend
+
+# Tarballs
+*.gz
+*.bz2
+*.lz
+*.xz
+*.tgz
+*.txz
+
+# Signatures
+*.asc
+*.sig
+*.sign
+*.sha1sum
+
+# Patches
+*.patch
+
+# Descriptions
+*.dsc
+*.txt
+
+# Default linux config files
+*.defconfig
+
+# backup copies
+*~
Index: 1.1.14/startup/Xsession
===================================================================
--- 1.1.14/startup/Xsession (nonexistent)
+++ 1.1.14/startup/Xsession (revision 5)
@@ -0,0 +1,190 @@
+#!/bin/sh
+
+# redirect errors to a file in user's home directory if we can
+errfile="$HOME/.xsession-errors"
+if ( umask 077 && cp /dev/null "$errfile" 2> /dev/null )
+then
+ exec > "$errfile" 2>&1
+else
+ mktemp=/usr/bin/mktemp
+ for errfile in "${TMPDIR-/tmp}/xses-$USER" "/tmp/xses-$USER"
+ do
+ if ef="$( umask 077 && $mktemp "$errfile.XXXXXX" 2> /dev/null)"
+ then
+ exec > "$ef" 2>&1
+ mv "$ef" "$errfile" 2> /dev/null
+ break
+ fi
+ done
+fi
+
+userresources=$HOME/.Xresources
+usermodmap=$HOME/.Xmodmap
+sysresources=/etc/X11/xinit/.Xresources
+sysmodmap=/etc/X11/xinit/.Xmodmap
+
+# merge in defaults and keymaps
+
+if [ -r $sysresources ]; then
+ /usr/bin/xrdb -merge $sysresources
+fi
+
+if [ -r $sysmodmap ]; then
+ /usr/bin/xmodmap $sysmodmap
+fi
+
+if [ -r $userresources ]; then
+ /usr/bin/xrdb -merge $userresources
+fi
+
+if [ -r $usermodmap ]; then
+ /usr/bin/xmodmap $usermodmap
+fi
+
+# Since xdm doesn't run a bash -login shell (or any other login shell)
+# we should source these files to set up the user's environment.
+profile=/etc/profile
+userprofile=~/.profile
+
+if [ -r $profile ]; then
+ source $profile 1> /dev/null 2> /dev/null
+fi
+if [ -r $userprofile ]; then
+ source $userprofile 1> /dev/null 2> /dev/null
+fi
+
+# Set the $PATH through the user's preferred shell.
+case `basename "$SHELL"` in
+bash|sh|ash)
+ PATH="`( echo 'echo $PATH' | bash --login ) | tail -1`"
+ ;;
+csh|tcsh)
+ PATH="`( echo 'echo $PATH' | tcsh -l ) | tail -1`"
+ ;;
+ksh)
+ PATH="`( cat /etc/profile ; echo 'echo $PATH' ) | ksh | tail -1`"
+ ;;
+zsh)
+ PATH="`( echo 'echo $PATH' | zsh -l ) | tail -1`"
+ ;;
+*)
+ # We don't know your shell, so we'll set up reasonable defaults.
+ if [ "`whoami`" = "root" ]; then
+ PATH=$PATH:/usr/local/sbin:/sbin:/usr/sbin:/usr/local/bin:/bin:/usr/bin
+ else
+ PATH=$PATH:/usr/local/bin:/bin:/usr/bin
+ fi
+ ;;
+esac
+
+# These files (if they exist) are used to set up the X related environment. We used to
+# exec .xsession at this location, but that can interfere with choosing a session type
+# through XDM/KDM/GDM so it was moved to after a requested session is started. Since
+# that means that .xsession might never be run at all when using XDM/KDM/GDM, support
+# for the xprofile was added to allow a way for the user to customize the X environment.
+if [ -r /etc/xprofile ]; then
+ source /etc/xprofile
+fi
+if [ -r ~/.xprofile ]; then
+ source ~/.xprofile
+fi
+
+# Some people say that an .xsession file should always be given priority, even if a
+# different window manager was requested in $1. If you want that behavior, uncomment
+# the lines below. This is not recommended (nor, in general, is the use of an
+# .xsession file as a default... it should be left for the advanced users).
+#if [ -x $HOME/.xsession ]; then
+# exec $HOME/.xsession $@
+#fi
+
+# If a particular session type was requested in $1, start that session:
+case "$1" in
+failsafe)
+ xsetroot -solid SteelBlue
+ exec xterm -geometry 80x24-0-0
+ ;;
+kde)
+ exec startkde
+ ;;
+gnome)
+ exec gnome-session
+ ;;
+openwin)
+ exec olvwm
+ ;;
+fluxbox)
+ exec fluxbox
+ ;;
+fvwm2)
+ xsetroot -solid SteelBlue
+ exec fvwm2
+ ;;
+fvwm95)
+ xsetroot -solid SteelBlue
+ exec fvwm95
+ ;;
+blackbox)
+ exec blackbox
+ ;;
+xfce)
+ exec /etc/X11/xinit/xinitrc.xfce
+ ;;
+windowmaker)
+ exec /etc/X11/xinit/xinitrc.wmaker
+ ;;
+afterstep)
+ exec afterstep
+ ;;
+enlightenment)
+ exec enlightenment
+ ;;
+twm)
+ #xclock -geometry 50x50-1+1 &
+ #xterm -geometry 80x50+494+51 &
+ #xterm -geometry 80x20+494-0 &
+ #xterm -geometry 80x66+0+0 -name login &
+ xsetroot -solid SteelBlue
+ exec twm
+ ;;
+esac
+
+# If we aren't running from XDM/KDM/GDM and no window manager was
+# specified, then we'll run the user's $HOME/.xsession if it's
+# executable. This must be set up to run the user's window manager.
+if [ -x $HOME/.xsession ]; then
+ exec $HOME/.xsession $@
+fi
+
+# If the user doesn't have their own xsession and none was specified in
+# $1, then run the system default session type:
+if [ -r /etc/X11/xinit/xinitrc ]; then
+ exec /etc/X11/xinit/xinitrc
+fi
+
+# If a $startup variable is set to define the window or session manager,
+# then run that:
+if [ -s "$startup" -a -x "$startup" ]; then
+ exec "$startup"
+else
+ if [ -r "$resources" ]; then
+ /usr/bin/xrdb -load "$resources"
+ fi
+ # Run xsm as a failsafe.
+ exec xsm
+fi
+
+startup=$HOME/.xsession
+resources=$HOME/.Xresources
+
+if [ -s "$startup" ]; then
+ if [ -x "$startup" ]; then
+ exec "$startup"
+ else
+ exec /bin/sh "$startup"
+ fi
+else
+ if [ -r "$resources" ]; then
+ /usr/bin/xrdb -load "$resources"
+ fi
+ exec /usr/bin/xsm
+fi
Index: 1.1.14/startup/Xsetup_0
===================================================================
--- 1.1.14/startup/Xsetup_0 (nonexistent)
+++ 1.1.14/startup/Xsetup_0 (revision 5)
@@ -0,0 +1,17 @@
+#!/bin/sh
+#xconsole -geometry 480x130-0-0 -daemon -notify -verbose -fn fixed -exitOnFail
+
+# Fix backspace problem in login box:
+sysmodmap=/etc/X11/xinit/.Xmodmap
+if [ -f $sysmodmap ]; then
+ /usr/bin/xmodmap $sysmodmap
+fi
+
+# If the nifty KDE background loader is around, use it:
+if [ -x /opt/kde/bin/kdmdesktop ]; then
+ /opt/kde/bin/kdmdesktop
+elif [ -x /usr/bin/kdmdesktop ]; then
+ /usr/bin/kdmdesktop
+else
+ /usr/bin/xsetroot -solid SteelBlue
+fi
Index: 1.1.14/startup
===================================================================
--- 1.1.14/startup (nonexistent)
+++ 1.1.14/startup (revision 5)
Property changes on: 1.1.14/startup
___________________________________________________________________
Added: svn:ignore
## -0,0 +1,73 ##
+
+# install dir
+dist
+
+# Target build dirs
+.a1x-newlib
+.a2x-newlib
+.at91sam7s-newlib
+
+.build-machine
+
+.a1x-glibc
+.a2x-glibc
+.h3-glibc
+.h5-glibc
+.i586-glibc
+.i686-glibc
+.imx6-glibc
+.jz47xx-glibc
+.makefile
+.am335x-glibc
+.omap543x-glibc
+.p5600-glibc
+.power8-glibc
+.power8le-glibc
+.power9-glibc
+.power9le-glibc
+.m1000-glibc
+.riscv64-glibc
+.rk328x-glibc
+.rk33xx-glibc
+.rk339x-glibc
+.s8xx-glibc
+.s9xx-glibc
+.x86_64-glibc
+
+# Hidden files (each file)
+.makefile
+.dist
+.rootfs
+
+# src & hw requires
+.src_requires
+.src_requires_depend
+.requires
+.requires_depend
+
+# Tarballs
+*.gz
+*.bz2
+*.lz
+*.xz
+*.tgz
+*.txz
+
+# Signatures
+*.asc
+*.sig
+*.sign
+*.sha1sum
+
+# Patches
+*.patch
+
+# Descriptions
+*.dsc
+*.txt
+
+# Default linux config files
+*.defconfig
+
+# backup copies
+*~
Index: 1.1.14/xdm-pkg-description.in
===================================================================
--- 1.1.14/xdm-pkg-description.in (nonexistent)
+++ 1.1.14/xdm-pkg-description.in (revision 5)
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in. You must
+# make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':'.
+
+ |-----handy-ruler------------------------------------------------------|
+xdm: xdm @VERSION@ (X11 display manager)
+xdm:
+xdm: xdm is part of X11.
+xdm:
+xdm: For more information about the X.Org Foundation (the providers
+xdm: of the X.Org implementation of the X Window System).
+xdm:
+xdm: See: http://www.x.org
+xdm:
+xdm:
+xdm:
Index: 1.1.14/xdm-pkg-install.sh
===================================================================
--- 1.1.14/xdm-pkg-install.sh (nonexistent)
+++ 1.1.14/xdm-pkg-install.sh (revision 5)
@@ -0,0 +1,56 @@
+#!/bin/sh
+
+# Preserve new files
+install_file() {
+ NEW="$1"
+ OLD="`dirname $NEW`/`basename $NEW .new`"
+ # If there's no file by that name, mv it over:
+ if [ ! -r $OLD ]; then
+ mv $NEW $OLD
+ elif [ "`cat $OLD | md5sum`" = "`cat $NEW | md5sum`" ]; then # toss the redundant copy
+ rm $NEW
+ fi
+ # Otherwise, we leave the .new copy for the admin to consider...
+}
+
+
+# arg 1: the new package version
+pre_install() {
+ /bin/true
+}
+
+# arg 1: the new package version
+post_install() {
+ for conffile in Xaccess Xreset Xresources Xservers Xsession Xsetup_0 Xstartup Xwilling \
+ GiveConsole TakeConsole xdm-config ../app-defaults/Chooser ; do
+ install_file etc/X11/xdm/${conffile}.new
+ done
+}
+
+# arg 1: the new package version
+# arg 2: the old package version
+pre_update() {
+ /bin/true
+}
+
+# arg 1: the new package version
+# arg 2: the old package version
+post_update() {
+ post_install
+}
+
+# arg 1: the old package version
+pre_remove() {
+ /bin/true
+}
+
+# arg 1: the old package version
+post_remove() {
+ /bin/true
+}
+
+
+operation=$1
+shift
+
+$operation $*
Property changes on: 1.1.14/xdm-pkg-install.sh
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: 1.1.14
===================================================================
--- 1.1.14 (nonexistent)
+++ 1.1.14 (revision 5)
Property changes on: 1.1.14
___________________________________________________________________
Added: svn:ignore
## -0,0 +1,73 ##
+
+# install dir
+dist
+
+# Target build dirs
+.a1x-newlib
+.a2x-newlib
+.at91sam7s-newlib
+
+.build-machine
+
+.a1x-glibc
+.a2x-glibc
+.h3-glibc
+.h5-glibc
+.i586-glibc
+.i686-glibc
+.imx6-glibc
+.jz47xx-glibc
+.makefile
+.am335x-glibc
+.omap543x-glibc
+.p5600-glibc
+.power8-glibc
+.power8le-glibc
+.power9-glibc
+.power9le-glibc
+.m1000-glibc
+.riscv64-glibc
+.rk328x-glibc
+.rk33xx-glibc
+.rk339x-glibc
+.s8xx-glibc
+.s9xx-glibc
+.x86_64-glibc
+
+# Hidden files (each file)
+.makefile
+.dist
+.rootfs
+
+# src & hw requires
+.src_requires
+.src_requires_depend
+.requires
+.requires_depend
+
+# Tarballs
+*.gz
+*.bz2
+*.lz
+*.xz
+*.tgz
+*.txz
+
+# Signatures
+*.asc
+*.sig
+*.sign
+*.sha1sum
+
+# Patches
+*.patch
+
+# Descriptions
+*.dsc
+*.txt
+
+# Default linux config files
+*.defconfig
+
+# backup copies
+*~
Index: .
===================================================================
--- . (nonexistent)
+++ . (revision 5)
Property changes on: .
___________________________________________________________________
Added: svn:ignore
## -0,0 +1,73 ##
+
+# install dir
+dist
+
+# Target build dirs
+.a1x-newlib
+.a2x-newlib
+.at91sam7s-newlib
+
+.build-machine
+
+.a1x-glibc
+.a2x-glibc
+.h3-glibc
+.h5-glibc
+.i586-glibc
+.i686-glibc
+.imx6-glibc
+.jz47xx-glibc
+.makefile
+.am335x-glibc
+.omap543x-glibc
+.p5600-glibc
+.power8-glibc
+.power8le-glibc
+.power9-glibc
+.power9le-glibc
+.m1000-glibc
+.riscv64-glibc
+.rk328x-glibc
+.rk33xx-glibc
+.rk339x-glibc
+.s8xx-glibc
+.s9xx-glibc
+.x86_64-glibc
+
+# Hidden files (each file)
+.makefile
+.dist
+.rootfs
+
+# src & hw requires
+.src_requires
+.src_requires_depend
+.requires
+.requires_depend
+
+# Tarballs
+*.gz
+*.bz2
+*.lz
+*.xz
+*.tgz
+*.txz
+
+# Signatures
+*.asc
+*.sig
+*.sign
+*.sha1sum
+
+# Patches
+*.patch
+
+# Descriptions
+*.dsc
+*.txt
+
+# Default linux config files
+*.defconfig
+
+# backup copies
+*~