wok view openconnect/receipt @ rev 25678
Patch ghostscript CVE-2023-36664
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Fri Mar 08 14:12:03 2024 +0100 (5 months ago) |
parents | bc2b9d9bed6f |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="openconnect"
4 VERSION="9.01"
5 CATEGORY="network"
6 SHORT_DESC="A client for Cisco's AnyConnect SSL VPN."
7 MAINTAINER="samuel_trassare@yahoo.com"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://www.infradead.org/openconnect/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="ftp://ftp.infradead.org/pub/$PACKAGE/$TARBALL"
14 DEPENDS="libxml2 openssl vpnc"
15 # Will require libtirpc when glibc is upgraded to 2.14.
16 BUILD_DEPENDS="libxml2-dev openssl-dev pkg-config vpnc zlib"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - 'https://gitlab.com/openconnect/openconnect/-/tags?sort=updated_desc' 2>/dev/null | \
22 sed '/item-title/!d;s|.*">[a-z-]*||;s|<.*||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./configure $CONFIGURE_ARGS &&
29 make &&
30 make install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/lib
37 mkdir -p $fs/usr/sbin
39 cp -a $install/usr/lib/*so* $fs/usr/lib
40 cp -a $install/usr/sbin/openconnect $fs/usr/sbin
41 }