1 |
commit: bb67bc20c711b6048e8d93805e1dd34245b8c7b7 |
2 |
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Apr 4 03:00:34 2022 +0000 |
4 |
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Apr 4 03:00:34 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb67bc20 |
7 |
|
8 |
x11-apps/xdm: Version bump to 1.1.13 |
9 |
|
10 |
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org> |
11 |
|
12 |
x11-apps/xdm/Manifest | 1 + |
13 |
x11-apps/xdm/xdm-1.1.13.ebuild | 82 ++++++++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 83 insertions(+) |
15 |
|
16 |
diff --git a/x11-apps/xdm/Manifest b/x11-apps/xdm/Manifest |
17 |
index 141eede7e334..67078cd5654f 100644 |
18 |
--- a/x11-apps/xdm/Manifest |
19 |
+++ b/x11-apps/xdm/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST xdm-1.1.12.tar.bz2 512074 BLAKE2B a82d124f4b7ce3185d703fca3aade92e86094602aec5343566ba8c91c54b70cdedbaea2fa6fee330d7ed48d9138b04a998aa2dae06db2683bfcce6c7693edc82 SHA512 1a4be0a070ced5db8fda6fc74794c9f9ed0cb37fa440fda6a3a7652aff62dfc3d7ba68b9facf054671ebf0f4db2a0eec29d0aa3716e3407ccd5529bac3553bdb |
22 |
+DIST xdm-1.1.13.tar.xz 418404 BLAKE2B b5e1df5e0fd284b227bac5b07114b7882c34adca8c8f7878350576f865ec0675fc7f8218b5eba24e0ca75895093f9412e838a997562ec99bc8196233354bd7eb SHA512 1c7ba51dc8c6989ff6ede3a3abd06e002903609d4ebd31f06ec39fbfee3a80a690c6180f85c3ab135a0de4623261d92a191d1ca5f733cdb3bd2e7e78977b98e5 |
23 |
|
24 |
diff --git a/x11-apps/xdm/xdm-1.1.13.ebuild b/x11-apps/xdm/xdm-1.1.13.ebuild |
25 |
new file mode 100644 |
26 |
index 000000000000..14ff8b734c55 |
27 |
--- /dev/null |
28 |
+++ b/x11-apps/xdm/xdm-1.1.13.ebuild |
29 |
@@ -0,0 +1,82 @@ |
30 |
+# Copyright 1999-2022 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=8 |
34 |
+ |
35 |
+XORG_EAUTORECONF=yes |
36 |
+XORG_TARBALL_SUFFIX="xz" |
37 |
+inherit xorg-3 pam systemd |
38 |
+ |
39 |
+DEFAULTVT=vt7 |
40 |
+ |
41 |
+DESCRIPTION="X.Org xdm application" |
42 |
+ |
43 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" |
44 |
+IUSE="ipv6 pam systemd truetype xinerama xpm" |
45 |
+ |
46 |
+RDEPEND=" |
47 |
+ x11-apps/sessreg |
48 |
+ x11-apps/xconsole |
49 |
+ x11-apps/xinit |
50 |
+ x11-apps/xrdb |
51 |
+ x11-apps/xsm |
52 |
+ x11-libs/libX11 |
53 |
+ x11-libs/libXaw |
54 |
+ x11-libs/libXdmcp |
55 |
+ x11-libs/libXmu |
56 |
+ x11-libs/libXt |
57 |
+ virtual/libcrypt:= |
58 |
+ pam? ( sys-libs/pam ) |
59 |
+ systemd? ( >=sys-apps/systemd-209 ) |
60 |
+ truetype? ( |
61 |
+ x11-libs/libXrender |
62 |
+ x11-libs/libXft |
63 |
+ ) |
64 |
+ xinerama? ( x11-libs/libXinerama ) |
65 |
+ xpm? ( x11-libs/libXpm ) |
66 |
+ elibc_glibc? ( dev-libs/libbsd )" |
67 |
+DEPEND="${RDEPEND} |
68 |
+ x11-base/xorg-proto" |
69 |
+ |
70 |
+PATCHES=( |
71 |
+ "${FILESDIR}"/xdm-1.1.12-make-xinerama-optional.patch |
72 |
+) |
73 |
+ |
74 |
+src_prepare() { |
75 |
+ sed -i -e 's:^Alias=.*$:Alias=display-manager.service:' \ |
76 |
+ xdm.service.in || die |
77 |
+ |
78 |
+ # Disable XDM-AUTHORIZATION-1 (bug #445662). |
79 |
+ # it causes issue with libreoffice and SDL games (bug #306223). |
80 |
+ sed -i -e '/authorize/a DisplayManager*authName: MIT-MAGIC-COOKIE-1' \ |
81 |
+ config/xdm-config.in || die |
82 |
+ |
83 |
+ xorg-3_src_prepare |
84 |
+} |
85 |
+ |
86 |
+src_configure() { |
87 |
+ local XORG_CONFIGURE_OPTIONS=( |
88 |
+ $(use_enable ipv6) |
89 |
+ $(use_with pam) |
90 |
+ $(use_with systemd systemd-daemon) |
91 |
+ $(use_with truetype xft) |
92 |
+ $(use_with xinerama) |
93 |
+ $(use_enable xpm xpm-logos) |
94 |
+ --with-systemdsystemunitdir="$(systemd_get_systemunitdir)" |
95 |
+ --with-default-vt=${DEFAULTVT} |
96 |
+ --with-xdmconfigdir=/etc/X11/xdm |
97 |
+ ) |
98 |
+ xorg-3_src_configure |
99 |
+} |
100 |
+ |
101 |
+src_install() { |
102 |
+ xorg-3_src_install |
103 |
+ |
104 |
+ exeinto /usr/$(get_libdir)/X11/xdm |
105 |
+ doexe "${FILESDIR}"/Xsession |
106 |
+ |
107 |
+ use pam && pamd_mimic system-local-login xdm auth account session |
108 |
+ |
109 |
+ # Keep /var/lib/xdm. This is where authfiles are stored. See #286350. |
110 |
+ keepdir /var/lib/xdm |
111 |
+} |