Commit fe78da82 authored by Johannes Matheis's avatar Johannes Matheis Committed by Natanael Copa

testing/xdm: new aport

X Display Manager
http://xorg.freedesktop.org/
parent 2e844011
# Contributor: Johannes Matheis <jomat+alpinebuild@jmt.gr>
# Maintainer: Johannes Matheis <jomat+alpinebuild@jmt.gr>
pkgname=xdm
pkgver=1.1.11
pkgrel=0
pkgdesc="X Display Manager"
url="http://xorg.freedesktop.org/"
arch="all"
license="MIT"
depends=""
depends_dev="linux-pam-dev libxmu-dev libxaw-dev"
makedepends="${depends_dev}"
install=""
subpackages="${pkgname}-doc"
source="
${url}/releases/individual/app/${pkgname}-${pkgver}.tar.bz2
${pkgname}.initd
Xresources.alpinelinux
Xresources.alpinelinux_old
alpinelinux_old_blue_black.xpm
alpinelinux_white_blue.xpm
"
_builddir="${srcdir}"/"${pkgname}"-"${pkgver}"
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--localstatedir=/var \
--enable-ipv6 \
--with-pam \
|| return 1
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
rm -f "$pkgdir"/usr/lib/X11/xdm/*.la
install -D -m755 ../${pkgname}.initd "$pkgdir"/etc/init.d/${pkgname} || return 1
install -D -m644 ../Xresources.alpinelinux "$pkgdir"/usr/lib/X11/${pkgname}/Xresources.alpinelinux || return 1
install -D -m644 ../Xresources.alpinelinux_old "$pkgdir"/usr/lib/X11/${pkgname}/Xresources.alpinelinux_old || return 1
install -D -m644 ../alpinelinux_old_blue_black.xpm "$pkgdir"/usr/lib/X11/${pkgname}/pixmaps/alpinelinux_old_blue_black.xpm || return 1
install -D -m644 ../alpinelinux_white_blue.xpm "$pkgdir"/usr/lib/X11/${pkgname}/pixmaps/alpinelinux_white_blue.xpm || return 1
}
md5sums="64a1af1f7eb69feae12e75d4cc3aaf19 xdm-1.1.11.tar.bz2
f4ce20cccb87ddccf5b4740bc5f6b252 xdm.initd
5b147a19de1f402a3fefa1ec1fbfa0b3 Xresources.alpinelinux
3836d85795131140996387911b522c97 Xresources.alpinelinux_old
eac1a660d7e389768cbc9883f0730281 alpinelinux_old_blue_black.xpm
650ee72b634ff7fb146b7a7652416b5a alpinelinux_white_blue.xpm"
sha256sums="d4da426ddea0124279a3f2e00a26db61944690628ee818a64df9d27352081c47 xdm-1.1.11.tar.bz2
1c26a147a6ec8ef7307a54f8c35d369f0858be3fd961872f35b8f95627a55b00 xdm.initd
d039de78037ab2071cc836620feaf2389179cab706d57787686d8d64faa688b1 Xresources.alpinelinux
6cb7ab36db5d1f5cfa1d11d3ea4a2bcf4f968ba44ebbeb4391dc74d4f110a39e Xresources.alpinelinux_old
fd868f01d1b6e1ca6905e9f35599cc7e6a0e0818b34a47f56819ccee1d8db0d8 alpinelinux_old_blue_black.xpm
848334ce1dfafe22746a57005910ef68641df8cc09bd5ad803048bc22e534feb alpinelinux_white_blue.xpm"
sha512sums="fe6f2b7817c0f7f07a1f5f497edcdfa15b93986fd87f314daa472dac8625327ef46ebbf40d27fe8d4a8a2f8d5af8a01c4438a29356740e0eb350f2bd0c7ec0d5 xdm-1.1.11.tar.bz2
a2c8258b50b3e16ca2aa01a50b96ae056e1e2d6c0189690a9971415292e04884a3e7ceb71b52dea8daa95eb71c08e08425adf448459b8e9750bad92adb077e47 xdm.initd
441ed25037e5210112a3a909e30ae28820aad35616bfa488edc067843edebf328338b86597918ce5451361132abcd82d5aeda2dfe5123fb5796bf2684bd499eb Xresources.alpinelinux
57f7104ffc5a815c1c5905a513f919bd098da389a81a4941ef827e685cb8858f34960cdbf2b11e188b527a259c0a9fbc89c957946ddb4e2e5b000416b23bd7ba Xresources.alpinelinux_old
b55424fd9ea0970fdbecd11c1abecf41cad1a7ede03f38011f666ae4eed2a88def5ac364bdf4ebcac09fa66963ed534e85faff74fcd01e9f040229d999382472 alpinelinux_old_blue_black.xpm
3872c54ad6fd6aa6c893f5f950801ae079bb7b6d375a05ef2262eb244a96ea3e949ab3cd962e005acf957c9ad4d30caee4c3935d7864a196625e8bfed9bc5adf alpinelinux_white_blue.xpm"
Xcursor.theme: whiteglass
xlogin*login.translations: #override \
Ctrl<Key>R: abort-display()\n\
<Key>F1: set-session-argument(failsafe) finish-field()\n\
<Key>Delete: delete-character()\n\
<Key>Left: move-backward-character()\n\
<Key>Right: move-forward-character()\n\
<Key>Home: move-to-begining()\n\
<Key>End: move-to-end()\n\
Ctrl<Key>KP_Enter: set-session-argument(failsafe) finish-field()\n\
<Key>KP_Enter: set-session-argument() finish-field()\n\
Ctrl<Key>Return: set-session-argument(failsafe) finish-field()\n\
<Key>Return: set-session-argument() finish-field()
xlogin*greeting: Welcome to alpinelinux on CLIENTHOST
xlogin*fail: Login incorrect or forbidden by policy
xlogin*greetFont: -misc-fixed-bold-r-normal--13-*-*-*-*-*-*-*
xlogin*font: -misc-fixed-bold-r-normal--13-*-*-*-*-*-*-*
xlogin*promptFont: -misc-fixed-bold-r-normal--13-*-*-*-*-*-*-*
xlogin*failFont: -misc-fixed-bold-r-normal--13-*-*-*-*-*-*-*
#ifdef COLOR
xlogin*borderWidth: 0
xlogin*frameWidth: 0
xlogin*innerFramesWidth: 0
xlogin*shdColor: #0f5173
xlogin*hiColor: #0f5173
xlogin*background: #0181b0
xlogin*foreground: #D9ECF3
xlogin*greetColor: #D9ECF3
xlogin*foreground: #D9ECF3
xlogin*greetColor: #D9ECF3
xlogin*failColor: red
*Foreground: #D9ECF3
#endif
#if PLANES >= 8
xlogin*logoFileName: /usr/lib/X11/xdm/pixmaps/alpinelinux_white_blue.xpm
#endif
xlogin*useShape: true
xlogin*logoPadding: 10
Xcursor.theme: whiteglass
xlogin*login.translations: #override \
Ctrl<Key>R: abort-display()\n\
<Key>F1: set-session-argument(failsafe) finish-field()\n\
<Key>Delete: delete-character()\n\
<Key>Left: move-backward-character()\n\
<Key>Right: move-forward-character()\n\
<Key>Home: move-to-begining()\n\
<Key>End: move-to-end()\n\
Ctrl<Key>KP_Enter: set-session-argument(failsafe) finish-field()\n\
<Key>KP_Enter: set-session-argument() finish-field()\n\
Ctrl<Key>Return: set-session-argument(failsafe) finish-field()\n\
<Key>Return: set-session-argument() finish-field()
xlogin*greeting: Welcome to alpinelinux on CLIENTHOST
xlogin*fail: Login incorrect or forbidden by policy
xlogin*greetFont: -misc-fixed-bold-r-normal--13-*-*-*-*-*-*-*
xlogin*font: -misc-fixed-bold-r-normal--13-*-*-*-*-*-*-*
xlogin*promptFont: -misc-fixed-bold-r-normal--13-*-*-*-*-*-*-*
xlogin*failFont: -misc-fixed-bold-r-normal--13-*-*-*-*-*-*-*
#ifdef COLOR
xlogin*borderWidth: 0
xlogin*frameWidth: 0
xlogin*innerFramesWidth: 0
xlogin*shdColor: black
xlogin*hiColor: black
xlogin*background: black
xlogin*foreground: white
xlogin*greetColor: white
xlogin*foreground: #6f7c91
xlogin*greetColor: #5f8dd3
xlogin*failColor: red
*Foreground: #5f8dd3
#endif
#if PLANES >= 8
xlogin*logoFileName: /usr/lib/X11/xdm/pixmaps/alpinelinux_old_blue_black.xpm
#endif
xlogin*useShape: true
xlogin*logoPadding: 10
This diff is collapsed.
This diff is collapsed.
#!/sbin/runscript
depends() {
needs localmount
}
description="X Display Manager"
command="/usr/bin/xdm"
command_args="-resources /usr/lib/X11/xdm/Xresources.alpinelinux"
pidfile="/var/run/xdm.pid"
# uses the openrc templates for start()/stop()
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment