svn commit: r452863 - in head/net: . file2pcap file2pcap/files
MANTANI Nobutaka
nobutaka at FreeBSD.org
Wed Oct 25 15:08:52 UTC 2017
Author: nobutaka
Date: Wed Oct 25 15:08:50 2017
New Revision: 452863
URL: https://svnweb.freebsd.org/changeset/ports/452863
Log:
Add net/file2pcap, tool to make packet captures containing the content of specified file.
Added:
head/net/file2pcap/
head/net/file2pcap/Makefile (contents, props changed)
head/net/file2pcap/distinfo (contents, props changed)
head/net/file2pcap/files/
head/net/file2pcap/files/patch-Makefile (contents, props changed)
head/net/file2pcap/pkg-descr (contents, props changed)
Modified:
head/net/Makefile
Modified: head/net/Makefile
==============================================================================
--- head/net/Makefile Wed Oct 25 15:00:23 2017 (r452862)
+++ head/net/Makefile Wed Oct 25 15:08:50 2017 (r452863)
@@ -138,6 +138,7 @@
SUBDIR += exabgp
SUBDIR += exaddos
SUBDIR += fb
+ SUBDIR += file2pcap
SUBDIR += findmtu
SUBDIR += flower
SUBDIR += flowgrep
Added: head/net/file2pcap/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net/file2pcap/Makefile Wed Oct 25 15:08:50 2017 (r452863)
@@ -0,0 +1,31 @@
+# Created by: Nobutaka Mantani <nobutaka at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= file2pcap
+PORTVERSION= 1.25
+CATEGORIES= net
+
+MAINTAINER= nobutaka at 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>
Added: head/net/file2pcap/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net/file2pcap/distinfo Wed Oct 25 15:08:50 2017 (r452863)
@@ -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
Added: head/net/file2pcap/files/patch-Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net/file2pcap/files/patch-Makefile Wed Oct 25 15:08:50 2017 (r452863)
@@ -0,0 +1,7 @@
+--- Makefile.orig 2017-10-22 15:06:28 UTC
++++ Makefile
+@@ -1,4 +1,3 @@
+-CC = gcc
+
+
+
Added: head/net/file2pcap/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net/file2pcap/pkg-descr Wed Oct 25 15:08:50 2017 (r452863)
@@ -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
More information about the svn-ports-head
mailing list