From owner-svn-ports-head@freebsd.org Tue May 31 12:37:35 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3E982B54A33; Tue, 31 May 2016 12:37:35 +0000 (UTC) (envelope-from jadawin@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1A6671F58; Tue, 31 May 2016 12:37:35 +0000 (UTC) (envelope-from jadawin@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u4VCbYG7007337; Tue, 31 May 2016 12:37:34 GMT (envelope-from jadawin@FreeBSD.org) Received: (from jadawin@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u4VCbXit007332; Tue, 31 May 2016 12:37:33 GMT (envelope-from jadawin@FreeBSD.org) Message-Id: <201605311237.u4VCbXit007332@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jadawin set sender to jadawin@FreeBSD.org using -f From: Philippe Audeoud Date: Tue, 31 May 2016 12:37:33 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r416195 - in head/net/spoofer: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 May 2016 12:37:35 -0000 Author: jadawin Date: Tue May 31 12:37:33 2016 New Revision: 416195 URL: https://svnweb.freebsd.org/changeset/ports/416195 Log: - Update to 1.0.1 - Add GUI support as an option, enabled by default PR: 209755 Submitted by: mjl@luckie.org.nz Added: head/net/spoofer/files/ head/net/spoofer/files/spoofer.in (contents, props changed) head/net/spoofer/pkg-plist (contents, props changed) Modified: head/net/spoofer/Makefile head/net/spoofer/distinfo head/net/spoofer/pkg-descr Modified: head/net/spoofer/Makefile ============================================================================== --- head/net/spoofer/Makefile Tue May 31 12:09:49 2016 (r416194) +++ head/net/spoofer/Makefile Tue May 31 12:37:33 2016 (r416195) @@ -1,23 +1,37 @@ # Created by: Andrew Pantyukhin # $FreeBSD$ -PORTNAME= spoofer -PORTVERSION= 0.8e -CATEGORIES= net -MASTER_SITES= http://spoofer.caida.org/ +PORTNAME= spoofer +PORTVERSION= 1.0.1 +CATEGORIES= net +MASTER_SITES= http://www.caida.org/projects/spoofer/downloads/ -MAINTAINER= jadawin@FreeBSD.org -COMMENT= Spoofer Project testing software +MAINTAINER= jadawin@FreeBSD.org +COMMENT= Spoofer Project testing software -PLIST_FILES= bin/spoofer -PORTDOCS= README +LICENSE= GPLv3 -HAS_CONFIGURE= yes +BUILD_DEPENDS= protoc:devel/protobuf +LIB_DEPENDS= libprotobuf-lite.so:devel/protobuf -OPTIONS_DEFINE= DOCS +PORTDOCS= README -do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/prober/${PORTNAME} ${STAGEDIR}${PREFIX}/bin +GNU_CONFIGURE= yes +CONFIGURE_ARGS+= --disable-development + +OPTIONS_DEFINE= DOCS GUI +OPTIONS_DEFAULT= GUI +OPTIONS_SUB= yes + +.include + +.if ${PORT_OPTIONS:MGUI} +USE_QT5= buildtools_build qmake_build core network gui widgets +USE_GL+= gl +USE_RC_SUBR= ${PORTNAME} +.else +CONFIGURE_ARGS+= --disable-manager +.endif do-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} Modified: head/net/spoofer/distinfo ============================================================================== --- head/net/spoofer/distinfo Tue May 31 12:09:49 2016 (r416194) +++ head/net/spoofer/distinfo Tue May 31 12:37:33 2016 (r416195) @@ -1,2 +1,3 @@ -SHA256 (spoofer-0.8e.tar.gz) = 2bd653531399a24a3da60c75627a2ca6bc6fce9a5266ea3e6be7f83ff224741b -SIZE (spoofer-0.8e.tar.gz) = 253702 +TIMESTAMP = 1464210224 +SHA256 (spoofer-1.0.1.tar.gz) = a70997223f075c1b3834a6bde8fdb7d8179b0dd49b960e915e1ffb1392711e2d +SIZE (spoofer-1.0.1.tar.gz) = 361056 Added: head/net/spoofer/files/spoofer.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/spoofer/files/spoofer.in Tue May 31 12:37:33 2016 (r416195) @@ -0,0 +1,31 @@ +# $FreeBSD$ +#!/bin/sh +# +# PROVIDE: spoofer +# REQUIRE: LOGIN +# KEYWORD: shutdown +# +# Add the following lines to /etc/rc.conf to enable spoofer: +# +# spoofer_enable="YES" +# + +. /etc/rc.subr + +name=spoofer +rcvar=spoofer_enable + +command="%%PREFIX%%/bin/spoofer-scheduler" +command_args="-D" + +load_rc_config $name + +: ${spoofer_enable="NO"} +: ${spoofer_flags="-s 1"} + +spoofer_stop() +{ + %%PREFIX%%/bin/spoofer-cli shutdown +} + +run_rc_command "$1" Modified: head/net/spoofer/pkg-descr ============================================================================== --- head/net/spoofer/pkg-descr Tue May 31 12:09:49 2016 (r416194) +++ head/net/spoofer/pkg-descr Tue May 31 12:37:33 2016 (r416195) @@ -1,4 +1,4 @@ -Spoofer helps ANA Spoofer Project better understand the current state of +Spoofer helps the CAIDA Spoofer Project better understand the current state of filtering in the Internet. It attempts to send a series of spoofed UDP packets to a central server which logs and summarizes the results. Added: head/net/spoofer/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/spoofer/pkg-plist Tue May 31 12:37:33 2016 (r416195) @@ -0,0 +1,4 @@ +%%GUI%%bin/spoofer-cli +%%GUI%%bin/spoofer-gui +bin/spoofer-prober +%%GUI%%bin/spoofer-scheduler