summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Ware <ryan.r.ware@intel.com>2012-05-29 17:50:51 -0700
committerRyan Ware <ryan.r.ware@intel.com>2012-05-29 17:50:51 -0700
commitc58a25bac3a007ea4c244cb873f86aba91c113ed (patch)
treea98d1e59840786028e7fc630901a43507d58e299
parent703f4f8dd9069e4436e848688e50c79de14d03ac (diff)
downloadsecure-storage-c58a25bac3a007ea4c244cb873f86aba91c113ed.tar.gz
secure-storage-c58a25bac3a007ea4c244cb873f86aba91c113ed.tar.bz2
secure-storage-c58a25bac3a007ea4c244cb873f86aba91c113ed.zip
Add default Smack manifest for secure-storage.spec
Change-Id: I8fc31b8a6a9f49772e57361cf22a4151e5684cbc Signed-off-by: Ryan Ware <ryan.r.ware@intel.com>
-rw-r--r--packaging/secure-storage.manifest5
-rw-r--r--packaging/secure-storage.spec5
2 files changed, 10 insertions, 0 deletions
diff --git a/packaging/secure-storage.manifest b/packaging/secure-storage.manifest
new file mode 100644
index 0000000..017d22d
--- /dev/null
+++ b/packaging/secure-storage.manifest
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+ <domain name="_"/>
+ </request>
+</manifest>
diff --git a/packaging/secure-storage.spec b/packaging/secure-storage.spec
index a79e99a..7b3d2bc 100644
--- a/packaging/secure-storage.spec
+++ b/packaging/secure-storage.spec
@@ -6,6 +6,7 @@ Release: 1
Group: System/Security
License: Apache 2.0
Source0: secure-storage-%{version}.tar.gz
+Source1001: packaging/secure-storage.manifest
Requires(post): /sbin/service
Requires(post): /sbin/chkconfig
Requires(postun): /sbin/service
@@ -49,6 +50,7 @@ Secure storage package (ss-server)
%build
+cp %{SOURCE1001} .
cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix}
@@ -74,16 +76,19 @@ rm -f /etc/rc.d/rc5.d/S40ss-server
%postun -n libss-client -p /sbin/ldconfig
%files -n ss-server
+%manifest secure-storage.manifest
%defattr(-,root,root,-)
/usr/share/secure-storage/config
/etc/rc.d/init.d/ss-serverd
/usr/bin/ss-server
%files -n libss-client
+%manifest secure-storage.manifest
%defattr(-,root,root)
/usr/lib/libss-client.so.*
%files -n libss-client-devel
+%manifest secure-storage.manifest
%defattr(-,root,root,-)
/usr/include/ss_manager.h
/usr/lib/pkgconfig/secure-storage.pc