Carsten Grzemba
2024-01-11 3cae8a15d79e9e22cc9758d5bcab1ba59ff0e4c7
commit | author | age
039642 1 #
JK 2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"), version 1.0.
4 # You may only use this file in accordance with the terms of version
5 # 1.0 of the CDDL.
6 #
7 # A full copy of the text of the CDDL should have accompanied this
8 # source.  A copy of the CDDL is also available via the Internet at
9 # http://www.illumos.org/license/CDDL.
10 #
11
12 #
13 # Copyright 2016 Jim Klimov
fe11ec 14 # Copyright 2019 Michal Nowak
9106f7 15 # Copyright 2020 Andreas Wacknitz
039642 16 #
fe11ec 17
0c161d 18 BUILD_BITS= 64
3cae8a 19 OPENSSL_VERSION= 3.1
0c161d 20 USE_DEFAULT_TEST_TRANSFORMS= yes
039642 21 include ../../../make-rules/shared-macros.mk
JK 22
23 COMPONENT_NAME=        openconnect
3cae8a 24 COMPONENT_VERSION=    9.12
CG 25 COMPONENT_REVISION=    0
0c161d 26 COMPONENT_SUMMARY=    An SSL VPN client (intended to be) compatible with Cisco AnyConnect and Juniper Pulse
fe11ec 27 COMPONENT_ARCHIVE=    $(COMPONENT_NAME)-$(COMPONENT_VERSION).tar.gz
MN 28 COMPONENT_SRC=        $(COMPONENT_NAME)-$(COMPONENT_VERSION)
9106f7 29 COMPONENT_PROJECT_URL=    https://www.infradead.org/openconnect
3cae8a 30 COMPONENT_ARCHIVE_HASH=    sha256:a2bedce3aa4dfe75e36e407e48e8e8bc91d46def5335ac9564fbf91bd4b2413e
CG 31 COMPONENT_ARCHIVE_URL=    https://www.infradead.org/openconnect/download/$(COMPONENT_ARCHIVE)
32 # COMPONENT_ARCHIVE_URL=    https://github.com/openconnect/openconnect/archive/v$(COMPONENT_VERSION).tar.gz
0c161d 33 COMPONENT_FMRI=        network/$(COMPONENT_NAME)
AW 34 COMPONENT_CLASSIFICATION=    Applications/Internet
fe11ec 35 COMPONENT_LICENSE=    LGPLv2.1
MN 36 COMPONENT_LICENSE_FILE=    COPYING.LGPL
039642 37
fe11ec 38 include $(WS_MAKE_RULES)/common.mk
039642 39
JK 40 COMPONENT_PREP_ACTION = \
fe11ec 41     (cd $(@D) && \
MN 42     autoreconf -fiv && \
43     $(RM) config.h )
039642 44
JK 45 COMPONENT_PRE_CONFIGURE_ACTION = \
fe11ec 46     ($(CLONEY) $(SOURCE_DIR) $(@D))
039642 47
9106f7 48 # To prevent "libtool_install_magic: unbound variable"
AW 49 unexport SHELLOPTS
50
039642 51 # Use OpenSSL, it allows more options on OI/Hipster that openconnect uses
0c161d 52 CONFIGURE_OPTIONS += --with-system-cafile=/etc/certs/ca-certificates.crt
AW 53 CONFIGURE_OPTIONS += --without-gnutls
3cae8a 54 CONFIGURE_OPTIONS += --without-libpcsclite
0c161d 55 CONFIGURE_OPTIONS += --libexecdir=/usr/lib/$(MACH64)
039642 56
0c161d 57 # Manually added dependencies
039642 58 REQUIRED_PACKAGES += SUNWcs
JK 59 REQUIRED_PACKAGES += network/vpnc-scripts
fe11ec 60 REQUIRED_PACKAGES += driver/network/header-tun
9106f7 61
fe11ec 62 # Auto-generated dependencies
039642 63 REQUIRED_PACKAGES += library/libproxy
JK 64 REQUIRED_PACKAGES += library/libxml2
fe11ec 65 REQUIRED_PACKAGES += library/lz4
3cae8a 66 REQUIRED_PACKAGES += library/security/openssl-31
039642 67 REQUIRED_PACKAGES += library/zlib
fe11ec 68 REQUIRED_PACKAGES += system/library
3cae8a 69 REQUIRED_PACKAGES += system/library/math
039642 70 REQUIRED_PACKAGES += system/library/security/gss