Ravenports generated: 10 Feb 2024 22:55
[ravenports.git] / bucket_93 / xdm
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               xdm
4 VERSION=                1.1.14
5 KEYWORDS=               x11
6 VARIANTS=               standard
7 SDESC[standard]=        X.Org display manager (a.k.a. login manager)
8 HOMEPAGE=               https://www.x.org/wiki/
9 CONTACT=                Leonid_Bobrov[goleo@disroot.org]
10
11 DOWNLOAD_GROUPS=        main
12 SITES[main]=            https://www.x.org/releases/individual/app/
13 DISTFILE[1]=            xdm-1.1.14.tar.xz:main
14 DF_INDEX=               1
15 SPKGS[standard]=        single
16
17 OPTIONS_AVAILABLE=      none
18 OPTIONS_STANDARD=       none
19
20 RUN_DEPENDS=            xorg-sessreg:single:standard
21                         xorg-xconsole:single:standard
22                         xorg-xrdb:single:standard
23
24 USES=                   cpe libtool pkgconfig
25 XORG_COMPONENTS=        x11 xau xaw xmu xorgproto xdmcp xext xinerama xpm xt
26
27 CPE_PRODUCT=            x_display_manager
28 CPE_VENDOR=             x
29 FPC_EQUIVALENT=         x11/xdm
30
31 MUST_CONFIGURE=         gnu
32 CONFIGURE_ARGS=         --with-xdmconfigdir={{PREFIX}}/etc/X11/xdm
33                         --with-xdmscriptdir={{PREFIX}}/etc/X11/xdm
34                         --with-pixmapdir={{PREFIX}}/share/pixmaps
35                         --with-authdir=/var/db/xdm
36                         --disable-xdm-auth
37
38 INSTALL_TARGET=         install-strip
39
40 post-install:
41         ${MKDIR} ${STAGEDIR}/var/db/xdm
42 .for f in GiveConsole TakeConsole Xaccess Xreset Xresources Xservers Xsession Xsetup_0 Xstartup Xwilling xdm-config
43         ${MV} ${STAGEDIR}${PREFIX}/etc/X11/xdm/${f} \
44                 ${STAGEDIR}${PREFIX}/etc/X11/xdm/${f}.sample
45 .endfor
46
47 [FILE:420:descriptions/desc.single]
48 Xdm manages a collection of X displays, which may be on the local host or 
49 remote servers. The design of xdm was guided by the needs of X terminals 
50 as well as The Open Group standard XDMCP, the X Display Manager Control 
51 Protocol. Xdm provides services similar to those provided by init, getty 
52 and login on character terminals: prompting for login name and password, 
53 authenticating the user, and running a "session."
54
55
56 [FILE:96:distinfo]
57 3e9bf25636797ec9e595286dd6820ecc33901439f07705eaf608ecda012c3d5f       419324 xdm-1.1.14.tar.xz
58
59
60 [FILE:612:manifests/plist.single]
61 @sample etc/X11/xdm/GiveConsole.sample
62 @sample etc/X11/xdm/TakeConsole.sample
63 @sample etc/X11/xdm/Xaccess.sample
64 @sample etc/X11/xdm/Xreset.sample
65 @sample etc/X11/xdm/Xresources.sample
66 @sample etc/X11/xdm/Xservers.sample
67 @sample etc/X11/xdm/Xsession.sample
68 @sample etc/X11/xdm/Xsetup_0.sample
69 @sample etc/X11/xdm/Xstartup.sample
70 @sample etc/X11/xdm/Xwilling.sample
71 @sample etc/X11/xdm/xdm-config.sample
72 bin/xdm
73 lib/X11/xdm/
74  chooser
75  libXdmGreet.so
76 share/X11/app-defaults/Chooser
77 share/man/man8/xdm.8.gz
78 share/pixmaps/
79  xorg-bw.xpm
80  xorg.xpm
81 @dir /var/db/xdm
82 @postunexec rm -rf /var/db/xdm/* 2>/dev/null || true
83
84
85 [FILE:418:patches/patch-config_Xresources.in]
86 --- config/Xresources.in.orig   2022-12-03 21:38:28 UTC
87 +++ config/Xresources.in
88 @@ -59,9 +59,9 @@ xlogin*hiColor: black
89  XHASHendif
90  #ifdef XPM
91  XHASHif PLANES >= 8
92 -xlogin*logoFileName: BITMAPDIR/**//XDM_PIXMAP
93 +xlogin*logoFileName: BITMAPDIR/XDM_PIXMAP
94  XHASHelse
95 -xlogin*logoFileName: BITMAPDIR/**//XDM_BWPIXMAP
96 +xlogin*logoFileName: BITMAPDIR/XDM_BWPIXMAP
97  XHASHendif
98  xlogin*useShape: true
99  xlogin*logoPadding: 10
100
101
102 [FILE:398:patches/patch-config_xdm-config.in]
103 --- config/xdm-config.in.orig   2022-12-03 21:38:28 UTC
104 +++ config/xdm-config.in
105 @@ -25,6 +25,7 @@ DisplayManager*authComplain:  true
106  DisplayManager._0.setup:       XDMSCRIPTDIR/Xsetup_0
107  DisplayManager._0.startup:     XDMSCRIPTDIR/GiveConsole
108  DisplayManager._0.reset:       XDMSCRIPTDIR/TakeConsole
109 +DisplayManager.*.authName:     MIT-MAGIC-COOKIE-1
110  #ifdef XPM
111  DisplayManager*loginmoveInterval:      10
112  #endif /* XPM */
113
114
115 [FILE:290:patches/patch-greeter-greet.c]
116 --- greeter/greet.c.orig        2022-12-03 21:38:28 UTC
117 +++ greeter/greet.c
118 @@ -639,6 +639,7 @@ greet_user_rtn GreetUser(
119      }
120      DeleteXloginResources (d, *dpy);
121      CloseGreet (d);
122 +    login = NULL;
123      Debug ("Greet loop finished\n");
124      /*
125       * Run system-wide initialization file
126
127
128 [FILE:818:patches/patch-xdm_session.c]
129 --- xdm/session.c.orig  2022-12-03 21:38:28 UTC
130 +++ xdm/session.c
131 @@ -590,6 +590,7 @@ StartClient (
132      pid_t      pid;
133  #ifdef HAVE_SETUSERCONTEXT
134      struct passwd* pwd;
135 +    extern char **environ;
136  #endif
137  #ifdef USE_PAM
138      pam_handle_t *pamh = thepamh ();
139 @@ -674,6 +675,8 @@ StartClient (
140          * Set the user's credentials: uid, gid, groups,
141          * environment variables, resource limits, and umask.
142          */
143 +       /* destroy user environment before calling setusercontext */
144 +       environ = verify->userEnviron;
145         pwd = getpwnam(name);
146         if (pwd) {
147             if (setusercontext(NULL, pwd, pwd->pw_uid, LOGIN_SETALL) < 0) {
148 @@ -681,6 +684,7 @@ StartClient (
149                           name, _SysErrorMsg (errno));
150                 return (0);
151             }
152 +           verify->userEnviron = environ;
153             endpwent();
154         } else {
155             LogError ("getpwnam for \"%s\" failed: %s\n",
156