Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Sep 2017 23:55:09 +0000 (UTC)
From:      Ryan Steinmetz <zi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r449744 - in head/sysutils/osquery: . files
Message-ID:  <201709122355.v8CNt9EO096756@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: zi
Date: Tue Sep 12 23:55:09 2017
New Revision: 449744
URL: https://svnweb.freebsd.org/changeset/ports/449744

Log:
  - Fix build issues with upstream patch (https://github.com/facebook/osquery/pull/3634)
  - Bump PORTREVISION

Added:
  head/sysutils/osquery/files/patch-2f60dd0fd3ef5df9d19368c0d17d96990d088d1a   (contents, props changed)
Modified:
  head/sysutils/osquery/Makefile

Modified: head/sysutils/osquery/Makefile
==============================================================================
--- head/sysutils/osquery/Makefile	Tue Sep 12 23:22:20 2017	(r449743)
+++ head/sysutils/osquery/Makefile	Tue Sep 12 23:55:09 2017	(r449744)
@@ -3,7 +3,7 @@
 
 PORTNAME=	osquery
 PORTVERSION=	2.7.0
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	sysutils
 
 MAINTAINER=	zi@FreeBSD.org

Added: head/sysutils/osquery/files/patch-2f60dd0fd3ef5df9d19368c0d17d96990d088d1a
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/osquery/files/patch-2f60dd0fd3ef5df9d19368c0d17d96990d088d1a	Tue Sep 12 23:55:09 2017	(r449744)
@@ -0,0 +1,22 @@
+diff --git a/osquery/tables/networking/freebsd/routes.cpp b/osquery/tables/networking/freebsd/routes.cpp
+index 991564caf..fd7a878fa 100644
+--- osquery/tables/networking/freebsd/routes.cpp
++++ osquery/tables/networking/freebsd/routes.cpp
+@@ -18,7 +18,6 @@
+ 
+ #include <arpa/inet.h>
+ #include <net/if_dl.h>
+-#include <net/route.h>
+ #include <sys/sysctl.h>
+ 
+ #include <boost/algorithm/string/trim.hpp>
+@@ -27,6 +26,9 @@
+ #include <osquery/logger.h>
+ #include <osquery/tables.h>
+ 
++// Include belongs here to fix build on older fbsds.
++#include <net/route.h>
++
+ #include "osquery/tables/networking/utils.h"
+ 
+ namespace osquery {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201709122355.v8CNt9EO096756>