pam_userdb in the tree

Seems like in the last months I started adding way more packages to the tree than I used to in the past: first the PulseAudio suite, then the mikachan fonts lately, and now sys-auth/pam_userdb.

In truth, this is not exactly a new module, but just an ebuild that comes from sys-libs/pam, and basically it’s the infamous berkdb support I’ve talked of yesterday.

Anyway, I was finally able to cleanup the Linux-PAM ebuild so that it’s not that unreadable, but still retaining most of the improvements done by Martin before he gone away again (a part the Fedora patches, that I don’t really want to apply unless we really need them).

The pam_userdb module is now on its own ebuild, and builds berkdb on its own. The bumping of it should be pretty straightforward, but I don’t think I’ll be bumping it myself. Instead sys-libs/pam can be easily bumped without considering the BerkDB issue anymore 🙂

Now, I just need to find enough time (and motivation) to cleanup the two different berkdb patches applied by the two ebuilds, so that they can be sent upstream and merged there…

Tell me again, why am I doing this?