commit 72f26f7b276e8a3c8aead034de0328381fea3fab Author: Adrian Schröter Date: Mon Nov 27 11:59:28 2023 +0100 Sync from SUSE:ALP:Source:Standard:1.0 udica revision 2700ee6f7394ac58e13eef8f3a36e4c5 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..fecc750 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/udica.changes b/udica.changes new file mode 100644 index 0000000..f022692 --- /dev/null +++ b/udica.changes @@ -0,0 +1,13 @@ +------------------------------------------------------------------- +Thu May 4 15:38:26 UTC 2023 - Gayane Osipyan + +- update to version 0.2.7 + * Make sure each section of the inspect exists before accessing + * Improve label collection for mounts and devices + * Add support for containerd via nerdctl inspect + * Avoid duplicate rules for accessing mounts and devices + +------------------------------------------------------------------- +Mon Aug 1 16:41:49 UTC 2022 - Gayane Osipyan + +- Initial packaging of version 0.2.6-5 diff --git a/udica.spec b/udica.spec new file mode 100644 index 0000000..6818c68 --- /dev/null +++ b/udica.spec @@ -0,0 +1,64 @@ +# +# spec file for package udica +# +# Copyright (c) 2023 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +Name: udica +Version: 0.2.7 +Release: 0 +Summary: A tool for generating SELinux security policies for containers +License: GPL-3.0-or-later +URL: https://github.com/containers/udica +Source0: https://github.com/containers/udica/archive/v%{version}.tar.gz +BuildRequires: python3 +BuildRequires: python3-devel +BuildRequires: python3-setuptools +# container-selinux provides policy templates +Requires: container-selinux >= 2.168.0-2 +Requires: python3 +Requires: python3-selinux +Requires: python3-semanage +Requires: python3-setuptools +BuildArch: noarch + +%description +Tool for generating SELinux security profiles for containers based on +inspection of container JSON file. + +%prep +%autosetup -p 1 + +%build +python3 setup.py build + +%install +python3 setup.py install --single-version-externally-managed --root=%{buildroot} + +install --directory %{buildroot}%{_mandir}/man8 +install -m 0644 udica/man/man8/udica.8 %{buildroot}%{_mandir}/man8/udica.8 + +%files +%{_mandir}/man8/udica.8%{?ext_man} +%{_bindir}/udica +%dir %{_datadir}/udica +%dir %{_datadir}/udica/ansible +%{_datadir}/udica/ansible/* + +%license LICENSE +%{python3_sitelib}/udica/ +%{python3_sitelib}/udica-*.egg-info + +%changelog diff --git a/v0.2.7.tar.gz b/v0.2.7.tar.gz new file mode 100644 index 0000000..abbd029 --- /dev/null +++ b/v0.2.7.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:80df53d47c338975dde7ccd8a62b4b598c5a04962e8d23d49218fdaed793413f +size 120621