taken from http://www.gentoo.org/cgi-bin/viewcvs.cgi/*checkout*/net-analyzer/ethereal/files/ethereal-0.10.13-fix-irc-loop-DoS-CVE-2005-3313.diff?hideattic=1 Also bump version to 0.10.13nb1.
63 lines
2 KiB
Makefile
63 lines
2 KiB
Makefile
# $NetBSD: Makefile,v 1.118 2005/11/01 20:09:50 frueauf Exp $
|
|
|
|
DISTNAME= ethereal-0.10.13
|
|
PKGREVISION= 1
|
|
CATEGORIES= net
|
|
MASTER_SITES= http://www.ethereal.com/distribution/ \
|
|
http://ethereal.planetmirror.com/distribution/ \
|
|
http://www.mirrors.wiretapped.net/security/packet-capture/ethereal/ \
|
|
http://netmirror.org/mirror/ftp.ethereal.com/ \
|
|
http://ethereal.secuwiz.com/distribution/ \
|
|
http://ethereal.0ni0n.org/distribution/ \
|
|
ftp://ftp.ethereal.com/pub/ethereal/ \
|
|
ftp://ftp.sunet.se/pub/network/monitoring/ethereal/ \
|
|
ftp://ftp.planetmirror.com/pub/ethereal/ \
|
|
ftp://gd.tuwien.ac.at/infosys/security/ethereal/ \
|
|
http://ftp.sunet.se/pub/network/monitoring/ethereal/ \
|
|
http://ethereal.netarc.jp/distribution/ \
|
|
ftp://ftp.ethereal.com/pub/ethereal/old-versions/
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
MAINTAINER= frueauf@NetBSD.org
|
|
HOMEPAGE= http://www.ethereal.com/
|
|
COMMENT= Network protocol analyzer
|
|
|
|
USE_TOOLS+= perl pkg-config
|
|
|
|
USE_LIBTOOL= YES
|
|
SHLIBTOOL_OVERRIDE= libtool
|
|
|
|
GNU_CONFIGURE= YES
|
|
CONFIGURE_ARGS+= --enable-gtk2
|
|
CONFIGURE_ARGS+= --enable-static=no
|
|
CONFIGURE_ARGS+= --enable-threads
|
|
CONFIGURE_ARGS+= --with-gtk-prefix=${BUILDLINK_PREFIX.gtk2}
|
|
CONFIGURE_ARGS+= --with-ssl=${SSLBASE}
|
|
CONFIGURE_ARGS+= --with-net-snmp
|
|
CONFIGURE_ARGS+= --with-pcap=${BUILDLINK_PREFIX.libpcap}
|
|
CONFIGURE_ARGS+= --with-zlib=${BUILDLINK_PREFIX.zlib}
|
|
CONFIGURE_ARGS+= --with-pcre=${BUILDLINK_PREFIX.pcre}
|
|
CONFIGURE_ENV+= ac_cv_func_pcap_compile_nopcap=no
|
|
|
|
PTHREAD_OPTS= require
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
.if ${OPSYS} == "Darwin"
|
|
USE_BUILTIN.libpcap= no
|
|
.endif
|
|
|
|
# XXX avoid rebuild after dissector patch
|
|
pre-build:
|
|
${TOUCH} ${WRKSRC}/epan/dissectors/register.c
|
|
|
|
.include "../../devel/glib2/buildlink3.mk"
|
|
.include "../../devel/pcre/buildlink3.mk"
|
|
.include "../../devel/zlib/buildlink3.mk"
|
|
.include "../../net/libpcap/buildlink3.mk"
|
|
.include "../../net/net-snmp/buildlink3.mk"
|
|
.include "../../security/openssl/buildlink3.mk"
|
|
.include "../../x11/gtk2/buildlink3.mk"
|
|
|
|
.include "../../mk/pthread.buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|