--- openconnect-9.12.orig/debian/changelog
+++ openconnect-9.12/debian/changelog
@@ -0,0 +1,11 @@
+openconnect (9.12-0+4.20) unstable; urgency=medium
+
+  * version number update by debtransform
+
+ -- debtransform <build@opensuse.org>  Sat, 30 May 2026 22:05:40 +0000
+
+openconnect (9.12-0) unstable; urgency=medium
+
+  * Initial packaging.
+
+ -- OpenConnect Team <openconnect-devel@lists.infradead.org>  Wed, 23 Feb 2022 21:43:17 +0000
--- openconnect-9.12.orig/debian/control
+++ openconnect-9.12/debian/control
@@ -0,0 +1,85 @@
+Source: openconnect
+Maintainer: OpenConnect Team <openconnect-devel@lists.infradead.org>
+Section: net
+Priority: optional
+Build-Depends: debhelper-compat (= 12),
+               groff,
+               libgcrypt20-dev,
+               libgnutls28-dev,
+               libkrb5-dev,
+               liblz4-dev,
+               libp11-kit-dev,
+               libpcsclite-dev,
+               libproxy-dev,
+               libsocket-wrapper [!hurd-i386] <!nocheck>,
+               libstoken-dev,
+               libtasn1-6-dev,
+               libuid-wrapper [!alpha !hurd-i386 !kfreebsd-amd64 !kfreebsd-i386] <!nocheck>,
+               libxml2-dev,
+               locales-all <!nocheck>,
+               ocserv [!hurd-i386 !kfreebsd-amd64 !kfreebsd-i386] <!nocheck>,
+               openssl <!nocheck>,
+               pkg-config,
+               python3:any,
+               softhsm2 [!hurd-i386] <!nocheck>,
+               xdg-utils,
+               zlib1g-dev
+Standards-Version: 4.6.0
+Rules-Requires-Root: no
+Vcs-Browser: https://salsa.debian.org/debian/openconnect
+Vcs-Git: https://salsa.debian.org/debian/openconnect.git
+Homepage: https://www.infradead.org/openconnect/
+
+Package: openconnect
+Architecture: any
+Depends: libopenconnect5 (= ${binary:Version}), vpnc-scripts, ${misc:Depends}, ${shlibs:Depends}
+Recommends: python3, python3-asn1crypto, python3-mechanize, python3-netifaces,
+Suggests: bash-completion,
+Description: open client for various network vendors SSL VPNs
+ OpenConnect is an SSL VPN client initially created to support Cisco's
+ AnyConnect SSL VPN. It has since been extended to support the Pulse Connect
+ Secure VPN (formerly known as Juniper Network Connect or Junos Pulse), the Palo
+ Alto Networks GlobalProtect SSL VPN, F5 Big-IP SSL VPN, Fortinet Fortigate SSL
+ VPN and Array Networks AG SSL VPN.
+ .
+ A corresponding OpenConnect VPN server implementation can be found in the
+ ocserv package.
+
+Package: libopenconnect-dev
+Architecture: any
+Multi-Arch: same
+Section: libdevel
+Depends: libgnutls28-dev,
+         liblz4-dev,
+         libopenconnect5 (= ${binary:Version}),
+         libp11-kit-dev,
+         libpcsclite-dev,
+         libproxy-dev,
+         libstoken-dev,
+         libxml2-dev,
+         zlib1g-dev,
+         ${misc:Depends}
+Description: open client for various network vendors SSL VPNs - development files
+ OpenConnect is an SSL VPN client initially created to support Cisco's
+ AnyConnect SSL VPN. It has since been extended to support the Pulse Connect
+ Secure VPN (formerly known as Juniper Network Connect or Junos Pulse), the Palo
+ Alto Networks GlobalProtect SSL VPN, F5 Big-IP SSL VPN, Fortinet Fortigate SSL
+ VPN and Array Networks AG SSL VPN.
+ .
+ This package provides the header and development files.
+
+Package: libopenconnect5
+Architecture: any
+Multi-Arch: same
+Section: libs
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Recommends: ca-certificates
+Pre-Depends: ${misc:Pre-Depends}
+Description: open client for various network vendors SSL VPNs - shared library
+ OpenConnect is an SSL VPN client initially created to support Cisco's
+ AnyConnect SSL VPN. It has since been extended to support the Pulse Connect
+ Secure VPN (formerly known as Juniper Network Connect or Junos Pulse), the Palo
+ Alto Networks GlobalProtect SSL VPN, F5 Big-IP SSL VPN, Fortinet Fortigate SSL
+ VPN and Array Networks AG SSL VPN.
+ .
+ This package provides the shared library.
--- openconnect-9.12.orig/debian/copyright
+++ openconnect-9.12/debian/copyright
@@ -0,0 +1,175 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Source: ftp://ftp.infradead.org/pub/openconnect/
+
+Files: *
+Copyright: 2008-2016 Intel Corporation.
+           2006 Reimar Doeffinger
+           2008 Nick Andrew <nick@nick-andrew.net>
+           2012-2014 Kevin Cernekee <cernekee@gmail.com>
+           2013-2016 Nikos Mavrogiannopoulos
+           2013 John Morrissey <jwm@horde.net>
+           2016 Red Hat, Inc.
+           2016-2018 Daniel Lenski <dlenski@gmail.com>
+           2017-2018 James Bottomley <James.Bottomley@hansenpartnership.com>
+           2018 David Woodhouse <dwmw2@infradead.org>
+License: LGPL-2.1
+
+Files: compat.c
+Copyright: 2007, 2010, Nathan C. Myers <ncm@cantrip.org>
+License: BSD-3-clause
+
+Files: gnutls_tpm2_esys.c
+Copyright: 2017-2018, Fraunhofer SIT sponsored by Infineon Technologies AG
+License: BSD-3-clause-Fraunhofer
+
+Files: android/run_pie.c
+Copyright: 2014 The Chromium Authors
+License: BSD-3-clause-Google
+
+Files: tests/dtls-psk
+ tests/ns.sh
+ tests/sigterm
+Copyright: 2018 Nikos Mavrogiannopoulos
+License: GPL-2+
+
+Files: www/html.py
+Copyright: 2005 Thomas Gleixner <tglx@linutronix.de>
+License: GPL-2
+
+Files: debian/*
+Copyright: 2012-2019 Mike Miller <mtmiller@debian.org>
+           2008-2011 Ross Burton <ross@debian.org>
+           2019-2022 Luca Boccassi <bluca@debian.org>
+License: GPL-2+
+
+License: GPL-2
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License version 2, as
+ published by the Free Software Foundation.
+ .
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ GNU General Public License for more details.
+ .
+ You should have received a copy of the GNU General Public License along
+ with this program; if not, write to the Free Software Foundation, Inc.,
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ .
+ On Debian systems, the complete text of the GNU General Public
+ License version 2 can be found in `/usr/share/common-licenses/GPL-2'.
+
+License: GPL-2+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+ .
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ GNU General Public License for more details.
+ .
+ You should have received a copy of the GNU General Public License along
+ with this program; if not, write to the Free Software Foundation, Inc.,
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ .
+ On Debian systems, the complete text of the GNU General Public
+ License version 2 can be found in `/usr/share/common-licenses/GPL-2'.
+
+License: LGPL-2.1
+ This library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License version 2.1, as published by the Free Software Foundation.
+ .
+ This library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ Lesser General Public License for more details.
+ .
+ You should have received a copy of the GNU Lesser General Public
+ License along with this library; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
+ .
+ On Debian systems, the full text of the GNU Lesser General Public
+ License version 2.1 can be found in `/usr/share/common-licenses/LGPL-2.1'.
+
+License: BSD-3-clause
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are met:
+ .
+    Redistributions of source code must retain the above copyright notice,
+    this list of conditions and the following disclaimer.
+ .
+    Redistributions in binary form must reproduce the above copyright notice,
+    this list of conditions and the following disclaimer in the documentation
+    and/or other materials provided with the distribution.
+ .
+    The name of the author must not be used to endorse or promote products
+    derived from this software without specific prior written permission.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
+ LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ POSSIBILITY OF SUCH DAMAGE.
+
+License: BSD-3-clause-Fraunhofer
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are met:
+ .
+ 1. Redistributions of source code must retain the above copyright notice,
+ this list of conditions and the following disclaimer.
+ .
+ 2. Redistributions in binary form must reproduce the above copyright notice,
+ this list of conditions and the following disclaimer in the documentation
+ and/or other materials provided with the distribution.
+ .
+ 3. Neither the name of tpm2-tss-engine nor the names of its contributors
+ may be used to endorse or promote products derived from this software
+ without specific prior written permission.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+ AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
+ LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
+ THE POSSIBILITY OF SUCH DAMAGE.
+
+License: BSD-3-clause-Google
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are
+ met:
+ .
+    * Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+    * Redistributions in binary form must reproduce the above
+ copyright notice, this list of conditions and the following disclaimer
+ in the documentation and/or other materials provided with the
+ distribution.
+    * Neither the name of Google Inc. nor the names of its
+ contributors may be used to endorse or promote products derived from
+ this software without specific prior written permission.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
--- openconnect-9.12.orig/debian/libopenconnect-dev.install
+++ openconnect-9.12/debian/libopenconnect-dev.install
@@ -0,0 +1,3 @@
+usr/include
+usr/lib/*/libopenconnect.so
+usr/lib/*/pkgconfig
--- openconnect-9.12.orig/debian/libopenconnect5.install
+++ openconnect-9.12/debian/libopenconnect5.install
@@ -0,0 +1 @@
+usr/lib/*/libopenconnect.so.*
--- openconnect-9.12.orig/debian/openconnect.install
+++ openconnect-9.12/debian/openconnect.install
@@ -0,0 +1,7 @@
+usr/libexec/openconnect/*.py
+usr/libexec/openconnect/*.sh
+usr/sbin
+usr/share/bash-completion
+usr/share/doc/openconnect/html
+usr/share/locale
+usr/share/man
--- openconnect-9.12.orig/debian/rules
+++ openconnect-9.12/debian/rules
@@ -0,0 +1,28 @@
+#!/usr/bin/make -f
+
+include /usr/share/dpkg/pkg-info.mk
+
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+
+%:
+	dh $@
+
+override_dh_auto_configure:
+	dh_auto_configure -- \
+		--disable-dsa-tests \
+		--htmldir=/usr/share/doc/openconnect/html \
+		--with-gnutls \
+		--without-gnutls-version-check \
+		--with-vpnc-script=/usr/share/vpnc-scripts/vpnc-script
+	$(MAKE) version.c
+	sed -i -e 's|".*"|"v$(DEB_VERSION)"|' version.c
+
+override_dh_installchangelogs:
+	dh_installchangelogs www/changelog.html
+
+override_dh_compress:
+	dh_compress -Xhtml/changelog.html
+
+override_dh_makeshlibs:
+	dh_makeshlibs
+	dpkg-gensymbols -plibopenconnect5 -Pdebian/libopenconnect5 -Ilibopenconnect5.symbols
