Author: markj Date: Fri Jan 4 19:20:19 2019 New Revision: 342776 URL: https://svnweb.freebsd.org/changeset/base/342776
Log: Disable savecore(8)'s libcasper support when WITHOUT_DYNAMICROOT=yes. This follows the example of other Capsicumized programs in /sbin. Reported by: Manfred Antar <manfredan...@gmail.com> MFC with: r342699 Sponsored by: The FreeBSD Foundation Modified: head/sbin/savecore/Makefile Modified: head/sbin/savecore/Makefile ============================================================================== --- head/sbin/savecore/Makefile Fri Jan 4 19:10:46 2019 (r342775) +++ head/sbin/savecore/Makefile Fri Jan 4 19:20:19 2019 (r342776) @@ -11,7 +11,9 @@ MAN= savecore.8 .include <src.opts.mk> -.if ${MK_CASPER} != "no" && !defined(RESCUE) +.if ${MK_DYNAMICROOT} == "no" +.warning ${PROG} built without libcasper support +.elif ${MK_CASPER} != "no" && !defined(RESCUE) CFLAGS+= -DWITH_CASPER LIBADD+= casper cap_fileargs cap_syslog .endif _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"