diff options
author | knu <knu@FreeBSD.org> | 2000-08-30 03:54:35 +0800 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2000-08-30 03:54:35 +0800 |
commit | 964cf070798605046f9d8ec6e0f88a993d60e275 (patch) | |
tree | f59a56ae2fbc2559fa732a409e08995d7a4f3fe9 /net/samba | |
parent | df394236d663633a6eb2409263c408f78bb19539 (diff) | |
download | freebsd-ports-gnome-964cf070798605046f9d8ec6e0f88a993d60e275.tar.gz freebsd-ports-gnome-964cf070798605046f9d8ec6e0f88a993d60e275.tar.zst freebsd-ports-gnome-964cf070798605046f9d8ec6e0f88a993d60e275.zip |
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
Diffstat (limited to 'net/samba')
-rw-r--r-- | net/samba/Makefile | 12 | ||||
-rw-r--r-- | net/samba/pkg-plist | 1 |
2 files changed, 10 insertions, 3 deletions
diff --git a/net/samba/Makefile b/net/samba/Makefile index 84e9c9b41bc4..e05234ce55af 100644 --- a/net/samba/Makefile +++ b/net/samba/Makefile @@ -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 diff --git a/net/samba/pkg-plist b/net/samba/pkg-plist index e8e28f5a9c23..56feadef0d63 100644 --- a/net/samba/pkg-plist +++ b/net/samba/pkg-plist @@ -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 |