Sunday, December 30, 2018

Re: NEW: net/spoofer-1.4.2

On 2018/12/22 14:49, Denis Fondras wrote:
> The CAIDA Spoofer project measures the Internet's susceptibility to spoofed
> source address IP packets. The Spoofer client attempts to send a series of
> spoofed UDP packets that test the ability to send different classes of spoofed
> traffic
>
> http://spoofer.caida.org/

Initial tweaks. It's protobuf not protobuf-c, c++ ports need to set
COMPILER except in special cases, and don't hardcode /usr/local.

Additionally either the Qt bits need adding properly or disabling
(build fails if qt3-mt is installed. it builds extra things if qt5
is installed. haven't looked at qt4).


diff --git Makefile Makefile
index 3f06033..1395bc6 100644
--- Makefile
+++ Makefile
@@ -7,18 +7,20 @@ CATEGORIES= net

HOMEPAGE= https://www.caida.org/projects/spoofer/

-MASTER_SITES= ${HOMEPAGE}downloads/
+MASTER_SITES= https://www.caida.org/projects/spoofer/downloads/

MAINTAINER= Denis Fondras <denis@openbsd.org>

# GPLv3
PERMIT_PACKAGE_CDROM= Yes

-WANTLIB+= protobuf-c
+WANTLIB += ${COMPILER_LIBCXX} c crypto m pcap protobuf-lite ssl

-LIB_DEPENDS= devel/protobuf-c
+COMPILER= base-clang ports-gcc
+
+LIB_DEPENDS= devel/protobuf

CONFIGURE_STYLE= gnu
-CONFIGURE_ARGS= --with-protobuf=/usr/local
+CONFIGURE_ARGS= --with-protobuf=${LOCALBASE}

.include <bsd.port.mk>

No comments:

Post a Comment