Move chown from usr.sbin to sbin and chgrp from usr.bin to bin directories.

This was discussed and oked on tech-userlevel I have run full build release,
test anita cycle with this patch.
This commit is contained in:
haad 2011-01-13 22:28:35 +00:00
parent 1992693730
commit 6f5bb5ac37
9 changed files with 25 additions and 20 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: mi,v 1.914 2011/01/12 16:18:57 pooka Exp $
# $NetBSD: mi,v 1.915 2011/01/13 22:28:36 haad Exp $
#
# Note: Don't delete entries from here - mark them as "obsolete" instead,
# unless otherwise stated below.
@ -21,6 +21,7 @@
./bin/cp base-util-root
./bin/cpio base-util-root
./bin/csh base-util-root
./bin/chgrp base-util-root
./bin/date base-util-root
./bin/dd base-util-root
./bin/df base-util-root
@ -206,6 +207,7 @@
./sbin/brconfig base-netutil-root
./sbin/ccdconfig base-sysutil-root
./sbin/cgdconfig base-sysutil-root crypto
./sbin/chown base-sysutil-root
./sbin/rump.cgdconfig base-sysutil-root crypto
./sbin/clri base-sysutil-root
./sbin/dhclient base-dhclient-root

View File

@ -1,4 +1,4 @@
# $NetBSD: mi,v 1.1565 2011/01/12 16:18:57 pooka Exp $
# $NetBSD: mi,v 1.1566 2011/01/13 22:28:37 haad Exp $
#
# Note: don't delete entries from here - mark them as "obsolete" instead.
#
@ -2954,6 +2954,7 @@
./usr/libdata/debug/sbin/brconfig.debug comp-netutil-debug debug
./usr/libdata/debug/sbin/ccdconfig.debug comp-sysutil-debug debug
./usr/libdata/debug/sbin/cgdconfig.debug comp-sysutil-debug crypto,debug
./usr/libdata/debug/sbin/chown.debug comp-sysutil-debug debug
./usr/libdata/debug/sbin/rump.cgdconfig.debug comp-sysutil-debug crypto,debug
./usr/libdata/debug/sbin/clri.debug comp-sysutil-debug debug
./usr/libdata/debug/sbin/dhclient.debug comp-dhclient-debug debug
@ -3597,7 +3598,6 @@
./usr/libdata/debug/usr/sbin/btuartd.debug comp-obsolete obsolete
./usr/libdata/debug/usr/sbin/catman.debug comp-man-debug debug
./usr/libdata/debug/usr/sbin/chat.debug comp-ppp-debug debug
./usr/libdata/debug/usr/sbin/chown.debug comp-sysutil-debug debug
./usr/libdata/debug/usr/sbin/chroot.debug comp-sysutil-debug debug
./usr/libdata/debug/usr/sbin/chrtbl.debug comp-sysutil-debug debug
./usr/libdata/debug/usr/sbin/cnwctl.debug comp-netutil-debug debug

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.117 2010/10/30 21:16:07 haad Exp $
# $NetBSD: Makefile,v 1.118 2011/01/13 22:28:36 haad Exp $
# @(#)Makefile 8.5 (Berkeley) 3/31/94
# Not ported: XNSrouted enpload scsiformat startslip
@ -7,7 +7,7 @@
.include <bsd.own.mk>
SUBDIR= amrctl apmlabel atactl badsect bioctl brconfig ccdconfig \
disklabel dkctl dkscan_bsdlabel dmesg \
chown disklabel dkctl dkscan_bsdlabel dmesg \
drvctl fastboot fdisk fsck fsirand gpt ifconfig init ldconfig \
mbrlabel mknod modload modstat modunload mount newbtconf nologin \
pdisk ping pppoectl raidctl reboot rcorder rndctl route routed \

12
sbin/chown/Makefile Normal file
View File

@ -0,0 +1,12 @@
# from: @(#)Makefile 8.1 (Berkeley) 6/6/93
# $NetBSD: Makefile,v 1.5 2011/01/13 22:28:36 haad Exp $
PROG= chown
CPPFLAGS+=-DSUPPORT_DOT
MAN= chgrp.1 chown.8
LINKS= ${BINDIR}/chown /bin/chgrp
LINKS+= ${BINDIR}/chown /usr/bin/chgrp
LINKS+= ${BINDIR}/chown /usr/sbin/chown
.include <bsd.prog.mk>

View File

@ -29,7 +29,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)chgrp.1 8.3 (Berkeley) 3/31/94
.\" $NetBSD: chgrp.1,v 1.19 2009/03/29 06:04:50 dholland Exp $
.\" $NetBSD: chgrp.1,v 1.4 2011/01/13 22:28:36 haad Exp $
.\"
.Dd September 25, 2003
.Dt CHGRP 1

View File

@ -26,7 +26,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)chown.8 8.3 (Berkeley) 3/31/94
.\" $NetBSD: chown.8,v 1.21 2006/06/17 04:58:15 reed Exp $
.\" $NetBSD: chown.8,v 1.4 2011/01/13 22:28:36 haad Exp $
.\"
.Dd December 9, 2005
.Dt CHOWN 8

View File

@ -1,4 +1,4 @@
/* $NetBSD: chown.c,v 1.32 2008/07/21 13:36:57 lukem Exp $ */
/* $NetBSD: chown.c,v 1.4 2011/01/13 22:28:36 haad Exp $ */
/*
* Copyright (c) 1988, 1993, 1994, 2003
@ -39,7 +39,7 @@ __COPYRIGHT("@(#) Copyright (c) 1988, 1993, 1994, 2003\
#if 0
static char sccsid[] = "@(#)chown.c 8.8 (Berkeley) 4/4/94";
#else
__RCSID("$NetBSD: chown.c,v 1.32 2008/07/21 13:36:57 lukem Exp $");
__RCSID("$NetBSD: chown.c,v 1.4 2011/01/13 22:28:36 haad Exp $");
#endif
#endif /* not lint */

View File

@ -1,11 +1,11 @@
# $NetBSD: Makefile,v 1.249 2010/12/08 07:20:14 kefren Exp $
# $NetBSD: Makefile,v 1.250 2011/01/13 22:28:35 haad Exp $
# from: @(#)Makefile 5.20 (Berkeley) 6/12/93
.include <bsd.own.mk>
SUBDIR= ac accton acpitools altq apm apmd arp bad144 bootp \
btattach btconfig btdevctl bthcid btpand catman \
chown chroot chrtbl cnwctl cpuctl crash dev_mkdb \
chroot chrtbl cnwctl cpuctl crash dev_mkdb \
dhcp diskpart dumpfs dumplfs edquota eeprom \
envstat eshconfig etcupdate extattrctl fssconfig fusermount fwctl \
gpioctl grfconfig grfinfo gspa hdaudioctl hilinfo ifwatchd inetd \

View File

@ -1,9 +0,0 @@
# from: @(#)Makefile 8.1 (Berkeley) 6/6/93
# $NetBSD: Makefile,v 1.9 2009/04/22 15:23:02 lukem Exp $
PROG= chown
CPPFLAGS+=-DSUPPORT_DOT
MAN= chgrp.1 chown.8
LINKS= ${BINDIR}/chown /usr/bin/chgrp
.include <bsd.prog.mk>