mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-28 08:22:56 +02:00
minijail: update to v2024.05.22
This commit is contained in:
parent
97de222c22
commit
ba1f7a7ce3
2 changed files with 14 additions and 4 deletions
|
@ -5,8 +5,8 @@ others are already undef'd for other platforms above that.
|
||||||
|
|
||||||
--- a/gen_constants-inl.h
|
--- a/gen_constants-inl.h
|
||||||
+++ b/gen_constants-inl.h
|
+++ b/gen_constants-inl.h
|
||||||
@@ -24,3 +24,8 @@
|
@@ -35,6 +35,11 @@
|
||||||
// build errors on such broken systems.
|
*/
|
||||||
#undef BLKTRACESETUP
|
#undef BLKTRACESETUP
|
||||||
#undef FS_IOC_FIEMAP
|
#undef FS_IOC_FIEMAP
|
||||||
+#undef ELF_ARCH
|
+#undef ELF_ARCH
|
||||||
|
@ -14,3 +14,6 @@ others are already undef'd for other platforms above that.
|
||||||
+#undef ELF_DATA
|
+#undef ELF_DATA
|
||||||
+#undef ELF_GREG_TYPE
|
+#undef ELF_GREG_TYPE
|
||||||
+#undef FIOQSIZE
|
+#undef FIOQSIZE
|
||||||
|
|
||||||
|
/* The old glibc bundled with the Android host toolchain is missing some ioctl
|
||||||
|
* definitions used by minijail policy in crosvm and other projects. Locally
|
||||||
|
|
|
@ -1,20 +1,27 @@
|
||||||
# Template file for 'minijail'
|
# Template file for 'minijail'
|
||||||
pkgname=minijail
|
pkgname=minijail
|
||||||
version=16
|
version=2024.05.22
|
||||||
revision=1
|
revision=1
|
||||||
build_style=gnu-makefile
|
build_style=gnu-makefile
|
||||||
makedepends="libcap-devel"
|
makedepends="libcap-devel"
|
||||||
|
checkdepends="wget tar gzip"
|
||||||
short_desc="Sandboxing and containment tool used in Chrome OS and Android"
|
short_desc="Sandboxing and containment tool used in Chrome OS and Android"
|
||||||
maintainer="Cameron Nemo <cam@nohom.org>"
|
maintainer="Cameron Nemo <cam@nohom.org>"
|
||||||
license="BSD-3-Clause"
|
license="BSD-3-Clause"
|
||||||
homepage="https://android.googlesource.com/platform/external/minijail"
|
homepage="https://android.googlesource.com/platform/external/minijail"
|
||||||
distfiles="https://github.com/google/minijail/archive/linux-v${version}.tar.gz"
|
distfiles="https://github.com/google/minijail/archive/linux-v${version}.tar.gz"
|
||||||
checksum=1efb6224465cf8a5bb7a69659b35482e69786fce572f29125201e9a0e793bdd6
|
checksum=3136365ca3762da3e725f734fbdc544d8c82d6a763f803b2850ed3c993c216f0
|
||||||
|
|
||||||
if [ "$XBPS_TARGET_ENDIAN" = "be" ]; then
|
if [ "$XBPS_TARGET_ENDIAN" = "be" ]; then
|
||||||
broken="bpf.h:110:2: error: #error Unsupported endianness"
|
broken="bpf.h:110:2: error: #error Unsupported endianness"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
do_check() {
|
||||||
|
chmod +x ./get_googletest.sh
|
||||||
|
./get_googletest.sh
|
||||||
|
make test
|
||||||
|
}
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
vbin minijail0
|
vbin minijail0
|
||||||
vmkdir usr/lib
|
vmkdir usr/lib
|
||||||
|
|
Loading…
Add table
Reference in a new issue