diff options
author | jlam <jlam> | 1999-11-16 21:23:03 +0000 |
---|---|---|
committer | jlam <jlam> | 1999-11-16 21:23:03 +0000 |
commit | 519dac1c6f6e58f3dbd46a8460e4b721c5a465ef (patch) | |
tree | ce2e7362fb72c9adfff0b04b9997e58f1a935336 /net/samba | |
parent | 6d8a4eb7b5c293586afc562533642d4d7f46aa58 (diff) | |
download | pkgsrc-519dac1c6f6e58f3dbd46a8460e4b721c5a465ef.tar.gz |
Add example configuration files.
Diffstat (limited to 'net/samba')
-rw-r--r-- | net/samba/Makefile | 10 | ||||
-rw-r--r-- | net/samba/files/smb.conf.sample | 4 | ||||
-rw-r--r-- | net/samba/pkg/PLIST | 56 |
3 files changed, 62 insertions, 8 deletions
diff --git a/net/samba/Makefile b/net/samba/Makefile index 39a6bb0fe24..4c8cf6bce85 100644 --- a/net/samba/Makefile +++ b/net/samba/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.29 1999/11/16 21:01:04 jlam Exp $ +# $NetBSD: Makefile,v 1.30 1999/11/16 21:23:03 jlam Exp $ DISTNAME= samba-2.0.6 WRKSRC= ${WRKDIR}/${DISTNAME}/source @@ -15,7 +15,7 @@ GNU_CONFIGURE= yes .include "../../mk/bsd.prefs.mk" STARTUP_SCRIPT= ${PREFIX}/etc/rc.d/samba.sh.sample -SAMPLE_CONFIG= ${PREFIX}/share/examples/smb.conf.sample +SAMPLE_CONFIG= ${PREFIX}/share/examples/samba/smb.conf.sample SAMBA_LOGDIR= /var/log SAMBA_LOCKDIR= /var/run/samba SAMBA_ETCDIR?= /etc/samba @@ -47,6 +47,12 @@ post-install: ${INSTALL_DATA} $${file} ${PREFIX}/share/doc/samba/textdocs; \ done + ${MKDIR} ${PREFIX}/share/examples/samba + cd ${WRKDIR}/${DISTNAME}/examples; \ + ${CP} -R * ${PREFIX}/share/examples/samba + ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share/examples/samba + ${CHMOD} -R ugo-w ${PREFIX}/share/examples/samba + ${SED} -e "s:__PREFIX__:${PREFIX}:g" \ -e "s:__ECHO__:${ECHO}:g" \ ${FILESDIR}/samba.sh \ diff --git a/net/samba/files/smb.conf.sample b/net/samba/files/smb.conf.sample index e6e262bd47e..8db4eda7e37 100644 --- a/net/samba/files/smb.conf.sample +++ b/net/samba/files/smb.conf.sample @@ -1,3 +1,5 @@ +# $NetBSD: smb.conf.sample,v 1.5 1999/11/16 21:23:05 jlam Exp $ +# # This is the main Samba configuration file. You should read the # smb.conf(5) manual page in order to understand the options listed # here. Samba has a huge number of configurable options (perhaps too @@ -154,7 +156,7 @@ # Un-comment the following to provide a specific roving profile share # the default is to use the user's home directory ;[Profiles] -; path = /usr/local/samba/profiles +; path = __PREFIX__/samba/profiles ; browseable = no ; guest ok = yes diff --git a/net/samba/pkg/PLIST b/net/samba/pkg/PLIST index 5593c4c1471..ffe19dd66b0 100644 --- a/net/samba/pkg/PLIST +++ b/net/samba/pkg/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.13 1999/11/16 21:01:05 jlam Exp $ +@comment $NetBSD: PLIST,v 1.14 1999/11/16 21:23:07 jlam Exp $ bin/addtosmbpass bin/convert_smbpasswd bin/make_printerdef @@ -119,7 +119,41 @@ share/doc/samba/textdocs/Win95.txt share/doc/samba/textdocs/WinNT.txt share/doc/samba/textdocs/cifsntdomain.txt share/doc/samba/textdocs/security_level.txt -share/examples/smb.conf.sample +share/examples/samba/README +share/examples/samba/autofs/README +share/examples/samba/autofs/auto.a +share/examples/samba/dce-dfs/README +share/examples/samba/dce-dfs/smb.conf +share/examples/samba/misc/extra_smbstatus +share/examples/samba/misc/wall.perl +share/examples/samba/printer-accounting/README +share/examples/samba/printer-accounting/acct-all +share/examples/samba/printer-accounting/acct-sum +share/examples/samba/printer-accounting/hp5-redir +share/examples/samba/printer-accounting/lp-acct +share/examples/samba/printer-accounting/printcap +share/examples/samba/printing/smbprint +share/examples/samba/printing/smbprint.sysv +share/examples/samba/simple/README +share/examples/samba/simple/smb.conf +share/examples/samba/smb.conf.default +share/examples/samba/smb.conf.sample +share/examples/samba/svr4-startup/README +share/examples/samba/svr4-startup/samba.server +share/examples/samba/thoralf/smb.conf +share/examples/samba/tridge/README +share/examples/samba/tridge/smb.conf +share/examples/samba/tridge/smb.conf.WinNT +share/examples/samba/tridge/smb.conf.fjall +share/examples/samba/tridge/smb.conf.lapland +share/examples/samba/tridge/smb.conf.vittjokk +share/examples/samba/validchars/msdos70.out +share/examples/samba/validchars/nwdos70.out +share/examples/samba/validchars/readme +share/examples/samba/validchars/validchr.c +share/examples/samba/validchars/validchr.com +share/examples/samba/wins_hook/README +share/examples/samba/wins_hook/dns_update share/swat/help/DOMAIN_MEMBER.html share/swat/help/NT_Security.html share/swat/help/lmhosts.5.html @@ -154,13 +188,25 @@ share/swat/images/status.gif share/swat/images/viewconfig.gif share/swat/include/footer.html share/swat/include/header.html -@dirrm share/doc/samba/textdocs -@dirrm share/doc/samba/faq -@dirrm share/doc/samba +@dirrm share/examples/samba/wins_hook +@dirrm share/examples/samba/validchars +@dirrm share/examples/samba/tridge +@dirrm share/examples/samba/thoralf +@dirrm share/examples/samba/svr4-startup +@dirrm share/examples/samba/simple +@dirrm share/examples/samba/printing +@dirrm share/examples/samba/printer-accounting +@dirrm share/examples/samba/misc +@dirrm share/examples/samba/dce-dfs +@dirrm share/examples/samba/autofs +@dirrm share/examples/samba @dirrm share/swat/images @dirrm share/swat/include @dirrm share/swat/help @dirrm share/swat +@dirrm share/doc/samba/textdocs +@dirrm share/doc/samba/faq +@dirrm share/doc/samba @dirrm lib/codepages @exec mkdir -p ${SAMBA_PRIVATE} ; if [ ! -f ${SAMBA_PRIVATE}/smbpasswd ] ; then chown -R root:wheel ${SAMBA_PRIVATE} ; cat /etc/passwd | %D/bin/mksmbpasswd.sh > ${SAMBA_PRIVATE}/smbpasswd ; chmod 500 ${SAMBA_PRIVATE} ; chmod 600 ${SAMBA_PRIVATE}/smbpasswd ; fi @unexec echo "Warning: If you will *NOT* use this package anymore, please remove ${SAMBA_PRIVATE}/smbpasswd manually." |