summaryrefslogtreecommitdiffstats
path: root/tools/build/mk
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2011-06-17 21:30:21 +0000
committered <ed@FreeBSD.org>2011-06-17 21:30:21 +0000
commite75cd7ae0e980477aff17703a337dee702ecd2fb (patch)
treeda84081292245c979214c2758c0344668b632ac7 /tools/build/mk
parent2becca5d18eb351990ba0b4e68e407a4853be744 (diff)
downloadFreeBSD-src-e75cd7ae0e980477aff17703a337dee702ecd2fb.zip
FreeBSD-src-e75cd7ae0e980477aff17703a337dee702ecd2fb.tar.gz
Add WITHOUT_UTMPX switch to the build system.
This knob removes the tools that are exclusively used to view and maintain the databases maintained by utmpx, namely last, users, who, wtmpcvt, ac, lastlogin and utxrm. The tool w is not in this list, because it has some other functionality which is unrelated to utmpx; it is hardlinked to the uptime tool.
Diffstat (limited to 'tools/build/mk')
-rw-r--r--tools/build/mk/OptionalObsoleteFiles.inc18
1 files changed, 18 insertions, 0 deletions
diff --git a/tools/build/mk/OptionalObsoleteFiles.inc b/tools/build/mk/OptionalObsoleteFiles.inc
index 941a28f..3de090d 100644
--- a/tools/build/mk/OptionalObsoleteFiles.inc
+++ b/tools/build/mk/OptionalObsoleteFiles.inc
@@ -3326,6 +3326,24 @@ OLD_FILES+=usr/share/man/man8/telnetd.8.gz
# to be filled in
#.endif
+.if ${MK_UTMPX} == no
+OLD_FILES+=etc/periodic/monthly/200.accounting
+OLD_FILES+=usr/bin/last
+OLD_FILES+=usr/bin/users
+OLD_FILES+=usr/bin/who
+OLD_FILES+=usr/bin/wtmpcvt
+OLD_FILES+=usr/sbin/ac
+OLD_FILES+=usr/sbin/lastlogin
+OLD_FILES+=usr/sbin/utxrm
+OLD_FILES+=usr/share/man/man1/last.1.gz
+OLD_FILES+=usr/share/man/man1/users.1.gz
+OLD_FILES+=usr/share/man/man1/who.1.gz
+OLD_FILES+=usr/share/man/man1/wtmpcvt.1.gz
+OLD_FILES+=usr/share/man/man8/ac.8.gz
+OLD_FILES+=usr/share/man/man8/lastlogin.8.gz
+OLD_FILES+=usr/share/man/man8/utxrm.8.gz
+.endif
+
.if ${MK_WIRELESS} == no
OLD_FILES+=etc/regdomain.xml
OLD_FILES+=usr/sbin/ancontrol
OpenPOWER on IntegriCloud