svn commit: r449744 - in head/sysutils/osquery: . files

Ryan Steinmetz zi at FreeBSD.org
Tue Sep 12 23:55:10 UTC 2017


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 at 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 {


More information about the svn-ports-all mailing list