summaryrefslogtreecommitdiff
path: root/packages/strongswan/build.sh
diff options
context:
space:
mode:
authorBjarke Istrup Pedersen <gurli@gurlinet.dk>2023-11-24 17:08:22 +0100
committerMergify <37929162+mergify[bot]@users.noreply.github.com>2023-12-03 13:53:40 +0000
commit457289e114629f5304842e05efe158db055f7314 (patch)
treeea7cbe848d15993a3b57417cbe825f4b9dedd89c /packages/strongswan/build.sh
parent562f4f67e0359c07852d1080dc7424bfc501bc03 (diff)
downloadvyos-build-457289e114629f5304842e05efe158db055f7314.tar.gz
vyos-build-457289e114629f5304842e05efe158db055f7314.zip
StrongSwan: T5754: Build changes needed
(cherry picked from commit 68744626ea2650259a4d8daad528542556bb6188)
Diffstat (limited to 'packages/strongswan/build.sh')
-rwxr-xr-xpackages/strongswan/build.sh31
1 files changed, 30 insertions, 1 deletions
diff --git a/packages/strongswan/build.sh b/packages/strongswan/build.sh
index e12d54f0..c0dab4d5 100755
--- a/packages/strongswan/build.sh
+++ b/packages/strongswan/build.sh
@@ -2,6 +2,35 @@
CWD=$(pwd)
set -e
+# extracted build dependencies, as autogenerationg and installing them will fail :/
+sudo apt-get install -y bison \
+ bzip2 \
+ debhelper-compat \
+ dh-apparmor \
+ dpkg-dev \
+ flex \
+ gperf \
+ libiptc-dev \
+ libcap-dev \
+ libcurl3-dev \
+ libgcrypt20-dev \
+ libgmp3-dev \
+ libkrb5-dev \
+ libldap2-dev \
+ libnm-dev \
+ libpam0g-dev \
+ libsqlite3-dev \
+ libssl-dev \
+ libsystemd-dev \
+ libtool \
+ libtss2-dev \
+ libxml2-dev \
+ pkg-config \
+ po-debconf \
+ systemd \
+ libsystemd-dev \
+ tzdata
+
SRC=strongswan
if [ ! -d ${SRC} ]; then
echo "Source directory does not exists, please 'git clone'"
@@ -24,4 +53,4 @@ echo "I: bump version"
dch -v "5.9.11-2+vyos0" "Patchset for DMVPN support" -b
echo "I: Build Debian Package"
-dpkg-buildpackage -uc -us -tc -b
+dpkg-buildpackage -uc -us -tc -b -d