Lines 4-10
Link Here
|
4 |
|
4 |
|
5 |
EAPI=5 |
5 |
EAPI=5 |
6 |
|
6 |
|
7 |
inherit multilib user |
7 |
inherit multilib-minimal user |
8 |
|
8 |
|
9 |
DESCRIPTION="NSS module for name lookups using LDAP" |
9 |
DESCRIPTION="NSS module for name lookups using LDAP" |
10 |
HOMEPAGE="http://arthurdejong.org/nss-pam-ldapd/" |
10 |
HOMEPAGE="http://arthurdejong.org/nss-pam-ldapd/" |
Lines 29-35
pkg_setup() {
Link Here
|
29 |
enewuser nslcd -1 -1 -1 nslcd |
29 |
enewuser nslcd -1 -1 -1 nslcd |
30 |
} |
30 |
} |
31 |
|
31 |
|
32 |
src_configure() { |
32 |
multilib_src_configure() { |
33 |
# nss libraries always go in /lib on Gentoo |
33 |
# nss libraries always go in /lib on Gentoo |
34 |
myconf=" |
34 |
myconf=" |
35 |
--enable-warnings |
35 |
--enable-warnings |
Lines 50-59
src_configure() {
Link Here
|
50 |
myconf+=" --with-nss-flavour=glibc" |
50 |
myconf+=" --with-nss-flavour=glibc" |
51 |
fi |
51 |
fi |
52 |
|
52 |
|
53 |
econf ${myconf} |
53 |
ECONF_SOURCE="${S}" econf ${myconf} |
54 |
} |
54 |
} |
55 |
|
55 |
|
56 |
src_install() { |
56 |
multilib_src_install() { |
57 |
default |
57 |
default |
58 |
|
58 |
|
59 |
# for socket and pid file (not needed bug 452992) |
59 |
# for socket and pid file (not needed bug 452992) |
Lines 64-70
src_install() {
Link Here
|
64 |
|
64 |
|
65 |
# make an example copy |
65 |
# make an example copy |
66 |
insinto /usr/share/nss-pam-ldapd |
66 |
insinto /usr/share/nss-pam-ldapd |
67 |
doins nslcd.conf |
67 |
doins ${WORKDIR}/${P}/nslcd.conf |
68 |
|
68 |
|
69 |
fperms o-r /etc/nslcd.conf |
69 |
fperms o-r /etc/nslcd.conf |
70 |
} |
70 |
} |