Date: Sun, 6 Feb 2005 21:09:39 +0100 (CET) From: Laurent LEVIER <llevier@argosnet.com> To: FreeBSD-gnats-submit@FreeBSD.org Cc: llevier@argosnet.com Subject: ports/77179: Port upgrade from Hydra 4.3 to 4.5 Message-ID: <200502062009.j16K9dCb090972@tirion.argosnet.com> Resent-Message-ID: <200502062040.j16KeQ0X031837@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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 <des.h> -+#include <openssl/md4.h> -+#include <openssl/des.h> -+#include <openssl/des_old.h> - - /* -@@ -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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200502062009.j16K9dCb090972>