Refresh theses patches and series file
Daniel Echeverri
3 years ago
0 | 0 | Description: Use libpq-dev instead libpq-fe.h from upstream. |
1 | 1 | Forwarded: yes |
2 | 2 | Author: Julián Moreno Patiño <darkjunix@gmail.com> |
3 | Last-Update: 2011-06-18 | |
3 | Last-Update: 2020-07-30 | |
4 | 4 | --- a/hydra-postgres.c |
5 | 5 | +++ b/hydra-postgres.c |
6 | @@ -13,7 +13,7 @@ | |
7 | } | |
6 | @@ -11,7 +11,7 @@ | |
7 | void dummy_postgres() { printf("\n"); } | |
8 | 8 | #else |
9 | 9 | |
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 | |
12 | 12 | #include <stdio.h> |
13 | 13 | |
14 | 14 | #define DEFAULT_DB "template1" |
0 | 0 | Description: Only using the supported protocols |
1 | 1 | Forwarded: no |
2 | 2 | Author: Julián Moreno Patiño <darkjunix@gmail.com> |
3 | Last-Update: 2013-07-15 | |
3 | Last-Update: 2020-07-30 | |
4 | 4 | --- a/hydra-gtk/src/interface.c |
5 | 5 | +++ b/hydra-gtk/src/interface.c |
6 | @@ -252,9 +252,7 @@ GtkWidget *create_wndMain(void) { | |
6 | @@ -252,9 +252,7 @@ | |
7 | 7 | cmbProtocol_items = g_list_append(cmbProtocol_items, (gpointer) "mongodb"); |
8 | 8 | cmbProtocol_items = g_list_append(cmbProtocol_items, (gpointer) "mssql"); |
9 | 9 | cmbProtocol_items = g_list_append(cmbProtocol_items, (gpointer) "mysql"); |
13 | 13 | cmbProtocol_items = g_list_append(cmbProtocol_items, (gpointer) "oracle-listener"); |
14 | 14 | cmbProtocol_items = g_list_append(cmbProtocol_items, (gpointer) "oracle-sid"); |
15 | 15 | cmbProtocol_items = g_list_append(cmbProtocol_items, (gpointer) "pcnfs"); |
16 | @@ -270,7 +268,6 @@ GtkWidget *create_wndMain(void) { | |
16 | @@ -270,7 +268,6 @@ | |
17 | 17 | cmbProtocol_items = g_list_append(cmbProtocol_items, (gpointer) "rsh"); |
18 | 18 | cmbProtocol_items = g_list_append(cmbProtocol_items, (gpointer) "rtsp"); |
19 | 19 | cmbProtocol_items = g_list_append(cmbProtocol_items, (gpointer) "s7-300"); |
20 | 20 | - cmbProtocol_items = g_list_append(cmbProtocol_items, (gpointer) "sapr3"); |
21 | 21 | cmbProtocol_items = g_list_append(cmbProtocol_items, (gpointer) "sip"); |
22 | 22 | 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"); |
0 | 0 | Description: Use /usr/bin/hydra path by default in xhydra. |
1 | 1 | Forwarded: no |
2 | 2 | Author: Julián Moreno Patiño <darkjunix@gmail.com> |
3 | Last-Update: 2011-05-06 | |
3 | Last-Update: 2020-07-30 | |
4 | 4 | --- a/hydra-gtk/src/main.c |
5 | 5 | +++ b/hydra-gtk/src/main.c |
6 | 6 | @@ -14,9 +14,9 @@ |
7 | #include "support.h" | |
8 | #include "callbacks.h" | |
7 | #include <gtk/gtk.h> | |
8 | #include <string.h> | |
9 | 9 | |
10 | 10 | -char *hydra_path1 = "./hydra"; |
11 | 11 | +char *hydra_path1 = "/usr/bin/hydra"; |
13 | 13 | -char *hydra_path3 = "/usr/bin/hydra"; |
14 | 14 | +char *hydra_path3 = "./hydra"; |
15 | 15 | |
16 | ||
17 | 16 | int main(int argc, char *argv[]) { |
17 | extern GtkWidget *wndMain; |
1 | 1 | and drop -O3 optimization level according debian policy |
2 | 2 | Forwarded: vh@thc.org |
3 | 3 | Author: Julián Moreno Patiño <darkjunix@gmail.com> |
4 | Last-Update: 2013-08-04 | |
4 | Last-Update: 2020-07-30 | |
5 | 5 | --- a/Makefile.am |
6 | 6 | +++ 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 | |
13 | 13 | # -Wall -g -pedantic |
14 | 14 | LIBS=-lm |
15 | BINDIR = /bin | |
15 | DESTDIR ?= |
0 | 0 | Description: Remove troubled files to avoid FTBFS. |
1 | 1 | Forwarded: no |
2 | 2 | Author: Julián Moreno Patiño <darkjunix@gmail.com> |
3 | Last-Update: 2012-02-16 | |
3 | Last-Update: 2020-08-01 | |
4 | 4 | --- a/Makefile |
5 | 5 | +++ /dev/null |
6 | 6 | @@ -1,5 +0,0 @@ |
11 | 11 | - cp -f Makefile.orig Makefile |
12 | 12 | --- a/Makefile.am |
13 | 13 | +++ b/Makefile.am |
14 | @@ -76,5 +76,4 @@ | |
14 | @@ -81,5 +81,4 @@ | |
15 | 15 | |
16 | 16 | clean: |
17 | 17 | 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 |