From owner-svn-ports-all@FreeBSD.ORG Fri Apr 4 09:16:13 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 722AAEDD; Fri, 4 Apr 2014 09:16:13 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::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 5EBC822A; Fri, 4 Apr 2014 09:16:13 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s349GD2w095224; Fri, 4 Apr 2014 09:16:13 GMT (envelope-from ehaupt@svn.freebsd.org) Received: (from ehaupt@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s349GCkE095221; Fri, 4 Apr 2014 09:16:12 GMT (envelope-from ehaupt@svn.freebsd.org) Message-Id: <201404040916.s349GCkE095221@svn.freebsd.org> From: Emanuel Haupt Date: Fri, 4 Apr 2014 09:16:12 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r350071 - in head/security/firewalk: . 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-all@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Apr 2014 09:16:13 -0000 Author: ehaupt Date: Fri Apr 4 09:16:12 2014 New Revision: 350071 URL: http://svnweb.freebsd.org/changeset/ports/350071 QAT: https://qat.redports.org/buildarchive/r350071/ Log: - Support staging - Define DOCS option - New LIB_DEPENDS definition - Modernize Added: head/security/firewalk/files/patch-include__firewalk.h - copied unchanged from r350066, head/security/firewalk/files/patch-include:firewalk.h head/security/firewalk/files/patch-src__firewalk.c - copied unchanged from r350066, head/security/firewalk/files/patch-src:firewalk.c Deleted: head/security/firewalk/files/patch-include:firewalk.h head/security/firewalk/files/patch-src:firewalk.c head/security/firewalk/pkg-plist Modified: head/security/firewalk/Makefile Modified: head/security/firewalk/Makefile ============================================================================== --- head/security/firewalk/Makefile Fri Apr 4 09:07:31 2014 (r350070) +++ head/security/firewalk/Makefile Fri Apr 4 09:16:12 2014 (r350071) @@ -11,31 +11,33 @@ EXTRACT_SUFX= .tgz MAINTAINER= onatan@gmail.com COMMENT= Remote firewall auditing tool -LIB_DEPENDS= dnet:${PORTSDIR}/net/libdnet \ - net:${PORTSDIR}/net/libnet - -WRKSRC= ${WRKDIR}/Firewalk +LIB_DEPENDS= libdnet.so:${PORTSDIR}/net/libdnet \ + libnet.so:${PORTSDIR}/net/libnet GNU_CONFIGURE= yes + CPPFLAGS+= -I${LOCALBASE}/include `${LIBNET_CONFIG} --cflags` LDFLAGS+= -L${LOCALBASE}/lib -MAN8= firewalk.8 LIBNET_CONFIG?= ${LOCALBASE}/bin/libnet11-config -NO_STAGE= yes +PLIST_FILES= bin/firewalk man/man8/firewalk.8.gz +PORTDOCS= BUGS README TODO + +WRKSRC= ${WRKDIR}/Firewalk + +OPTIONS_DEFINE= DOCS + post-patch: @${REINPLACE_CMD} -e 's|-lnet|`${LIBNET_CONFIG} --libs`|' \ ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT} do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/src/firewalk ${PREFIX}/bin/ - ${INSTALL_MAN} ${WRKSRC}/man/firewalk.8 ${MANPREFIX}/man/man8/ -. if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/BUGS ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/TODO ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} -. endif + ${INSTALL_PROGRAM} ${WRKSRC}/src/firewalk ${STAGEDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/man/firewalk.8 ${STAGEDIR}${MANPREFIX}/man/man8 + @${MKDIR} ${STAGEDIR}${DOCSDIR} +.for f in ${PORTDOCS} + ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR} +.endfor .include Copied: head/security/firewalk/files/patch-include__firewalk.h (from r350066, head/security/firewalk/files/patch-include:firewalk.h) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/security/firewalk/files/patch-include__firewalk.h Fri Apr 4 09:16:12 2014 (r350071, copy of r350066, head/security/firewalk/files/patch-include:firewalk.h) @@ -0,0 +1,13 @@ +--- include/firewalk.h.orig Wed Sep 14 19:19:27 2005 ++++ include/firewalk.h Wed Sep 14 19:20:37 2005 +@@ -41,6 +41,10 @@ + #include + #include + ++#ifndef BIOCIMMEDIATE ++#define BIOCIMMEDIATE _IOW('B',112,u_int) ++#endif ++ + #define FW_BANNER "Firewalk (c) 2002 Mike D. Schiffman \ + \nhttp://www.packetfactory.net/firewalk\n\ + for more information.\n" Copied: head/security/firewalk/files/patch-src__firewalk.c (from r350066, head/security/firewalk/files/patch-src:firewalk.c) ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/security/firewalk/files/patch-src__firewalk.c Fri Apr 4 09:16:12 2014 (r350071, copy of r350066, head/security/firewalk/files/patch-src:firewalk.c) @@ -0,0 +1,11 @@ +--- src/firewalk.c.orig Mon Aug 16 13:13:44 2004 ++++ src/firewalk.c Mon Aug 16 13:13:56 2004 +@@ -188,8 +188,6 @@ + case FW_SERIOUS_ERROR: + /* err msg set in fw_packet_capture() */ + return (FW_SERIOUS_ERROR); +- default: +- /* empty */ + } + } + }