#20 Make pam_oddjob_mkhomedir optional to build and install
Merged by abbra. Opened by salahx.
Unknown source master

Download 20.patch

Fedora has separate oddjob and oddjob-mkhomedir packages. Gentoo, being a source-based distribution, cannot do that easily. Currently oddjob builds the module unconditionally, but the machinery to conditionally build it already exists in the Makefiles. The option just needs to be readded to configure.ac and a bit of Makefile tweaking.

Technically, oddjob-mkhomedir can be used outside of PAM flow as well. I don't really want to limit it only to PAM usage.

Also, Fedora does not ship separate source packages, it does have separate binary package. I understand that in Gentoo you cannot build separate binary packages, you just build one package with a chosen feature set. So may be put PAM module under --with-pam but keep oddjob-mkhomedir in the base set.

rebased onto f5cf1c6556baf7108a6e3a3f34ee5e3f7ae849c5

Ok, if it can be used outside the PAM flow, then only pam_oddjob_mkhomedir.so and its man page needs to be excluded. So I've implemented that.

Pull-Request has been merged by abbra

Thank you, I merged it.

Metadata