aboutsummaryrefslogtreecommitdiffstats
path: root/community/gwenhywfar/fix-tests.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/gwenhywfar/fix-tests.patch')
-rw-r--r--community/gwenhywfar/fix-tests.patch45
1 files changed, 34 insertions, 11 deletions
diff --git a/community/gwenhywfar/fix-tests.patch b/community/gwenhywfar/fix-tests.patch
index a440b941704..34e690c0a1e 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;