blob: 56493178ab27bf2111b8de41bbf8e0cc3ff894fc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
# $NetBSD: Makefile,v 1.11 2004/01/13 20:45:50 jlam Exp $
PKGNAME= winbind-${SAMBA_DIST_VERS}
PKGREVISION= 1
CATEGORIES= security
USE_BUILDLINK3= yes
USE_PKGINSTALL= yes
.include "../../net/samba2/Makefile.common"
MAINTAINER= jlam@NetBSD.org
HOMEPAGE= http://www.samba.org/
COMMENT= Unified logon information between UNIX and Windows NT
CONFLICTS+= samba>=3.0
DEPENDS+= {samba>=2.0,ja-samba>=2.0}:../../net/samba2
CONFIGURE_ARGS+= --with-ssl
CONFIGURE_ARGS+= --with-sslinc=${BUILDLINK_PREFIX.openssl}
CFLAGS+= -I${BUILDLINK_PREFIX.openssl}/include/openssl # ssl.h, err.h
CONFIGURE_ARGS+= --with-pam
CONFIGURE_ARGS+= --with-winbind
ALL_TARGET= nsswitch
RCD_SCRIPTS= winbindd
INSTALLATION_DIRS= bin lib sbin
INSTALL_LIBRARY= \
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE}
# The man pages remain with the samba package.
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bin/wbinfo ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/bin/winbindd ${PREFIX}/sbin
${INSTALL_DATA_DIR} ${PAM_INSTMODULEDIR}
${INSTALL_LIBRARY} ${WRKSRC}/nsswitch/pam_winbind.so ${PAM_INSTMODULEDIR}
${INSTALL_LIBRARY} ${WRKSRC}/nsswitch/libnss_winbind.so ${PREFIX}/lib
.include "../../security/PAM/module.mk"
.include "../../security/openssl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|