summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-09-04 08:19:27 +0200
committerGitHub <noreply@github.com>2022-09-04 08:19:27 +0200
commit7ce865118886358efde71a5d3782d21063b01a22 (patch)
tree5aa733fab4caf3366f6d6c720ce8458492a11140 /packages
parenta16db434a75b8d05b684d815b5ae277519fb9003 (diff)
parent50a88a508ada1ce1e6633fcf33e5eaf467fd4ad2 (diff)
downloadvyos-build-7ce865118886358efde71a5d3782d21063b01a22.tar.gz
vyos-build-7ce865118886358efde71a5d3782d21063b01a22.zip
Merge pull request #260 from c-po/equuleus1.3.2
T4666: hostap: Reintroduce Debian's allow-tlsv1.patch
Diffstat (limited to 'packages')
-rwxr-xr-xpackages/hostap/build.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/hostap/build.sh b/packages/hostap/build.sh
index 90b3358c..8e5d324b 100755
--- a/packages/hostap/build.sh
+++ b/packages/hostap/build.sh
@@ -16,7 +16,9 @@ fi
echo "I: Copy Debian build instructions"
cp -a ${SRC_DEB}/debian ${SRC}
-rm -rf ${SRC}/debian/patches
+# Preserve Debian's default of allowing TLSv1.0 for compatibility
+find ${SRC}/debian/patches -mindepth 1 ! -name allow-tlsv1.patch -delete
+echo 'allow-tlsv1.patch' > ${SRC}/debian/patches/series
# Build Debian package
cd ${SRC}