Install a kyua.conf file that sets unprivileged_user to _tests.
This commit is contained in:
parent
7c357179a8
commit
47840f72d0
@ -1,4 +1,4 @@
|
|||||||
# $NetBSD: mi,v 1.1020 2013/02/23 14:18:37 jmmv Exp $
|
# $NetBSD: mi,v 1.1021 2013/02/24 03:06:14 jmmv Exp $
|
||||||
#
|
#
|
||||||
# Note: Don't delete entries from here - mark them as "obsolete" instead,
|
# Note: Don't delete entries from here - mark them as "obsolete" instead,
|
||||||
# unless otherwise stated below.
|
# unless otherwise stated below.
|
||||||
@ -99,6 +99,7 @@
|
|||||||
./etc/iscsi base-sysutil-root
|
./etc/iscsi base-sysutil-root
|
||||||
./etc/kerberosIV base-obsolete obsolete
|
./etc/kerberosIV base-obsolete obsolete
|
||||||
./etc/kerberosV base-krb5-root
|
./etc/kerberosV base-krb5-root
|
||||||
|
./etc/kyua base-kyua-root
|
||||||
./etc/mail base-postfix-bin
|
./etc/mail base-postfix-bin
|
||||||
./etc/mtree base-sys-root
|
./etc/mtree base-sys-root
|
||||||
./etc/mtree/set.base base-sys-root
|
./etc/mtree/set.base base-sys-root
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
# $NetBSD: mi,v 1.228 2012/02/07 19:13:28 joerg Exp $
|
# $NetBSD: mi,v 1.229 2013/02/24 03:06:15 jmmv Exp $
|
||||||
#
|
#
|
||||||
# Note: end-user configuration files that are moved to another location
|
# Note: end-user configuration files that are moved to another location
|
||||||
# should not be marked "obsolete"; they should just be removed from
|
# should not be marked "obsolete"; they should just be removed from
|
||||||
@ -73,6 +73,7 @@
|
|||||||
./etc/inetd.conf etc-netutil-etc
|
./etc/inetd.conf etc-netutil-etc
|
||||||
./etc/iscsi/auths etc-iscsi-etc iscsi
|
./etc/iscsi/auths etc-iscsi-etc iscsi
|
||||||
./etc/iscsi/targets etc-iscsi-etc iscsi
|
./etc/iscsi/targets etc-iscsi-etc iscsi
|
||||||
|
./etc/kyua/kyua.conf etc-kyua-etc kyua
|
||||||
./etc/lkm.conf etc-obsolete obsolete
|
./etc/lkm.conf etc-obsolete obsolete
|
||||||
./etc/localtime etc-sys-etc
|
./etc/localtime etc-sys-etc
|
||||||
./etc/locate.conf etc-sys-etc
|
./etc/locate.conf etc-sys-etc
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
# $NetBSD: Makefile,v 1.405 2013/02/05 16:39:26 matt Exp $
|
# $NetBSD: Makefile,v 1.406 2013/02/24 03:06:13 jmmv Exp $
|
||||||
# from: @(#)Makefile 8.7 (Berkeley) 5/25/95
|
# from: @(#)Makefile 8.7 (Berkeley) 5/25/95
|
||||||
|
|
||||||
# Environment variables without default values:
|
# Environment variables without default values:
|
||||||
@ -335,6 +335,9 @@ install-etc-files: .PHONY .MAKE check_DESTDIR MAKEDEV
|
|||||||
.if (${MKATF} != "no")
|
.if (${MKATF} != "no")
|
||||||
${MAKEDIRTARGET} ${NETBSDSRCDIR}/external/bsd/atf/etc/atf configinstall
|
${MAKEDIRTARGET} ${NETBSDSRCDIR}/external/bsd/atf/etc/atf configinstall
|
||||||
.endif
|
.endif
|
||||||
|
.if (${MKKYUA} != "no")
|
||||||
|
${MAKEDIRTARGET} ${NETBSDSRCDIR}/external/bsd/kyua-cli/etc/kyua configinstall
|
||||||
|
.endif
|
||||||
|
|
||||||
|
|
||||||
# install-obsolete-lists --
|
# install-obsolete-lists --
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
# $NetBSD: NetBSD.dist.base,v 1.111 2013/02/23 14:58:12 jmmv Exp $
|
# $NetBSD: NetBSD.dist.base,v 1.112 2013/02/24 03:06:13 jmmv Exp $
|
||||||
# @(#)4.4BSD.dist 8.1 (Berkeley) 6/13/93
|
# @(#)4.4BSD.dist 8.1 (Berkeley) 6/13/93
|
||||||
|
|
||||||
# Do not customize this file as it may be overwritten on upgrades.
|
# Do not customize this file as it may be overwritten on upgrades.
|
||||||
@ -36,6 +36,7 @@
|
|||||||
./etc/fonts/conf.avail
|
./etc/fonts/conf.avail
|
||||||
./etc/iscsi
|
./etc/iscsi
|
||||||
./etc/kerberosV
|
./etc/kerberosV
|
||||||
|
./etc/kyua
|
||||||
./etc/mail
|
./etc/mail
|
||||||
./etc/mtree
|
./etc/mtree
|
||||||
./etc/namedb
|
./etc/namedb
|
||||||
|
4
external/bsd/kyua-cli/Makefile
vendored
4
external/bsd/kyua-cli/Makefile
vendored
@ -1,6 +1,6 @@
|
|||||||
# $NetBSD: Makefile,v 1.1 2013/02/23 14:16:49 jmmv Exp $
|
# $NetBSD: Makefile,v 1.2 2013/02/24 03:06:15 jmmv Exp $
|
||||||
|
|
||||||
SUBDIR= lib .WAIT share tests usr.bin
|
SUBDIR= etc lib .WAIT share tests usr.bin
|
||||||
|
|
||||||
.for dir in share tests usr.bin
|
.for dir in share tests usr.bin
|
||||||
includes-${dir}: .PHONY
|
includes-${dir}: .PHONY
|
||||||
|
5
external/bsd/kyua-cli/etc/Makefile
vendored
Normal file
5
external/bsd/kyua-cli/etc/Makefile
vendored
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
# $NetBSD: Makefile,v 1.1 2013/02/24 03:06:15 jmmv Exp $
|
||||||
|
|
||||||
|
SUBDIR= kyua
|
||||||
|
|
||||||
|
.include <bsd.subdir.mk>
|
3
external/bsd/kyua-cli/etc/Makefile.inc
vendored
Normal file
3
external/bsd/kyua-cli/etc/Makefile.inc
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
# $NetBSD: Makefile.inc,v 1.1 2013/02/24 03:06:15 jmmv Exp $
|
||||||
|
|
||||||
|
.include "../Makefile.inc"
|
10
external/bsd/kyua-cli/etc/kyua/Makefile
vendored
Normal file
10
external/bsd/kyua-cli/etc/kyua/Makefile
vendored
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
# $NetBSD: Makefile,v 1.1 2013/02/24 03:06:15 jmmv Exp $
|
||||||
|
|
||||||
|
.include <bsd.init.mk>
|
||||||
|
|
||||||
|
CONFIGFILES= kyua.conf
|
||||||
|
FILESDIR= ${KYUA_CONFDIR}
|
||||||
|
FILESMODE= 644
|
||||||
|
|
||||||
|
.include <bsd.prog.mk> # For clean and cleandir
|
||||||
|
.include <bsd.files.mk>
|
14
external/bsd/kyua-cli/etc/kyua/kyua.conf
vendored
Normal file
14
external/bsd/kyua-cli/etc/kyua/kyua.conf
vendored
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
-- $NetBSD: kyua.conf,v 1.1 2013/02/24 03:06:15 jmmv Exp $
|
||||||
|
--
|
||||||
|
-- System-wide configuration file for kyua(1). See kyua.conf(5) for details
|
||||||
|
-- on the syntax and tests(7) for any NetBSD-specific tweaks that may apply.
|
||||||
|
--
|
||||||
|
|
||||||
|
syntax(2)
|
||||||
|
|
||||||
|
-- User to drop privileges to when invoking kyua(1) as root and a test case
|
||||||
|
-- requests to be run with non-root permissions.
|
||||||
|
unprivileged_user = '_tests'
|
||||||
|
|
||||||
|
-- An example to set a configuration property specific to NetBSD.
|
||||||
|
--test_suites.NetBSD.fstype = 'ffs'
|
Loading…
Reference in New Issue
Block a user