Date: Sat, 18 Jun 2011 17:15:10 GMT From: Ruslan Mahmatkhanov <cvs-src@yandex.ru> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/157996: [MAINTAINER] security/hydra: update to 6.4 Message-ID: <201106181715.p5IHFAA0098564@red.freebsd.org> Resent-Message-ID: <201106181720.p5IHK9TZ085831@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 157996 >Category: ports >Synopsis: [MAINTAINER] security/hydra: update to 6.4 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Sat Jun 18 17:20:09 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Ruslan Mahmatkhanov >Release: 9.0-CURRENT >Organization: >Environment: 9.0-CURRENT i386 >Description: - update to 6.4 - remove local patch, merged upstream tinderbox buildlog (8.2-RELEASE): http://happy-nation.by.ru/ports/tb/hydra-6.4.log >How-To-Repeat: >Fix: Patch attached with submission follows: diff -ruNa hydra.orig/Makefile hydra/Makefile --- hydra.orig/Makefile 2011-06-11 22:34:03.000000000 +0400 +++ hydra/Makefile 2011-06-18 09:40:03.000000000 +0400 @@ -7,7 +7,7 @@ # PORTNAME= hydra -PORTVERSION= 6.3 +PORTVERSION= 6.4 CATEGORIES= security MASTER_SITES= http://freeworld.thc.org/releases/ EXTRACT_SUFX= -src.tar.gz diff -ruNa hydra.orig/distinfo hydra/distinfo --- hydra.orig/distinfo 2011-06-11 22:34:03.000000000 +0400 +++ hydra/distinfo 2011-06-18 09:40:09.000000000 +0400 @@ -1,2 +1,2 @@ -SHA256 (hydra-6.3-src.tar.gz) = bd5bc70b70640984fb2f18a9742c10b9a0edf1ebaf0f8dd32da589d34defd424 -SIZE (hydra-6.3-src.tar.gz) = 473265 +SHA256 (hydra-6.4-src.tar.gz) = 21abade4b39ab816dfb53b578163d678cfe176749cb13f80dc71d08fbac66d8f +SIZE (hydra-6.4-src.tar.gz) = 501251 diff -ruNa hydra.orig/files/patch-hydra-gtk-src_callbacks.c hydra/files/patch-hydra-gtk-src_callbacks.c --- hydra.orig/files/patch-hydra-gtk-src_callbacks.c 2011-06-11 22:34:03.000000000 +0400 +++ hydra/files/patch-hydra-gtk-src_callbacks.c 1970-01-01 03:00:00.000000000 +0300 @@ -1,86 +0,0 @@ ---- hydra-gtk/src/callbacks.c.orig 2011-04-30 22:28:12.000000000 +0400 -+++ hydra-gtk/src/callbacks.c 2011-05-31 21:02:22.000000000 +0400 -@@ -71,21 +71,6 @@ - - options[0] = HYDRA_BIN; - -- /* get the target, or target list */ -- widget = lookup_widget(GTK_WIDGET(wndMain), "radioTarget1"); -- if (gtk_toggle_button_get_active((GtkToggleButton *) widget)) { -- widget = lookup_widget(GTK_WIDGET(wndMain), "entTarget"); -- options[i++] = (char *) gtk_entry_get_text((GtkEntry *) widget); -- } else { -- options[i++] = "-M"; -- widget = lookup_widget(GTK_WIDGET(wndMain), "entTargetFile"); -- options[i++] = (char *) gtk_entry_get_text((GtkEntry *) widget); -- } -- -- /* get the service */ -- widget = lookup_widget(GTK_WIDGET(wndMain), "entProtocol"); -- options[i++] = (char *) gtk_entry_get_text((GtkEntry *) widget); -- - /* get the port */ - widget = lookup_widget(GTK_WIDGET(wndMain), "spnPort"); - j = gtk_spin_button_get_value_as_int((GtkSpinButton *) widget); -@@ -325,6 +310,21 @@ - } - } - -+ /* get the target, or target list */ -+ widget = lookup_widget(GTK_WIDGET(wndMain), "radioTarget1"); -+ if (gtk_toggle_button_get_active((GtkToggleButton *) widget)) { -+ widget = lookup_widget(GTK_WIDGET(wndMain), "entTarget"); -+ options[i++] = (char *) gtk_entry_get_text((GtkEntry *) widget); -+ } else { -+ options[i++] = "-M"; -+ widget = lookup_widget(GTK_WIDGET(wndMain), "entTargetFile"); -+ options[i++] = (char *) gtk_entry_get_text((GtkEntry *) widget); -+ } -+ -+ /* get the service */ -+ widget = lookup_widget(GTK_WIDGET(wndMain), "entProtocol"); -+ options[i++] = (char *) gtk_entry_get_text((GtkEntry *) widget); -+ - options[i] = NULL; - return i; - } -@@ -495,8 +495,8 @@ - -1, -1}; - static int *pfd = NULL; - -- hydra_pid = 0; - char *options[128]; -+ hydra_pid = 0; - - update_statusbar(); - -@@ -517,6 +517,7 @@ - g_warning("popen_rw_unbuffered: Error forking!"); - return NULL; - } else if (hydra_pid == 0) { /* child */ -+ int k; - if (setpgid(getpid(), getpid()) < 0) - g_warning("popen_rw_unbuffered: setpgid() failed"); - if (close(p_r[0]) < 0) -@@ -540,8 +541,7 @@ - execv(HYDRA_BIN, options); - - g_warning("%s %i: popen_rw_unbuffered: execv() returned", __FILE__, __LINE__); -- int k; -- -+ - for (k = 0; options[k] != NULL; k++) { - g_warning("%s", options[k]); - } -@@ -667,8 +667,9 @@ - - void - on_chkColon_toggled(GtkToggleButton * togglebutton, gpointer user_data) { -- GtkWidget *user = lookup_widget(GTK_WIDGET(wndMain), "frmUsername");; -- GtkWidget *pass = lookup_widget(GTK_WIDGET(wndMain), "frmPass"); -+ GtkWidget *user, *pass; -+ user = lookup_widget(GTK_WIDGET(wndMain), "frmUsername"); -+ pass = lookup_widget(GTK_WIDGET(wndMain), "frmPass"); - - if (gtk_toggle_button_get_active(togglebutton)) { - gtk_widget_set_sensitive(user, FALSE); >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201106181715.p5IHFAA0098564>