Remove unused dependencies
authorSangwan Kwon <sangwan.kwon@samsung.com>
Mon, 27 Apr 2020 07:31:01 +0000 (16:31 +0900)
committer권상완/Security 2Lab(SR)/Engineer/삼성전자 <sangwan.kwon@samsung.com>
Tue, 28 Apr 2020 07:13:55 +0000 (16:13 +0900)
Signed-off-by: Sangwan Kwon <sangwan.kwon@samsung.com>
packaging/vist.spec
src/osquery/CMakeLists.txt
src/vist/client/schema/bluetooth.hpp

index 049c570..c987e48 100644 (file)
@@ -12,14 +12,10 @@ BuildRequires: make
 BuildRequires: cmake
 # osquery BRs
 BuildRequires: glog-devel
-BuildRequires: gflags-devel
 BuildRequires: boost-devel
 BuildRequires: python-jinja2
-BuildRequires: libuuid-devel
-BuildRequires: pkgconfig(libprocps)
-BuildRequires: pkgconfig(libsystemd)
-BuildRequires: pkgconfig(openssl)
 # vist BRs
+BuildRequires: gflags-devel
 BuildRequires: pkgconfig(dlog)
 BuildRequires: pkgconfig(sqlite3)
 BuildRequires: pkgconfig(libtzplatform-config)
@@ -27,7 +23,6 @@ BuildRequires: pkgconfig(libsystemd-daemon)
 Requires: glog
 Requires: gflag
 Requires: boost-regex boost-system boost-thread boost-filesystem
-Requires: procps-ng
 Requires: libsystemd
 
 %global osquery_version 4.0.0
index 21f58db..a61e584 100644 (file)
@@ -19,17 +19,13 @@ SET(${TARGET_OSQUERY_LIB}_DEPS "")
 SET(${TARGET_OSQUERY_LIB}_TESTS "")
 
 ADD_OSQUERY_LINK(glog
-                                gflags
                                 pthread
                                 dl
                                 boost_regex
                                 boost_system
                                 boost_thread
                                 boost_filesystem
-                                sqlite3
-                                crypto # openssl
-                                # build-in tables deps
-                                systemd)
+                                sqlite3)
 
 IF(DEFINED GBS_BUILD)
        SET(GBS_ONLY_PACKAGES sqlite3)
index dd8f3ad..c7fda17 100644 (file)
@@ -37,5 +37,6 @@ namespace schema {
                                                                                           Bluetooth::DesktopConnectivity,
                                                                                           Bluetooth::Pairing,
                                                                                           Bluetooth::Tethering);
+
 } // namesapce schema
 } // namesapce vist