Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Jun 2012 07:00:25 GMT
From:      Henry Hu <henry.hu.sh@gmail.com>
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/168841: x11/slim fails to authorize (through kereros) if built without pam support
Message-ID:  <201206210700.q5L70Phe070666@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/168841; it has been noted by GNATS.

From: Henry Hu <henry.hu.sh@gmail.com>
To: bug-followup@freebsd.org, c.kworr@gmail.com, 
	Doug Barton <dougb@freebsd.org>, Gleb Kurtsou <gleb.kurtsou@gmail.com>
Cc:  
Subject: Re: ports/168841: x11/slim fails to authorize (through kereros) if
 built without pam support
Date: Thu, 21 Jun 2012 02:51:25 -0400

 --047d7b339cfb079a3404c2f5f3ac
 Content-Type: text/plain; charset=ISO-8859-1
 
 This patch enables PAM in slim.
 Details:
 * add -DUSE_PAM=yes to cmake args
 * install pam config file for "slim".
 * patch app.cpp to allow rebooting without login
 * modify rc.d script to start after hal. For new X server, this should
 be required to be able to input.
 
 Most of it comes from
 http://www.freebsd.org/cgi/query-pr.cgi?pr=152236, with some changes.
 Thanks to Gleb Kurtsou <gleb.kurtsou@gmail.com>.
 
 I've tested the patch, and I am able to log in. I'm not sure about
 kereros. Please test it.
 
 
 -- 
 Cheers,
 Henry
 
 --047d7b339cfb079a3404c2f5f3ac
 Content-Type: application/octet-stream; name="slim-1.3.3_2.patch"
 Content-Disposition: attachment; filename="slim-1.3.3_2.patch"
 Content-Transfer-Encoding: base64
 X-Attachment-Id: f_h3pgt0kx0
 
 ZGlmZiAtcnVOIC0tZXhjbHVkZT1DVlMgLS1leGNsdWRlPS5zdm4gL3RtcC9jdnN0bXAvcG9ydHMv
 eDExL3NsaW0vTWFrZWZpbGUgL3Vzci9wb3J0cy94MTEvc2xpbS5uZXcvTWFrZWZpbGUKLS0tIC90
 bXAvY3ZzdG1wL3BvcnRzL3gxMS9zbGltL01ha2VmaWxlCTIwMTItMD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JUQvZXRjL3BhbS5kL3NsaW0uZGVmYXVsdCAlRC9ldGMvcGFtLmQvc2xpbTsg
 dGhlbiBybSAtZiAlRC9ldGMvcGFtLmQvc2xpbSA7IGZpCitldGMvcGFtLmQvc2xpbS5kZWZhdWx0
 CitAZXhlYyBpZiBbICEgLWYgJUQvZXRjL3BhbS5kL3NsaW0gXSA7IHRoZW4gY3AgLXAgJUQvJUYg
 JUIvc2xpbTsgZmkKIEBleGVjIC9iaW4vcm0gLWYgJUQvc2hhcmUvbWFuL21hbjEvc2xpbS4xCiBA
 ZXhlYyBybWRpciAiJUQvc2hhcmUvbWFuL21hbjEiIDI+L2Rldi9udWxsIHx8IHRydWUKIEBleGVj
 IHJtZGlyICIlRC9zaGFyZS9tYW4iIDI+L2Rldi9udWxsIHx8IHRydWUK
 --047d7b339cfb079a3404c2f5f3ac--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201206210700.q5L70Phe070666>