Skip site navigation (1)Skip section navigation (2)
Date:      12 Jul 2006 00:24:56 -0000
From:      David Thiel <lx@redundancy.redundancy.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/100131: Maintainer update: security/medusa. Mark broken on 64bit, OPTIONSify
Message-ID:  <20060712002456.83177.qmail@redundancy.redundancy.org>
Resent-Message-ID: <200607120030.k6C0UE0F018369@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         100131
>Category:       ports
>Synopsis:       Maintainer update: security/medusa. Mark broken on 64bit, OPTIONSify
>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:   Wed Jul 12 00:30:13 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     David Thiel
>Release:        FreeBSD 6.0-RELEASE i386
>Organization:
>Environment:
System: FreeBSD redundancy.redundancy.org 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Thu Nov 3 09:36:13 UTC 2005 root@x64.samsco.home:/usr/obj/usr/src/sys/GENERIC i386


>Description:

Marking medusa BROKEN on amd64 and ia64. I have no access to machines on
which I can test fixes for those. While I'm at it, update to use OPTIONS
for Postgres and Subversion support, and enable all the optional modules.

>How-To-Repeat:
>Fix:

diff -ruN medusa.old/Makefile medusa/Makefile
--- medusa.old/Makefile	Tue Jul 11 16:06:09 2006
+++ medusa/Makefile	Tue Jul 11 17:23:03 2006
@@ -14,11 +14,31 @@
 MAINTAINER=	lx@redundancy.redundancy.org
 COMMENT=	A speedy, massively parallel, modular, login brute-forcer
 
-LIB_DEPENDS=	ssh2:${PORTSDIR}/security/libssh2
+OPTIONS=	SVN "Enable Subversion module" off \
+		POSTGRESQL "Enable PostgreSQL module" off
+
+LIB_DEPENDS+=	ssh2:${PORTSDIR}/security/libssh2
 
 GNU_CONFIGURE=	yes
-CONFIGURE_ARGS+=	"--program-transform="
+CONFIGURE_ARGS+=	--enable-untested --program-transform=
 
 MAN1=		medusa.1
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} == "ia64"
+BROKEN=		Does not build on ia64
+.elif ${ARCH} == "amd64"
+BROKEN=		Does not build on amd64
+.endif
+
+.if defined(WITH_SVN)
+LIB_DEPENDS+=	svn_client-1:${PORTSDIR}/devel/subversion
+CFLAGS+=	-I${LOCALBASE}/include/subversion-1 -I${LOCALBASE}/include/apr-1
+.endif
+
+.if defined(WITH_POSTGRESQL)
+USE_PGSQL=	yes
+.endif
+
+.include <bsd.port.post.mk>
diff -ruN medusa.old/pkg-plist medusa/pkg-plist
--- medusa.old/pkg-plist	Tue Jul 11 16:06:09 2006
+++ medusa/pkg-plist	Tue Jul 11 17:10:24 2006
@@ -14,5 +14,14 @@
 lib/medusa/modules/rexec.mod
 lib/medusa/modules/wrapper.mod
 lib/medusa/modules/rlogin.mod
+lib/medusa/modules/ncp.mod
+lib/medusa/modules/vnc.mod
+lib/medusa/modules/postgres.mod
+lib/medusa/modules/cvs.mod
+lib/medusa/modules/vmauthd.mod
+lib/medusa/modules/snmp.mod
+lib/medusa/modules/smtp-vrfy.mod
+lib/medusa/modules/smtp-auth.mod
+lib/medusa/modules/svn.mod
 @dirrm lib/medusa/modules
 @dirrm lib/medusa
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060712002456.83177.qmail>