aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2022-02-17 14:08:00 +0100
committerLeo <thinkabit.ukim@gmail.com>2022-02-18 06:11:54 +0000
commit75c1ff6fb5967f1abe87fab9efd22c504135b9ea (patch)
treece59376ff1477c29c4dec2e3a4d7eb57f70ead3c
parent4619d06c428ef7328925fe98f31c67ef2cd597dc (diff)
downloadaports-75c1ff6fb5967f1abe87fab9efd22c504135b9ea.tar.gz
aports-75c1ff6fb5967f1abe87fab9efd22c504135b9ea.tar.bz2
aports-75c1ff6fb5967f1abe87fab9efd22c504135b9ea.tar.xz
community/gwenhywfar: upgrade to 5.9.0
-rw-r--r--community/gwenhywfar/APKBUILD8
-rw-r--r--community/gwenhywfar/fix-tests.patch45
2 files changed, 38 insertions, 15 deletions
diff --git a/community/gwenhywfar/APKBUILD b/community/gwenhywfar/APKBUILD
index e780dda202..6bcafbf6c6 100644
--- a/community/gwenhywfar/APKBUILD
+++ b/community/gwenhywfar/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: Sören Tempel <soeren+alpine@soeren-tempel.net>
pkgname=gwenhywfar
-pkgver=5.8.2
+pkgver=5.9.0
pkgrel=0
pkgdesc="Multi-platform helper library"
url="https://www.aquamaniac.de/"
@@ -10,7 +10,7 @@ license="LGPL-2.1-or-later"
makedepends="libgcrypt-dev gnutls-dev gettext-dev"
options="net" # tests send HTTP requests to remote hosts
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
-source="https://www.aquamaniac.de/rdm/attachments/download/411/gwenhywfar-$pkgver.tar.gz
+source="https://www.aquamaniac.de/rdm/attachments/download/415/gwenhywfar-$pkgver.tar.gz
fix-tests.patch"
build() {
@@ -41,6 +41,6 @@ package() {
}
sha512sums="
-7d8f348c43470f4c954b352a500cae3863afd5f480e647218eed36f95167f134895d0506b082a663d3c29aa55ed54a1394bca3640a87b12a6edc3a04a4d12ba1 gwenhywfar-5.8.2.tar.gz
-c877b91cd7e680f27b416563df67bf4834064672a021031d31bb597214b362068610de89d05ec2dc44336f02090546b9e6b80ea3758c8bf3974e8be7d5b4971d fix-tests.patch
+b195e7c915a305ba3ae06cea3a71123389512b5dfdf3e4f140176ea2d4f39126fa4cc1d596aad7762598fe94992d1ea5810e9cbc449f02abe21da4d2f12b0c48 gwenhywfar-5.9.0.tar.gz
+337836a5b6edf1f127768b1654d2e0667d8adc8e02f09a9d7bf0850ecee5fbe2ae544eb6a37436f57708b80c0b919d19f538fda30232ff3ac7c46e448a9adda6 fix-tests.patch
"
diff --git a/community/gwenhywfar/fix-tests.patch b/community/gwenhywfar/fix-tests.patch
index a440b94170..34e690c0a1 100644
--- a/community/gwenhywfar/fix-tests.patch
+++ b/community/gwenhywfar/fix-tests.patch
@@ -1,8 +1,8 @@
-diff -upr gwenhywfar-4.18.0.orig/checks/syncio_http.c gwenhywfar-4.18.0/checks/syncio_http.c
---- gwenhywfar-4.18.0.orig/checks/syncio_http.c 2014-07-23 22:28:23.000000000 +0200
-+++ gwenhywfar-4.18.0/checks/syncio_http.c 2018-05-30 12:57:41.174981614 +0200
-@@ -32,7 +32,7 @@ static int check_syncio_http1() {
- "ERROR in check_syncio_http1: Could not create socket io layer.\n");
+diff -upr gwenhywfar-5.9.0.orig/checks/syncio_http.c gwenhywfar-5.9.0/checks/syncio_http.c
+--- gwenhywfar-5.9.0.orig/checks/syncio_http.c 2022-02-17 22:53:30.550391618 +0100
++++ gwenhywfar-5.9.0/checks/syncio_http.c 2022-02-17 22:53:36.300413490 +0100
+@@ -33,7 +33,7 @@ static int check_syncio_http1()
+ "ERROR in check_syncio_http1: Could not create socket io layer.\n");
return 2;
}
- GWEN_SyncIo_Socket_SetAddress(sio, "devel.aqbanking.de");
@@ -10,11 +10,12 @@ diff -upr gwenhywfar-4.18.0.orig/checks/syncio_http.c gwenhywfar-4.18.0/checks/s
GWEN_SyncIo_Socket_SetPort(sio, 80);
baseLayer=sio;
-diff -upr gwenhywfar-4.18.0.orig/checks/syncio_https.c gwenhywfar-4.18.0/checks/syncio_https.c
---- gwenhywfar-4.18.0.orig/checks/syncio_https.c 2014-07-23 22:28:23.000000000 +0200
-+++ gwenhywfar-4.18.0/checks/syncio_https.c 2018-05-30 12:57:14.844906364 +0200
-@@ -33,7 +33,7 @@ static int check_syncio_https1() {
- "ERROR in check_syncio_http1: Could not create socket io layer.\n");
+Only in gwenhywfar-5.9.0/checks: syncio_http.c.orig
+diff -upr gwenhywfar-5.9.0.orig/checks/syncio_https.c gwenhywfar-5.9.0/checks/syncio_https.c
+--- gwenhywfar-5.9.0.orig/checks/syncio_https.c 2022-02-17 22:53:30.550391618 +0100
++++ gwenhywfar-5.9.0/checks/syncio_https.c 2022-02-17 22:53:36.300413490 +0100
+@@ -34,7 +34,7 @@ static int check_syncio_https1()
+ "ERROR in check_syncio_http1: Could not create socket io layer.\n");
return 2;
}
- GWEN_SyncIo_Socket_SetAddress(sio, "devel.aqbanking.de");
@@ -22,7 +23,7 @@ diff -upr gwenhywfar-4.18.0.orig/checks/syncio_https.c gwenhywfar-4.18.0/checks/
GWEN_SyncIo_Socket_SetPort(sio, 443);
baseLayer=sio;
-@@ -82,7 +82,7 @@ static int check_syncio_https1() {
+@@ -83,7 +83,7 @@ static int check_syncio_https1()
GWEN_DB_SetCharValue(db, GWEN_DB_FLAGS_OVERWRITE_VARS, "url", "/index.html");
db=GWEN_SyncIo_Http_GetDbHeaderOut(sio);
@@ -31,3 +32,25 @@ diff -upr gwenhywfar-4.18.0.orig/checks/syncio_https.c gwenhywfar-4.18.0/checks/
GWEN_DB_SetIntValue(db, GWEN_DB_FLAGS_OVERWRITE_VARS, "Content-length", 0);
GWEN_DB_SetCharValue(db, GWEN_DB_FLAGS_OVERWRITE_VARS, "Connection", "close");
+Only in gwenhywfar-5.9.0/checks: syncio_https.c.orig
+diff -upr gwenhywfar-5.9.0.orig/checks/syncio_tls.c gwenhywfar-5.9.0/checks/syncio_tls.c
+--- gwenhywfar-5.9.0.orig/checks/syncio_tls.c 2022-02-17 22:53:30.550391618 +0100
++++ gwenhywfar-5.9.0/checks/syncio_tls.c 2022-02-17 22:53:58.387164171 +0100
+@@ -18,7 +18,7 @@
+
+ #define TEST_PATTERN1 \
+ "GET / HTTP/1.1\r\n" \
+- "host: sourceforge.net\r\n" \
++ "host: alpinelinux.org\r\n" \
+ "Connection: close\r\n" \
+ "\r\n"
+
+@@ -40,7 +40,7 @@ static int check_syncio_tls1()
+ "ERROR in check_io_tls1: Could not create socket io layer.\n");
+ return 2;
+ }
+- GWEN_SyncIo_Socket_SetAddress(sio, "sourceforge.net");
++ GWEN_SyncIo_Socket_SetAddress(sio, "alpinelinux.org");
+ GWEN_SyncIo_Socket_SetPort(sio, 443);
+
+ baseLayer=sio;