mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-21 10:15:12 +03:00
TLS exporter does not exist before TLS 1.3 so drop it for the 1.2 test. The test failure was introduced with GnuTLS 3.7.8. Ref: https://gitlab.gnome.org/GNOME/glib-networking/-/issues/201
53 lines
1.4 KiB
Text
53 lines
1.4 KiB
Text
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
|
|
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
|
|
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
|
|
pkgname=glib-networking
|
|
pkgver=2.74.0
|
|
pkgrel=2
|
|
pkgdesc="Networking support for GLib"
|
|
url="https://gitlab.gnome.org/GNOME/glib-networking"
|
|
arch="all"
|
|
license="LGPL-2.0-or-later"
|
|
depends="ca-certificates gsettings-desktop-schemas"
|
|
makedepends="
|
|
bash
|
|
glib-dev
|
|
gnutls-dev
|
|
gsettings-desktop-schemas-dev
|
|
intltool
|
|
libgcrypt-dev
|
|
libproxy-dev
|
|
meson
|
|
p11-kit-dev
|
|
"
|
|
subpackages="$pkgname-dbg $pkgname-lang"
|
|
source="https://download.gnome.org/sources/glib-networking/${pkgver%.*}/glib-networking-$pkgver.tar.xz
|
|
skip-test-tls-exporter-for-1.2.patch
|
|
"
|
|
|
|
# secfixes:
|
|
# 2.64.3-r0:
|
|
# - CVE-2020-13645
|
|
|
|
build() {
|
|
abuild-meson \
|
|
-Db_lto=true \
|
|
-Dopenssl=disabled \
|
|
-Dgnutls=enabled \
|
|
. build
|
|
meson compile ${JOBS:+-j ${JOBS}} -C build
|
|
}
|
|
|
|
check() {
|
|
meson test --no-rebuild --print-errorlogs -C build
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" meson install --no-rebuild -C build
|
|
rm -rf "$pkgdir"/usr/lib/systemd
|
|
}
|
|
|
|
sha512sums="
|
|
f266c106f2c9379b95773a852c1b5c62ae1d6a758d25c436c3558f620d8e0a211201b3c4dfd89cdbe28b88430bba0cca621e62c01ea23d473983e203919bb1e6 glib-networking-2.74.0.tar.xz
|
|
67c145cd601505af82c14f166aa078c028c5d7f3debb8109902b6145357770967195b7b84ac30e02271d6a79e3827ae3563b42e0c1b97123be1f1c06d5ab9bb8 skip-test-tls-exporter-for-1.2.patch
|
|
"
|