Commit graph

18 commits

Author SHA1 Message Date
vanhauser-thc
16b424af4d support -W for modules that use libarries 2023-08-13 13:07:10 +02:00
vanhauser-thc
568ef74e0d nits 2023-07-21 10:44:38 +02:00
van Hauser
720bdb3f96 code indent 2020-02-01 11:47:13 +01:00
David Maciejak
866120e4e6
Fix compilation error if missing libsvn
oops forgot the case if the lib is not installed
2019-09-02 21:18:52 +08:00
David Maciejak
b3ddd4a2d2
Fix svn_client_list3 function call deprecation
Update the module to support subversion lib from v1.5 to 1.10 and fix following warning:
hydra-svn.c:124:3: warning: \u2018svn_client_list3\u2019 is deprecated [-Wdeprecated-declarations]
   err = svn_client_list3(canonical, &revision, &revision, svn_depth_unknown, dirents, FALSE, FALSE, (svn_client_list_func2_t) print_dirdummy, NULL, ctx, pool);
2019-09-02 10:41:45 +08:00
Hank Leininger
db9025bf86
Worked around APR_PATH_MAX errors on some Linuxes when SVN is enabled.
On Gentoo Linux (and possibly others?) with Subversion 1.12.0,
compilation of hydra-svn.c fails with:

In file included from /usr/include/subversion-1/svn_client.h:34,
                 from hydra-svn.c:9:
/usr/include/apr-1/apr.h:632:2: error: #error no decision has been made on APR_PATH_MAX for your platform
 #error no decision has been made on APR_PATH_MAX for your platform
  ^~~~~

This happens when PATH_MAX is not defined.

PATH_MAX is defined by /usr/include/linux/limits.h, but rather than
include'ing that directly and possibly breaking other platforms,
include sys/param.h (which will include linux/limits.h indirectly)
iff PATH_MAX is not defined and sys/param.h exists.

I based the approach on how math.h is handled.
2019-05-18 15:56:08 -06:00
David Maciejak
91825f0fef Fix svn module memory leaks 2019-03-07 08:12:04 +08:00
van Hauser
1a72fe023e cleanup 2017-07-07 11:21:46 +02:00
van Hauser
4ab31cd18e ipv6 pretty print 2017-07-06 22:34:55 +02:00
van Hauser
f124c26fc6 big int to stdint switch 2017-07-05 08:48:00 +02:00
van Hauser
51d881353b moved help to modules 2017-06-23 19:15:18 +02:00
van Hauser
4ee7bc3c38 fix for current libsvn 2016-11-04 17:53:07 +01:00
van Hauser
5a1a66d2a3 fix 2016-11-04 10:31:57 +01:00
van Hauser
2b02aa091b optimized oracle module and user not existing messages 2016-11-03 12:41:44 +01:00
van Hauser
f42f7626ac sleep -> usleep fix 2016-09-01 17:38:33 +02:00
van Hauser
1579369097 SSL SNI support; important http-*:// fix; also http-post support added 2016-06-15 19:53:36 +02:00
Jack Reacher
554d66c768 Switched usleep to nanosleep for posix complience 2016-02-06 02:16:01 -05:00
U-marc-win4\marc
6a94f708e8 initial commit 2014-04-24 16:49:18 +02:00