Add example configuration files.
This commit is contained in:
parent
e105e20f2d
commit
52c7e9035d
3 changed files with 62 additions and 8 deletions
|
@ -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 \
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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."
|
||||
|
|
Loading…
Reference in a new issue