added xorg-xdm package
This commit is contained in:
parent
be9c79c6b0
commit
301ead7d09
|
@ -0,0 +1,28 @@
|
|||
# Description: X display manager
|
||||
# URL: http://xorg.freedesktop.org
|
||||
# Maintainer: Alexander Zhirov
|
||||
# Depends on: linux-pam xorg-server xorg-xrdb
|
||||
|
||||
name=xorg-xdm
|
||||
version=1.1.14
|
||||
release=1
|
||||
source=(
|
||||
https://www.x.org/releases/individual/app/xdm-$version.tar.xz
|
||||
xdm
|
||||
xdm.pam
|
||||
)
|
||||
|
||||
build() {
|
||||
cd xdm-$version
|
||||
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--with-xdmconfigdir=/etc/X11/xdm \
|
||||
--enable-xdmshell
|
||||
|
||||
make
|
||||
make DESTDIR=$PKG install
|
||||
|
||||
install -D -m 755 $SRC/xdm $PKG/etc/rc.d/xdm
|
||||
install -D -m 755 $SRC/xdm.pam $PKG/etc/pam.d/xdm
|
||||
}
|
|
@ -0,0 +1,23 @@
|
|||
#!/bin/sh
|
||||
#
|
||||
# /etc/rc.d/xdm: start/stop xdm
|
||||
#
|
||||
|
||||
case $1 in
|
||||
start)
|
||||
/usr/bin/xdm
|
||||
;;
|
||||
stop)
|
||||
killall -q /usr/bin/xdm
|
||||
;;
|
||||
restart)
|
||||
$0 stop
|
||||
sleep 2
|
||||
$0 start
|
||||
;;
|
||||
*)
|
||||
echo "usage: $0 [start|stop|restart]"
|
||||
;;
|
||||
esac
|
||||
|
||||
# End of file
|
|
@ -0,0 +1,7 @@
|
|||
#
|
||||
# /etc/pam.d/xdm - xdm service module configuration
|
||||
#
|
||||
|
||||
auth include common-auth
|
||||
|
||||
account include common-account
|
Loading…
Reference in New Issue