git: b7ab6832cd98 - main - cat: disable building it with Casper

Mariusz Zaborski oshogbo at FreeBSD.org
Sun Jan 17 00:21:35 UTC 2021


The branch main has been updated by oshogbo:

URL: https://cgit.FreeBSD.org/src/commit/?id=b7ab6832cd988aff7f4e468e507c314dd7641638

commit b7ab6832cd988aff7f4e468e507c314dd7641638
Author:     Mariusz Zaborski <oshogbo at FreeBSD.org>
AuthorDate: 2021-01-17 00:04:28 +0000
Commit:     Mariusz Zaborski <oshogbo at FreeBSD.org>
CommitDate: 2021-01-17 00:21:46 +0000

    cat: disable building it with Casper
    
    We want to measure what are the actual cost of sandboxing cat(1).
    
    Requested by:   mjg, cy, Mike Karels
    Discussed with: rwatson, markj
---
 bin/cat/Makefile | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/bin/cat/Makefile b/bin/cat/Makefile
index abfdcbcfbb2e..cce69d8aad9e 100644
--- a/bin/cat/Makefile
+++ b/bin/cat/Makefile
@@ -15,11 +15,12 @@ CFLAGS+=-DBOOTSTRAP_CAT
 HAS_TESTS=
 SUBDIR.${MK_TESTS}+= tests
 
-.if ${MK_CASPER} != "no" && !defined(RESCUE) && !defined(BOOTSTRAPPING)
-LIBADD+=        casper
-LIBADD+=        cap_fileargs
-LIBADD+=        cap_net
-CFLAGS+=-DWITH_CASPER
-.endif
+# Temporary disable building cat with Casper.
+#.if ${MK_CASPER} != "no" && !defined(RESCUE) && !defined(BOOTSTRAPPING)
+#LIBADD+=        casper
+#LIBADD+=        cap_fileargs
+#LIBADD+=        cap_net
+#CFLAGS+=-DWITH_CASPER
+#.endif
 
 .include <bsd.prog.mk>


More information about the dev-commits-src-all mailing list