From owner-svn-ports-head@FreeBSD.ORG Mon Jul 30 18:17:00 2012 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 61406106566C; Mon, 30 Jul 2012 18:17:00 +0000 (UTC) (envelope-from scheidell@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 4AA6A8FC1A; Mon, 30 Jul 2012 18:17:00 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q6UIH0R3021713; Mon, 30 Jul 2012 18:17:00 GMT (envelope-from scheidell@svn.freebsd.org) Received: (from scheidell@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q6UIH0x4021708; Mon, 30 Jul 2012 18:17:00 GMT (envelope-from scheidell@svn.freebsd.org) Message-Id: <201207301817.q6UIH0x4021708@svn.freebsd.org> From: Michael Scheidell Date: Mon, 30 Jul 2012 18:17:00 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r301727 - in head/net-mgmt: . p0f2 p0f2/files X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.5 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, 30 Jul 2012 18:17:00 -0000 Author: scheidell Date: Mon Jul 30 18:16:59 2012 New Revision: 301727 URL: http://svn.freebsd.org/changeset/ports/301727 Log: - New port: p0f2 Passive OS fingerprinting tool p0f version 2 gives better 3 PR: ports/169855 Submitted by: Denis Pokataev Added: head/net-mgmt/p0f2/ - copied from r301725, head/net-mgmt/p0f/ head/net-mgmt/p0f2/pkg-plist (contents, props changed) Deleted: head/net-mgmt/p0f2/files/ Modified: head/net-mgmt/Makefile (contents, props changed) head/net-mgmt/p0f2/Makefile (contents, props changed) head/net-mgmt/p0f2/distinfo (contents, props changed) Modified: head/net-mgmt/Makefile ============================================================================== --- head/net-mgmt/Makefile Mon Jul 30 17:47:53 2012 (r301726) +++ head/net-mgmt/Makefile Mon Jul 30 18:16:59 2012 (r301727) @@ -190,6 +190,7 @@ SUBDIR += openvmps SUBDIR += ourmon SUBDIR += p0f + SUBDIR += p0f2 SUBDIR += p5-AnyEvent-SNMP SUBDIR += p5-Cflow SUBDIR += p5-Cisco-Reconfig Modified: head/net-mgmt/p0f2/Makefile ============================================================================== --- head/net-mgmt/p0f/Makefile Mon Jul 30 17:24:18 2012 (r301725) +++ head/net-mgmt/p0f2/Makefile Mon Jul 30 18:16:59 2012 (r301727) @@ -1,45 +1,49 @@ -# New ports collection makefile for: p0f -# Date created: 2000-06-12 -# Whom: Trevor Johnson +# New ports collection makefile for: p0f2 +# Date created: 2012-07-30 +# Whom: Denis Pokataev # # $FreeBSD$ # -PORTNAME= p0f -PORTVERSION= 3.05b +PORTNAME= p0f2 +PORTVERSION= 2.0.8 CATEGORIES= net-mgmt security -MASTER_SITES= http://lcamtuf.coredump.cx/p0f3/releases/ \ - http://fossies.org/unix/privat/ +MASTER_SITES= http://lcamtuf.coredump.cx/p0f/ \ + http://farrokhi.net/distfiles/ +DISTNAME= p0f-${DISTVERSION} EXTRACT_SUFX= .tgz -MAINTAINER= fbsd-ports@opsec.eu +MAINTAINER= catone@cpan.org COMMENT= Passive OS fingerprinting tool -LICENSE= LGPL21 -LICENSE_FILE= ${WRKSRC}/docs/COPYING +CONFLICTS= p0f-3.* -PLIST_FILES= bin/p0f bin/p0f-client bin/p0f-sendsyn \ - bin/p0f-sendsyn6 etc/p0f.fp -PORTDOCS= COPYING ChangeLog README TODO existential-notes.txt \ - extra-sigs.txt - -MAKE_JOBS_SAFE= yes -MAKE_ARGS+= CC="${CC}" CFLAGS="${CFLAGS}" +USE_GMAKE= yes +ALL_TARGET= all p0fq tools +PORTDOCS= COPYING CREDITS ChangeLog KNOWN_BUGS README TODO win-memleak.txt +MAN1= p0f.1 +WRKSRC= ${WRKDIR}/p0f post-patch: - @${REINPLACE_CMD} -e 's|/etc|${PREFIX}/etc|g' ${WRKSRC}/README - @${REINPLACE_CMD} -e 's|p0f.fp|${PREFIX}/etc/p0f.fp|g' ${WRKSRC}/config.h +.for f in config.h doc/README + @${REINPLACE_CMD} -e 's|/etc|${PREFIX}/etc|g' ${WRKSRC}/${f} +.endfor do-install: -.for ii in p0f tools/p0f-client tools/p0f-sendsyn tools/p0f-sendsyn6 +.for ii in p0f test/p0fq test/sendack test/sendack2 test/sendsyn ${INSTALL_PROGRAM} ${WRKSRC}/${ii} ${PREFIX}/bin .endfor - ${INSTALL_DATA} ${WRKSRC}/p0f.fp ${PREFIX}/etc/ + ${INSTALL_SCRIPT} ${WRKSRC}/p0frep ${PREFIX}/bin + ${MKDIR} ${PREFIX}/etc/p0f +.for ii in . a. o. r. + ${INSTALL_DATA} ${WRKSRC}/p0f${ii}fp ${PREFIX}/etc/p0f +.endfor + ${INSTALL_MAN} ${WRKSRC}/${MAN1} ${MANPREFIX}/man/man1 .if !defined(NOPORTDOCS) ${MKDIR} ${DOCSDIR} .for ii in ${PORTDOCS} - ${INSTALL_DATA} ${WRKSRC}/docs/${ii} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/doc/${ii} ${DOCSDIR} .endfor .endif Modified: head/net-mgmt/p0f2/distinfo ============================================================================== --- head/net-mgmt/p0f/distinfo Mon Jul 30 17:24:18 2012 (r301725) +++ head/net-mgmt/p0f2/distinfo Mon Jul 30 18:16:59 2012 (r301727) @@ -1,2 +1,2 @@ -SHA256 (p0f-3.05b.tgz) = c4663e669fe43ef4f36f1f5935c4fab571ef19838c4aed90cf3b8bc2264f6b3b -SIZE (p0f-3.05b.tgz) = 91902 +SHA256 (p0f-2.0.8.tgz) = 6c4d8745f04e59f2ba68d56fd1554551592f08a0497c9fc21b84498f47d1aee0 +SIZE (p0f-2.0.8.tgz) = 136877 Added: head/net-mgmt/p0f2/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net-mgmt/p0f2/pkg-plist Mon Jul 30 18:16:59 2012 (r301727) @@ -0,0 +1,11 @@ +bin/p0f +bin/p0fq +bin/p0frep +bin/sendack +bin/sendack2 +bin/sendsyn +etc/p0f/p0f.fp +etc/p0f/p0fa.fp +etc/p0f/p0fo.fp +etc/p0f/p0fr.fp +@dirrmtry etc/p0f