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
committerBjarke Istrup Pedersen <gurli@gurlinet.dk>2023-11-24 17:08:22 +0100
commit68744626ea2650259a4d8daad528542556bb6188 (patch)
treed4ba5894173156fe77e3351341c4ef090a6b030a /packages/strongswan/build.sh
parentf5d50b520313622a12feceb7b5f7ea4d1db6e96d (diff)
downloadvyos-build-68744626ea2650259a4d8daad528542556bb6188.tar.gz
vyos-build-68744626ea2650259a4d8daad528542556bb6188.zip
StrongSwan: T5754: Build changes needed
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