diff options
Diffstat (limited to 'x11-misc/wdm')
-rw-r--r-- | x11-misc/wdm/Manifest | 1 | ||||
-rw-r--r-- | x11-misc/wdm/files/wdm-1.28-terminateServer.patch | 12 | ||||
-rw-r--r-- | x11-misc/wdm/files/wdm-include | 6 | ||||
-rw-r--r-- | x11-misc/wdm/files/wdm-include.1 | 6 | ||||
-rw-r--r-- | x11-misc/wdm/metadata.xml | 5 | ||||
-rw-r--r-- | x11-misc/wdm/wdm-1.28-r3.ebuild | 44 |
6 files changed, 74 insertions, 0 deletions
diff --git a/x11-misc/wdm/Manifest b/x11-misc/wdm/Manifest new file mode 100644 index 000000000000..cf73a0fc917a --- /dev/null +++ b/x11-misc/wdm/Manifest @@ -0,0 +1 @@ +DIST wdm-1.28.tar.bz2 381522 SHA256 8a5cde0a4988d557d48bb7470f14f416d0b8ff6e20d7061643e6143f7b2be2c4 diff --git a/x11-misc/wdm/files/wdm-1.28-terminateServer.patch b/x11-misc/wdm/files/wdm-1.28-terminateServer.patch new file mode 100644 index 000000000000..3e167bd818e5 --- /dev/null +++ b/x11-misc/wdm/files/wdm-1.28-terminateServer.patch @@ -0,0 +1,12 @@ +http://bugs.gentoo.org/290034 + +--- configs/wdm-config.in ++++ configs/wdm-config.in +@@ -21,6 +21,7 @@ + DisplayManager*session: @DMDIR@/Xsession + DisplayManager*authComplain: false + DisplayManager*wdmLogin: @exec_prefix@/bin/wdmLogin ++DisplayManager*terminateServer: true + ! + ! display screen background--if not set or set to none, then the + ! background is not set by wdm. diff --git a/x11-misc/wdm/files/wdm-include b/x11-misc/wdm/files/wdm-include new file mode 100644 index 000000000000..d8bf7862f436 --- /dev/null +++ b/x11-misc/wdm/files/wdm-include @@ -0,0 +1,6 @@ +#%PAM-1.0 +auth include system-auth +auth required pam_nologin.so +account include system-auth +password include system-auth +session include system-auth diff --git a/x11-misc/wdm/files/wdm-include.1 b/x11-misc/wdm/files/wdm-include.1 new file mode 100644 index 000000000000..7f4f041b28ac --- /dev/null +++ b/x11-misc/wdm/files/wdm-include.1 @@ -0,0 +1,6 @@ +#%PAM-1.0 +auth required pam_nologin.so +auth include system-auth +account include system-auth +password include system-auth +session include system-auth diff --git a/x11-misc/wdm/metadata.xml b/x11-misc/wdm/metadata.xml new file mode 100644 index 000000000000..731225048652 --- /dev/null +++ b/x11-misc/wdm/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>desktop-misc</herd> +</pkgmetadata> diff --git a/x11-misc/wdm/wdm-1.28-r3.ebuild b/x11-misc/wdm/wdm-1.28-r3.ebuild new file mode 100644 index 000000000000..04b5fce3aa73 --- /dev/null +++ b/x11-misc/wdm/wdm-1.28-r3.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=2 +inherit eutils pam + +DESCRIPTION="WINGs Display Manager" +HOMEPAGE="http://voins.program.ru/wdm/" +SRC_URI="http://voins.program.ru/${PN}/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="alpha amd64 ppc ~ppc64 ~sparc x86" +IUSE="truetype pam selinux" + +COMMON_DEPEND=">=x11-wm/windowmaker-0.70.0 + truetype? ( x11-libs/libXft ) + x11-libs/libXmu + x11-libs/libXt + x11-libs/libXpm + pam? ( virtual/pam )" +DEPEND="${COMMON_DEPEND} + sys-devel/gettext" +RDEPEND="${COMMON_DEPEND} + pam? ( >=sys-auth/pambase-20080219.1 )" + +src_prepare() { + epatch "${FILESDIR}"/${P}-terminateServer.patch +} + +src_configure() { + econf \ + --exec-prefix=/usr \ + --with-wdmdir=/etc/X11/wdm \ + $(use_enable pam) \ + $(use_enable selinux) +} + +src_install() { + emake DESTDIR="${D}" install || die + rm -f "${D}"/etc/pam.d/wdm + pamd_mimic system-local-login wdm auth account password session +} |