From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Feb 6 20:40:27 2005 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7563B16A4CE for ; Sun, 6 Feb 2005 20:40:27 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2552243D39 for ; Sun, 6 Feb 2005 20:40:27 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.1/8.13.1) with ESMTP id j16KeRHf031840 for ; Sun, 6 Feb 2005 20:40:27 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.1/8.13.1/Submit) id j16KeQ0X031837; Sun, 6 Feb 2005 20:40:26 GMT (envelope-from gnats) Resent-Date: Sun, 6 Feb 2005 20:40:26 GMT Resent-Message-Id: <200502062040.j16KeQ0X031837@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, Laurent LEVIER Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 255F816A4CE for ; Sun, 6 Feb 2005 20:39:41 +0000 (GMT) Received: from tirion.argosnet.com (stbarthelemy-2-82-224-1-141.fbx.proxad.net [82.224.1.141]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0D29843D46 for ; Sun, 6 Feb 2005 20:39:40 +0000 (GMT) (envelope-from root@tirion.argosnet.com) Received: from tirion.argosnet.com (localhost.argosnet.com [127.0.0.1]) by tirion.argosnet.com (8.12.11/8.12.11) with ESMTP id j16K9dTf090973; Sun, 6 Feb 2005 21:09:39 +0100 (CET) (envelope-from root@tirion.argosnet.com) Received: (from root@localhost) by tirion.argosnet.com (8.12.11/8.12.11/Submit) id j16K9dCb090972; Sun, 6 Feb 2005 21:09:39 +0100 (CET) (envelope-from root) Message-Id: <200502062009.j16K9dCb090972@tirion.argosnet.com> Date: Sun, 6 Feb 2005 21:09:39 +0100 (CET) From: Laurent LEVIER To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 cc: llevier@argosnet.com Subject: ports/77179: Port upgrade from Hydra 4.3 to 4.5 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Feb 2005 20:40:27 -0000 >Number: 77179 >Category: ports >Synopsis: Port upgrade from Hydra 4.3 to 4.5 >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Sun Feb 06 20:40:26 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Laurent LEVIER >Release: FreeBSD 4.10-RELEASE-p2 i386 >Organization: none >Environment: System: FreeBSD tirion.argosnet.com 4.10-RELEASE-p2 FreeBSD 4.10-RELEASE-p2 #0: Wed Jul 14 18:53:04 CEST 2004 root@tirion.argosnet.com:/usr/obj/usr/src/sys/TIRION i386 diff -ruN hydra/Makefile hydra-4.5/Makefile --- hydra/Makefile Wed May 5 22:24:03 2004 +++ hydra-4.5/Makefile Sun Feb 6 21:02:26 2005 @@ -7,7 +7,7 @@ # PORTNAME= hydra -PORTVERSION= 4.0 +PORTVERSION= 4.5 CATEGORIES= security MASTER_SITES= http://www.thc.org/releases/ \ ${MASTER_SITE_PACKETSTORM} @@ -22,6 +22,7 @@ USE_REINPLACE= yes GNU_CONFIGURE= yes USE_OPENSSL= yes +WRKSRC= ${WRKDIR}/hydra-4.5-src post-patch: @${REINPLACE_CMD} -e 's|CC = gcc||; \ diff -ruN hydra/distinfo hydra-4.5/distinfo --- hydra/distinfo Wed May 5 22:24:03 2004 +++ hydra-4.5/distinfo Sun Feb 6 20:58:26 2005 @@ -1,2 +1,2 @@ -MD5 (hydra-4.0-src.tar.gz) = 858e0b049fed9dcf06c7c8d052579f69 -SIZE (hydra-4.0-src.tar.gz) = 82558 +MD5 (hydra-4.5-src.tar.gz) = 04c45be0ded184d0f7e92c7a4a936f82 +SIZE (hydra-4.5-src.tar.gz) = 166724 diff -ruN hydra/files/patch-printf hydra-4.5/files/patch-printf --- hydra/files/patch-printf Wed May 5 22:24:04 2004 +++ hydra-4.5/files/patch-printf Thu Jan 1 01:00:00 1970 @@ -1,16 +0,0 @@ ---- hydra.c Fri Apr 16 11:37:13 2004 -+++ hydra.c Mon May 3 15:43:51 2004 -@@ -215,5 +215,5 @@ - return; - -- printf("[DEBUG] Code: %s Time: %lu\n", string, time(NULL)); -+ printf("[DEBUG] Code: %s Time: %lu\n", string, (long unsigned)time(NULL)); - printf("[DEBUG] Options: mode %d ssl %d restore %d showAttempt %d tasks %d tnp %d tpsal %d exit_found %d miscptr %s service %s\n", - hydra_options.mode, hydra_options.ssl, hydra_options.restore, hydra_options.showAttempt, hydra_options.tasks, -@@ -1608,5 +1608,5 @@ - if ((hydra_brains.todo_all - hydra_brains.sent) / (hydra_brains.sent / (elapsed_status - starttime)) < 150) - status_print = 59; -- printf("[STATUS] %.2f tries/min, %lu tries in %02lu:%02luh, %lu todo in %02lu:%02luh\n", -+ printf("[STATUS] %.2f tries/min, %lu tries in %02d:%02dh, %lu todo in %02lu:%02luh\n", - (1.0 * hydra_brains.sent) / (((elapsed_status - starttime) * 1.0) / 60), hydra_brains.sent, (elapsed_status - starttime) / 3600, - ((elapsed_status - starttime) % 3600) / 60, hydra_brains.todo_all - hydra_brains.sent, diff -ruN hydra/files/patch-smbnt hydra-4.5/files/patch-smbnt --- hydra/files/patch-smbnt Wed May 5 22:24:04 2004 +++ hydra-4.5/files/patch-smbnt Thu Jan 1 01:00:00 1970 @@ -1,32 +0,0 @@ ---- configure Thu Nov 20 10:45:28 2003 -+++ configure Mon May 3 15:14:26 2004 -@@ -26,5 +26,5 @@ - LIBDIRS=`cat /etc/ld.so.conf 2> /dev/null` - PREFIX=`echo "$1"|sed 's/.*--prefix=//'` --LIBDES="" -+LIBDES=" " - echo - ---- hydra-smbnt.c Fri Dec 12 03:47:16 2003 -+++ hydra-smbnt.c Mon May 3 15:19:09 2004 -@@ -5,6 +5,7 @@ - } - #else --#include "md4.h" --#include -+#include -+#include -+#include - - /* -@@ -132,7 +132,7 @@ - unicodePassword[i * 2] = (u_char)pass[i]; - -- MD4Init(&md4Context); -- MD4Update(&md4Context, unicodePassword, mdlen); -- MD4Final(hash, &md4Context); /* Tell MD4 we're done */ -+ MD4_Init(&md4Context); -+ MD4_Update(&md4Context, unicodePassword, mdlen); -+ MD4_Final(hash, &md4Context); /* Tell MD4 we're done */ - } - >Description: >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: