summaryrefslogtreecommitdiff
path: root/net/samba2
diff options
context:
space:
mode:
authorkleink <kleink@pkgsrc.org>1999-01-09 20:49:26 +0000
committerkleink <kleink@pkgsrc.org>1999-01-09 20:49:26 +0000
commitbf237c0e31e04294c4ba67e152632c693129d0fc (patch)
tree05da6f8ab664235e90139c74a588410307f679b6 /net/samba2
parent9eff042734e62770d63efdee33d23b310692fc84 (diff)
downloadpkgsrc-bf237c0e31e04294c4ba67e152632c693129d0fc.tar.gz
Get rid of obsolete chown(8) operand usage.
Diffstat (limited to 'net/samba2')
-rw-r--r--net/samba2/Makefile6
-rw-r--r--net/samba2/pkg/PLIST4
2 files changed, 5 insertions, 5 deletions
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."