|
Lines 49-54
Link Here
|
| 49 |
|
49 |
|
| 50 |
SBINPROGS="" |
50 |
SBINPROGS="" |
| 51 |
BINPROGS="" |
51 |
BINPROGS="" |
|
|
52 |
KRBPLUGIN="" |
| 53 |
PLUGINEXT=".so" |
| 52 |
|
54 |
|
| 53 |
if use server ; then |
55 |
if use server ; then |
| 54 |
SBINPROGS="${SBINPROGS} bin/smbd bin/nmbd" |
56 |
SBINPROGS="${SBINPROGS} bin/smbd bin/nmbd" |
|
Lines 57-63
Link Here
|
| 57 |
|
59 |
|
| 58 |
use swat && SBINPROGS="${SBINPROGS} bin/swat" |
60 |
use swat && SBINPROGS="${SBINPROGS} bin/swat" |
| 59 |
use winbind && SBINPROGS="${SBINPROGS} bin/winbindd" |
61 |
use winbind && SBINPROGS="${SBINPROGS} bin/winbindd" |
| 60 |
use ads && use winbind && SBINPROGS="${SBINPROGS} bin/winbind_krb5_locator" |
62 |
use ads && use winbind && KRBPLUGIN="${KRBPLUGIN} bin/winbind_krb5_locator" |
| 61 |
fi |
63 |
fi |
| 62 |
|
64 |
|
| 63 |
if use client ; then |
65 |
if use client ; then |
|
Lines 213-219
Link Here
|
| 213 |
einfo "make sbinprogs" |
215 |
einfo "make sbinprogs" |
| 214 |
emake ${SBINPROGS} || die "emake sbinprogs failed"; |
216 |
emake ${SBINPROGS} || die "emake sbinprogs failed"; |
| 215 |
fi |
217 |
fi |
| 216 |
|
218 |
if [ -n "${KRBPLUGIN}" ] ; then |
|
|
219 |
einfo "make krbplugin" |
| 220 |
emake ${KRBPLUGIN}${PLUGINEXT} || die "emake krbplugin failed"; |
| 221 |
fi |
| 217 |
if use client ; then |
222 |
if use client ; then |
| 218 |
einfo "make {,u}mount.cifs" |
223 |
einfo "make {,u}mount.cifs" |
| 219 |
emake bin/{,u}mount.cifs || die "emake {,u}mount.cifs failed" |
224 |
emake bin/{,u}mount.cifs || die "emake {,u}mount.cifs failed" |
|
Lines 277-282
Link Here
|
| 277 |
doman ../docs/manpages/${prog/bin\/}* || die "doman failed" |
282 |
doman ../docs/manpages/${prog/bin\/}* || die "doman failed" |
| 278 |
done |
283 |
done |
| 279 |
|
284 |
|
|
|
285 |
# install krbplugin |
| 286 |
if has_version app-crypt/mit-krb5 ; then |
| 287 |
insinto /usr/lib/krb5/plugins/libkrb5 |
| 288 |
doins ${KRBPLUGIN}${PLUGINEXT} || die "installing ${KRBPLUGIN}${PLUGINEXT} failed" |
| 289 |
elif has_version app-crypt/heimdal ; then |
| 290 |
insinto /usr/lib/plugin/krb5 |
| 291 |
doins ${KRBPLUGIN}${PLUGINEXT} || die "installing ${KRBPLUGIN}${PLUGINEXT} failed" |
| 292 |
fi |
| 293 |
insinto /usr |
| 294 |
for prog in ${KRBPLUGIN} ; do |
| 295 |
doman ../docs/manpages/${prog/bin\/}* || die "doman failed" |
| 296 |
done |
| 297 |
|
| 298 |
|
| 280 |
# install server components |
299 |
# install server components |
| 281 |
if use server ; then |
300 |
if use server ; then |
| 282 |
doman ../docs/manpages/vfs* ../docs/manpages/samba.7 |
301 |
doman ../docs/manpages/vfs* ../docs/manpages/samba.7 |