summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2004-01-11 00:33:03 +0000
committerjlam <jlam@pkgsrc.org>2004-01-11 00:33:03 +0000
commit489bc96215d573f1ec5f53924c09cb8c8b51a84f (patch)
tree130a186742a706e403e71e05df5cf7586e7c8a56 /security
parent012b8a7d9862b204f1516b11473617f4c16274d6 (diff)
downloadpkgsrc-489bc96215d573f1ec5f53924c09cb8c8b51a84f.tar.gz
bl3ify
Diffstat (limited to 'security')
-rw-r--r--security/pam-smbpass/Makefile10
-rw-r--r--security/winbind/Makefile15
2 files changed, 14 insertions, 11 deletions
diff --git a/security/pam-smbpass/Makefile b/security/pam-smbpass/Makefile
index a0ae1395f32..fa99b5f5590 100644
--- a/security/pam-smbpass/Makefile
+++ b/security/pam-smbpass/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2003/07/17 22:53:09 grant Exp $
+# $NetBSD: Makefile,v 1.6 2004/01/11 00:33:03 jlam Exp $
.include "../../net/samba/Makefile.common"
@@ -10,12 +10,11 @@ COMMENT= PAM authentication against a Samba password database
DEPENDS+= {samba>=2.0,ja-samba>=2.0}:../../net/samba
-USE_BUILDLINK2= # defined
+USE_BUILDLINK3= # defined
CONFIGURE_ARGS+= --with-pam
ALL_TARGET= pam_smbpass
-PAMDIR= ${PREFIX}/lib/security
DOCDIR= ${PREFIX}/share/doc/${PKGBASE}
EGDIR= ${PREFIX}/share/examples/${PKGBASE}
@@ -23,12 +22,13 @@ INSTALL_LIBRARY= \
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE}
do-install:
- ${INSTALL_LIBRARY} ${WRKSRC}/bin/pam_smbpass.so ${PAMDIR}
+ ${INSTALL_DATA_DIR} ${PAM_INSTMODULEDIR}
+ ${INSTALL_LIBRARY} ${WRKSRC}/bin/pam_smbpass.so ${PAM_INSTMODULEDIR}
${INSTALL_DATA_DIR} ${DOCDIR} ${EGDIR}
${INSTALL_DATA} ${WRKSRC}/pam_smbpass/README ${DOCDIR}
cd ${WRKSRC}/pam_smbpass/samples; for file in *; do \
${INSTALL_DATA} $${file} ${EGDIR}/$${file}; \
done
-.include "../../security/PAM/buildlink2.mk"
+.include "../../security/PAM/module.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/security/winbind/Makefile b/security/winbind/Makefile
index b9b5acc3bbc..181393a65c9 100644
--- a/security/winbind/Makefile
+++ b/security/winbind/Makefile
@@ -1,10 +1,10 @@
-# $NetBSD: Makefile,v 1.8 2003/11/12 03:39:43 jschauma Exp $
+# $NetBSD: Makefile,v 1.9 2004/01/11 00:33:03 jlam Exp $
PKGNAME= winbind-${SAMBA_DIST_VERS}
PKGREVISION= 1
CATEGORIES= security
-USE_BUILDLINK2= yes
+USE_BUILDLINK3= yes
USE_PKGINSTALL= yes
.include "../../net/samba/Makefile.common"
@@ -13,6 +13,8 @@ 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/samba
CONFIGURE_ARGS+= --with-ssl
@@ -24,9 +26,9 @@ CONFIGURE_ARGS+= --with-winbind
ALL_TARGET= nsswitch
-PAMDIR= ${PREFIX}/lib/security
RCD_SCRIPTS= winbindd
+INSTALLATION_DIRS= bin lib sbin
INSTALL_LIBRARY= \
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE}
@@ -34,10 +36,11 @@ INSTALL_LIBRARY= \
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bin/wbinfo ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/bin/winbindd ${PREFIX}/sbin
- ${INSTALL_LIBRARY} ${WRKSRC}/nsswitch/pam_winbind.so ${PAMDIR}
+ ${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/buildlink2.mk"
-.include "../../security/openssl/buildlink2.mk"
+.include "../../security/PAM/module.mk"
+.include "../../security/openssl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"