From 7f3dcf11e0023014487ccd0fc7046dd7490c1d2c Mon Sep 17 00:00:00 2001 From: Paul Menzel Date: Fri, 28 May 2021 15:44:01 +0200 Subject: [PATCH 1/2] libcap-ng: Add version 0.8.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit From the [GitHub project page][1]: > Libcap-ng is a library for Linux that makes using posix capabilities > easy. virtiofsd requires libcap-ng: ../tools/meson.build:12:6: ERROR: Problem encountered: virtiofsd requires libcap-ng-devel and seccomp-devel Run `autogen.sh` in the source directory, as it requires `configure.ac` in the same directory, and Bee’s buildtype *autogen* is run from the build directory. Running it manually, the buildtype *autotools* is used. [BEE] using magic buildtype 'autotools' from '/usr/libexec/bee/beesh.d/autotools.sh' .. [1]: https://github.com/stevegrubb/libcap-ng/ --- libcap-ng.be0 | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100755 libcap-ng.be0 diff --git a/libcap-ng.be0 b/libcap-ng.be0 new file mode 100755 index 000000000..45a3aab91 --- /dev/null +++ b/libcap-ng.be0 @@ -0,0 +1,38 @@ +#!/usr/bin/env beesh + +# BEE_VERSION libcap-ng-0.8.2-0 + +SRCURL[0]="https://github.com/stevegrubb/libcap-ng/archive/refs/tags/v${PKGVERSION}.tar.gz libcap-ng-${PKGVERSION}.tar.gz" + +# PATCHURL+=() + +# build_in_sourcedir + +# sourcesubdir_append src + +#mee_extract() { +# bee_extract "${@}" +#} + +mee_patch() { + bee_patch "${@}" + # buildtype *autogen* is run from build directory, so run the script + # manually, so buildtype *autotools* can be used. + start_cmd ./autogen.sh +} + +#mee_configure() { +# bee_configure +#} + +#mee_build() { +# bee_build +#} + +#mee_install() { +# bee_install +#} + +#mee_install_post() { +# exit +#} From 87d1d2ad6c9bc873d9f2670456461fda9d4fb5c0 Mon Sep 17 00:00:00 2001 From: Paul Menzel Date: Fri, 28 May 2021 16:05:15 +0200 Subject: [PATCH 2/2] libseccomp: Add version 2.5.1 From the [Web site][1]: > The libseccomp library provides an easy to use, platform independent, > interface to the Linux Kernel's syscall filtering mechanism. The > libseccomp API is designed to abstract away the underlying BPF based > syscall filter language and present a more conventional function-call > based filtering interface that should be familiar to, and easily > adopted by, application developers. virtiofsd requires libseccomp: ../tools/meson.build:12:6: ERROR: Problem encountered: virtiofsd requires libcap-ng-devel and seccomp-devel [1]: https://github.com/seccomp/libseccomp --- libseccomp.be0 | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100755 libseccomp.be0 diff --git a/libseccomp.be0 b/libseccomp.be0 new file mode 100755 index 000000000..4788ebd81 --- /dev/null +++ b/libseccomp.be0 @@ -0,0 +1,35 @@ +#!/usr/bin/env beesh + +# BEE_VERSION libseccomp-2.5.1-0 + +SRCURL[0]="https://github.com/seccomp/libseccomp/releases/download/v${PKGVERSION}/libseccomp-${PKGVERSION}.tar.gz" + +# PATCHURL+=() + +# build_in_sourcedir + +# sourcesubdir_append src + +#mee_extract() { +# bee_extract "${@}" +#} + +#mee_patch() { +# bee_patch "${@}" +#} + +#mee_configure() { +# bee_configure +#} + +#mee_build() { +# bee_build +#} + +#mee_install() { +# bee_install +#} + +#mee_install_post() { +# exit +#}