/[gentoo-x86]/x11-apps/xdm/xdm-1.1.10-r1.ebuild
Gentoo

Contents of /x11-apps/xdm/xdm-1.1.10-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Fri Feb 11 13:11:36 2011 UTC (3 years, 6 months ago) by hwoarang
Branch: MAIN
Changes since 1.2: +2 -2 lines
Stable on amd64 wrt bug #353487

(Portage version: 2.1.9.39/cvs/Linux x86_64)

1 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/x11-apps/xdm/xdm-1.1.10-r1.ebuild,v 1.2 2011/02/09 13:12:09 phajdan.jr Exp $
4
5 EAPI=3
6
7 inherit multilib xorg-2 pam
8
9 DEFAULTVT="vt7"
10
11 DESCRIPTION="X.Org xdm application"
12
13 KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc x86 ~x86-fbsd"
14 IUSE="ipv6 pam"
15
16 RDEPEND="x11-apps/xrdb
17 x11-libs/libXdmcp
18 x11-libs/libXaw
19 >=x11-apps/xinit-1.0.2-r3
20 x11-libs/libXinerama
21 x11-libs/libXmu
22 x11-libs/libX11
23 x11-libs/libXt
24 x11-apps/sessreg
25 x11-apps/xconsole
26 pam? ( virtual/pam )"
27 DEPEND="${RDEPEND}
28 x11-proto/xineramaproto
29 x11-proto/xproto"
30
31 PATCHES=( "${FILESDIR}"/xwilling-hang.patch )
32
33 pkg_setup() {
34 CONFIGURE_OPTIONS="$(use_enable ipv6)
35 $(use_with pam)
36 --with-default-vt=${DEFAULTVT}
37 --with-xdmconfigdir=/etc/X11/xdm"
38 }
39
40 src_install() {
41 xorg-2_src_install
42 exeinto /usr/$(get_libdir)/X11/xdm
43 doexe "${FILESDIR}"/Xsession || die
44 if use pam; then
45 # Use system-local-login to get pam_loginuid and pam_ck_connector from
46 # pambase. This is required to get active ConsoleKit session since 0.4.2.
47 pamd_mimic system-local-login xdm auth account session
48 fi
49 # Keep /var/lib/xdm. This is where authfiles are stored. See #286350.
50 keepdir /var/lib/xdm
51 }

  ViewVC Help
Powered by ViewVC 1.1.20