32d8f290c2
under share/examples/rc.d. The variable name already was named RCD_SCRIPTS_EXAMPLEDIR. This is from ideas from Greg Woods and others. Also bumped PKGREVISION for all packages using RCD_SCRIPTS mechanism (as requested by wiz).
47 lines
1.3 KiB
Makefile
47 lines
1.3 KiB
Makefile
# $NetBSD: Makefile,v 1.17 2004/12/28 02:47:49 reed Exp $
|
|
|
|
PKGNAME= winbind-${SAMBA_DIST_VERS}
|
|
PKGREVISION= # empty1
|
|
PKGREVISION= 1
|
|
CATEGORIES= security
|
|
|
|
USE_BUILDLINK3= yes
|
|
USE_PKGINSTALL= yes
|
|
|
|
.include "../../net/samba2/Makefile.common"
|
|
|
|
MAINTAINER= tech-pkg@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
|
|
|
|
BUILD_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"
|