From owner-svn-ports-head@freebsd.org Mon Feb 13 01:19:54 2017 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 454B1CD9FE6; Mon, 13 Feb 2017 01:19:54 +0000 (UTC) (envelope-from jrm@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 0FEC31F1E; Mon, 13 Feb 2017 01:19:53 +0000 (UTC) (envelope-from jrm@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v1D1Jrkb060485; Mon, 13 Feb 2017 01:19:53 GMT (envelope-from jrm@FreeBSD.org) Received: (from jrm@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v1D1JqJd060480; Mon, 13 Feb 2017 01:19:52 GMT (envelope-from jrm@FreeBSD.org) Message-Id: <201702130119.v1D1JqJd060480@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jrm set sender to jrm@FreeBSD.org using -f From: Joseph Mingrone Date: Mon, 13 Feb 2017 01:19:52 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r433972 - in head/sysutils: . pcapfix pcapfix/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.23 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: Mon, 13 Feb 2017 01:19:54 -0000 Author: jrm Date: Mon Feb 13 01:19:52 2017 New Revision: 433972 URL: https://svnweb.freebsd.org/changeset/ports/433972 Log: New port: sysutils/pcapfix: tool to repair damaged pcap and pcapng files. http://f00l.de/pcapfix/ PR: 217052 Submitted by: vidar@karlsen.tech (maintainer) Approved by: swills (mentor) Differential Revision: https://reviews.freebsd.org/D9561 Added: head/sysutils/pcapfix/ head/sysutils/pcapfix/Makefile (contents, props changed) head/sysutils/pcapfix/distinfo (contents, props changed) head/sysutils/pcapfix/files/ head/sysutils/pcapfix/files/patch-Makefile (contents, props changed) head/sysutils/pcapfix/pkg-descr (contents, props changed) Modified: head/sysutils/Makefile Modified: head/sysutils/Makefile ============================================================================== --- head/sysutils/Makefile Mon Feb 13 00:15:15 2017 (r433971) +++ head/sysutils/Makefile Mon Feb 13 01:19:52 2017 (r433972) @@ -766,6 +766,7 @@ SUBDIR += pax-utils SUBDIR += pbi-manager SUBDIR += pbimaker + SUBDIR += pcapfix SUBDIR += pcbsd-appweb SUBDIR += pcbsd-libsh SUBDIR += pcbsd-syscache Added: head/sysutils/pcapfix/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/pcapfix/Makefile Mon Feb 13 01:19:52 2017 (r433972) @@ -0,0 +1,24 @@ +# Created by: Vidar Karlsen +# $FreeBSD$ + +PORTNAME= pcapfix +PORTVERSION= 1.1.0 +CATEGORIES= sysutils + +MAINTAINER= vidar@karlsen.tech +COMMENT= Tool to repair damaged or corrupted pcap and pcapng files + +LICENSE= GPLv3+ +LICENSE_FILE= ${WRKSRC}/COPYING + +USE_GITHUB= yes +GH_ACCOUNT= Rup0rt +GH_TAGNAME= v1.1.0 + +PLIST_FILES= bin/pcapfix man/man1/pcapfix.1.gz + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/man/man1 + +.include Added: head/sysutils/pcapfix/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/pcapfix/distinfo Mon Feb 13 01:19:52 2017 (r433972) @@ -0,0 +1,3 @@ +TIMESTAMP = 1486934418 +SHA256 (Rup0rt-pcapfix-1.1.0-v1.1.0_GH0.tar.gz) = c77cad858e85dd4509aa5a6a8019f8aba389aa95ae1edfbf7d7ea4c02bbfb238 +SIZE (Rup0rt-pcapfix-1.1.0-v1.1.0_GH0.tar.gz) = 40302 Added: head/sysutils/pcapfix/files/patch-Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/pcapfix/files/patch-Makefile Mon Feb 13 01:19:52 2017 (r433972) @@ -0,0 +1,24 @@ +--- Makefile.orig 2014-08-31 08:08:24 UTC ++++ Makefile +@@ -10,13 +10,13 @@ CFLAGS += $(OPTFLAGS) $(WARNFLAGS) $(DEB + LDFLAGS += -Wl,-z,relro + + all: pcap pcapng +- gcc $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) pcapfix.c pcap.o pcapng.o -o pcapfix ++ ${CC} $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) pcapfix.c pcap.o pcapng.o -o pcapfix + + pcap: pcap.c +- gcc $(CPPFLAGS) $(CFLAGS) -c pcap.c -o pcap.o ++ ${CC} $(CPPFLAGS) $(CFLAGS) -c pcap.c -o pcap.o + + pcapng: pcapng.c +- gcc $(CPPFLAGS) $(CFLAGS) -c pcapng.c -o pcapng.o ++ ${CC} $(CPPFLAGS) $(CFLAGS) -c pcapng.c -o pcapng.o + + install: + install -pDm755 pcapfix $(DESTDIR)$(BINDIR)/pcapfix +@@ -29,4 +29,3 @@ uninstall: + clean: + rm -f *.o + rm -f pcapfix +- Added: head/sysutils/pcapfix/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/pcapfix/pkg-descr Mon Feb 13 01:19:52 2017 (r433972) @@ -0,0 +1,3 @@ +Pcapfix is a tool to repair your damaged or corrupted pcap and pcapng files. + +WWW: http://f00l.de/pcapfix/