Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Jun 2017 21:53:49 +0000 (UTC)
From:      David Thiel <lx@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r443912 - head/sysutils/osquery
Message-ID:  <201706192153.v5JLrnEo063021@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: lx
Date: Mon Jun 19 21:53:49 2017
New Revision: 443912
URL: https://svnweb.freebsd.org/changeset/ports/443912

Log:
  Update to 2.5.1, which fixes remote TLS logging.
  
  Approved by:	zi@

Modified:
  head/sysutils/osquery/Makefile
  head/sysutils/osquery/distinfo
  head/sysutils/osquery/pkg-plist

Modified: head/sysutils/osquery/Makefile
==============================================================================
--- head/sysutils/osquery/Makefile	Mon Jun 19 21:16:11 2017	(r443911)
+++ head/sysutils/osquery/Makefile	Mon Jun 19 21:53:49 2017	(r443912)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	osquery
-PORTVERSION=	2.4.6
+PORTVERSION=	2.5.1
 CATEGORIES=	sysutils
 
 MAINTAINER=	zi@FreeBSD.org
@@ -25,7 +25,8 @@ LIB_DEPENDS=	libaugeas.so:textproc/augeas \
 		libsnappy.so:archivers/snappy \
 		librocksdb-lite.so:databases/rocksdb-lite \
 		libthrift.so:devel/thrift-cpp \
-		libcppnetlib-uri.so:devel/cpp-netlib
+		libcppnetlib-uri.so:devel/cpp-netlib \
+		libzstd.so:archivers/zstd
 RUN_DEPENDS=	ca_root_nss>0:security/ca_root_nss
 
 USES=		cmake:outsource gmake libtool python:build compiler:c++11-lib \
@@ -40,7 +41,7 @@ USE_GITHUB=	yes
 GH_ACCOUNT=	facebook ${PORTNAME}:tp
 GH_PROJECT=	third-party:tp
 GH_SUBDIR=	third-party:tp
-GH_TAGNAME=	2.4.5:tp
+GH_TAGNAME=	${PORTVERSION}:tp
 
 # Some options for things that bring in many dependencies
 OPTIONS_DEFINE=	TSK AWS YARA LLDPD
@@ -84,7 +85,10 @@ do-install:
 	${INSTALL_DATA} ${WRKSRC}/tools/deployment/osquery.example.conf \
 		${STAGEDIR}${PREFIX}/etc/osquery.conf.sample
 
-	${TOUCH} ${STAGEDIR}${PREFIX}/etc/osquery.flags
 	${MKDIR} ${STAGEDIR}/var/db/osquery ${STAGEDIR}/var/log/osquery
+	# The flags file must exist, even if empty. Using @sample
+	# prevents a populated flags file from being nuked on upgrade.
+	${TOUCH} ${STAGEDIR}${PREFIX}/etc/osquery.flags.sample \
+		${STAGEDIR}${PREFIX}/etc/osquery.flags
 
 .include <bsd.port.post.mk>

Modified: head/sysutils/osquery/distinfo
==============================================================================
--- head/sysutils/osquery/distinfo	Mon Jun 19 21:16:11 2017	(r443911)
+++ head/sysutils/osquery/distinfo	Mon Jun 19 21:53:49 2017	(r443912)
@@ -1,5 +1,5 @@
-TIMESTAMP = 1496944739
-SHA256 (facebook-osquery-2.4.6_GH0.tar.gz) = 85bb3cdee8e8fc37c8137d433fa0387c8df2e898e37c4c368a7d6eedfca67439
-SIZE (facebook-osquery-2.4.6_GH0.tar.gz) = 914437
-SHA256 (osquery-third-party-2.4.5_GH0.tar.gz) = 1c1021ce27a9997563a4b784b21cc03b07a6c40b65611620977d13de165efac3
-SIZE (osquery-third-party-2.4.5_GH0.tar.gz) = 3229301
+TIMESTAMP = 1497907614
+SHA256 (facebook-osquery-2.5.1_GH0.tar.gz) = 7a04670d09b59f9a278fb551fbf9bcd7ebaa5469f0e2cb069411e7733117cb04
+SIZE (facebook-osquery-2.5.1_GH0.tar.gz) = 923981
+SHA256 (osquery-third-party-2.5.1_GH0.tar.gz) = baf258578b71272b7a5a83198ae9035ae2e84c0b2ae96c2b1eb3036ab7a9fc56
+SIZE (osquery-third-party-2.5.1_GH0.tar.gz) = 3229310

Modified: head/sysutils/osquery/pkg-plist
==============================================================================
--- head/sysutils/osquery/pkg-plist	Mon Jun 19 21:16:11 2017	(r443911)
+++ head/sysutils/osquery/pkg-plist	Mon Jun 19 21:53:49 2017	(r443912)
@@ -1,7 +1,6 @@
 bin/osqueryi
 @dir /var/db/osquery
 @dir /var/log/osquery
-etc/osquery.flags
 include/osquery/config.h
 include/osquery/core.h
 include/osquery/database.h
@@ -23,3 +22,4 @@ include/osquery/tables.h
 lib/libosquery.a
 sbin/osqueryd
 @sample etc/osquery.conf.sample
+@sample etc/osquery.flags.sample



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