source: trunk/dports/net/xprobe2/Portfile

Last change on this file was 127844, checked in by ryandesign@…, 3 years ago

xprobe2: fix build failure (#41406; maintainer timeout)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 KB
Line 
1# $Id: Portfile 127844 2014-11-05 06:39:28Z ryandesign@macports.org $
2
3PortSystem          1.0
4
5name                xprobe2
6categories          net security
7version             0.3
8platforms           darwin
9maintainers         wohner.eu:normen
10
11description         Remote, active OS fingerprinting tool
12long_description    \
13    The purpose of the tool is to perform ICMP fingerprinting of remote TCP/IP \
14    stacks based on Ofir Arkin's ICMP fingerprinting. This tool is a practical \
15    implementation of results discovered during 'project X' (see \
16    http://www.sys-security.com/html/projects/X.html).
17
18homepage            http://xprobe.sourceforge.net
19master_sites        sourceforge:xprobe
20checksums           md5 3ebb89ed9380038d368327816e34ec54
21
22depends_lib         port:libpcap
23
24patchfiles          patch-Makefile.in.diff \
25                    patch-libs-external-USI++-src-ip.cc.diff \
26                    patch-libs-external-USI++-src-misc.cc.diff \
27                    patch-libs-external-USI++-usi++-tcp.h.diff
28
29configure.args      --with-libpcap-libraries=${prefix}/lib \
30                    --with-libpcap-includes=${prefix}/include \
31                    --mandir=${prefix}/share/man
32
33platform darwin 8 {
34    post-patch {
35        foreach makefile [glob -directory ${worksrcpath}/src/xpmodules */Makefile.in */*/Makefile.in] {
36            reinplace "s|CC=@CC@|CXX=@CXX@|g" ${makefile}
37        }
38    }
39
40    configure.args-append CC=gcc-3.3 CXX=g++-3.3
41}
42
43livecheck.type      none
Note: See TracBrowser for help on using the repository browser.