Gentoo Archives: gentoo-commits

From: "Chi-Thanh Christopher Nguyen (chithanh)" <chithanh@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in x11-apps/xdm: xdm-1.1.11.ebuild ChangeLog
Date: Sun, 02 Oct 2011 00:40:23
Message-Id: 20111002004013.CFA8A2004B@flycatcher.gentoo.org
1 chithanh 11/10/02 00:40:13
2
3 Modified: ChangeLog
4 Added: xdm-1.1.11.ebuild
5 Log:
6 Version bump, drop obsolete patches.
7
8 (Portage version: 2.2.0_alpha53/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.124 x11-apps/xdm/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-apps/xdm/ChangeLog?rev=1.124&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-apps/xdm/ChangeLog?rev=1.124&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-apps/xdm/ChangeLog?r1=1.123&r2=1.124
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/x11-apps/xdm/ChangeLog,v
20 retrieving revision 1.123
21 retrieving revision 1.124
22 diff -u -r1.123 -r1.124
23 --- ChangeLog 21 Sep 2011 00:30:46 -0000 1.123
24 +++ ChangeLog 2 Oct 2011 00:40:13 -0000 1.124
25 @@ -1,6 +1,12 @@
26 # ChangeLog for x11-apps/xdm
27 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/x11-apps/xdm/ChangeLog,v 1.123 2011/09/21 00:30:46 jer Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/x11-apps/xdm/ChangeLog,v 1.124 2011/10/02 00:40:13 chithanh Exp $
30 +
31 +*xdm-1.1.11 (02 Oct 2011)
32 +
33 + 02 Oct 2011; Chí-Thanh Christopher Nguyễn <chithanh@g.o>
34 + +xdm-1.1.11.ebuild:
35 + Version bump, drop obsolete patches.
36
37 21 Sep 2011; Jeroen Roovers <jer@g.o> xdm-1.1.10-r2.ebuild:
38 Stable for HPPA (bug #380421).
39
40
41
42 1.1 x11-apps/xdm/xdm-1.1.11.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-apps/xdm/xdm-1.1.11.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-apps/xdm/xdm-1.1.11.ebuild?rev=1.1&content-type=text/plain
46
47 Index: xdm-1.1.11.ebuild
48 ===================================================================
49 # Copyright 1999-2011 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/x11-apps/xdm/xdm-1.1.11.ebuild,v 1.1 2011/10/02 00:40:13 chithanh Exp $
52
53 EAPI=3
54
55 inherit multilib xorg-2 pam systemd
56
57 DEFAULTVT="vt7"
58
59 DESCRIPTION="X.Org xdm application"
60
61 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
62 IUSE="ipv6 pam"
63
64 RDEPEND="x11-apps/xrdb
65 x11-libs/libXdmcp
66 x11-libs/libXaw
67 >=x11-apps/xinit-1.0.2-r3
68 x11-libs/libXinerama
69 x11-libs/libXmu
70 x11-libs/libX11
71 x11-libs/libXt
72 x11-apps/sessreg
73 x11-apps/xconsole
74 pam? ( virtual/pam )"
75 DEPEND="${RDEPEND}
76 x11-proto/xineramaproto
77 x11-proto/xproto"
78
79 pkg_setup() {
80 XORG_CONFIGURE_OPTIONS=(
81 $(use_enable ipv6)
82 $(use_with pam)
83 --with-default-vt=${DEFAULTVT}
84 --with-xdmconfigdir=/etc/X11/xdm
85 )
86 }
87
88 src_install() {
89 xorg-2_src_install
90 exeinto /usr/$(get_libdir)/X11/xdm
91 doexe "${FILESDIR}"/Xsession || die
92 if use pam; then
93 # Use system-local-login to get pam_loginuid and pam_ck_connector from
94 # pambase. This is required to get active ConsoleKit session since 0.4.2.
95 pamd_mimic system-local-login xdm auth account session
96 fi
97 # Keep /var/lib/xdm. This is where authfiles are stored. See #286350.
98 keepdir /var/lib/xdm
99
100 systemd_dounit "${FILESDIR}"/xdm.service || die
101 }
102
103 pkg_postinst() {
104 # Mea culpa, feel free to remove that after some time --mgorny.
105 if [[ -L "${ROOT}"/etc/systemd/system/graphical.target.wants/${PN}'@tty7'.service ]]
106 then
107 ebegin "Renaming ${PN}@tty7.service to ${PN}.service"
108 ln -s "${ROOT}"/lib/systemd/system/xdm.service \
109 "${ROOT}"/etc/systemd/system/graphical.target.wants/${PN}.service && \
110 rm -f "${ROOT}"/etc/systemd/system/graphical.target.wants/${PN}'@tty7'.service
111 eend ${?} \
112 "Please try to re-enable xdm.service"
113 fi
114 }