[packages/osquery] up to 1.5.1
glen
glen at pld-linux.org
Mon Jul 27 10:54:43 CEST 2015
commit 143ed1611c21fe8691a8b63aed5aade552209af2
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Mon Jul 27 11:39:58 2015 +0300
up to 1.5.1
osquery.spec | 8 +++-----
platform.patch | 30 ------------------------------
2 files changed, 3 insertions(+), 35 deletions(-)
---
diff --git a/osquery.spec b/osquery.spec
index 8a1e361..3e238e6 100644
--- a/osquery.spec
+++ b/osquery.spec
@@ -1,14 +1,13 @@
Summary: osquery is an operating system instrumentation toolchain
Name: osquery
-Version: 1.5.0
+Version: 1.5.1
Release: 0.1
License: BSD
Group: Applications/Databases
Source0: https://github.com/facebook/osquery/archive/%{version}/%{name}-%{version}.tar.gz
-# Source0-md5: af772f7fe7b9b9a3e8ef2abfa69c2d04
-Source1: https://github.com/osquery/third-party/archive/%{version}/%{name}-third-party-%{version}.tar.gz
+# Source0-md5: 260cb34190316cf38d879ffe33eb1d76
+Source1: https://github.com/osquery/third-party/archive/%{version}/%{name}-third-party-1.5.0.tar.gz
# Source1-md5: 940f351cef7965b0f57df70d54885ded
-Patch0: platform.patch
Patch1: gcc-flags.patch
URL: https://osquery.io/
BuildRequires: bison
@@ -57,7 +56,6 @@ network connections, browser plugins, hardware events or file hashes.
%prep
%setup -q -a1
-%patch0 -p1
%patch1 -p1
mv third-party-%{version}/* third-party
diff --git a/platform.patch b/platform.patch
deleted file mode 100644
index f3ead82..0000000
--- a/platform.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-https://github.com/facebook/osquery/pull/1388
---- osquery-1.5.0/tools/lib.sh~ 2015-07-20 12:37:24.000000000 +0300
-+++ osquery-1.5.0/tools/lib.sh 2015-07-25 14:46:16.031405751 +0300
-@@ -9,7 +9,7 @@
-
- ORACLE_RELEASE=/etc/oracle-release
- SYSTEM_RELEASE=/etc/system-release
--UBUNTU_RELEASE=/etc/lsb-release
-+LSB_RELEASE=/etc/lsb-release
-
- function platform() {
- local __out=$1
-@@ -25,7 +25,7 @@
- elif [[ -n `grep -o "Amazon Linux" $SYSTEM_RELEASE 2>/dev/null` ]]; then
- FAMILY="redhat"
- eval $__out="amazon"
-- elif [[ -f "$UBUNTU_RELEASE" ]]; then
-+ elif [[ -f "$LSB_RELEASE" ]] && grep -q 'DISTRIB_ID=Ubuntu' $LSB_RELEASE; then
- FAMILY="debian"
- eval $__out="ubuntu"
- else
-@@ -49,7 +49,7 @@
- elif [[ $1 = "amazon" ]]; then
- eval $__out=`grep -o "release 20[12][0-9]\.[0-9][0-9]" $SYSTEM_RELEASE | sed 's/release /amazon/g'`
- elif [[ $1 = "ubuntu" ]]; then
-- eval $__out=`grep DISTRIB_CODENAME $UBUNTU_RELEASE | awk -F'=' '{print $2}'`
-+ eval $__out=`awk -F= '/DISTRIB_CODENAME/ { print $2 }' $LSB_RELEASE`
- elif [[ $1 = "darwin" ]]; then
- eval $__out=`sw_vers -productVersion | awk -F '.' '{print $1 "." $2}'`
- elif [[ $1 = "freebsd" ]]; then
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/osquery.git/commitdiff/bca5d40b56a99b0f4959efc68e2693b038e0f728
More information about the pld-cvs-commit
mailing list