summaryrefslogtreecommitdiff
path: root/security/pam-smbpass/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'security/pam-smbpass/Makefile')
-rw-r--r--security/pam-smbpass/Makefile49
1 files changed, 14 insertions, 35 deletions
diff --git a/security/pam-smbpass/Makefile b/security/pam-smbpass/Makefile
index 119f2d71222..cca3306d079 100644
--- a/security/pam-smbpass/Makefile
+++ b/security/pam-smbpass/Makefile
@@ -1,38 +1,17 @@
-# $NetBSD: Makefile,v 1.1.1.1.2.1 2002/07/01 17:45:09 jlam Exp $
-
-DISTNAME= samba-2.2.2
-#
-# The pam-smbpass version number is found in the README file within the
-# Samba sources.
-#
-PKGNAME= pam-smbpass-0.7.5
-CATEGORIES= security
-MASTER_SITES= ftp://ftp.samba.org/pub/samba/ \
- ftp://ring.asahi-net.or.jp/pub/net/samba/ \
- ftp://samba.anu.edu.au/pub/samba/ \
- ftp://de.samba.org/pub/mirror/samba/ \
- ftp://se.samba.org/pub/samba/ \
- ftp://ftp.sunet.se/pub/unix/utilities/samba/
-
-MAINTAINER= jlam@netbsd.org
-COMMENT= PAM authentication against a Samba password database
-
-DEPENDS+= samba>=2.0:../../net/samba
-
-USE_BUILDLINK2= yes
-WRKSRC= ${WRKDIR}/${DISTNAME}/source
-
-USE_LIBTOOL= yes
-LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
-
-SAMBA_ETCDIR?= ${PKG_SYSCONFDIR}/samba
-SAMBA_PRIVATE?= ${SAMBA_ETCDIR}/private
-
-GNU_CONFIGURE= yes
-CONFIGURE_ARGS+= --with-configdir=${SAMBA_ETCDIR}
-CONFIGURE_ARGS+= --with-privatedir=${SAMBA_PRIVATE}
-CONFIGURE_ARGS+= --with-pam_smbpass
-CONFIGURE_ENV+= ac_cv_lib_curses_tgetent=no
+# $NetBSD: Makefile,v 1.1.1.1.2.2 2002/08/25 21:21:10 jlam Exp $
+
+.include "../../net/samba/Makefile.common"
+
+PKGNAME= pam-smbpass-${SAMBA_DIST_VERS}
+CATEGORIES= security
+
+MAINTAINER= jlam@netbsd.org
+COMMENT= PAM authentication against a Samba password database
+
+DEPENDS+= {samba>=2.0,ja-samba>=2.0}:../../net/samba
+
+USE_BUILDLINK2= # defined
+CONFIGURE_ARGS+= --with-pam
ALL_TARGET= pam_smbpass