Add a few entries that were missed out of MAN1 and MAN8.
Submitted by: bento Add a trick to generate PLIST which removes ${PREFIX}/private/smbpasswd, on PACKAGE_BUILDING. Submitted by: bento Obtained from: japanese/samba
This commit is contained in:
parent
9bdf98646e
commit
8bb357038e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=32110
6 changed files with 30 additions and 9 deletions
|
@ -42,10 +42,11 @@ CONFIGURE_ARGS+=--with-krb5=${KRB5_HOME}
|
|||
WRKSRC= ${WRKDIR}/${DISTNAME}/source
|
||||
|
||||
MAN1= nmblookup.1 smbstatus.1 smbclient.1 smbrun.1 smbtar.1 \
|
||||
testparm.1 testprns.1 make_smbcodepage.1 smbsh.1
|
||||
testparm.1 testprns.1 make_smbcodepage.1 smbsh.1 \
|
||||
make_unicodemap.1
|
||||
MAN5= smb.conf.5 smbpasswd.5 lmhosts.5
|
||||
MAN7= samba.7
|
||||
MAN8= smbd.8 nmbd.8 smbpasswd.8 swat.8 \
|
||||
MAN8= smbd.8 nmbd.8 smbpasswd.8 swat.8 smbspool.8 \
|
||||
smbmount.8 smbumount.8 smbmnt.8
|
||||
|
||||
post-install:
|
||||
|
@ -77,6 +78,13 @@ post-install:
|
|||
${CHMOD} 500 ${SAMBA_PRIVATE}
|
||||
${CHOWN} root.wheel ${PREFIX}/bin/smbpasswd
|
||||
${CHMOD} 111 ${PREFIX}/bin/smbpasswd
|
||||
.if defined(PACKAGE_BUILDING)
|
||||
${ECHO} "private/smbpasswd" >> ${TMPPLIST}
|
||||
${ECHO} "@dirrm private" >> ${TMPPLIST}
|
||||
.else
|
||||
${ECHO} "@unexec echo \"Warning: If you will *NOT* use this package anymore, please remove %D/private/smbpasswd manually.\"" >> ${TMPPLIST}
|
||||
.endif
|
||||
|
||||
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${PREFIX}/share/doc/samba
|
||||
|
|
|
@ -437,5 +437,4 @@ share/swat/using_samba/gifs/txtpreva.gif
|
|||
@exec mkdir %D/private ; if [ ! -f %D/private/smbpasswd ] ; then chown -R root.wheel %D/private ; cat /etc/passwd | %D/bin/make_smbpasswd > %D/private/smbpasswd ; chmod 500 %D/private ; chmod 600 %D/private/smbpasswd ; fi
|
||||
@exec mkdir -p /var/spool/samba ; chmod 1777 /var/spool/samba
|
||||
@exec cat %D/share/doc/samba/README.FreeBSD
|
||||
@unexec echo "Warning: If you will *NOT* use this package anymore, please remove %D/private/smbpasswd manually."
|
||||
@unexec rm -rf /var/spool/samba
|
||||
|
|
|
@ -42,10 +42,11 @@ CONFIGURE_ARGS+=--with-krb5=${KRB5_HOME}
|
|||
WRKSRC= ${WRKDIR}/${DISTNAME}/source
|
||||
|
||||
MAN1= nmblookup.1 smbstatus.1 smbclient.1 smbrun.1 smbtar.1 \
|
||||
testparm.1 testprns.1 make_smbcodepage.1 smbsh.1
|
||||
testparm.1 testprns.1 make_smbcodepage.1 smbsh.1 \
|
||||
make_unicodemap.1
|
||||
MAN5= smb.conf.5 smbpasswd.5 lmhosts.5
|
||||
MAN7= samba.7
|
||||
MAN8= smbd.8 nmbd.8 smbpasswd.8 swat.8 \
|
||||
MAN8= smbd.8 nmbd.8 smbpasswd.8 swat.8 smbspool.8 \
|
||||
smbmount.8 smbumount.8 smbmnt.8
|
||||
|
||||
post-install:
|
||||
|
@ -77,6 +78,13 @@ post-install:
|
|||
${CHMOD} 500 ${SAMBA_PRIVATE}
|
||||
${CHOWN} root.wheel ${PREFIX}/bin/smbpasswd
|
||||
${CHMOD} 111 ${PREFIX}/bin/smbpasswd
|
||||
.if defined(PACKAGE_BUILDING)
|
||||
${ECHO} "private/smbpasswd" >> ${TMPPLIST}
|
||||
${ECHO} "@dirrm private" >> ${TMPPLIST}
|
||||
.else
|
||||
${ECHO} "@unexec echo \"Warning: If you will *NOT* use this package anymore, please remove %D/private/smbpasswd manually.\"" >> ${TMPPLIST}
|
||||
.endif
|
||||
|
||||
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${PREFIX}/share/doc/samba
|
||||
|
|
|
@ -437,5 +437,4 @@ share/swat/using_samba/gifs/txtpreva.gif
|
|||
@exec mkdir %D/private ; if [ ! -f %D/private/smbpasswd ] ; then chown -R root.wheel %D/private ; cat /etc/passwd | %D/bin/make_smbpasswd > %D/private/smbpasswd ; chmod 500 %D/private ; chmod 600 %D/private/smbpasswd ; fi
|
||||
@exec mkdir -p /var/spool/samba ; chmod 1777 /var/spool/samba
|
||||
@exec cat %D/share/doc/samba/README.FreeBSD
|
||||
@unexec echo "Warning: If you will *NOT* use this package anymore, please remove %D/private/smbpasswd manually."
|
||||
@unexec rm -rf /var/spool/samba
|
||||
|
|
|
@ -42,10 +42,11 @@ CONFIGURE_ARGS+=--with-krb5=${KRB5_HOME}
|
|||
WRKSRC= ${WRKDIR}/${DISTNAME}/source
|
||||
|
||||
MAN1= nmblookup.1 smbstatus.1 smbclient.1 smbrun.1 smbtar.1 \
|
||||
testparm.1 testprns.1 make_smbcodepage.1 smbsh.1
|
||||
testparm.1 testprns.1 make_smbcodepage.1 smbsh.1 \
|
||||
make_unicodemap.1
|
||||
MAN5= smb.conf.5 smbpasswd.5 lmhosts.5
|
||||
MAN7= samba.7
|
||||
MAN8= smbd.8 nmbd.8 smbpasswd.8 swat.8 \
|
||||
MAN8= smbd.8 nmbd.8 smbpasswd.8 swat.8 smbspool.8 \
|
||||
smbmount.8 smbumount.8 smbmnt.8
|
||||
|
||||
post-install:
|
||||
|
@ -77,6 +78,13 @@ post-install:
|
|||
${CHMOD} 500 ${SAMBA_PRIVATE}
|
||||
${CHOWN} root.wheel ${PREFIX}/bin/smbpasswd
|
||||
${CHMOD} 111 ${PREFIX}/bin/smbpasswd
|
||||
.if defined(PACKAGE_BUILDING)
|
||||
${ECHO} "private/smbpasswd" >> ${TMPPLIST}
|
||||
${ECHO} "@dirrm private" >> ${TMPPLIST}
|
||||
.else
|
||||
${ECHO} "@unexec echo \"Warning: If you will *NOT* use this package anymore, please remove %D/private/smbpasswd manually.\"" >> ${TMPPLIST}
|
||||
.endif
|
||||
|
||||
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${PREFIX}/share/doc/samba
|
||||
|
|
|
@ -437,5 +437,4 @@ share/swat/using_samba/gifs/txtpreva.gif
|
|||
@exec mkdir %D/private ; if [ ! -f %D/private/smbpasswd ] ; then chown -R root.wheel %D/private ; cat /etc/passwd | %D/bin/make_smbpasswd > %D/private/smbpasswd ; chmod 500 %D/private ; chmod 600 %D/private/smbpasswd ; fi
|
||||
@exec mkdir -p /var/spool/samba ; chmod 1777 /var/spool/samba
|
||||
@exec cat %D/share/doc/samba/README.FreeBSD
|
||||
@unexec echo "Warning: If you will *NOT* use this package anymore, please remove %D/private/smbpasswd manually."
|
||||
@unexec rm -rf /var/spool/samba
|
||||
|
|
Loading…
Reference in a new issue