From owner-svn-ports-head@FreeBSD.ORG Sun Jan 12 19:22:14 2014 Return-Path: Delivered-To: svn-ports-head@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 C62C79FA; Sun, 12 Jan 2014 19:22:14 +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)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id B15CF19D3; Sun, 12 Jan 2014 19:22:14 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id s0CJMEu8071907; Sun, 12 Jan 2014 19:22:14 GMT (envelope-from brix@svn.freebsd.org) Received: (from brix@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id s0CJMD86071903; Sun, 12 Jan 2014 19:22:13 GMT (envelope-from brix@svn.freebsd.org) Message-Id: <201401121922.s0CJMD86071903@svn.freebsd.org> From: Henrik Brix Andersen Date: Sun, 12 Jan 2014 19:22:13 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r339536 - in head/net-mgmt/spectools: . 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.17 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: Sun, 12 Jan 2014 19:22:14 -0000 Author: brix Date: Sun Jan 12 19:22:13 2014 New Revision: 339536 URL: http://svnweb.freebsd.org/changeset/ports/339536 Log: - Add needed patches - Bump PORTREVISION Added: head/net-mgmt/spectools/files/ head/net-mgmt/spectools/files/patch-spectool_curses.c (contents, props changed) head/net-mgmt/spectools/files/patch-spectool_net_client.h (contents, props changed) head/net-mgmt/spectools/files/patch-spectool_raw.c (contents, props changed) Modified: head/net-mgmt/spectools/Makefile Modified: head/net-mgmt/spectools/Makefile ============================================================================== --- head/net-mgmt/spectools/Makefile Sun Jan 12 19:21:08 2014 (r339535) +++ head/net-mgmt/spectools/Makefile Sun Jan 12 19:22:13 2014 (r339536) @@ -3,6 +3,7 @@ PORTNAME= spectools PORTVERSION= 201108.r1 +PORTREVISION= 1 CATEGORIES= net-mgmt MASTER_SITES= http://www.kismetwireless.net/code/ \ ${MASTER_SITE_LOCAL} Added: head/net-mgmt/spectools/files/patch-spectool_curses.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net-mgmt/spectools/files/patch-spectool_curses.c Sun Jan 12 19:22:13 2014 (r339536) @@ -0,0 +1,35 @@ +--- spectool_curses.c.orig 2014-01-12 20:01:13.000000000 +0100 ++++ spectool_curses.c 2014-01-12 20:01:40.000000000 +0100 +@@ -90,7 +90,7 @@ int main(int argc, char *argv[]) { + + if (o == 'h') { + Usage(); +- return; ++ return 0; + } else if (o == 'n') { + neturl = strdup(optarg); + continue; +@@ -98,20 +98,20 @@ int main(int argc, char *argv[]) { + if (sscanf(optarg, "%d", &range) != 1) { + printf("Expected number for range, see listing for supported ranges\n"); + Usage(); +- return; ++ return -1; + } + continue; + } else if (o == 'd') { + if (sscanf(optarg, "%d", &device) != 1) { + printf("Expected number for device, see listing for detected devices\n"); + Usage(); +- return; ++ return -1; + } + + if (device < 0 || device >= ndev) { + printf("Device number invalid, see listing for detected devices\n"); + Usage(); +- return; ++ return -1; + } + + continue; Added: head/net-mgmt/spectools/files/patch-spectool_net_client.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net-mgmt/spectools/files/patch-spectool_net_client.h Sun Jan 12 19:22:13 2014 (r339536) @@ -0,0 +1,10 @@ +--- spectool_net_client.h.orig 2014-01-12 19:57:48.000000000 +0100 ++++ spectool_net_client.h 2014-01-12 19:55:31.000000000 +0100 +@@ -134,6 +134,7 @@ void spectool_netcli_setbufferwrite(spec + int spectool_netcli_getwritepend(spectool_server *sr); + int spectool_netcli_getwritefd(spectool_server *sr); + int spectool_netcli_poll(spectool_server *sr, char *errstr); ++int spectool_netcli_writepoll(spectool_server *sr, char *errstr); + spectool_phy *spectool_netcli_enabledev(spectool_server *sr, unsigned int dev_id, + char *errstr); + int spectool_netcli_disabledev(spectool_server *sr, spectool_phy *dev); Added: head/net-mgmt/spectools/files/patch-spectool_raw.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net-mgmt/spectools/files/patch-spectool_raw.c Sun Jan 12 19:22:13 2014 (r339536) @@ -0,0 +1,11 @@ +--- spectool_raw.c.orig 2014-01-12 19:59:05.000000000 +0100 ++++ spectool_raw.c 2014-01-12 19:59:50.000000000 +0100 +@@ -101,7 +101,7 @@ int main(int argc, char *argv[]) { + + if (o == 'h') { + Usage(); +- return; ++ return 0; + } else if (o == 'b') { + bcastlisten = 1; + } else if (o == 'n') {