source: trunk/dports/security/medusa/Portfile @ 82146

Last change on this file since 82146 was 82146, checked in by ryandesign@…, 6 years ago

medusa: fix build on Leopard; see #30658

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.7 KB
Line 
1# $Id: Portfile 82146 2011-08-08 19:22:48Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name               medusa
6version            2.0
7categories         security net
8platforms          darwin
9maintainers        pmq openmaintainer
10
11description        Medusa is a speedy, massively parallel, modular, login brute-forcer
12long_description   Medusa is intended to be a speedy, massively parallel, \
13                   modular, login brute-forcer. The goal is to support as \
14                   many services which allow remote authentication as possible. \
15                   The author considers following items as some of the key \
16                   features of this application. Thread-based parallel testing: \
17                   Brute-force testing can be performed against multiple hosts, \
18                   users or passwords concurrently. Flexible user input: Target \
19                   information (host/user/password) can be specified in a variety \
20                   of ways. For example, each item can be either a single entry \
21                   or a file containing multiple entries. Additionally, a \
22                   combination file format allows the user to refine their target \
23                   listing. Modular design: Each service module exists as an \
24                   independent .mod file. This means that no modifications are \
25                   necessary to the core application in order to extend the \
26                   supported list of services for brute-forcing.
27
28homepage           http://www.foofus.net/jmk/medusa/medusa.html
29master_sites       http://www.foofus.net/jmk/tools freebsd:
30checksums           md5     75df63e1cd3b0d18fd2b017f12fc51d7 \
31                    sha1    bdea5e5c81d588af35e564a54d9eb2b77eb92371 \
32                    rmd160  28e27525d704621c1d897c368a58080dac12be45
33dist_subdir        ${name}/${version}_${revision}
34
35depends_lib        port:openssl port:libssh2
36
37livecheck.type     regex
38livecheck.url      ${homepage}
39livecheck.regex    "${name}-(.*?).tar.gz"
40
41use_autoreconf      yes
42
43patchfiles          patch-configure.in.diff
44
45post-patch {
46    # not very tasteful and doesn't fully work
47    reinplace "s|/usr/local|${prefix}|" ${worksrcpath}/configure
48}
49
50# --enable-untested
51# hopefully the mod-path will be superfluous next release
52configure.args     --with-default-mod-path=${prefix}/lib/medusa/modules \
53                   --enable-module-svn=no \
54                   --enable-module-postgres=no
55
56variant subversion description "Build the Subversion module" {
57    # the apr-* detection is problematic
58    # configure.cppflags   "-I${prefix}/include/subversion-1 -I${prefix}/include/apr-0"
59    configure.args-delete --enable-module-svn=no
60    configure.args-append --enable-module-svn=yes
61    depends_lib-append port:subversion
62}
63
64variant postgresql description "Build the PostgreSQL module" {
65    configure.args-delete --enable-module-postgres=no
66    configure.args-append --enable-module-postgres=yes
67    depends_lib-append port:postgresql83
68}
69
70# FIXME check building afpfs-ng, ncp
Note: See TracBrowser for help on using the repository browser.