INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/${PKGNAME}.xml DESTINATION /usr/share/packages)
INSTALL(TARGETS ${PROJECT_NAME} DESTINATION ${BINDIR})
+INSTALL(FILES ${CMAKE_CURRENT_SOURCE_DIR}/${PKGNAME}.rule DESTINATION /etc/smack/accesses2.d)
+
# i18n
ADD_SUBDIRECTORY(po)
ADD_SUBDIRECTORY(res)
<manifest>
- <define>
- <domain name="org.tizen.pwlock"/>
- <request>
- <smack request="system::homedir" type="arwxt"/>
- <smack request="system::vconf" type="arwxt"/>
- <smack request="system::syslogd" type="w"/>
- <smack request="system::use_internet" type="r"/>
- <smack request="xorg" type="w"/>
- <smack request="isf" type="r"/>
- <smack request="device::app_logging" type="w"/>
- <smack request="ail::db" type="rw"/>
- <smack request="dbus" type="w"/>
- </request>
- <permit>
- <smack permit="dbus" type="w"/>
- </permit>
- </define>
- <request>
- <domain name="org.tizen.pwlock"/>
- </request>
- <assign>
- <filesystem path="/usr/share/applications/org.tizen.pwlock.desktop" label="_" />
- <filesystem path="/usr/share/packages/org.tizen.pwlock.xml" label="_" />
- </assign>
+ <define>
+ <domain name="org.tizen.pwlock" />
+ </define>
+ <request>
+ <domain name="org.tizen.pwlock" />
+ </request>
</manifest>
--- /dev/null
+org.tizen.pwlock system::homedir rwxat
+org.tizen.pwlock system::vconf rwxat
+org.tizen.pwlock system::media rwxat
+org.tizen.pwlock system::share rwxat
+org.tizen.pwlock system::syslogd w
+org.tizen.pwlock sys-assert::core rwxat
+org.tizen.pwlock net-config r
+org.tizen.pwlock xorg rw
+org.tizen.pwlock isf r
+org.tizen.pwlock device::app_logging w
+org.tizen.pwlock ail::db rw
+org.tizen.pwlock dbus w
+org.tizen.pwlock pulseaudio rwxat
+org.tizen.pwlock stest-service w
+org.tizen.pwlock pkgmgr:db rw
+dbus org.tizen.pwlock w
+e17 org.tizen.pwlock w
+stest-service org.tizen.pwlock rx
%files
%manifest org.tizen.pwlock.manifest
+/etc/smack/accesses2.d/org.tizen.pwlock.rule
%defattr(-,root,root,-)
%attr(4755,root,root) /usr/apps/org.tizen.pwlock/bin/pwlock
/usr/apps/org.tizen.pwlock/bin/pwlock