aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2015-12-29 15:08:15 +0100
committerJosé Bollo <jose.bollo@iot.bzh>2015-12-29 15:13:46 +0100
commit36a5034839183d1c49b63e4cbd955004bf46a8b3 (patch)
tree1d0ffe483fd49f75e36daf25bc8b7e311f9c7de1
parent6b8b90ae60a9f1deb0d45c92fbd0da697462b781 (diff)
manages simulation of security-manager
Change-Id: Ia465bab3ae99e95daa7afd5bd22a98bea1bfef17
-rw-r--r--CMakeLists.txt1
-rw-r--r--README.md11
-rw-r--r--TODO2
-rw-r--r--src/CMakeLists.txt9
4 files changed, 20 insertions, 3 deletions
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)
###########################################################################