1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-12 07:27:57 +00:00

Add net/file2pcap, tool to make packet captures containing the content of specified file.

This commit is contained in:
MANTANI Nobutaka 2017-10-25 15:08:50 +00:00
parent 09a9ef57bd
commit ee75494d8d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=452863
5 changed files with 48 additions and 0 deletions

View File

@ -138,6 +138,7 @@
SUBDIR += exabgp
SUBDIR += exaddos
SUBDIR += fb
SUBDIR += file2pcap
SUBDIR += findmtu
SUBDIR += flower
SUBDIR += flowgrep

31
net/file2pcap/Makefile Normal file
View File

@ -0,0 +1,31 @@
# Created by: Nobutaka Mantani <nobutaka@FreeBSD.org>
# $FreeBSD$
PORTNAME= file2pcap
PORTVERSION= 1.25
CATEGORIES= net
MAINTAINER= nobutaka@FreeBSD.org
COMMENT= Tool to make packet captures containing the content of specified file
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/LICENSE
GH_ACCOUNT= Cisco-Talos
GH_PROJECT= file2pcap
USE_GITHUB= yes
ALL_TARGET= file2pcap
PLIST_FILES= bin/file2pcap
PORTDOCS= Changelog README.md TODO
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/file2pcap ${STAGEDIR}/${PREFIX}/bin
${MKDIR} ${STAGEDIR}/${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/Changelog ${STAGEDIR}/${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}/${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/TODO ${STAGEDIR}/${DOCSDIR}
.include <bsd.port.mk>

3
net/file2pcap/distinfo Normal file
View File

@ -0,0 +1,3 @@
TIMESTAMP = 1508678999
SHA256 (Cisco-Talos-file2pcap-1.25_GH0.tar.gz) = 77a9cc8e2bf70fb88c140785a3f3f964aba16ed34844d12987a19cabf7b43d48
SIZE (Cisco-Talos-file2pcap-1.25_GH0.tar.gz) = 27561

View File

@ -0,0 +1,7 @@
--- Makefile.orig 2017-10-22 15:06:28 UTC
+++ Makefile
@@ -1,4 +1,3 @@
-CC = gcc

6
net/file2pcap/pkg-descr Normal file
View File

@ -0,0 +1,6 @@
The File2pcap tool allows you to make various types of packet captures
containing the content of any file that you specify.
Supported protocols: HTTP, HTTP/2, SMTP, POP3, IMAP, FTP
WWW: https://github.com/Cisco-Talos/file2pcap