libsoup: update to 2.66.2 + add new dep package libpsl
This commit is contained in:
parent
93d06e58dd
commit
8885e07d51
33
packages/libpsl/build-fix.patch
Normal file
33
packages/libpsl/build-fix.patch
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
From 9347024221f4a9d63f9dcafcda13362a7c8d92fe Mon Sep 17 00:00:00 2001
|
||||||
|
From: Po-Chuan Hsieh <sunpoet@sunpoet.net>
|
||||||
|
Date: Wed, 17 Apr 2019 13:25:48 +0000
|
||||||
|
Subject: [PATCH] Fix build when configured with --with-psl-file
|
||||||
|
|
||||||
|
The error message is as follows:
|
||||||
|
Making all in tests
|
||||||
|
make: don't know how to make ../list/public_suffix_list.dat. Stop
|
||||||
|
|
||||||
|
make: stopped in /usr/ports/works/usr/ports/dns/libpsl/work/libpsl-libpsl-0.21.0/tests
|
||||||
|
*** Error code 1
|
||||||
|
|
||||||
|
Stop.
|
||||||
|
---
|
||||||
|
tests/Makefile.am | 4 ++--
|
||||||
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/tests/Makefile.am b/tests/Makefile.am
|
||||||
|
index 480b236..9c37ce3 100644
|
||||||
|
--- a/tests/Makefile.am
|
||||||
|
+++ b/tests/Makefile.am
|
||||||
|
@@ -33,9 +33,9 @@ TESTS = $(PSL_TESTS)
|
||||||
|
# dafsa.psl and dafsa_ascii.psl must be created before any test is executed
|
||||||
|
# check-local target works in parallel to the tests, so the test suite will likely fail
|
||||||
|
BUILT_SOURCES = psl.dafsa psl_ascii.dafsa
|
||||||
|
-psl.dafsa: $(top_srcdir)/list/public_suffix_list.dat
|
||||||
|
+psl.dafsa: $(PSL_FILE)
|
||||||
|
$(top_srcdir)/src/psl-make-dafsa --output-format=binary "$(PSL_FILE)" psl.dafsa
|
||||||
|
-psl_ascii.dafsa: $(top_srcdir)/list/public_suffix_list.dat
|
||||||
|
+psl_ascii.dafsa: $(PSL_FILE)
|
||||||
|
$(top_srcdir)/src/psl-make-dafsa --output-format=binary --encoding=ascii "$(PSL_FILE)" psl_ascii.dafsa
|
||||||
|
|
||||||
|
clean-local:
|
12
packages/libpsl/build.sh
Normal file
12
packages/libpsl/build.sh
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
TERMUX_PKG_HOMEPAGE=https://github.com/rockdaboot/libpsl
|
||||||
|
TERMUX_PKG_DESCRIPTION="Public Suffix List library"
|
||||||
|
TERMUX_PKG_LICENSE="MIT"
|
||||||
|
TERMUX_PKG_VERSION=0.21.0
|
||||||
|
TERMUX_PKG_SRCURL=https://github.com/rockdaboot/libpsl/releases/download/libpsl-${TERMUX_PKG_VERSION}/libpsl-${TERMUX_PKG_VERSION}.tar.gz
|
||||||
|
TERMUX_PKG_SHA256=41bd1c75a375b85c337b59783f5deb93dbb443fb0a52d257f403df7bd653ee12
|
||||||
|
TERMUX_PKG_DEPENDS="libidn2, libunistring"
|
||||||
|
#TERMUX_PKG_BUILD_IN_SRC=true
|
||||||
|
|
||||||
|
termux_step_pre_configure() {
|
||||||
|
autoreconf -fiv
|
||||||
|
}
|
@ -1,8 +1,8 @@
|
|||||||
TERMUX_PKG_HOMEPAGE=https://wiki.gnome.org/action/show/Projects/libsoup
|
TERMUX_PKG_HOMEPAGE=https://wiki.gnome.org/action/show/Projects/libsoup
|
||||||
TERMUX_PKG_DESCRIPTION="HTTP client and server library"
|
TERMUX_PKG_DESCRIPTION="HTTP client and server library"
|
||||||
TERMUX_PKG_LICENSE="LGPL-2.0"
|
TERMUX_PKG_LICENSE="LGPL-2.0"
|
||||||
TERMUX_PKG_VERSION=2.62.3
|
TERMUX_PKG_VERSION=2.66.2
|
||||||
TERMUX_PKG_SHA256=d312ade547495c2093ff8bda61f9b9727a98cfdae339f3263277dd39c0451172
|
|
||||||
TERMUX_PKG_SRCURL=https://ftp.gnome.org/pub/GNOME/sources/libsoup/${TERMUX_PKG_VERSION:0:4}/libsoup-$TERMUX_PKG_VERSION.tar.xz
|
TERMUX_PKG_SRCURL=https://ftp.gnome.org/pub/GNOME/sources/libsoup/${TERMUX_PKG_VERSION:0:4}/libsoup-$TERMUX_PKG_VERSION.tar.xz
|
||||||
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--disable-vala --without-gssapi"
|
TERMUX_PKG_SHA256=bd2ea602eba642509672812f3c99b77cbec2f3de02ba1cc8cb7206bf7de0ae2a
|
||||||
TERMUX_PKG_DEPENDS="glib, libsqlite, libxml2"
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="-Dvapi=false -Dgssapi=false"
|
||||||
|
TERMUX_PKG_DEPENDS="glib, libpsl, libsqlite, libxml2"
|
||||||
|
Loading…
Reference in New Issue
Block a user