aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIon-Mihai Tetcu <itetcu@FreeBSD.org>2006-07-12 01:05:51 +0000
committerIon-Mihai Tetcu <itetcu@FreeBSD.org>2006-07-12 01:05:51 +0000
commit5b2ec2ee99a82c5ca9d3d9c2072ba757f0ea2a32 (patch)
tree74fe06705c8137a6e045d9917ec10fbd6882bc72
parent5beea1d6f817abcd469fc55a7a31d19b5ee7dd45 (diff)
downloadports-5b2ec2ee99a82c5ca9d3d9c2072ba757f0ea2a32.tar.gz
ports-5b2ec2ee99a82c5ca9d3d9c2072ba757f0ea2a32.zip
Notes
-rw-r--r--security/medusa/Makefile30
-rw-r--r--security/medusa/pkg-plist9
2 files changed, 36 insertions, 3 deletions
diff --git a/security/medusa/Makefile b/security/medusa/Makefile
index ac7a72be0dad..e95af5c6b822 100644
--- a/security/medusa/Makefile
+++ b/security/medusa/Makefile
@@ -14,11 +14,35 @@ MASTER_SITES= http://www.foofus.net/jmk/tools/ \
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 ${OSVERSION} < 500000
+IGNORE= needs lpthread
+.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 --git a/security/medusa/pkg-plist b/security/medusa/pkg-plist
index a2c39fdb83b9..77f8a5a062ce 100644
--- a/security/medusa/pkg-plist
+++ b/security/medusa/pkg-plist
@@ -14,5 +14,14 @@ lib/medusa/modules/rsh.mod
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