From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Jun 18 17:20:10 2011 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 44D3B1065679 for ; Sat, 18 Jun 2011 17:20:10 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 231B18FC26 for ; Sat, 18 Jun 2011 17:20:10 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p5IHKAHR085832 for ; Sat, 18 Jun 2011 17:20:10 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p5IHK9TZ085831; Sat, 18 Jun 2011 17:20:09 GMT (envelope-from gnats) Resent-Date: Sat, 18 Jun 2011 17:20:09 GMT Resent-Message-Id: <201106181720.p5IHK9TZ085831@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Ruslan Mahmatkhanov Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 34EA1106566C for ; Sat, 18 Jun 2011 17:15:11 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 1B70E8FC0C for ; Sat, 18 Jun 2011 17:15:11 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p5IHFAGG098565 for ; Sat, 18 Jun 2011 17:15:10 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id p5IHFAA0098564; Sat, 18 Jun 2011 17:15:10 GMT (envelope-from nobody) Message-Id: <201106181715.p5IHFAA0098564@red.freebsd.org> Date: Sat, 18 Jun 2011 17:15:10 GMT From: Ruslan Mahmatkhanov To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/157996: [MAINTAINER] security/hydra: update to 6.4 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Jun 2011 17:20:10 -0000 >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: