Codebase list ulfius / fe549e2
Upgrade to 2.7.1-3 Nicolas Mora 2 years ago
4 changed file(s) with 69 addition(s) and 4 deletion(s). Raw diff Collapse all Expand all
0 ulfius (2.7.1-3) unstable; urgency=medium
1
2 * d/rules: remove override_dh_auto_install
3 * Remove smtp tests that fail at random
4
5 -- Nicolas Mora <babelouest@debian.org> Wed, 08 Sep 2021 07:47:38 -0400
6
07 ulfius (2.7.1-2) unstable; urgency=medium
18
29 * d/patches: Fix CVE-2021-40540 (Closes: #993851)
0 test-smtp.patch
01 examples.patch
12 doc.patch
23 CVE-2021-40540.patch
0 Description: Remove smtp tests that fail at random
1 Author: Nicolas Mora <babelouest@debian.org>
2 Forwarded: not-needed
3 --- a/test/framework.c
4 +++ b/test/framework.c
5 @@ -24,6 +24,10 @@
6 #include <check.h>
7 #include <ulfius.h>
8
9 +#define BODY_NOT_REDIRECTED "This is the blue pill"
10 +#define BODY_REDIRECTED "Welcome to the Matrix, Neo!"
11 +
12 +#if 0
13 #define SMTP_FROM "sender@localhost"
14 #define SMTP_TO "recipient@localhost"
15 #define SMTP_HOST "localhost"
16 @@ -35,9 +39,6 @@
17 #define BUF_SIZE 4096
18 #define STREQU(a,b) (strcmp(a, b) == 0)
19
20 -#define BODY_NOT_REDIRECTED "This is the blue pill"
21 -#define BODY_REDIRECTED "Welcome to the Matrix, Neo!"
22 -
23 struct smtp_manager {
24 char * mail_data;
25 unsigned int port;
26 @@ -229,6 +230,7 @@
27
28 pthread_exit(NULL);
29 }
30 +#endif
31
32 static char * get_file_content(const char * file_path) {
33 char * buffer = NULL;
34 @@ -1169,6 +1171,7 @@
35 }
36 END_TEST
37
38 +#if 0
39 #define PORT_PLAIN 2525
40 #define PORT_RICH 2526
41 #define FROM "from"
42 @@ -1233,6 +1236,7 @@
43 manager.mail_data = NULL;
44 }
45 END_TEST
46 +#endif
47
48 START_TEST(test_ulfius_follow_redirect)
49 {
50 @@ -1389,8 +1393,10 @@
51 tcase_add_test(tc_core, test_ulfius_utf8_ignored);
52 tcase_add_test(tc_core, test_ulfius_endpoint_callback_position);
53 tcase_add_test(tc_core, test_ulfius_MHD_set_response_with_other_free);
54 +#if 0
55 tcase_add_test(tc_core, test_ulfius_send_smtp);
56 tcase_add_test(tc_core, test_ulfius_send_rich_smtp);
57 +#endif
58 tcase_add_test(tc_core, test_ulfius_follow_redirect);
59 #ifndef U_DISABLE_GNUTLS
60 tcase_add_test(tc_core, test_ulfius_server_ca_trust);
3131 override_dh_auto_build:
3232 doxygen doc/doxygen.cfg
3333 dh_auto_build --
34
35 override_dh_auto_install:
36 dh_auto_install
37 dpkg-shlibdeps debian/tmp/usr/lib/*/libulfius.so*