View | Details | Raw Unified | Return to bug 209755 | Differences between
and this patch

Collapse All | Expand All

(-)spoofer-new/Makefile (-12 / +26 lines)
Lines 1-23 Link Here
1
# Created by: Andrew Pantyukhin <infofarmer@FreeBSD.org>
1
# Created by: Andrew Pantyukhin <infofarmer@FreeBSD.org>
2
# $FreeBSD: head/net/spoofer/Makefile 408680 2016-02-11 09:23:18Z jadawin $
2
# $FreeBSD: head/net/spoofer/Makefile 408680 2016-02-11 09:23:18Z jadawin $
3
3
4
PORTNAME=	spoofer
4
PORTNAME=		spoofer
5
PORTVERSION=	0.8e
5
PORTVERSION=		1.0.2
6
CATEGORIES=	net
6
CATEGORIES=		net
7
MASTER_SITES=	http://spoofer.caida.org/
7
MASTER_SITES=		http://www.caida.org/projects/spoofer/downloads/
8
8
9
MAINTAINER=	jadawin@FreeBSD.org
9
MAINTAINER=		jadawin@FreeBSD.org
10
COMMENT=	Spoofer Project testing software
10
COMMENT=		Spoofer Project testing software
11
11
12
PLIST_FILES=	bin/spoofer
12
LICENSE=		GPLv3
13
PORTDOCS=	README
14
13
15
HAS_CONFIGURE=	yes
14
BUILD_DEPENDS=		protoc:devel/protobuf
15
LIB_DEPENDS=		libprotobuf-lite.so:devel/protobuf
16
16
17
OPTIONS_DEFINE=	DOCS
17
PORTDOCS=		README
18
18
19
do-install:
19
GNU_CONFIGURE=		yes
20
	${INSTALL_PROGRAM} ${WRKSRC}/prober/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
20
CONFIGURE_ARGS+=	--disable-development
21
22
OPTIONS_DEFINE=		DOCS GUI
23
OPTIONS_DEFAULT=	GUI
24
OPTIONS_SUB=		yes
25
26
.include <bsd.port.options.mk>
27
28
.if ${PORT_OPTIONS:MGUI}
29
USE_QT5=		qmake_build core network gui widgets
30
USE_GL+=		gl
31
USE_RC_SUBR=		${PORTNAME}
32
.else
33
CONFIGURE_ARGS+=	--disable-manager
34
.endif
21
35
22
do-install-DOCS-on:
36
do-install-DOCS-on:
23
	${MKDIR} ${STAGEDIR}${DOCSDIR}
37
	${MKDIR} ${STAGEDIR}${DOCSDIR}
(-)spoofer-new/distinfo (-2 / +3 lines)
Lines 1-2 Link Here
1
SHA256 (spoofer-0.8e.tar.gz) = 2bd653531399a24a3da60c75627a2ca6bc6fce9a5266ea3e6be7f83ff224741b
1
TIMESTAMP = 1464295677
2
SIZE (spoofer-0.8e.tar.gz) = 253702
2
SHA256 (spoofer-1.0.2.tar.gz) = 994cafe5ed01abbd2b250d87f98dab44763f1d3d251dbb828a0c7120d6925eb6
3
SIZE (spoofer-1.0.2.tar.gz) = 361385
(-)spoofer-new/files/spoofer.in (+30 lines)
Line 0 Link Here
1
#!/bin/sh
2
#
3
# PROVIDE: spoofer
4
# REQUIRE: LOGIN
5
# KEYWORD: shutdown
6
#
7
# Add the following lines to /etc/rc.conf to enable spoofer:
8
#
9
# spoofer_enable="YES"
10
#
11
12
. /etc/rc.subr
13
14
name=spoofer
15
rcvar=spoofer_enable
16
17
command="%%PREFIX%%/bin/spoofer-scheduler"
18
command_args="-D"
19
20
load_rc_config $name
21
22
: ${spoofer_enable="NO"}
23
: ${spoofer_flags="-s 1"}
24
25
spoofer_stop()
26
{
27
    %%PREFIX%%/bin/spoofer-cli shutdown
28
}
29
30
run_rc_command "$1"
(-)spoofer-new/pkg-descr (-1 / +1 lines)
Lines 1-4 Link Here
1
Spoofer helps ANA Spoofer Project better understand the current state of
1
Spoofer helps the CAIDA Spoofer Project better understand the current state of
2
filtering in the Internet. It attempts to send a series of spoofed UDP packets
2
filtering in the Internet. It attempts to send a series of spoofed UDP packets
3
to a central server which logs and summarizes the results.
3
to a central server which logs and summarizes the results.
4
4
(-)spoofer-new/pkg-plist (+4 lines)
Line 0 Link Here
1
%%GUI%%bin/spoofer-cli
2
%%GUI%%bin/spoofer-gui
3
bin/spoofer-prober
4
%%GUI%%bin/spoofer-scheduler

Return to bug 209755