391568a7ba
Changes in version 1.1 ====================== **Released on 2019-01-14.** * Fixed the `darwin-native` type to allow accessing the Oracle JRE from within the sandbox. * Expose `/usr/local` in `darwin-native` so that third-party software installed on the host, such as OSXFUSE, can be found. * Expose an empty `/private/var/mail` directory within the `darwin-native` sandbox so that programs that expect the directory to exist can work. * Issue 2: Fixed access to the system keychain on `darwin-native` sandboxes, which allows, among other things, for HTTPS downloads to work properly. * Issue 4: Fixed the `netbsd-native` type to recognize a `/boot` directory and to ignore the lack of `/netbsd`, as is the case for NetBSD/evbarm-earmv7hf 7.1 Raspberry Pi images. * Issue 5: Fixed DNS resolution in `darwin-native` sandboxes, which apparently got broken in the macOS Sierra 10.12.4 update because SIP now prevents modifying the running mDNSResponder instance. * Issue 7: Fixed execution of compilers and other Xcode tools within a `darwin-native` sandbox starting with High Sierra. Unfortunately, we now require SIP to be disabled for these tools to work. * Added support for XZ-compressed files to `sandbox_extract`. * Added support for XZ-compressed release sets to `netbsd-native` and `netbsd-release`. As a side-effect of this change, the `NETBSD_RELEASE_SETS` setting in `netbsd-release` now takes a list of set names *without* their extension.
44 lines
1.2 KiB
Makefile
44 lines
1.2 KiB
Makefile
# $NetBSD: Makefile,v 1.2 2019/01/14 10:52:49 jmmv Exp $
|
|
|
|
DISTNAME= sandboxctl-1.1
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=jmmv/}sandboxctl/releases/download/sandboxctl-1.1/
|
|
|
|
MAINTAINER= jmmv@NetBSD.org
|
|
COMMENT= Manages chroot-based sandboxes
|
|
LICENSE= modified-bsd
|
|
|
|
ONLY_FOR_PLATFORM= Darwin-*-* FreeBSD-*-* Linux-*-* NetBSD-*-*
|
|
|
|
GNU_CONFIGURE= yes
|
|
TEST_TARGET= check
|
|
USE_LANGUAGES= # empty
|
|
USE_TOOLS= pkg-config
|
|
|
|
PKG_SYSCONFSUBDIR= sandboxctl
|
|
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
|
|
CONFIGURE_ARGS+= SANDBOXCTL_CONFSUBDIR=
|
|
INSTALL_MAKE_FLAGS+= sandboxctl_confdir=${EGDIR}
|
|
EGDIR= ${PREFIX}/share/examples/sandboxctl
|
|
CONF_FILES+= ${EGDIR}/default.conf ${PKG_SYSCONFDIR}/default.conf
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.sandboxctl
|
|
PKG_SUPPORTED_OPTIONS= tests
|
|
PKG_SUGGESTED_OPTIONS= tests
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
.if !empty(PKG_OPTIONS:Mtests)
|
|
. include "../../devel/atf/buildlink3.mk"
|
|
PLIST_SUBST+= TESTS=
|
|
.else
|
|
CONFIGURE_ARGS+= --with-atf=no
|
|
PLIST_SUBST+= TESTS=@comment
|
|
|
|
post-install:
|
|
rm -rf "${PREFIX}/share/tests/sandboxctl"
|
|
.endif
|
|
|
|
BUILDLINK_API_DEPENDS.shtk+= shtk>=1.7
|
|
.include "../../devel/shtk/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|