diff --git a/.gitignore b/.gitignore index 20d4b71..444215a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,83 +1 @@ -openconnect-2.25.tar.gz -/openconnect-2.26.tar.gz -/openconnect-3.00.tar.gz -/openconnect-3.01.tar.gz -/openconnect-3.02.tar.gz -/openconnect-3.10.tar.gz -/openconnect-3.11.tar.gz -/openconnect-3.12.tar.gz -/openconnect-3.13.tar.gz -/openconnect-3.14.tar.gz -/openconnect-3.15.tar.gz -/openconnect-3.16.tar.gz -/openconnect-3.17.tar.gz -/openconnect-3.18.tar.gz -/openconnect-3.19.tar.gz -/openconnect-3.20.tar.gz -/openconnect-3.99.tar.gz -/openconnect-3.99-26-gb40dcae.tar.gz -/openconnect-3.99-33-g2d08bf0.tar.gz -/openconnect-3.99-36-gb0f2edb.tar.gz -/openconnect-4.00.tar.gz -/openconnect-4.01.tar.gz -/openconnect-4.02.tar.gz -/openconnect-4.03.tar.gz -/openconnect-4.04.tar.gz -/openconnect-4.05.tar.gz -/openconnect-4.06.tar.gz -/openconnect-4.07.tar.gz -/openconnect-4.99.tar.gz -/openconnect-5.00.tar.gz -/openconnect-5.01.tar.gz -/openconnect-5.02.tar.gz -/openconnect-5.99.tar.gz -/openconnect-6.00.tar.gz -/openconnect-7.00.tar.gz -/openconnect-7.00.tar.gz.asc -/openconnect-7.01.tar.gz -/openconnect-7.02.tar.gz -/openconnect-7.03.tar.gz -/openconnect-7.04.tar.gz -/openconnect-7.05.tar.gz -/openconnect-7.06.tar.gz -/openconnect-7.06.tar.gz.asc -/pubring.gpg -/gpgkey-BE07D9FD54809AB2C4B0FF5F63762CDA67E2F359.gpg -/openconnect-7.07.tar.gz -/openconnect-7.07.tar.gz.asc -/openconnect-7.08.tar.gz -/openconnect-7.08.tar.gz.asc -/openconnect-8.00.tar.gz -/openconnect-8.00.tar.gz.asc -/openconnect-8.01.tar.gz -/openconnect-8.01.tar.gz.asc -/openconnect-8.02.tar.gz -/openconnect-8.02.tar.gz.asc -/openconnect-8.03.tar.gz -/openconnect-8.03.tar.gz.asc -/openconnect-8.04.tar.gz -/openconnect-8.04.tar.gz.asc -/openconnect-8.05.tar.gz -/openconnect-8.05.tar.gz.asc -/openconnect-8.06.tar.gz -/openconnect-8.06.tar.gz.asc -/openconnect-8.07.tar.gz -/openconnect-8.07.tar.gz.asc -/openconnect-8.08.tar.gz -/openconnect-8.08.tar.gz.asc -/openconnect-8.09.tar.gz -/openconnect-8.09.tar.gz.asc -/openconnect-8.10.tar.gz -/openconnect-8.10.tar.gz.asc -/openconnect-8.20.tar.gz -/openconnect-8.20.tar.gz.asc -/openconnect-9.00.tar.gz -/openconnect-9.00.tar.gz.asc -/openconnect-9.01.tar.gz -/openconnect-9.01.tar.gz.asc -/openconnect-9.10.tar.gz -/openconnect-9.10.tar.gz.asc -/openconnect-9.11.tar.gz -/openconnect-9.11.tar.gz.asc -/openconnect-9.12.tar.gz -/openconnect-9.12.tar.gz.asc +SOURCES/openconnect-9.12.tar.gz diff --git a/.openconnect.metadata b/.openconnect.metadata new file mode 100644 index 0000000..0abf01c --- /dev/null +++ b/.openconnect.metadata @@ -0,0 +1 @@ +1fa47eb23fa6fd41b3b7b88b9079a92285add7d8 SOURCES/openconnect-9.12.tar.gz diff --git a/0001-Ignore-errors-fetching-NC-landing-page-if-auth-was-s.patch b/0001-Ignore-errors-fetching-NC-landing-page-if-auth-was-s.patch deleted file mode 100644 index 6fe452c..0000000 --- a/0001-Ignore-errors-fetching-NC-landing-page-if-auth-was-s.patch +++ /dev/null @@ -1,65 +0,0 @@ -From 4ff991c46e6b202cabd623eeffa5ae1af1ba5c8e Mon Sep 17 00:00:00 2001 -From: David Woodhouse -Date: Fri, 23 Apr 2021 10:40:44 +0100 -Subject: [PATCH 1/2] Ignore errors fetching NC landing page if auth was - successful - -Signed-off-by: David Woodhouse -(cherry picked from commit 3e77943692b511719d9217d2ecc43588b7c6c08b) ---- - auth-juniper.c | 18 +++++++++++------- - www/changelog.xml | 2 +- - 2 files changed, 12 insertions(+), 8 deletions(-) - -diff --git a/auth-juniper.c b/auth-juniper.c -index 19d43978..63af3bfc 100644 ---- a/auth-juniper.c -+++ b/auth-juniper.c -@@ -663,6 +663,17 @@ int oncp_obtain_cookie(struct openconnect_info *vpninfo) - ret = do_https_request(vpninfo, "GET", NULL, NULL, - &form_buf, 2); - -+ /* After login, the server will redirect the "browser" to a landing page. -+ * https://kb.pulsesecure.net/articles/Pulse_Security_Advisories/SA44784 -+ * turned some of those landing pages into a 403 but we don't *care* -+ * about that as long as we have the cookie we wanted. So check for -+ * cookie success *before* checking 'ret'. */ -+ if (!check_cookie_success(vpninfo)) { -+ free(form_buf); -+ ret = 0; -+ break; -+ } -+ - if (ret < 0) - break; - -@@ -680,13 +691,6 @@ int oncp_obtain_cookie(struct openconnect_info *vpninfo) - break; - } - -- if (!check_cookie_success(vpninfo)) { -- buf_free(url); -- free(form_buf); -- ret = 0; -- break; -- } -- - doc = htmlReadMemory(form_buf, ret, url->data, NULL, - HTML_PARSE_RECOVER|HTML_PARSE_NOERROR|HTML_PARSE_NOWARNING|HTML_PARSE_NONET); - buf_free(url); -diff --git a/www/changelog.xml b/www/changelog.xml -index bca5c8e2..1a05eda7 100644 ---- a/www/changelog.xml -+++ b/www/changelog.xml -@@ -15,7 +15,7 @@ -