summaryrefslogtreecommitdiff
path: root/x11/xdm
diff options
context:
space:
mode:
authortron <tron>2007-08-06 14:56:33 +0000
committertron <tron>2007-08-06 14:56:33 +0000
commit716ac1ad8fc9111d50a36e9719871c0c886c16b3 (patch)
tree35f366319d4958536a02e581f2f6ba0374779717 /x11/xdm
parent12cc635848524950fcf67f5a2f3ef609f689cb94 (diff)
downloadpkgsrc-716ac1ad8fc9111d50a36e9719871c0c886c16b3.tar.gz
Import new "xdm" package:
X Display Manager from modular X.org This package is based on Blair Sadewitz's "xdm" package in "pkgsrc-wip".
Diffstat (limited to 'x11/xdm')
-rw-r--r--x11/xdm/DESCR6
-rw-r--r--x11/xdm/Makefile37
-rw-r--r--x11/xdm/PLIST25
-rw-r--r--x11/xdm/distinfo5
-rw-r--r--x11/xdm/files/xdm.sh21
5 files changed, 94 insertions, 0 deletions
diff --git a/x11/xdm/DESCR b/x11/xdm/DESCR
new file mode 100644
index 00000000000..3b7b1e41ab1
--- /dev/null
+++ b/x11/xdm/DESCR
@@ -0,0 +1,6 @@
+Xdm manages a collection of X displays, which may be on the local host
+or remote servers. The design of xdm was guided by the needs of X ter-
+minals as well as The Open Group standard XDMCP, the X Display Manager
+Control Protocol. Xdm provides services similar to those provided by
+init, getty and login on character terminals: prompting for login name
+and password, authenticating the user, and running a ``session.''
diff --git a/x11/xdm/Makefile b/x11/xdm/Makefile
new file mode 100644
index 00000000000..c1fc88ddb58
--- /dev/null
+++ b/x11/xdm/Makefile
@@ -0,0 +1,37 @@
+# $NetBSD: Makefile,v 1.1.1.1 2007/08/06 14:56:33 tron Exp $
+
+DISTNAME= xdm-1.1.4
+PKGREVISION= 2
+CATEGORIES= x11
+MASTER_SITES= http://xorg.freedesktop.org/releases/individual/app/
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= blair.sadewitz@gmail.com
+HOMEPAGE= http://xorg.freedesktop.org/
+COMMENT= X Display Manager from modular X.org
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+CONFIGURE_ARGS+= --enable-dynamic-greeter
+CONFIGURE_ARGS+= --enable-tcp-transport
+CONFIGURE_ARGS+= --enable-unix-transport
+
+USE_TOOLS+= pkg-config
+GNU_CONFIGURE= yes
+USE_LANGUAGES= c
+USE_LIBTOOL= yes
+
+RCD_SCRIPTS= xdm
+
+.include "../../mk/compiler.mk"
+
+.if !empty(CC_VERSION:Mgcc-[3-4]*)
+CFLAGS+= -fno-strict-aliasing
+.endif
+
+.include "../../x11/libXaw/buildlink3.mk"
+.include "../../x11/libXft/buildlink3.mk"
+.include "../../x11/libXmu/buildlink3.mk"
+.include "../../x11/libXinerama/buildlink3.mk"
+.include "../../mk/pam.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/x11/xdm/PLIST b/x11/xdm/PLIST
new file mode 100644
index 00000000000..f28a38e3962
--- /dev/null
+++ b/x11/xdm/PLIST
@@ -0,0 +1,25 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2007/08/06 14:56:33 tron Exp $
+bin/xdm
+bin/xdmshell
+lib/X11/app-defaults/Chooser
+lib/X11/xdm/GiveConsole
+lib/X11/xdm/TakeConsole
+lib/X11/xdm/Xaccess
+lib/X11/xdm/Xreset
+lib/X11/xdm/Xresources
+lib/X11/xdm/Xservers
+lib/X11/xdm/Xsession
+lib/X11/xdm/Xsetup_0
+lib/X11/xdm/Xstartup
+lib/X11/xdm/Xwilling
+lib/X11/xdm/chooser
+lib/X11/xdm/libXdmGreet.la
+lib/X11/xdm/pixmaps/xorg-bw.xpm
+lib/X11/xdm/pixmaps/xorg.xpm
+lib/X11/xdm/xdm-config
+man/man1/xdm.1
+share/examples/rc.d/xdm
+@dirrm lib/X11/xdm/pixmaps
+@dirrm lib/X11/xdm
+@comment @dirrm lib/X11/app-defaults
+@comment @dirrm lib/X11
diff --git a/x11/xdm/distinfo b/x11/xdm/distinfo
new file mode 100644
index 00000000000..1cbaf1cc058
--- /dev/null
+++ b/x11/xdm/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2007/08/06 14:56:33 tron Exp $
+
+SHA1 (xdm-1.1.4.tar.bz2) = facf81071a4308c63f3dfd897d7f4a755da5b1bd
+RMD160 (xdm-1.1.4.tar.bz2) = 40a13574822349e030310de0729eb0b37c95847a
+Size (xdm-1.1.4.tar.bz2) = 386272 bytes
diff --git a/x11/xdm/files/xdm.sh b/x11/xdm/files/xdm.sh
new file mode 100644
index 00000000000..136008b0a46
--- /dev/null
+++ b/x11/xdm/files/xdm.sh
@@ -0,0 +1,21 @@
+#!/bin/sh
+#
+# $NetBSD: xdm.sh,v 1.1.1.1 2007/08/06 14:56:33 tron Exp $
+#
+
+# PROVIDE: xdm
+# REQUIRE: DAEMON LOGIN wscons
+# KEYWORD: shutdown
+
+$_rc_subr_loaded . /etc/rc.subr
+
+name="xdm"
+rcvar=$name
+xdm_config="/etc/X11/${name}/${name}-config"
+command="@PREFIX@/bin/${name} -config ${xdm_config}"
+pidfile="/var/run/${name}.pid"
+required_files="${xdm_config}"
+extra_commands="reload"
+
+load_rc_config $name
+run_rc_command "$1"