Opened 20 years ago

Closed 20 years ago

Last modified 20 years ago

#1130 closed defect (fixed)

net/dsniff on panther

Reported by: olegb@… Owned by: jpm@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc: darwinports-bugs@…
Port:

Description

This Portfile should make dsniff compile on both darwin 6/7 (only checked on panther). Major wootage to wbb4 for this platform-stuff!

# $Id: Portfile,v 1.12 2003/03/03 07:09:28 mij Exp $

PortSystem 1.0 name dsniff version 2.3 revision 0 categories net maintainers jpm@… description network auditing and penetration testing tools long_description \

dsniff is a collection of tools for network auditing and penetration \ testing. dsniff, filesnarf, mailsnarf, msgsnarf, urlsnarf, and \ webspy passively monitor a network for interesting data (passwords, \ e-mail, files, etc.). arpspoof, dnsspoof, and macof facilitate the \ interception of network traffic normally unavailable to an attacker \ (e.g, due to layer-2 switching). sshmitm and webmitm implement \ active monkey-in-the-middle attacks against redirected SSH and HTTPS \ sessions by exploiting weak bindings in ad-hoc PKI.

homepage http://monkey.org/~dugsong/dsniff/ platforms darwin master_sites http://monkey.org/~dugsong/dsniff/ checksums md5 183e336a45e38013f3af840bddec44b4 depends_build path:${prefix}/include/pcap-int.h:libpcap depends_lib \

lib:libnet:libnet lib:libnids:libnids

patchfiles Makefile.in.diff

platform darwin 6 { post-patch {

reinplace "s|@install_prefix@|${destroot}|g"

"${worksrcpath}/Makefile.in"

}

}

platform darwin 7 { post-patch {

reinplace "s|@install_prefix@|${destroot}|g"

"${worksrcpath}/Makefile.in"

reinplace "s|nameser.h|nameser8_compat.h|g" "asn1.c" reinplace "s|nameser.h|nameser8_compat.h|g" "ssh.c" reinplace "s|nameser.h|nameser8_compat.h|g" "decode_mmxp.c" reinplace "s|nameser.h|nameser8_compat.h|g" "decode_smb.c" reinplace "s|nameser.h|nameser8_compat.h|g" "dnsspoof.c" reinplace "s|nameser.h|nameser8_compat.h|g" "sshmitm.c" }

}

variant unstable {

version 2.4b1 master_sites http://naughty.monkey.org/~dugsong/dsniff/beta/ worksrcdir ${name}-2.4 checksums md5 2f761fa3475682a7512b0b43568ee7d6

}

Attachments (1)

patch_Portfile (993 bytes) - added by olegb@… 20 years ago.
here is a unified diff of the portfile

Download all attachments as: .zip

Change History (2)

Changed 20 years ago by olegb@…

Attachment: patch_Portfile added

here is a unified diff of the portfile

comment:1 Changed 20 years ago by fkr@…

Resolution: fixed
Status: newclosed

fenner@ committed a fix. The correct solution is these cases is to define BIND_8_COMPAT=1 during configure or build phase, since then the apple gcc does the correct thing. -fkr

Note: See TracTickets for help on using tickets.