From: José Bollo Date: Tue, 29 Dec 2015 14:08:15 +0000 (+0100) Subject: manages simulation of security-manager X-Git-Tag: 2.0.2~107 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?p=src%2Fapp-framework-main.git;a=commitdiff_plain;h=36a5034839183d1c49b63e4cbd955004bf46a8b3 manages simulation of security-manager Change-Id: Ia465bab3ae99e95daa7afd5bd22a98bea1bfef17 --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 2e6995c..f62a279 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -29,6 +29,7 @@ macro(setc name value) endmacro(setc) setc(USE_LIBZIP 1) +setc(USE_SIMULATION 1) setc(afm_name "aglfwk") setc(afm_confdir "${CMAKE_INSTALL_FULL_SYSCONFDIR}/${afm_name}") diff --git a/README.md b/README.md index e5ce6c6..96640c5 100644 --- a/README.md +++ b/README.md @@ -22,6 +22,7 @@ This package requires the following libraries or modules: - ***xmlsec1-openssl*** - ***json-c*** - ***dbus-1*** +- ***security-manager*** This package also requires either ***libzip*** (version >= 0.11) or the binaries ***zip*** and ***unzip***. By default, it will @@ -78,6 +79,10 @@ The installed programs are: - ***wgtpkg-sign***: command line tool to add a signature to a widget directory. +## Description + +The framework defined by afm-main + ## Comparison with Tizen framework This package is providing few less behaviour than @@ -93,6 +98,10 @@ the following Tizen packages: ### Details about widgets +The widgets are specified in that W3C recommandation: +[Packaged Web Apps](http://www.w3.org/TR/widgets). +This model was initially designed for HTML applications. +But it is well suited for other kind of applications. ### Details about dependencies @@ -105,5 +114,5 @@ For details, you can dig into internet the following links: - [D-Bus](http://www.freedesktop.org/wiki/Software/dbus) - [libzip](http://www.nih.at/libzip) - [CMake](https://cmake.org) - +- [Security-Manager](https://wiki.tizen.org/wiki/Security/Tizen_3.X_Security_Manager) diff --git a/TODO b/TODO index 136911e..6e89fef 100644 --- a/TODO +++ b/TODO @@ -2,5 +2,5 @@ List of things to do - Implement CRL and OCSP parts of x509 - Implement permissions grant based on certificates - more documentation -- more launchers - notifications +- manage upgrade packages diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 89d4d51..c47e632 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -46,7 +46,14 @@ endif(USE_LIBZIP) ########################################################################### -include_directories(simulation) +if(USE_SIMULATION) + include_directories(simulation) +else(USE_SIMULATION) + pkg_check_modules(SECMGR REQUIRED security-manager) + add_compile_options(${SECMGR_CFLAGS}) + include_directories(${SECMGR_INCLUDE_DIRS}) + link_libraries(${SECMGR_LIBRARIES}) +endif(USE_SIMULATION) ###########################################################################