blob: 6b9be24c85f231b7cf86b60f024135643ab634f6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
|
# New ports collection makefile for: ethereal
# Date created: 10 August 1998
# Whom: Bill Fumerola <billf@chc-chimes.com>
#
# $FreeBSD$
#
PORTNAME= ethereal
PORTVERSION= 0.10.0a
PORTREVISION= 2
CATEGORIES= net ipv6
MASTER_SITES= ftp://ftp.ethereal.com/pub/ethereal/%SUBDIR%/ \
ftp://gd.tuwien.ac.at/infosys/security/ethereal/%SUBDIR%/ \
ftp://ftp.sunet.se/pub/network/monitoring/ethereal/%SUBDIR%/ \
ftp://ftp.mirrors.wiretapped.net/pub/security/packet-capture/ethereal/%SUBDIR%/ \
http://www.mirrors.wiretapped.net/pub/security/packet-capture/ethereal/%SUBDIR%/
MASTER_SITE_SUBDIR= . old-versions
MAINTAINER= billf@FreeBSD.org
COMMENT= An X11/GTK network analyzer/capture tool
FORBIDDEN= http://www.vuxml.org/freebsd/cdf18ed9-7f4a-11d8-9645-0020ed76ef5a.html
USE_BZIP2= yes
WANT_GNOME= yes
.include <bsd.port.pre.mk>
.if !defined(WITHOUT_SNMP)
LIB_DEPENDS= netsnmp.6:${PORTSDIR}/net-mgmt/net-snmp
.endif
CONFIGURE_ARGS= --program-transform-name=""
CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
.if !defined(WITHOUT_X11)
USE_X_PREFIX= yes
.if defined(WITH_GTK2) || (${HAVE_GNOME:Mgtk20}!="")
USE_GNOME= gtk20
CONFIGURE_ARGS+= --enable-gtk2=yes
.else
USE_GNOME= gtk12
.endif
MAN1+= ethereal.1
PLIST_SUB+= ETHEREAL=bin/ethereal
.else
PLIST_SUB+= ETHEREAL="@comment ethereal not built"
USE_GNOME= glib12
CONFIGURE_ARGS+= --enable-ethereal=no \
--disable-gtktest
.endif
USE_LIBTOOL_VER=13
LIBTOOLFILES= configure epan/configure wiretap/configure
PLIST_SUB+= PORTVERSION=${PORTVERSION}
.if !defined(WITHOUT_SNMP)
CONFIGURE_ARGS+= --enable-snmp=yes \
--with-net-snmp=${LOCALBASE}/lib \
--without-ucdsnmp
.if exists(/usr/include/openssl/crypto.h)
CONFIGURE_ARGS+= --with-ssl=/usr
.endif
.else
CONFIGURE_ARGS+= --enable-snmp=no --without-ucdsnmp --without-net-snmp
.endif
.if defined(WITH_ADNS) || (!defined(WITHOUT_ADNS) && exists(${LOCALBASE}/lib/adns.so))
LIB_DEPENDS+= adns.1:${PORTSDIR}/dns/adns
.include <bsd.port.post.mk>
.else
CONFIGURE_ARGS+= --without-adns
.endif
MAN1+= editcap.1 idl2eth.1 mergecap.1 tethereal.1 text2pcap.1
MAN4+= ethereal-filter.4
.include <bsd.port.post.mk>
|