[Tizen-submit] 27262: New package Tizen:IVI:Panda/security-containers

noreply at tizen.org noreply at tizen.org
Wed Jul 23 15:36:08 GMT 2014


Hi,
Adding new package security-containers in project Tizen:IVI:Panda. Please review and accept ASAP.

Justification for this new package:

Submitter: Piotr Bartosiewicz <p.bartosiewi at partner.samsung.com>
Comments: release for 0.1.1
Git project: platform/core/security/security-containers
Tag: submit/tizen/20140723.154014
Commit: 014f4e74208a68f9edae11e0b3f58c1f1ac794e0 Release version 0.1.1

Thank You,
Piotr Bartosiewicz

[This message was auto-generated]

---

Request: #27262

  submit:       Tizen:IVI:Panda:build/security-containers at 2(cleanup) -> Tizen:IVI:Panda


Message:
Submitter: Piotr Bartosiewicz <p.bartosiewi at partner.samsung.com>
Comments: release for 0.1.1
Git project: platform/core/security/security-containers
Tag: submit/tizen/20140723.154014
Commit: 014f4e74208a68f9edae11e0b3f58c1f1ac794e0 Release version 0.1.1

State:   new        2014-07-23T15:36:15 tizenrobot
Comment: <no comment>
new:
----
  _service
  _service:gbs:_git-meta
  _service:gbs:libsecurity-containers-client.manifest
  _service:gbs:security-containers-0.1.1.tar.gz
  _service:gbs:security-containers-container-daemon.manifest
  _service:gbs:security-containers-container-support.manifest
  _service:gbs:security-containers-server-tests.manifest
  _service:gbs:security-containers.manifest
  _service:gbs:security-containers.spec

spec files:
-----------

++++++ new spec file:
--- _service:gbs:security-containers.spec
+++ _service:gbs:security-containers.spec
@@ -0,0 +1,192 @@
+%define script_dir %{_sbindir}
+# Security Containers Server's user info - it should already exist in the system
+%define scs_user          security-containers
+%define libvirt_group     libvirt
+# The group that has read and write access to /dev/input/event* devices.
+# It may vary between platforms.
+%define input_event_group video
+
+Name:           security-containers
+VCS:            platform/core/security/security-containers#014f4e74208a68f9edae11e0b3f58c1f1ac794e0
+Version:        0.1.1
+Release:        0
+Source0:        %{name}-%{version}.tar.gz
+License:        Apache-2.0
+Group:          Security/Other
+Summary:        Daemon for managing containers
+BuildRequires:  cmake
+BuildRequires:  boost-devel
+BuildRequires:  libvirt-devel
+BuildRequires:  libjson-devel >= 0.10.0
+BuildRequires:  libcap-ng-devel
+BuildRequires:  pkgconfig(glib-2.0)
+BuildRequires:  pkgconfig(libsystemd-journal)
+BuildRequires:  pkgconfig(libvirt-glib-1.0)
+Requires:       libvirt-daemon >= 1.2.4
+Requires(post): libcap-tools
+
+%description
+This package provides a daemon used to manage containers - start, stop and switch
+between them. A process from inside a container can request a switch of context
+(display, input devices) to the other container.
+
+%files
+%manifest packaging/security-containers.manifest
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/security-containers-server
+%dir /etc/security-containers
+%dir /etc/security-containers/containers
+%dir /etc/security-containers/libvirt-config
+%config /etc/security-containers/daemon.conf
+%config /etc/security-containers/containers/*.conf
+%config /etc/security-containers/libvirt-config/*.xml
+%{_unitdir}/security-containers.service
+%{_unitdir}/multi-user.target.wants/security-containers.service
+/etc/dbus-1/system.d/org.tizen.containers.host.conf
+
+%prep
+%setup -q
+
+%build
+%{!?build_type:%define build_type "RELEASE"}
+
+%if %{build_type} == "DEBUG" || %{build_type} == "PROFILING"
+    CFLAGS="$CFLAGS -Wp,-U_FORTIFY_SOURCE"
+    CXXFLAGS="$CXXFLAGS -Wp,-U_FORTIFY_SOURCE"
+%endif
+
+%cmake . -DVERSION=%{version} \
+         -DCMAKE_BUILD_TYPE=%{build_type} \
+         -DSCRIPT_INSTALL_DIR=%{script_dir} \
+         -DSYSTEMD_UNIT_DIR=%{_unitdir} \
+         -DPYTHON_SITELIB=%{python_sitelib} \
+         -DSECURITY_CONTAINERS_USER=%{scs_user} \
+         -DLIBVIRT_GROUP=%{libvirt_group} \
+         -DINPUT_EVENT_GROUP=%{input_event_group}
+make -k %{?jobs:-j%jobs}
+

Please refer to OBS webUI for more details about this SR.


More information about the Tizen-submit mailing list