Lines 18-45
Link Here
|
18 |
sys-apps/ucspi-tcp" |
18 |
sys-apps/ucspi-tcp" |
19 |
|
19 |
|
20 |
src_compile() { |
20 |
src_compile() { |
21 |
local myconf="--prefix=/usr " |
|
|
22 |
|
23 |
cd ${S} |
21 |
cd ${S} |
24 |
./configure ${myconf} |
22 |
econf ${myconf} |
25 |
emake || die "Compilation failed" |
23 |
emake || die "Compilation failed" |
26 |
} |
24 |
} |
27 |
|
25 |
|
28 |
src_install() { |
26 |
src_install() { |
29 |
einstall || die "Installation failed" |
27 |
einstall || die "Installation failed" |
30 |
|
28 |
|
31 |
|
|
|
32 |
dodoc AUTHORS CHANGELOG FAQ INSTALL COPYING NEWS README* TODO |
29 |
dodoc AUTHORS CHANGELOG FAQ INSTALL COPYING NEWS README* TODO |
33 |
} |
30 |
} |
34 |
|
31 |
|
35 |
pkg_postinst() { |
32 |
pkg_postinst() { |
36 |
|
33 |
enewgroup nofiles |
37 |
groupadd &>/dev/null nofiles |
34 |
enewuser ldapdns -1 /bin/false /nonexistent nofiles |
38 |
|
35 |
enewuser dnslog -1 /bin/false /nonexistent nofiles |
39 |
id &>/dev/null ldapdns || \ |
|
|
40 |
useradd -g nofiles -d /nonexistent -s /bin/false ldapdns |
41 |
id &>/dev/null dnslog || \ |
42 |
useradd -g nofiles -d /nonexistent -s /bin/false dnslog |
43 |
|
36 |
|
44 |
einfo "Read the readme.configure and use ldapdns-conf to setup" |
37 |
einfo "Read the readme.configure and use ldapdns-conf to setup" |
45 |
} |
38 |
} |