diff options
author | kleink <kleink@pkgsrc.org> | 1999-01-09 20:49:26 +0000 |
---|---|---|
committer | kleink <kleink@pkgsrc.org> | 1999-01-09 20:49:26 +0000 |
commit | bf237c0e31e04294c4ba67e152632c693129d0fc (patch) | |
tree | 05da6f8ab664235e90139c74a588410307f679b6 /net | |
parent | 9eff042734e62770d63efdee33d23b310692fc84 (diff) | |
download | pkgsrc-bf237c0e31e04294c4ba67e152632c693129d0fc.tar.gz |
Get rid of obsolete chown(8) operand usage.
Diffstat (limited to 'net')
-rw-r--r-- | net/samba/Makefile | 6 | ||||
-rw-r--r-- | net/samba/pkg/PLIST | 4 | ||||
-rw-r--r-- | net/samba2/Makefile | 6 | ||||
-rw-r--r-- | net/samba2/pkg/PLIST | 4 |
4 files changed, 10 insertions, 10 deletions
diff --git a/net/samba/Makefile b/net/samba/Makefile index e437df992c9..1c78ba9b802 100644 --- a/net/samba/Makefile +++ b/net/samba/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.17 1998/11/27 13:45:20 drochner Exp $ +# $NetBSD: Makefile,v 1.18 1999/01/09 20:49:27 kleink Exp $ # FreeBSD Id: Makefile,v 1.1.1.1 1997/10/23 15:17:43 max Exp # @@ -47,7 +47,7 @@ post-install: ${ECHO} ' $$nmbd -D' >> ${STARTUP_SCRIPT}; \ ${ECHO} "fi" >> ${STARTUP_SCRIPT}; \ chmod 755 ${STARTUP_SCRIPT}; \ - chown bin.bin ${STARTUP_SCRIPT}; + chown bin:bin ${STARTUP_SCRIPT}; @if [ ! -f ${SAMPLE_CONFIG} ]; then \ ${SED} -e 's:__LOGDIR__:${SAMBA_LOGDIR}:g' \ -e 's:__SAMBA_LOCKDIR__:${SAMBA_LOCKDIR}:g' \ @@ -57,7 +57,7 @@ post-install: ${INSTALL_SCRIPT} ${WRKSRC}/mksmbpasswd.sh ${PREFIX}/bin if [ ! -d ${SAMBA_PRIVATE} ] ; then \ ${MKDIR} ${SAMBA_PRIVATE} ; \ - chown root.wheel ${SAMBA_PRIVATE} ; \ + chown root:wheel ${SAMBA_PRIVATE} ; \ chmod 700 ${SAMBA_PRIVATE} ; \ fi if [ ! -f ${SAMBA_PRIVATE}/smbpasswd ] ; then \ diff --git a/net/samba/pkg/PLIST b/net/samba/pkg/PLIST index c54bf22a9aa..84cf29d1f37 100644 --- a/net/samba/pkg/PLIST +++ b/net/samba/pkg/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.8 1998/09/24 09:00:30 bouyer Exp $ +@comment $NetBSD: PLIST,v 1.9 1999/01/09 20:49:27 kleink Exp $ bin/smbclient bin/testparm bin/testprns @@ -103,5 +103,5 @@ etc/smb.conf.sample @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 +@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." diff --git a/net/samba2/Makefile b/net/samba2/Makefile index 04fb85cc901..4d0bb7eb82d 100644 --- a/net/samba2/Makefile +++ b/net/samba2/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 1998/12/17 12:42:07 bouyer Exp $ +# $NetBSD: Makefile,v 1.4 1999/01/09 20:49:27 kleink Exp $ DISTNAME= samba-2.0.0beta4 CATEGORIES= net @@ -53,7 +53,7 @@ post-install: ${ECHO} ' $$nmbd -D' >> ${STARTUP_SCRIPT}; \ ${ECHO} "fi" >> ${STARTUP_SCRIPT}; \ chmod 755 ${STARTUP_SCRIPT}; \ - chown bin.bin ${STARTUP_SCRIPT}; + chown bin:bin ${STARTUP_SCRIPT}; @if [ ! -f ${SAMPLE_CONFIG} ]; then \ ${SED} -e 's:__LOGDIR__:${SAMBA_LOGDIR}:g' \ -e 's:__ETCDIR__:${SAMBA_ETCDIR}:g' \ @@ -64,7 +64,7 @@ post-install: ${INSTALL_SCRIPT} ${WRKSRC}/script/mksmbpasswd.sh ${PREFIX}/bin if [ ! -d ${SAMBA_PRIVATE} ] ; then \ ${MKDIR} ${SAMBA_PRIVATE} ; \ - chown root.wheel ${SAMBA_PRIVATE} ; \ + chown root:wheel ${SAMBA_PRIVATE} ; \ chmod 700 ${SAMBA_PRIVATE} ; \ fi if [ ! -f ${SAMBA_PRIVATE}/smbpasswd ] ; then \ diff --git a/net/samba2/pkg/PLIST b/net/samba2/pkg/PLIST index 06c52c9480f..5fd3b4930d4 100644 --- a/net/samba2/pkg/PLIST +++ b/net/samba2/pkg/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.2 1998/12/11 12:05:44 bouyer Exp $ +@comment $NetBSD: PLIST,v 1.3 1999/01/09 20:49:27 kleink Exp $ bin/mksmbpasswd.sh bin/addtosmbpass bin/convert_smbpasswd @@ -152,5 +152,5 @@ etc/smb.conf.sample @dirrm share/swat/include @dirrm share/swat @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 +@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." |