GitHub Actions: Add new libcap-ng-dev dependency
PATCH 1/1 GitHub Actions: Add new libcap-ng-dev dependency
Linux builds need this now in order to retain capabilities when dropping root privileges.
--- .github/workflows/build.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
.github/workflows/build.yaml +2 -2
@@ -224,7 +224,7 @@ jobs: runs-on: ${{matrix.os}} steps: - name: Install dependencies - run: sudo apt update && sudo apt install -y liblzo2-dev libpam0g-dev liblz4-dev linux-libc-dev man2html libcmocka-dev python3-docutils libtool automake autoconf ${SSLPKG} ${NLPKG} + run: sudo apt update && sudo apt install -y liblzo2-dev libpam0g-dev liblz4-dev libcap-ng-dev linux-libc-dev man2html libcmocka-dev python3-docutils libtool automake autoconf ${SSLPKG} ${NLPKG} - name: Checkout OpenVPN uses: actions/[email protected]... - name: autoconf
@@ -248,7 +248,7 @@ jobs: runs-on: ${{matrix.os}} steps: - name: Install dependencies - run: sudo apt update && sudo apt install -y liblzo2-dev libpam0g-dev liblz4-dev linux-libc-dev man2html clang libcmocka-dev python3-docutils libtool automake autoconf libmbedtls-dev + run: sudo apt update && sudo apt install -y liblzo2-dev libpam0g-dev liblz4-dev libcap-ng-dev linux-libc-dev man2html clang libcmocka-dev python3-docutils libtool automake autoconf libmbedtls-dev - name: Checkout OpenVPN uses: actions/[email protected]... - name: autoconf
Signature · 1 line
2.34.1
Acked-by Gert Doering <[email protected]...>
Haven't tested anything, but it looks like it will fix the build - and GHA will tell me very soon :-)
Your patch has been applied to the master branch.
commit 4fb4d295d647292c6bc0c036a061f3f60aaa1278
Author: Timo Rothenpieler Date: Thu Aug 11 13:34:22 2022 +0200
GitHub Actions: Add new libcap-ng-dev dependency
Acked-by: Gert Doering <[email protected]...>
Message-Id: <[email protected]...>
URL: https://www.mail-archive.com/[email protected]/msg24870.html
Signed-off-by: Gert Doering <[email protected]...>--
kind regards,
Gert Doering