Date: Sun, 21 Feb 2010 08:42:05 GMT From: Niels Heinen <niels@heinen.ws> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/144157: [patch] security/medusa port upgrade to 2.0 Message-ID: <201002210842.o1L8g5lL055330@www.freebsd.org> Resent-Message-ID: <201002210850.o1L8o3rh024010@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 144157 >Category: ports >Synopsis: [patch] security/medusa port upgrade to 2.0 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Sun Feb 21 08:50:03 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Niels Heinen >Release: 8.0-RELEASE >Organization: >Environment: FreeBSD devbsd.lan 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Sat Nov 21 15:48:17 UTC 2009 root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >Description: Please find attached a patch to update the port from 1.5 to 2.0. Note to reviewer: old port was broken on ia64 and I have not been able to verify whether this still is the case. Therefore still marked as broken for ia64 Niels >How-To-Repeat: (patch is attached) >Fix: (patch is attached) Patch attached with submission follows: diff -Nur medusa.orig/Makefile medusa/Makefile --- medusa.orig/Makefile 2010-02-21 08:03:00.000000000 +0100 +++ medusa/Makefile 2010-02-21 08:46:24.000000000 +0100 @@ -6,7 +6,7 @@ # PORTNAME= medusa -PORTVERSION= 1.5 +PORTVERSION= 2.0 CATEGORIES= security MASTER_SITES= http://www.foofus.net/jmk/tools/ \ http://redundancy.redundancy.org/mirror/ @@ -18,9 +18,8 @@ POSTGRESQL "Enable PostgreSQL module" off LIB_DEPENDS+= ssh2:${PORTSDIR}/security/libssh2 - GNU_CONFIGURE= yes -CONFIGURE_ARGS+= --program-transform= #--disable-module-ncp +CONFIGURE_ARGS+= --enable-module-ncp=no --enable-module-afp=no MAN1= medusa.1 @@ -36,6 +35,7 @@ apr-1:${PORTSDIR}/devel/apr CFLAGS+= -I${LOCALBASE}/include/subversion-1 -I${LOCALBASE}/include/apr-1 .else +CONFIGURE_ARGS+= --enable-module-svn=no PLIST_SUB+= SVN="@comment " .endif @@ -51,5 +51,9 @@ post-install: ${MKDIR} ${PREFIX}/share/zsh/site-functions ${INSTALL_DATA} ${WRKSRC}/misc/zsh/_medusa ${PREFIX}/share/zsh/site-functions/_medusa +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/doc/*.html ${DOCSDIR} +.endif .include <bsd.port.post.mk> diff -Nur medusa.orig/distinfo medusa/distinfo --- medusa.orig/distinfo 2010-02-21 08:03:00.000000000 +0100 +++ medusa/distinfo 2010-02-21 08:04:00.000000000 +0100 @@ -1,3 +1,3 @@ -MD5 (medusa-1.5.tar.gz) = 82f884666161af80f8cee7a7d5c7554d -SHA256 (medusa-1.5.tar.gz) = 61ae6b45b3405522e4bf0e3aeb7be51f6bcf3f1452015b890bc4a305e144a259 -SIZE (medusa-1.5.tar.gz) = 346795 +MD5 (medusa-2.0.tar.gz) = 75df63e1cd3b0d18fd2b017f12fc51d7 +SHA256 (medusa-2.0.tar.gz) = ba7d1ded937f976bbd7448c59e628698657ea06e4869243066cae503fa8142cd +SIZE (medusa-2.0.tar.gz) = 371478 diff -Nur medusa.orig/files/patch-configure medusa/files/patch-configure --- medusa.orig/files/patch-configure 2010-02-21 08:03:00.000000000 +0100 +++ medusa/files/patch-configure 1970-01-01 01:00:00.000000000 +0100 @@ -1,101 +0,0 @@ ---- configure.orig 2009-02-10 08:05:24.000000000 -0800 -+++ configure 2009-02-10 08:06:05.000000000 -0800 -@@ -7702,8 +7702,8 @@ - - else - if test "${ac_cv_header_apr_1_0_apr_tables_h+set}" = set; then -- { $as_echo "$as_me:$LINENO: checking for apr-1.0/apr_tables.h" >&5 --$as_echo_n "checking for apr-1.0/apr_tables.h... " >&6; } -+ { $as_echo "$as_me:$LINENO: checking for apr-1/apr_tables.h" >&5 -+$as_echo_n "checking for apr-1/apr_tables.h... " >&6; } - if test "${ac_cv_header_apr_1_0_apr_tables_h+set}" = set; then - $as_echo_n "(cached) " >&6 - fi -@@ -7711,8 +7711,8 @@ - $as_echo "$ac_cv_header_apr_1_0_apr_tables_h" >&6; } - else - # Is the header compilable? --{ $as_echo "$as_me:$LINENO: checking apr-1.0/apr_tables.h usability" >&5 --$as_echo_n "checking apr-1.0/apr_tables.h usability... " >&6; } -+{ $as_echo "$as_me:$LINENO: checking apr-1/apr_tables.h usability" >&5 -+$as_echo_n "checking apr-1/apr_tables.h usability... " >&6; } - cat >conftest.$ac_ext <<_ACEOF - /* confdefs.h. */ - _ACEOF -@@ -7720,7 +7720,7 @@ - cat >>conftest.$ac_ext <<_ACEOF - /* end confdefs.h. */ - $ac_includes_default --#include <apr-1.0/apr_tables.h> -+#include <apr-1/apr_tables.h> - _ACEOF - rm -f conftest.$ac_objext - if { (ac_try="$ac_compile" -@@ -7753,15 +7753,15 @@ - $as_echo "$ac_header_compiler" >&6; } - - # Is the header present? --{ $as_echo "$as_me:$LINENO: checking apr-1.0/apr_tables.h presence" >&5 --$as_echo_n "checking apr-1.0/apr_tables.h presence... " >&6; } -+{ $as_echo "$as_me:$LINENO: checking apr-1/apr_tables.h presence" >&5 -+$as_echo_n "checking apr-1/apr_tables.h presence... " >&6; } - cat >conftest.$ac_ext <<_ACEOF - /* confdefs.h. */ - _ACEOF - cat confdefs.h >>conftest.$ac_ext - cat >>conftest.$ac_ext <<_ACEOF - /* end confdefs.h. */ --#include <apr-1.0/apr_tables.h> -+#include <apr-1/apr_tables.h> - _ACEOF - if { (ac_try="$ac_cpp conftest.$ac_ext" - case "(($ac_try" in -@@ -7795,30 +7795,30 @@ - # So? What about this header? - case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in - yes:no: ) -- { $as_echo "$as_me:$LINENO: WARNING: apr-1.0/apr_tables.h: accepted by the compiler, rejected by the preprocessor!" >&5 --$as_echo "$as_me: WARNING: apr-1.0/apr_tables.h: accepted by the compiler, rejected by the preprocessor!" >&2;} -- { $as_echo "$as_me:$LINENO: WARNING: apr-1.0/apr_tables.h: proceeding with the compiler's result" >&5 --$as_echo "$as_me: WARNING: apr-1.0/apr_tables.h: proceeding with the compiler's result" >&2;} -+ { $as_echo "$as_me:$LINENO: WARNING: apr-1/apr_tables.h: accepted by the compiler, rejected by the preprocessor!" >&5 -+$as_echo "$as_me: WARNING: apr-1/apr_tables.h: accepted by the compiler, rejected by the preprocessor!" >&2;} -+ { $as_echo "$as_me:$LINENO: WARNING: apr-1/apr_tables.h: proceeding with the compiler's result" >&5 -+$as_echo "$as_me: WARNING: apr-1/apr_tables.h: proceeding with the compiler's result" >&2;} - ac_header_preproc=yes - ;; - no:yes:* ) -- { $as_echo "$as_me:$LINENO: WARNING: apr-1.0/apr_tables.h: present but cannot be compiled" >&5 --$as_echo "$as_me: WARNING: apr-1.0/apr_tables.h: present but cannot be compiled" >&2;} -- { $as_echo "$as_me:$LINENO: WARNING: apr-1.0/apr_tables.h: check for missing prerequisite headers?" >&5 --$as_echo "$as_me: WARNING: apr-1.0/apr_tables.h: check for missing prerequisite headers?" >&2;} -- { $as_echo "$as_me:$LINENO: WARNING: apr-1.0/apr_tables.h: see the Autoconf documentation" >&5 --$as_echo "$as_me: WARNING: apr-1.0/apr_tables.h: see the Autoconf documentation" >&2;} -- { $as_echo "$as_me:$LINENO: WARNING: apr-1.0/apr_tables.h: section \"Present But Cannot Be Compiled\"" >&5 --$as_echo "$as_me: WARNING: apr-1.0/apr_tables.h: section \"Present But Cannot Be Compiled\"" >&2;} -- { $as_echo "$as_me:$LINENO: WARNING: apr-1.0/apr_tables.h: proceeding with the preprocessor's result" >&5 --$as_echo "$as_me: WARNING: apr-1.0/apr_tables.h: proceeding with the preprocessor's result" >&2;} -- { $as_echo "$as_me:$LINENO: WARNING: apr-1.0/apr_tables.h: in the future, the compiler will take precedence" >&5 --$as_echo "$as_me: WARNING: apr-1.0/apr_tables.h: in the future, the compiler will take precedence" >&2;} -+ { $as_echo "$as_me:$LINENO: WARNING: apr-1/apr_tables.h: present but cannot be compiled" >&5 -+$as_echo "$as_me: WARNING: apr-1/apr_tables.h: present but cannot be compiled" >&2;} -+ { $as_echo "$as_me:$LINENO: WARNING: apr-1/apr_tables.h: check for missing prerequisite headers?" >&5 -+$as_echo "$as_me: WARNING: apr-1/apr_tables.h: check for missing prerequisite headers?" >&2;} -+ { $as_echo "$as_me:$LINENO: WARNING: apr-1/apr_tables.h: see the Autoconf documentation" >&5 -+$as_echo "$as_me: WARNING: apr-1/apr_tables.h: see the Autoconf documentation" >&2;} -+ { $as_echo "$as_me:$LINENO: WARNING: apr-1/apr_tables.h: section \"Present But Cannot Be Compiled\"" >&5 -+$as_echo "$as_me: WARNING: apr-1/apr_tables.h: section \"Present But Cannot Be Compiled\"" >&2;} -+ { $as_echo "$as_me:$LINENO: WARNING: apr-1/apr_tables.h: proceeding with the preprocessor's result" >&5 -+$as_echo "$as_me: WARNING: apr-1/apr_tables.h: proceeding with the preprocessor's result" >&2;} -+ { $as_echo "$as_me:$LINENO: WARNING: apr-1/apr_tables.h: in the future, the compiler will take precedence" >&5 -+$as_echo "$as_me: WARNING: apr-1/apr_tables.h: in the future, the compiler will take precedence" >&2;} - - ;; - esac --{ $as_echo "$as_me:$LINENO: checking for apr-1.0/apr_tables.h" >&5 --$as_echo_n "checking for apr-1.0/apr_tables.h... " >&6; } -+{ $as_echo "$as_me:$LINENO: checking for apr-1/apr_tables.h" >&5 -+$as_echo_n "checking for apr-1/apr_tables.h... " >&6; } - if test "${ac_cv_header_apr_1_0_apr_tables_h+set}" = set; then - $as_echo_n "(cached) " >&6 - else diff -Nur medusa.orig/pkg-descr medusa/pkg-descr --- medusa.orig/pkg-descr 2010-02-21 08:03:00.000000000 +0100 +++ medusa/pkg-descr 2010-02-21 09:33:42.000000000 +0100 @@ -1,5 +1,5 @@ -Medusa is intended to be a speedy, massively parallel, modular, login -brute-forcer. The goal is to support as many services which allow remote -authentication as possible. +Medusa is a speedy, parallel and modular login brute-forcer. The goal +is to support authentication testing of as many services as possible. +Examples of supported services: ssh, telnet, vnc, pop3, subverson, .. WWW: http://www.foofus.net/jmk/medusa/medusa.html diff -Nur medusa.orig/pkg-plist medusa/pkg-plist --- medusa.orig/pkg-plist 2010-02-21 08:03:00.000000000 +0100 +++ medusa/pkg-plist 2010-02-21 09:05:11.000000000 +0100 @@ -1,4 +1,4 @@ -@comment $FreeBSD: ports/security/medusa/pkg-plist,v 1.5 2009/02/10 16:36:55 lx Exp $ +@comment $FreeBSD: ports/security/share/doc/medusa/medusa/pkg-plist,v 1.5 2009/02/10 16:36:55 lx Exp $ bin/medusa lib/medusa/modules/telnet.mod lib/medusa/modules/smbnt.mod @@ -25,7 +25,36 @@ %%SVN%%lib/medusa/modules/svn.mod lib/medusa/modules/web-form.mod share/zsh/site-functions/_medusa +share/doc/medusa/medusa-afp.html +share/doc/medusa/medusa-compare.html +share/doc/medusa/medusa-cvs.html +share/doc/medusa/medusa-ftp.html +share/doc/medusa/medusa-http.html +share/doc/medusa/medusa-imap.html +share/doc/medusa/medusa-mssql.html +share/doc/medusa/medusa-mysql.html +share/doc/medusa/medusa-ncp.html +share/doc/medusa/medusa-nntp.html +share/doc/medusa/medusa-pcanywhere.html +share/doc/medusa/medusa-pop3.html +share/doc/medusa/medusa-postgres.html +share/doc/medusa/medusa-rexec.html +share/doc/medusa/medusa-rlogin.html +share/doc/medusa/medusa-rsh.html +share/doc/medusa/medusa-smbnt.html +share/doc/medusa/medusa-smtp-vrfy.html +share/doc/medusa/medusa-smtp.html +share/doc/medusa/medusa-snmp.html +share/doc/medusa/medusa-ssh.html +share/doc/medusa/medusa-svn.html +share/doc/medusa/medusa-telnet.html +share/doc/medusa/medusa-vmauthd.html +share/doc/medusa/medusa-vnc.html +share/doc/medusa/medusa-web-form.html +share/doc/medusa/medusa-wrapper.html +share/doc/medusa/medusa.html @unexec [ -f %D/bin/zsh ] || rmdir %D/share/zsh/site-functions 2>/dev/null || true @dirrmtry share/zsh @dirrm lib/medusa/modules @dirrm lib/medusa +@dirrmtry share/doc/medusa >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201002210842.o1L8g5lL055330>