Index: head/sysutils/osquery/Makefile =================================================================== --- head/sysutils/osquery/Makefile (revision 469070) +++ head/sysutils/osquery/Makefile (revision 469071) @@ -1,97 +1,92 @@ # Created by: Ryan Steinmetz # $FreeBSD$ PORTNAME= osquery -PORTVERSION= 2.11.2 -PORTREVISION= 2 +PORTVERSION= 3.2.4 CATEGORIES= sysutils MAINTAINER= zi@FreeBSD.org COMMENT= SQL powered OS instrumentation, monitoring, and analytics LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= thrift>=0.11.0:devel/thrift \ bash>0:shells/bash \ linenoise-ng>0:devel/linenoise-ng \ - asio>0:net/asio \ rapidjson>0:devel/rapidjson \ ${PYTHON_PKGNAMEPREFIX}Jinja2>0:devel/py-Jinja2 LIB_DEPENDS= libaugeas.so:textproc/augeas \ libboost_regex.so:devel/boost-libs \ libgflags.so:devel/gflags \ libglog.so:devel/glog \ libicuuc.so:devel/icu \ - liblz4.so:archivers/liblz4 \ - libsnappy.so:archivers/snappy \ librocksdb-lite.so:databases/rocksdb-lite \ libthrift.so:devel/thrift-cpp \ - libcppnetlib-uri.so:devel/cpp-netlib \ libzstd.so:archivers/zstd RUN_DEPENDS= ca_root_nss>0:security/ca_root_nss USES= cmake:outsource libtool python:build compiler:c++11-lib \ libarchive ssl USE_GNOME= libxml2 CONFIGURE_ENV+= OSQUERY_BUILD_VERSION="${PORTVERSION}" HOME="${WRKDIR}" \ SKIP_TESTS="yes" CC="${CC}" CXX="${CXX}" CMAKE_ARGS+= -DFREEBSD=awesome -DCMAKE_SYSTEM_NAME="FreeBSD" BLDDIR= ${WRKDIR}/.build/${PORTNAME} -TPVERSION= 2.11.0 +TPVERSION= 3.0.0 USE_RC_SUBR= ${PORTNAME}d USE_GITHUB= yes GH_ACCOUNT= facebook ${PORTNAME}:tp GH_PROJECT= third-party:tp GH_SUBDIR= third-party:tp GH_TAGNAME= ${TPVERSION}:tp # Some options for things that bring in many dependencies OPTIONS_DEFINE= TSK AWS YARA LLDPD TSK_DESC= Build with sleuthkit support TSK_LIB_DEPENDS= libtsk.so:sysutils/sleuthkit TSK_CONFIGURE_ENV_OFF= SKIP_TSK=1 AWS_DESC= Support logging to AWS Kinesis AWS_LIB_DEPENDS= libaws-cpp-sdk-core.so:devel/aws-sdk-cpp AWS_CONFIGURE_ENV_OFF= SKIP_AWS=1 YARA_DESC= Build with YARA malware identification support YARA_LIB_DEPENDS= libyara.so:security/yara YARA_CONFIGURE_ENV_OFF= SKIP_YARA=1 LLDPD_DESC= Support Link Layer Discovery Protocol LLDPD_LIB_DEPENDS= liblldpctl.so:net-mgmt/lldpd LLDPD_CONFIGURE_ENV_OFF=SKIP_LLDPD=1 .include .if ${OSVERSION} < 1100000 BUILD_DEPENDS+= clang40:devel/llvm40 CC= clang40 CXX= clang++40 .endif post-patch: ${REINPLACE_CMD} -e 's|/var/osquery/|/var/db/osquery/|g' \ ${WRKSRC}/tools/deployment/osquery.example.conf ${REINPLACE_CMD} -e 's|python|${PYTHON_CMD}|g' \ ${WRKSRC}/CMakeLists.txt \ ${WRKSRC}/tools/get_platform.py do-install: ${INSTALL_PROGRAM} ${BLDDIR}/osqueryi ${STAGEDIR}${PREFIX}/bin ${INSTALL_PROGRAM} ${BLDDIR}/osqueryd ${STAGEDIR}${PREFIX}/sbin ${INSTALL_DATA} ${BLDDIR}/libosquery.a ${STAGEDIR}${PREFIX}/lib (cd ${WRKSRC}/include && ${COPYTREE_SHARE} ${PORTNAME} ${STAGEDIR}${PREFIX}/include) ${INSTALL_DATA} ${WRKSRC}/tools/deployment/osquery.example.conf \ ${STAGEDIR}${PREFIX}/etc/osquery.conf.sample ${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 Index: head/sysutils/osquery/distinfo =================================================================== --- head/sysutils/osquery/distinfo (revision 469070) +++ head/sysutils/osquery/distinfo (revision 469071) @@ -1,5 +1,5 @@ -TIMESTAMP = 1519958114 -SHA256 (facebook-osquery-2.11.2_GH0.tar.gz) = f1214cffe694a61857aa9fd111d1d7baadab90f6c8737d23becc831e8e631045 -SIZE (facebook-osquery-2.11.2_GH0.tar.gz) = 2396376 -SHA256 (osquery-third-party-2.11.0_GH0.tar.gz) = 0499456a7e70dabe283c3dc221a65544b0c5c08710905e1f7339bba45c1f1ffa -SIZE (osquery-third-party-2.11.0_GH0.tar.gz) = 3496854 +TIMESTAMP = 1525291778 +SHA256 (facebook-osquery-3.2.4_GH0.tar.gz) = 9e0e6a6b65af174793182c7e412442da27ae5ebf4055b032586584e7e41e77b1 +SIZE (facebook-osquery-3.2.4_GH0.tar.gz) = 1913312 +SHA256 (osquery-third-party-3.0.0_GH0.tar.gz) = 98731b92147f6c43f679a4a9f63cbb22f2a4d400d94a45e308702dee66a8de9d +SIZE (osquery-third-party-3.0.0_GH0.tar.gz) = 3535573 Index: head/sysutils/osquery/files/patch-CMakeLists.txt =================================================================== --- head/sysutils/osquery/files/patch-CMakeLists.txt (revision 469070) +++ head/sysutils/osquery/files/patch-CMakeLists.txt (nonexistent) @@ -1,14 +0,0 @@ ---- CMakeLists.txt.orig 2018-03-02 02:36:38 UTC -+++ CMakeLists.txt -@@ -523,11 +523,6 @@ if(POSIX) - include_directories("${BUILD_DEPS}/include/openssl") - endif() - --if(NOT LINUX AND NOT APPLE) -- # Including Boost Beast within third-party until it's merged into boot 1.66. -- include_directories("${CMAKE_SOURCE_DIR}/third-party/beast") --endif() -- - include_directories("${CMAKE_SOURCE_DIR}/third-party/sqlite3") - include_directories("${CMAKE_SOURCE_DIR}/include") - include_directories("${CMAKE_SOURCE_DIR}") Property changes on: head/sysutils/osquery/files/patch-CMakeLists.txt ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property