Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Buildroot and linux-pam?
@ 2012-05-16 10:32 Dmitry Golubovsky
  2012-05-16 11:52 ` Thomas Petazzoni
  2012-05-16 12:55 ` Dmitry Golubovsky
  0 siblings, 2 replies; 6+ messages in thread
From: Dmitry Golubovsky @ 2012-05-16 10:32 UTC (permalink / raw)
  To: buildroot

Hi,

It looks like linux-pam was never included in Buildroot, and there are
few packages* where use of pam was explicitly disabled.

I managed to compile it with Buildroot though [1] with a number of
hacks and workarounds. I tested it (at least pam_exec) with Qingy as a
login program.

If I provide a better quality patch, will linux-pam be accepted? If
yes, will there be any objections to (conditionally) enabling pam at
least in systemd?

I am interested in both for my buildroot-based project which needs an
authrntication facility. If for some reason linux-pam cannot be
accepted, I'll keep this stuff as part of my project outside the
buildroot tree.

Please let me know your opinion, or any suggestions how to improve the
Makefile (apart from obvious cleanups).

Thanks.

----------------------------
* $ egrep -lr '(without|disable)-pam' package/
package/netatalk/netatalk.mk
package/systemd/systemd.mk
package/sudo/sudo.mk

[1] http://pastebin.com/jUWfXCMY (this code has not been cleaned up)

-- 
Dmitry Golubovsky

Anywhere on the Web

^ permalink raw reply	[flat|nested] 6+ messages in thread
* [Buildroot] Buildroot and linux-pam?
@ 2012-05-23 19:30 D M
  0 siblings, 0 replies; 6+ messages in thread
From: D M @ 2012-05-23 19:30 UTC (permalink / raw)
  To: buildroot

With regards to Dmitry's linux-pam paste-bin: we added linux-pam to our project, where
we use a CodeSourcery toolchain. ?We did not have to manually massage the config output
to get things to work, nor did we have to feed in the -lintl or -lfl. ?However, we did have
to add LINUX_PAM_AUTORECONF set to YES.  Otherwise, the compile eventually fails. ?
I was wondering if the LINUX_PAM_DISABLE_INNETGR?fixup could be avoided by doing?the reconfigure ...

Danomi -
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20120523/d5c7d3d5/attachment.html>

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-05-23 19:30 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-16 10:32 [Buildroot] Buildroot and linux-pam? Dmitry Golubovsky
2012-05-16 11:52 ` Thomas Petazzoni
2012-05-16 12:55 ` Dmitry Golubovsky
2012-05-23 14:33   ` Shawn Ferris
2012-05-23 14:58     ` Shawn Ferris
  -- strict thread matches above, loose matches on Subject: below --
2012-05-23 19:30 D M

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox