Added manifest file to label library to floor 51/80251/2
authorDongsun Lee <ds73.lee@samsung.com>
Fri, 15 Jul 2016 11:11:48 +0000 (20:11 +0900)
committerDong Sun Lee <ds73.lee@samsung.com>
Fri, 15 Jul 2016 11:15:40 +0000 (04:15 -0700)
- Currently, libyaca.so.0 is labelled as "System",
  so applications cannot access on it.

Change-Id: I9c3db2708388508572c5e3d7bd920f4128a9f53f
Signed-off-by: Dongsun Lee <ds73.lee@samsung.com>
CMakeLists.txt
packaging/yaca.manifest.in [new file with mode: 0644]
packaging/yaca.spec

index 7b9cb1b..606c9fc 100644 (file)
@@ -95,5 +95,7 @@ IF(NOT DEFINED EXAMPLES_DIR)
        SET(EXAMPLES_DIR "${SHARE_INSTALL_PREFIX}/${PROJECT_NAME}/examples")
 ENDIF(NOT DEFINED EXAMPLES_DIR)
 
+CONFIGURE_FILE(packaging/yaca.manifest.in yaca.manifest @ONLY)
+
 ADD_SUBDIRECTORY(${SRC_FOLDER})
 ADD_SUBDIRECTORY(${EXAMPLES_FOLDER})
diff --git a/packaging/yaca.manifest.in b/packaging/yaca.manifest.in
new file mode 100644 (file)
index 0000000..86dbb26
--- /dev/null
@@ -0,0 +1,5 @@
+<manifest>
+    <request>
+        <domain name="_" />
+    </request>
+</manifest>
index 327df37..8e81aa4 100644 (file)
@@ -19,6 +19,7 @@ The package provides Yet Another Crypto API.
 %postun -p /sbin/ldconfig
 
 %files
+%manifest yaca.manifest
 %{_libdir}/libyaca.so.0
 %{_libdir}/libyaca.so.%{version}