Codebase list hydra / 2f2c4c4
Refresh theses patches and series file Daniel Echeverri 3 years ago
6 changed file(s) with 24 addition(s) and 24 deletion(s). Raw diff Collapse all Expand all
00 Description: Use libpq-dev instead libpq-fe.h from upstream.
11 Forwarded: yes
22 Author: Julián Moreno Patiño <darkjunix@gmail.com>
3 Last-Update: 2011-06-18
3 Last-Update: 2020-07-30
44 --- a/hydra-postgres.c
55 +++ b/hydra-postgres.c
6 @@ -13,7 +13,7 @@
7 }
6 @@ -11,7 +11,7 @@
7 void dummy_postgres() { printf("\n"); }
88 #else
99
10 -#include "libpq-fe.h" // Postgres connection functions
11 +#include <postgresql/libpq-fe.h> // Postgres connection functions
10 -#include "libpq-fe.h" // Postgres connection functions
11 +#include <postgresql/libpq-fe.h> // Postgres connection functions
1212 #include <stdio.h>
1313
1414 #define DEFAULT_DB "template1"
00 Description: Only using the supported protocols
11 Forwarded: no
22 Author: Julián Moreno Patiño <darkjunix@gmail.com>
3 Last-Update: 2013-07-15
3 Last-Update: 2020-07-30
44 --- a/hydra-gtk/src/interface.c
55 +++ b/hydra-gtk/src/interface.c
6 @@ -252,9 +252,7 @@ GtkWidget *create_wndMain(void) {
6 @@ -252,9 +252,7 @@
77 cmbProtocol_items = g_list_append(cmbProtocol_items, (gpointer) "mongodb");
88 cmbProtocol_items = g_list_append(cmbProtocol_items, (gpointer) "mssql");
99 cmbProtocol_items = g_list_append(cmbProtocol_items, (gpointer) "mysql");
1313 cmbProtocol_items = g_list_append(cmbProtocol_items, (gpointer) "oracle-listener");
1414 cmbProtocol_items = g_list_append(cmbProtocol_items, (gpointer) "oracle-sid");
1515 cmbProtocol_items = g_list_append(cmbProtocol_items, (gpointer) "pcnfs");
16 @@ -270,7 +268,6 @@ GtkWidget *create_wndMain(void) {
16 @@ -270,7 +268,6 @@
1717 cmbProtocol_items = g_list_append(cmbProtocol_items, (gpointer) "rsh");
1818 cmbProtocol_items = g_list_append(cmbProtocol_items, (gpointer) "rtsp");
1919 cmbProtocol_items = g_list_append(cmbProtocol_items, (gpointer) "s7-300");
2020 - cmbProtocol_items = g_list_append(cmbProtocol_items, (gpointer) "sapr3");
2121 cmbProtocol_items = g_list_append(cmbProtocol_items, (gpointer) "sip");
2222 cmbProtocol_items = g_list_append(cmbProtocol_items, (gpointer) "smb");
23 cmbProtocol_items = g_list_append(cmbProtocol_items, (gpointer) "smtp");
23 cmbProtocol_items = g_list_append(cmbProtocol_items, (gpointer) "smb2");
00 Description: Use /usr/bin/hydra path by default in xhydra.
11 Forwarded: no
22 Author: Julián Moreno Patiño <darkjunix@gmail.com>
3 Last-Update: 2011-05-06
3 Last-Update: 2020-07-30
44 --- a/hydra-gtk/src/main.c
55 +++ b/hydra-gtk/src/main.c
66 @@ -14,9 +14,9 @@
7 #include "support.h"
8 #include "callbacks.h"
7 #include <gtk/gtk.h>
8 #include <string.h>
99
1010 -char *hydra_path1 = "./hydra";
1111 +char *hydra_path1 = "/usr/bin/hydra";
1313 -char *hydra_path3 = "/usr/bin/hydra";
1414 +char *hydra_path3 = "./hydra";
1515
16
1716 int main(int argc, char *argv[]) {
17 extern GtkWidget *wndMain;
11 and drop -O3 optimization level according debian policy
22 Forwarded: vh@thc.org
33 Author: Julián Moreno Patiño <darkjunix@gmail.com>
4 Last-Update: 2013-08-04
4 Last-Update: 2020-07-30
55 --- a/Makefile.am
66 +++ b/Makefile.am
7 @@ -1,7 +1,7 @@
8 #
9 # Makefile for Hydra - (c) 2001-2019 by van Hauser / THC <vh@thc.org>
10 #
11 -OPTS=-I. -O3
12 +OPTS=-I. -Wall
7 @@ -4,7 +4,7 @@
8 WARN_CLANG=-Wformat-nonliteral -Wstrncat-size -Wformat-security -Wsign-conversion -Wconversion -Wfloat-conversion -Wshorten-64-to-32 -Wuninitialized -Wmissing-variable-declarations -Wmissing-declarations
9 WARN_GCC=-Wformat=2 -Wformat-overflow=2 -Wformat-nonliteral -Wformat-truncation=2 -Wnull-dereference -Wstrict-overflow=2 -Wstringop-overflow=4 -Walloca-larger-than=4096 -Wtype-limits -Wconversion -Wtrampolines -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -fno-common -Wcast-align
10 CFLAGS ?= -g
11 -OPTS=-I. -O3 $(CFLAGS) -fcommon
12 +OPTS=-I. -Wall $(CFLAGS) -fcommon
1313 # -Wall -g -pedantic
1414 LIBS=-lm
15 BINDIR = /bin
15 DESTDIR ?=
00 Description: Remove troubled files to avoid FTBFS.
11 Forwarded: no
22 Author: Julián Moreno Patiño <darkjunix@gmail.com>
3 Last-Update: 2012-02-16
3 Last-Update: 2020-08-01
44 --- a/Makefile
55 +++ /dev/null
66 @@ -1,5 +0,0 @@
1111 - cp -f Makefile.orig Makefile
1212 --- a/Makefile.am
1313 +++ b/Makefile.am
14 @@ -76,5 +76,4 @@
14 @@ -81,5 +81,4 @@
1515
1616 clean:
1717 rm -rf xhydra pw-inspector hydra *.o core *.core *.stackdump *~ Makefile.in Makefile dev_rfc hydra.restore arm/*.ipk arm/ipkg/usr/bin/* hydra-gtk/src/*.o hydra-gtk/src/xhydra hydra-gtk/stamp-h hydra-gtk/config.status hydra-gtk/errors hydra-gtk/config.log hydra-gtk/src/.deps hydra-gtk/src/Makefile hydra-gtk/Makefile
44 03_use_bin_path.diff
55 06_show_xhydra_build_output.diff
66 07_remove_troubled_files.diff
7
7 10_fix_ftbfs_xhydra.diff