SET(INC_DIR include)
INCLUDE_DIRECTORIES(${INC_DIR})
-SET(dependents "dlog gio-2.0 gio-unix-2.0 glib-2.0 capi-base-common dbus-1 vconf key-manager libssl capi-system-info")
+SET(dependents "dlog gio-2.0 gio-unix-2.0 glib-2.0 capi-base-common dbus-1 vconf key-manager libssl capi-system-info libtzplatform-config")
IF("${CMAKE_BUILD_TYPE}" STREQUAL "")
SET(CMAKE_BUILD_TYPE "Release")
Name: capi-network-tethering
Summary: Tethering Framework
-Version: 1.0.35
+Version: 1.0.36
Release: 1
Group: System/Network
License: Apache-2.0
BuildRequires: pkgconfig(key-manager)
BuildRequires: pkgconfig(libssl)
BuildRequires: pkgconfig(capi-system-info)
+BuildRequires: pkgconfig(libtzplatform-config)
BuildRequires: cmake
Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig
#include <openssl/evp.h>
#include <openssl/sha.h>
#include <ckmc/ckmc-manager.h>
+#include <tzplatform_config.h>
#include "tethering_private.h"
-#define ALLOWED_LIST "/etc/hostapd.accept"
-#define BLOCKED_LIST "/etc/hostapd.deny"
-#define TEMP_LIST "/etc/hostapd_tmp"
+#define ALLOWED_LIST tzplatform_mkpath(TZ_SYS_VAR, "/lib/hostapd/hostapd.accept")
+#define BLOCKED_LIST tzplatform_mkpath(TZ_SYS_VAR, "/lib/hostapd/hostapd.deny")
+#define TEMP_LIST tzplatform_mkpath(TZ_SYS_VAR, "/lib/hostapd/.hostapd_tmp")
#define MAC_ADDR_LEN 18
#define MAX_BUF_SIZE 80