diff options
author | MANTANI Nobutaka <nobutaka@FreeBSD.org> | 2017-10-25 15:08:50 +0000 |
---|---|---|
committer | MANTANI Nobutaka <nobutaka@FreeBSD.org> | 2017-10-25 15:08:50 +0000 |
commit | ee75494d8d703816a319d5455df97a9b17f1477c (patch) | |
tree | 1b258e819e2db997c2269c4688bc9acc1daa7ac6 /net | |
parent | databases/mysqlwsrep56-server: Upgrade from 5.6.36 to 5.6.38 (diff) |
Add net/file2pcap, tool to make packet captures containing the content of specified file.
Notes
Notes:
svn path=/head/; revision=452863
Diffstat (limited to 'net')
-rw-r--r-- | net/Makefile | 1 | ||||
-rw-r--r-- | net/file2pcap/Makefile | 31 | ||||
-rw-r--r-- | net/file2pcap/distinfo | 3 | ||||
-rw-r--r-- | net/file2pcap/files/patch-Makefile | 7 | ||||
-rw-r--r-- | net/file2pcap/pkg-descr | 6 |
5 files changed, 48 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile index 72b7e361ac95..7c4881c6dc2c 100644 --- a/net/Makefile +++ b/net/Makefile @@ -138,6 +138,7 @@ SUBDIR += exabgp SUBDIR += exaddos SUBDIR += fb + SUBDIR += file2pcap SUBDIR += findmtu SUBDIR += flower SUBDIR += flowgrep diff --git a/net/file2pcap/Makefile b/net/file2pcap/Makefile new file mode 100644 index 000000000000..3cda019ec66a --- /dev/null +++ b/net/file2pcap/Makefile @@ -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> diff --git a/net/file2pcap/distinfo b/net/file2pcap/distinfo new file mode 100644 index 000000000000..98312f4584f9 --- /dev/null +++ b/net/file2pcap/distinfo @@ -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 diff --git a/net/file2pcap/files/patch-Makefile b/net/file2pcap/files/patch-Makefile new file mode 100644 index 000000000000..b5658ac19cd6 --- /dev/null +++ b/net/file2pcap/files/patch-Makefile @@ -0,0 +1,7 @@ +--- Makefile.orig 2017-10-22 15:06:28 UTC ++++ Makefile +@@ -1,4 +1,3 @@ +-CC = gcc + + + diff --git a/net/file2pcap/pkg-descr b/net/file2pcap/pkg-descr new file mode 100644 index 000000000000..5adaa85ef57b --- /dev/null +++ b/net/file2pcap/pkg-descr @@ -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 |