]> git.ipfire.org Git - thirdparty/openvpn.git/commitdiff
GitHub Actions: Add new libcap-ng-dev dependency
authorTimo Rothenpieler <timo@rothenpieler.org>
Thu, 11 Aug 2022 11:34:22 +0000 (13:34 +0200)
committerGert Doering <gert@greenie.muc.de>
Thu, 11 Aug 2022 11:58:10 +0000 (13:58 +0200)
Linux builds need this now in order to retain capabilities when dropping
root privileges.
Acked-by: Gert Doering <gert@greenie.muc.de>
Message-Id: <20220811113422.451-1-timo@rothenpieler.org>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg24870.html

Signed-off-by: Gert Doering <gert@greenie.muc.de>
.github/workflows/build.yaml

index b905c0d21175c46f8518820bcf9baffd6e4a1ccf..c89d3c8c56fd4d0d46896783be6a84ba15061d85 100644 (file)
@@ -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/checkout@v2
       - 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/checkout@v2
       - name: autoconf