From cb5091633c6dc6b6d9f5498da7ded61bc698bf82 Mon Sep 17 00:00:00 2001 From: netblue30 Date: Wed, 10 Aug 2016 09:08:52 -0400 Subject: Busybox workaround --- README | 17 +++++++++-------- RELNOTES | 1 + test/dist-compile/compile.sh | 21 +++++++++++++++++++++ 3 files changed, 31 insertions(+), 8 deletions(-) diff --git a/README b/README index 6ea10c901..6e6411619 100644 --- a/README +++ b/README @@ -28,6 +28,15 @@ Reiner Herrmann (https://github.com/reinerh) - moved build to .xz - detached signatures for source archive - recursive mkdir +Aleksey Manevich (https://github.com/manevich) + - several profile fixes + - fix problem with relative path in storage_find function + - fix build for systems without bash + - fix double quotes/single quotes problem + - big rework of argument processing subsystem + - --join fixes + - spliting up cmdline.c + - Busybox support Franco (nextime) Lanza (https://github.com/nextime) - added --private-template xee5ch (https://github.com/xee5ch) @@ -47,14 +56,6 @@ Thomas Jarosch (https://github.com/thomasjfox) - include mkuid.sh in make dist Niklas Haas (https://github.com/haasn) - blacklisting for keybase.io's client -Aleksey Manevich (https://github.com/manevich) - - several profile fixes - - fix problem with relative path in storage_find function - - fix build for systems without bash - - fix double quotes/single quotes problem - - big rework of argument processing subsystem - - --join fixes - - spliting up cmdline.c Fred-Barclay (https://github.com/Fred-Barclay) - added Vivaldi, Atril profiles - added PaleMoon profile diff --git a/RELNOTES b/RELNOTES index 0eb9db370..77270987e 100644 --- a/RELNOTES +++ b/RELNOTES @@ -5,6 +5,7 @@ firejail (0.9.42~rc2) baseline; urgency=low * --private-template (very simillar to the former --private-home) * AppImage support (--appimage) * AppArmor support (--apparmor) + * compile time support for Busybox * Sandbox auditing support (--audit) * remove environment variable (--rmenv) * noexec support (--noexec) diff --git a/test/dist-compile/compile.sh b/test/dist-compile/compile.sh index b33f0660a..f762b457d 100755 --- a/test/dist-compile/compile.sh +++ b/test/dist-compile/compile.sh @@ -12,6 +12,7 @@ arr[9]="TEST 9: compile file transfer disabled" arr[10]="TEST 10: compile disable whitelist" arr[11]="TEST 11: compile disable global config" arr[12]="TEST 12: compile apparmor" +arr[12]="TEST 13: compile busybox" # remove previous reports and output file cleanup() { @@ -281,6 +282,25 @@ cp output-configure oc12 cp output-make om12 rm output-configure output-make +#***************************************************************** +# TEST 13 +#***************************************************************** +# - enable busybox workaround +# - check compilation +#***************************************************************** +print_title "${arr[11]}" +# seccomp +cd firejail +make distclean +./configure --prefix=/usr --enable-busybox-workaround --enable-fatal-warnings 2>&1 | tee ../output-configure +make -j4 2>&1 | tee ../output-make +cd .. +grep Warning output-configure output-make > ./report-test13 +grep Error output-configure output-make >> ./report-test13 +cp output-configure oc13 +cp output-make om13 +rm output-configure output-make + #***************************************************************** # PRINT REPORTS @@ -308,3 +328,4 @@ echo ${arr[9]} echo ${arr[10]} echo ${arr[11]} echo ${arr[12]} +echo ${arr[13]} -- cgit v1.2.3-70-g09d2