summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rw-r--r--bin/cat/Makefile1
-rw-r--r--bin/cat/tests/Makefile4
-rw-r--r--bin/chflags/Makefile1
-rw-r--r--bin/chio/Makefile1
-rw-r--r--bin/chmod/Makefile1
-rw-r--r--bin/cp/Makefile1
-rw-r--r--bin/csh/Makefile1
-rw-r--r--bin/date/Makefile1
-rw-r--r--bin/date/tests/Makefile4
-rw-r--r--bin/dd/Makefile1
-rw-r--r--bin/dd/tests/Makefile4
-rw-r--r--bin/df/Makefile1
-rw-r--r--bin/domainname/Makefile1
-rw-r--r--bin/echo/Makefile1
-rw-r--r--bin/ed/Makefile1
-rw-r--r--bin/expr/Makefile1
-rw-r--r--bin/expr/tests/Makefile4
-rw-r--r--bin/freebsd-version/Makefile1
-rw-r--r--bin/getfacl/Makefile1
-rw-r--r--bin/hostname/Makefile1
-rw-r--r--bin/kenv/Makefile1
-rw-r--r--bin/kill/Makefile1
-rw-r--r--bin/ln/Makefile1
-rw-r--r--bin/ls/Makefile1
-rw-r--r--bin/ls/tests/Makefile4
-rw-r--r--bin/mkdir/Makefile1
-rw-r--r--bin/mv/Makefile1
-rw-r--r--bin/mv/tests/Makefile4
-rw-r--r--bin/pax/Makefile1
-rw-r--r--bin/pax/tests/Makefile4
-rw-r--r--bin/pkill/Makefile1
-rw-r--r--bin/pkill/tests/Makefile4
-rw-r--r--bin/ps/Makefile1
-rw-r--r--bin/pwait/Makefile1
-rw-r--r--bin/pwd/Makefile1
-rw-r--r--bin/rcp/Makefile3
-rw-r--r--bin/realpath/Makefile1
-rw-r--r--bin/rm/Makefile1
-rw-r--r--bin/rmail/Makefile1
-rw-r--r--bin/rmdir/Makefile1
-rw-r--r--bin/setfacl/Makefile1
-rw-r--r--bin/sh/Makefile1
-rw-r--r--bin/sh/tests/Makefile4
-rw-r--r--bin/sh/tests/builtins/Makefile3
-rw-r--r--bin/sh/tests/errors/Makefile3
-rw-r--r--bin/sh/tests/execution/Makefile3
-rw-r--r--bin/sh/tests/expansion/Makefile3
-rw-r--r--bin/sh/tests/parameters/Makefile3
-rw-r--r--bin/sh/tests/parser/Makefile3
-rw-r--r--bin/sh/tests/set-e/Makefile3
-rw-r--r--bin/sleep/Makefile1
-rw-r--r--bin/sleep/tests/Makefile4
-rw-r--r--bin/stty/Makefile1
-rw-r--r--bin/sync/Makefile1
-rw-r--r--bin/test/Makefile1
-rw-r--r--bin/test/tests/Makefile4
-rw-r--r--bin/tests/Makefile5
-rw-r--r--bin/uuidgen/Makefile1
58 files changed, 111 insertions, 0 deletions
diff --git a/bin/cat/Makefile b/bin/cat/Makefile
index 97e5812..39aaeeb 100644
--- a/bin/cat/Makefile
+++ b/bin/cat/Makefile
@@ -3,6 +3,7 @@
.include <src.opts.mk>
+PACKAGE=runtime
PROG= cat
.if ${MK_TESTS} != "no"
diff --git a/bin/cat/tests/Makefile b/bin/cat/tests/Makefile
index f68513c..effd839 100644
--- a/bin/cat/tests/Makefile
+++ b/bin/cat/tests/Makefile
@@ -1,5 +1,9 @@
# $FreeBSD$
+PACKAGE= tests
+FILESGROUPS= TESTS
+TESTSPACKAGE= ${PACKAGE}
+
NETBSD_ATF_TESTS_SH= cat_test
FILESDIR= ${TESTSDIR}
diff --git a/bin/chflags/Makefile b/bin/chflags/Makefile
index 4457505..db9defd 100644
--- a/bin/chflags/Makefile
+++ b/bin/chflags/Makefile
@@ -1,6 +1,7 @@
# @(#)Makefile 8.1 (Berkeley) 6/6/93
# $FreeBSD$
+PACKAGE=runtime
PROG= chflags
.include <bsd.prog.mk>
diff --git a/bin/chio/Makefile b/bin/chio/Makefile
index 5157f65..ddb07d9 100644
--- a/bin/chio/Makefile
+++ b/bin/chio/Makefile
@@ -1,6 +1,7 @@
# $FreeBSD$
# @(#)Makefile 8.1 (Berkeley) 6/6/93
+PACKAGE=runtime
PROG= chio
.include <bsd.prog.mk>
diff --git a/bin/chmod/Makefile b/bin/chmod/Makefile
index 71006d0..58b1afc 100644
--- a/bin/chmod/Makefile
+++ b/bin/chmod/Makefile
@@ -1,6 +1,7 @@
# @(#)Makefile 8.1 (Berkeley) 5/31/93
# $FreeBSD$
+PACKAGE=runtime
PROG= chmod
.include <bsd.prog.mk>
diff --git a/bin/cp/Makefile b/bin/cp/Makefile
index 5a5e1a4..d20f60e 100644
--- a/bin/cp/Makefile
+++ b/bin/cp/Makefile
@@ -1,6 +1,7 @@
# @(#)Makefile 8.1 (Berkeley) 5/31/93
# $FreeBSD$
+PACKAGE=runtime
PROG= cp
SRCS= cp.c utils.c
CFLAGS+= -DVM_AND_BUFFER_CACHE_SYNCHRONIZED -D_ACL_PRIVATE
diff --git a/bin/csh/Makefile b/bin/csh/Makefile
index f55f241..6e3c32d 100644
--- a/bin/csh/Makefile
+++ b/bin/csh/Makefile
@@ -8,6 +8,7 @@
.include <src.opts.mk>
+PACKAGE=runtime
TCSHDIR= ${.CURDIR}/../../contrib/tcsh
.PATH: ${TCSHDIR}
diff --git a/bin/date/Makefile b/bin/date/Makefile
index 56ce33a..fd7e401 100644
--- a/bin/date/Makefile
+++ b/bin/date/Makefile
@@ -3,6 +3,7 @@
.include <src.opts.mk>
+PACKAGE=runtime
PROG= date
SRCS= date.c netdate.c vary.c
diff --git a/bin/date/tests/Makefile b/bin/date/tests/Makefile
index ecce803..cffb43f 100644
--- a/bin/date/tests/Makefile
+++ b/bin/date/tests/Makefile
@@ -2,6 +2,10 @@
.include <bsd.own.mk>
+PACKAGE= tests
+FILESGROUPS= TESTS
+TESTSPACKAGE= ${PACKAGE}
+
ATF_TESTS_SH= format_string_test
.include <bsd.test.mk>
diff --git a/bin/dd/Makefile b/bin/dd/Makefile
index 6b17d29..df877c8 100644
--- a/bin/dd/Makefile
+++ b/bin/dd/Makefile
@@ -3,6 +3,7 @@
.include <src.opts.mk>
+PACKAGE=runtime
PROG= dd
SRCS= args.c conv.c conv_tab.c dd.c misc.c position.c
diff --git a/bin/dd/tests/Makefile b/bin/dd/tests/Makefile
index dd04af9..ad97671 100644
--- a/bin/dd/tests/Makefile
+++ b/bin/dd/tests/Makefile
@@ -1,5 +1,9 @@
# $FreeBSD$
+PACKAGE= tests
+FILESGROUPS= TESTS
+TESTSPACKAGE= ${PACKAGE}
+
NETBSD_ATF_TESTS_SH= dd_test
.include <netbsd-tests.test.mk>
diff --git a/bin/df/Makefile b/bin/df/Makefile
index 5cdae9e..8f9f528 100644
--- a/bin/df/Makefile
+++ b/bin/df/Makefile
@@ -1,6 +1,7 @@
# @(#)Makefile 8.3 (Berkeley) 5/8/95
# $FreeBSD$
+PACKAGE=runtime
MOUNT= ${.CURDIR}/../../sbin/mount
.PATH: ${MOUNT}
diff --git a/bin/domainname/Makefile b/bin/domainname/Makefile
index 724bd06..d3bace8 100644
--- a/bin/domainname/Makefile
+++ b/bin/domainname/Makefile
@@ -1,5 +1,6 @@
# $FreeBSD$
+PACKAGE=runtime
PROG= domainname
.include <bsd.prog.mk>
diff --git a/bin/echo/Makefile b/bin/echo/Makefile
index d00d467..5d48e21 100644
--- a/bin/echo/Makefile
+++ b/bin/echo/Makefile
@@ -1,6 +1,7 @@
# @(#)Makefile 8.1 (Berkeley) 5/31/93
# $FreeBSD$
+PACKAGE=runtime
PROG= echo
.include <bsd.prog.mk>
diff --git a/bin/ed/Makefile b/bin/ed/Makefile
index bef3ff1..40e0613 100644
--- a/bin/ed/Makefile
+++ b/bin/ed/Makefile
@@ -2,6 +2,7 @@
.include <src.opts.mk>
+PACKAGE=runtime
PROG= ed
SRCS= buf.c cbc.c glbl.c io.c main.c re.c sub.c undo.c
LINKS= ${BINDIR}/ed ${BINDIR}/red
diff --git a/bin/expr/Makefile b/bin/expr/Makefile
index 1d741b7..471c1c0 100644
--- a/bin/expr/Makefile
+++ b/bin/expr/Makefile
@@ -2,6 +2,7 @@
.include <src.opts.mk>
+PACKAGE=runtime
PROG= expr
SRCS= expr.y
YFLAGS=
diff --git a/bin/expr/tests/Makefile b/bin/expr/tests/Makefile
index 21b0e99..90331d0 100644
--- a/bin/expr/tests/Makefile
+++ b/bin/expr/tests/Makefile
@@ -1,5 +1,9 @@
# $FreeBSD$
+PACKAGE= tests
+FILESGROUPS= TESTS
+TESTSPACKAGE= ${PACKAGE}
+
NETBSD_ATF_TESTS_SH= expr_test
ATF_TESTS_SH_SED_expr_test+= -e 's/eval expr/eval expr --/g'
diff --git a/bin/freebsd-version/Makefile b/bin/freebsd-version/Makefile
index 91945ac..c49f661 100644
--- a/bin/freebsd-version/Makefile
+++ b/bin/freebsd-version/Makefile
@@ -1,5 +1,6 @@
# $FreeBSD$
+PACKAGE=runtime
SCRIPTS = freebsd-version
MAN = freebsd-version.1
CLEANFILES = freebsd-version freebsd-version.sh
diff --git a/bin/getfacl/Makefile b/bin/getfacl/Makefile
index b7b5e983..7b3f057 100644
--- a/bin/getfacl/Makefile
+++ b/bin/getfacl/Makefile
@@ -1,5 +1,6 @@
# $FreeBSD$
+PACKAGE=runtime
PROG= getfacl
.include <bsd.prog.mk>
diff --git a/bin/hostname/Makefile b/bin/hostname/Makefile
index 3c7997f..9b0ecd7 100644
--- a/bin/hostname/Makefile
+++ b/bin/hostname/Makefile
@@ -1,6 +1,7 @@
# @(#)Makefile 8.1 (Berkeley) 5/31/93
# $FreeBSD$
+PACKAGE=runtime
PROG= hostname
.include <bsd.prog.mk>
diff --git a/bin/kenv/Makefile b/bin/kenv/Makefile
index 33a6dfc..9c1924a 100644
--- a/bin/kenv/Makefile
+++ b/bin/kenv/Makefile
@@ -1,5 +1,6 @@
# $FreeBSD$
+PACKAGE=runtime
PROG= kenv
.include <bsd.prog.mk>
diff --git a/bin/kill/Makefile b/bin/kill/Makefile
index 55ef16d..4c9cdda 100644
--- a/bin/kill/Makefile
+++ b/bin/kill/Makefile
@@ -1,6 +1,7 @@
# @(#)Makefile 8.1 (Berkeley) 5/31/93
# $FreeBSD$
+PACKAGE=runtime
PROG= kill
.include <bsd.prog.mk>
diff --git a/bin/ln/Makefile b/bin/ln/Makefile
index b541f8b..d7c8b46 100644
--- a/bin/ln/Makefile
+++ b/bin/ln/Makefile
@@ -1,6 +1,7 @@
# @(#)Makefile 8.2 (Berkeley) 5/31/93
# $FreeBSD$
+PACKAGE=runtime
PROG= ln
MAN= ln.1 symlink.7
diff --git a/bin/ls/Makefile b/bin/ls/Makefile
index e57bf35..db3fae7e 100644
--- a/bin/ls/Makefile
+++ b/bin/ls/Makefile
@@ -3,6 +3,7 @@
.include <src.opts.mk>
+PACKAGE=runtime
PROG= ls
SRCS= cmp.c ls.c print.c util.c
LIBADD= xo util
diff --git a/bin/ls/tests/Makefile b/bin/ls/tests/Makefile
index 89a2e8c..2c3045b 100644
--- a/bin/ls/tests/Makefile
+++ b/bin/ls/tests/Makefile
@@ -1,5 +1,9 @@
# $FreeBSD$
+PACKAGE= tests
+FILESGROUPS= TESTS
+TESTSPACKAGE= ${PACKAGE}
+
ATF_TESTS_SH+= ls_tests
# This seems like overkill, but the idea in mind is that all of the testcases
# should be runnable as !root
diff --git a/bin/mkdir/Makefile b/bin/mkdir/Makefile
index fadc6b2..4587628 100644
--- a/bin/mkdir/Makefile
+++ b/bin/mkdir/Makefile
@@ -1,6 +1,7 @@
# @(#)Makefile 8.1 (Berkeley) 5/31/93
# $FreeBSD$
+PACKAGE=runtime
PROG= mkdir
.include <bsd.prog.mk>
diff --git a/bin/mv/Makefile b/bin/mv/Makefile
index 02a5a48..e82466b 100644
--- a/bin/mv/Makefile
+++ b/bin/mv/Makefile
@@ -3,6 +3,7 @@
.include <src.opts.mk>
+PACKAGE=runtime
PROG= mv
.if ${MK_TESTS} != "no"
diff --git a/bin/mv/tests/Makefile b/bin/mv/tests/Makefile
index 229d96e..62bc207 100644
--- a/bin/mv/tests/Makefile
+++ b/bin/mv/tests/Makefile
@@ -2,6 +2,10 @@
.include <bsd.own.mk>
+PACKAGE= tests
+FILESGROUPS= TESTS
+TESTSPACKAGE= ${PACKAGE}
+
TAP_TESTS_SH= legacy_test
.include <bsd.test.mk>
diff --git a/bin/pax/Makefile b/bin/pax/Makefile
index c00d52c..210137b 100644
--- a/bin/pax/Makefile
+++ b/bin/pax/Makefile
@@ -27,6 +27,7 @@
# regex routines and must define NET2_REGEX.
# Pax may not compile if this not (un)defined properly.
+PACKAGE=runtime
PROG= pax
SRCS= ar_io.c ar_subs.c buf_subs.c cache.c cpio.c file_subs.c ftree.c \
gen_subs.c getoldopt.c options.c pat_rep.c pax.c sel_subs.c \
diff --git a/bin/pax/tests/Makefile b/bin/pax/tests/Makefile
index 8334fea..6e22087 100644
--- a/bin/pax/tests/Makefile
+++ b/bin/pax/tests/Makefile
@@ -2,6 +2,10 @@
.include <bsd.own.mk>
+PACKAGE= tests
+FILESGROUPS= TESTS
+TESTSPACKAGE= ${PACKAGE}
+
TAP_TESTS_PERL= legacy_test
.include <bsd.test.mk>
diff --git a/bin/pkill/Makefile b/bin/pkill/Makefile
index 2985b37..2eb3ede 100644
--- a/bin/pkill/Makefile
+++ b/bin/pkill/Makefile
@@ -3,6 +3,7 @@
.include <src.opts.mk>
+PACKAGE=runtime
PROG= pkill
LIBADD= kvm jail
diff --git a/bin/pkill/tests/Makefile b/bin/pkill/tests/Makefile
index be46707..d6edfae 100644
--- a/bin/pkill/tests/Makefile
+++ b/bin/pkill/tests/Makefile
@@ -2,6 +2,10 @@
.include <bsd.own.mk>
+PACKAGE= tests
+FILESGROUPS= TESTS
+TESTSPACKAGE= ${PACKAGE}
+
TAP_TESTS_SH= pgrep-F_test
TAP_TESTS_SH+= pgrep-LF_test
TAP_TESTS_SH+= pgrep-P_test
diff --git a/bin/ps/Makefile b/bin/ps/Makefile
index 79e9fc6..596aa57 100644
--- a/bin/ps/Makefile
+++ b/bin/ps/Makefile
@@ -1,6 +1,7 @@
# $FreeBSD$
# @(#)Makefile 8.1 (Berkeley) 6/2/93
+PACKAGE=runtime
PROG= ps
SRCS= fmt.c keyword.c nlist.c print.c ps.c
diff --git a/bin/pwait/Makefile b/bin/pwait/Makefile
index cdf322e..a282c18 100644
--- a/bin/pwait/Makefile
+++ b/bin/pwait/Makefile
@@ -1,5 +1,6 @@
# $FreeBSD$
+PACKAGE=runtime
PROG= pwait
.include <bsd.prog.mk>
diff --git a/bin/pwd/Makefile b/bin/pwd/Makefile
index 4a8e66a..2a623a1 100644
--- a/bin/pwd/Makefile
+++ b/bin/pwd/Makefile
@@ -1,6 +1,7 @@
# @(#)Makefile 8.1 (Berkeley) 5/31/93
# $FreeBSD$
+PACKAGE=runtime
PROG= pwd
.include <bsd.prog.mk>
diff --git a/bin/rcp/Makefile b/bin/rcp/Makefile
index 886ec01..6c1cfb1 100644
--- a/bin/rcp/Makefile
+++ b/bin/rcp/Makefile
@@ -1,10 +1,13 @@
# @(#)Makefile 8.1 (Berkeley) 7/19/93
# $FreeBSD$
+PACKAGE=rcmds
PROG= rcp
SRCS= rcp.c util.c
CFLAGS+=-DBINDIR=${BINDIR}
+PACKAGE=rcmds
+
BINOWN= root
BINMODE=4555
diff --git a/bin/realpath/Makefile b/bin/realpath/Makefile
index acf62c7..71381f3 100644
--- a/bin/realpath/Makefile
+++ b/bin/realpath/Makefile
@@ -1,5 +1,6 @@
# $FreeBSD$
+PACKAGE=runtime
PROG= realpath
.include <bsd.prog.mk>
diff --git a/bin/rm/Makefile b/bin/rm/Makefile
index 7058fa0..e0d2713 100644
--- a/bin/rm/Makefile
+++ b/bin/rm/Makefile
@@ -1,6 +1,7 @@
# @(#)Makefile 8.1 (Berkeley) 5/31/93
# $FreeBSD$
+PACKAGE=runtime
PROG= rm
LINKS= ${BINDIR}/rm ${BINDIR}/unlink
diff --git a/bin/rmail/Makefile b/bin/rmail/Makefile
index 421a6ff..53d0ca4 100644
--- a/bin/rmail/Makefile
+++ b/bin/rmail/Makefile
@@ -1,6 +1,7 @@
# @(#)Makefile 8.1 (Berkeley) 5/31/93
# $FreeBSD$
+PACKAGE=sendmail
SENDMAIL_DIR=${.CURDIR}/../../contrib/sendmail
.PATH: ${SENDMAIL_DIR}/rmail
diff --git a/bin/rmdir/Makefile b/bin/rmdir/Makefile
index c2c7f30..a40686d 100644
--- a/bin/rmdir/Makefile
+++ b/bin/rmdir/Makefile
@@ -1,6 +1,7 @@
# @(#)Makefile 8.1 (Berkeley) 5/31/93
# $FreeBSD$
+PACKAGE=runtime
PROG= rmdir
.include <bsd.prog.mk>
diff --git a/bin/setfacl/Makefile b/bin/setfacl/Makefile
index 3f6b78e..3785413 100644
--- a/bin/setfacl/Makefile
+++ b/bin/setfacl/Makefile
@@ -1,5 +1,6 @@
# $FreeBSD$
+PACKAGE=runtime
PROG= setfacl
SRCS= file.c mask.c merge.c remove.c setfacl.c util.c
diff --git a/bin/sh/Makefile b/bin/sh/Makefile
index e6d1d83..d3422b4 100644
--- a/bin/sh/Makefile
+++ b/bin/sh/Makefile
@@ -3,6 +3,7 @@
.include <src.opts.mk>
+PACKAGE=runtime
PROG= sh
INSTALLFLAGS= -S
SHSRCS= alias.c arith_yacc.c arith_yylex.c cd.c echo.c error.c eval.c \
diff --git a/bin/sh/tests/Makefile b/bin/sh/tests/Makefile
index d93e19a..58834a4 100644
--- a/bin/sh/tests/Makefile
+++ b/bin/sh/tests/Makefile
@@ -2,6 +2,10 @@
.include <bsd.own.mk>
+PACKAGE= tests
+FILESGROUPS= TESTS
+TESTSPACKAGE= ${PACKAGE}
+
TESTS_SUBDIRS+= builtins
TESTS_SUBDIRS+= errors
TESTS_SUBDIRS+= execution
diff --git a/bin/sh/tests/builtins/Makefile b/bin/sh/tests/builtins/Makefile
index 6efec15..b323daf 100644
--- a/bin/sh/tests/builtins/Makefile
+++ b/bin/sh/tests/builtins/Makefile
@@ -2,6 +2,9 @@
.include <src.opts.mk>
+PACKAGE= tests
+FILESGROUPS= TESTS
+TESTSPACKAGE= ${PACKAGE}
TESTSDIR= ${TESTSBASE}/bin/sh/${.CURDIR:T}
.PATH: ${.CURDIR:H}
diff --git a/bin/sh/tests/errors/Makefile b/bin/sh/tests/errors/Makefile
index 51a766f..f7c7e26 100644
--- a/bin/sh/tests/errors/Makefile
+++ b/bin/sh/tests/errors/Makefile
@@ -1,5 +1,8 @@
# $FreeBSD$
+PACKAGE= tests
+FILESGROUPS= TESTS
+TESTSPACKAGE= ${PACKAGE}
TESTSDIR= ${TESTSBASE}/bin/sh/${.CURDIR:T}
.PATH: ${.CURDIR:H}
diff --git a/bin/sh/tests/execution/Makefile b/bin/sh/tests/execution/Makefile
index 638492b..64d12de 100644
--- a/bin/sh/tests/execution/Makefile
+++ b/bin/sh/tests/execution/Makefile
@@ -1,5 +1,8 @@
# $FreeBSD$
+PACKAGE= tests
+FILESGROUPS= TESTS
+TESTSPACKAGE= ${PACKAGE}
TESTSDIR= ${TESTSBASE}/bin/sh/${.CURDIR:T}
.PATH: ${.CURDIR:H}
diff --git a/bin/sh/tests/expansion/Makefile b/bin/sh/tests/expansion/Makefile
index fb672da..351babd 100644
--- a/bin/sh/tests/expansion/Makefile
+++ b/bin/sh/tests/expansion/Makefile
@@ -1,5 +1,8 @@
# $FreeBSD$
+PACKAGE= tests
+FILESGROUPS= TESTS
+TESTSPACKAGE= ${PACKAGE}
TESTSDIR= ${TESTSBASE}/bin/sh/${.CURDIR:T}
.PATH: ${.CURDIR:H}
diff --git a/bin/sh/tests/parameters/Makefile b/bin/sh/tests/parameters/Makefile
index 528697d..d510779 100644
--- a/bin/sh/tests/parameters/Makefile
+++ b/bin/sh/tests/parameters/Makefile
@@ -1,5 +1,8 @@
# $FreeBSD$
+PACKAGE= tests
+FILESGROUPS= TESTS
+TESTSPACKAGE= ${PACKAGE}
TESTSDIR= ${TESTSBASE}/bin/sh/${.CURDIR:T}
.PATH: ${.CURDIR:H}
diff --git a/bin/sh/tests/parser/Makefile b/bin/sh/tests/parser/Makefile
index dd126ee..4f823b0 100644
--- a/bin/sh/tests/parser/Makefile
+++ b/bin/sh/tests/parser/Makefile
@@ -1,5 +1,8 @@
# $FreeBSD$
+PACKAGE= tests
+FILESGROUPS= TESTS
+TESTSPACKAGE= ${PACKAGE}
TESTSDIR= ${TESTSBASE}/bin/sh/${.CURDIR:T}
.PATH: ${.CURDIR:H}
diff --git a/bin/sh/tests/set-e/Makefile b/bin/sh/tests/set-e/Makefile
index f733b60..3d7481d 100644
--- a/bin/sh/tests/set-e/Makefile
+++ b/bin/sh/tests/set-e/Makefile
@@ -1,5 +1,8 @@
# $FreeBSD$
+PACKAGE= tests
+FILESGROUPS= TESTS
+TESTSPACKAGE= ${PACKAGE}
TESTSDIR= ${TESTSBASE}/bin/sh/${.CURDIR:T}
.PATH: ${.CURDIR:H}
diff --git a/bin/sleep/Makefile b/bin/sleep/Makefile
index 0ec3080..9575adf 100644
--- a/bin/sleep/Makefile
+++ b/bin/sleep/Makefile
@@ -3,6 +3,7 @@
.include <src.opts.mk>
+PACKAGE=runtime
PROG= sleep
.if ${MK_TESTS} != "no"
diff --git a/bin/sleep/tests/Makefile b/bin/sleep/tests/Makefile
index 6fc95f3..615d80a 100644
--- a/bin/sleep/tests/Makefile
+++ b/bin/sleep/tests/Makefile
@@ -2,6 +2,10 @@
.include <bsd.own.mk>
+PACKAGE= tests
+FILESGROUPS= TESTS
+TESTSPACKAGE= ${PACKAGE}
+
NETBSD_ATF_TESTS_SH= sleep_test
.include <bsd.test.mk>
diff --git a/bin/stty/Makefile b/bin/stty/Makefile
index 82b15eb..b10b895 100644
--- a/bin/stty/Makefile
+++ b/bin/stty/Makefile
@@ -1,6 +1,7 @@
# @(#)Makefile 8.1 (Berkeley) 5/31/93
# $FreeBSD$
+PACKAGE=runtime
PROG= stty
SRCS= cchar.c gfmt.c key.c modes.c print.c stty.c util.c
diff --git a/bin/sync/Makefile b/bin/sync/Makefile
index 72c664f..8b56d6a 100644
--- a/bin/sync/Makefile
+++ b/bin/sync/Makefile
@@ -1,6 +1,7 @@
# @(#)Makefile 8.1 (Berkeley) 5/31/93
# $FreeBSD$
+PACKAGE=runtime
PROG= sync
MAN= sync.8
diff --git a/bin/test/Makefile b/bin/test/Makefile
index 8e3121b..5cd91eb 100644
--- a/bin/test/Makefile
+++ b/bin/test/Makefile
@@ -3,6 +3,7 @@
.include <src.opts.mk>
+PACKAGE=runtime
PROG= test
LINKS= ${BINDIR}/test ${BINDIR}/[
MLINKS= test.1 [.1
diff --git a/bin/test/tests/Makefile b/bin/test/tests/Makefile
index a1a5d4f..aff93d8 100644
--- a/bin/test/tests/Makefile
+++ b/bin/test/tests/Makefile
@@ -2,6 +2,10 @@
.include <bsd.own.mk>
+PACKAGE= tests
+FILESGROUPS= TESTS
+TESTSPACKAGE= ${PACKAGE}
+
TAP_TESTS_SH= legacy_test
# Some tests in here are silently not run when the tests are executed as
# root. Explicitly tell Kyua to drop privileges.
diff --git a/bin/tests/Makefile b/bin/tests/Makefile
index a0e63e5..609357e 100644
--- a/bin/tests/Makefile
+++ b/bin/tests/Makefile
@@ -2,6 +2,11 @@
.include <bsd.own.mk>
+PACKAGE= tests
+FILESGROUPS= TESTS
+TESTSPACKAGE= ${PACKAGE}
+TESTS+= Kyuafile
+
.PATH: ${SRCTOP}/tests
KYUAFILE= yes
diff --git a/bin/uuidgen/Makefile b/bin/uuidgen/Makefile
index 0b27d20..8cd1598 100644
--- a/bin/uuidgen/Makefile
+++ b/bin/uuidgen/Makefile
@@ -1,5 +1,6 @@
# $FreeBSD$
+PACKAGE=runtime
PROG= uuidgen
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud