initial import

This commit is contained in:
2025-06-22 20:39:04 -05:00
commit f8a70886f0
3428 changed files with 302546 additions and 0 deletions

View File

@@ -0,0 +1,39 @@
From: Patrick Griffis <pgriffis@igalia.com>
Date: Mon, 16 Sep 2024 13:56:09 -0500
Subject: Define GLIB_VERSION_MAX_ALLOWED and GLIB_VERSION_MIN_REQUIRED
(cherry picked from commit 3c54033634ae537b52582900a7ba432c52ae8174)
---
meson.build | 3 +++
tests/hsts-db-test.c | 3 ++-
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/meson.build b/meson.build
index 130f813..459eccc 100644
--- a/meson.build
+++ b/meson.build
@@ -125,6 +125,9 @@ endif
cdata = configuration_data()
+cdata.set('GLIB_VERSION_MAX_ALLOWED', 'GLIB_VERSION_2_66')
+cdata.set('GLIB_VERSION_MIN_REQUIRED', 'GLIB_VERSION_2_66')
+
brotlidec_dep = dependency('libbrotlidec', required : get_option('brotli'))
if brotlidec_dep.found()
cdata.set('WITH_BROTLI', true)
diff --git a/tests/hsts-db-test.c b/tests/hsts-db-test.c
index 9f007fa..121a4a1 100644
--- a/tests/hsts-db-test.c
+++ b/tests/hsts-db-test.c
@@ -1,8 +1,9 @@
+#include "test-utils.h"
+
#include <glib.h>
#include <glib/gstdio.h>
#include <stdio.h>
-#include "test-utils.h"
#define DB_FILE "hsts-db.sqlite"

47
libsoup/PKGBUILD Normal file
View File

@@ -0,0 +1,47 @@
# Maintainer: Jesus E. <heckyel@riseup.net>
pkgname=libsoup
pkgver=2.74.3
_debver=$pkgver
_debrel=1
pkgrel=3
pkgdesc="HTTP client/server library"
url='https://wiki.gnome.org/Projects/libsoup'
arch=('i686' 'x86_64')
license=('LGPL-2')
depends=('glib2' 'libxml2' 'glib-networking' 'sqlite' 'krb5' 'libpsl')
makedepends=('gobject-introspection' 'python' 'vala' 'meson' 'quilt')
source=("https://download.gnome.org/sources/${pkgname}/${pkgver:0:4}/${pkgname}-${pkgver}.tar.xz"
"https://deb.debian.org/debian/pool/main/libs/libsoup2.4/libsoup2.4_${_debver}-${_debrel}+deb12u1.debian.tar.xz"
"CVE-2024-52531-1.patch")
sha512sums=('72f8a055df984cb35105fe67f4ca67d3fb110d40a9cacb660fccd89f93b06bc32e25d94375dcc76608a245f7c5e081d968d7aaf5952eb16013d81c741247cb4c'
'411ac63e5ed7a62083d1a33e67887f96fccc30ed14c01e9a6e5c1b09a8b532e04d0594926ec143d10f02398bc894465bbad375aa16f56942b097cfa6d25a2172'
'145e32799a1e9e2d3e97ecc605507ea7ca6d7191e155900ba156b1bedb518ea8e642399a91d39471eb2088e5316096a9d1a5bb2ddb51b912f1a0e46274289319')
prepare() {
cd $pkgname-$pkgver
if [[ ${pkgver%.*} = ${_debver%.*} ]]; then
# Debian patches
export QUILT_PATCHES=debian/patches
export QUILT_REFRESH_ARGS='-p ab --no-timestamps --no-index'
export QUILT_DIFF_ARGS='--no-timestamps'
mv "$srcdir"/debian .
# Doesn't apply
rm -v debian/patches/CVE-2024-52531-1.patch || true
quilt push -av
fi
patch -Np1 -i ${srcdir}/CVE-2024-52531-1.patch
}
build() {
hyperbola-meson $pkgname-$pkgver build -D gtk_doc=false -D ntlm=disabled -D sysprof=disabled -D brotli=disabled
ninja -C build
}
package() {
DESTDIR="$pkgdir" meson install -C build
install -Dm644 $pkgname-$pkgver/COPYING -t $pkgdir/usr/share/licenses/$pkgname
}