diff options
author | xtraeme <xtraeme> | 2004-02-17 00:01:26 +0000 |
---|---|---|
committer | xtraeme <xtraeme> | 2004-02-17 00:01:26 +0000 |
commit | ee440429b9af97b73298486886a912fc2f5e4529 (patch) | |
tree | 2c28b62783684c3a86b9d58b0adef90864c07982 /net | |
parent | 09cd3924523c7fa2c3c95e801f29ecabf84254a7 (diff) | |
download | pkgsrc-ee440429b9af97b73298486886a912fc2f5e4529.tar.gz |
Enable smbmount support under Linux.
Diffstat (limited to 'net')
-rw-r--r-- | net/samba/Makefile | 9 | ||||
-rw-r--r-- | net/samba/PLIST | 5 |
2 files changed, 12 insertions, 2 deletions
diff --git a/net/samba/Makefile b/net/samba/Makefile index 9f0a85be06d..e160a661420 100644 --- a/net/samba/Makefile +++ b/net/samba/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.113 2004/02/06 19:04:25 jlam Exp $ +# $NetBSD: Makefile,v 1.114 2004/02/17 00:01:26 xtraeme Exp $ DISTNAME= samba-3.0.1 PKGREVISION= 1 @@ -122,6 +122,13 @@ FILES_SUBST+= PWD_MKDB=${PWD_MKDB:Q} DOCDIR= ${PREFIX}/share/doc/${PKGBASE} EGDIR= ${PREFIX}/share/examples/${PKGBASE} +.if ${OPSYS} == "Linux" +CONFIGURE_ARGS+= --with-smbmount +PLIST_SUBST+= SMBMOUNT= +.else +PLIST_SUBST+= SMBMOUNT="@comment " +.endif + USE_PKGINSTALL= yes CONF_FILES= ${EGDIR}/smb.conf.default ${SAMBA_ETCDIR}/smb.conf SUPPORT_FILES_PERMS= ${EGDIR}/adduser.sh ${SAMBA_ETCDIR}/adduser \ diff --git a/net/samba/PLIST b/net/samba/PLIST index 4c042c3c096..dfe6d198f5a 100644 --- a/net/samba/PLIST +++ b/net/samba/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.14 2004/01/12 03:33:04 jlam Exp $ +@comment $NetBSD: PLIST,v 1.15 2004/02/17 00:01:26 xtraeme Exp $ bin/findsmb bin/net bin/nmblookup @@ -10,11 +10,14 @@ bin/smbcacls bin/smbclient bin/smbcontrol bin/smbcquotas +${SMBMOUNT}bin/smbmnt +${SMBMOUNT}bin/smbmount bin/smbpasswd bin/smbspool bin/smbstatus bin/smbtar bin/smbtree +${SMBMOUNT}bin/smbumount bin/tdbbackup bin/tdbdump bin/testparm |