From nobody@FreeBSD.org  Sat Jun 18 17:15:11 2011
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 34EA1106566C
	for <freebsd-gnats-submit@FreeBSD.org>; 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 <freebsd-gnats-submit@FreeBSD.org>; 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 <freebsd-gnats-submit@FreeBSD.org>; 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 <cvs-src@yandex.ru>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [MAINTAINER] security/hydra: update to 6.4
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         157996
>Category:       ports
>Synopsis:       [MAINTAINER] security/hydra: update to 6.4
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    miwi
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jun 18 17:20:09 UTC 2011
>Closed-Date:    Sat Jun 25 05:24:02 UTC 2011
>Last-Modified:  Sat Jun 25 05:30:13 UTC 2011
>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:
Responsible-Changed-From-To: freebsd-ports-bugs->miwi 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Sat Jun 18 17:20:20 UTC 2011 
Responsible-Changed-Why:  
miwi@ wants his PRs (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=157996 
State-Changed-From-To: open->closed 
State-Changed-By: miwi 
State-Changed-When: Sat Jun 25 05:24:00 UTC 2011 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=157996 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/157996: commit references a PR
Date: Sat, 25 Jun 2011 05:23:51 +0000 (UTC)

 miwi        2011-06-25 05:23:42 UTC
 
   FreeBSD ports repository
 
   Modified files:
     security/hydra       Makefile distinfo 
   Removed files:
     security/hydra/files patch-hydra-gtk-src_callbacks.c 
   Log:
   - Update to 6.4
   
   PR:             157996
   Submitted by:   Ruslan Mahmatkhanov <cvs-src@yandex.ru> (maintainer)
   
   Revision  Changes    Path
   1.28      +1 -1      ports/security/hydra/Makefile
   1.16      +2 -2      ports/security/hydra/distinfo
   1.2       +0 -86     ports/security/hydra/files/patch-hydra-gtk-src_callbacks.c (dead)
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
