From 62dd40bd937c933f2c247736a448abac9096e42f09d0c611011b6594a53d5360 Mon Sep 17 00:00:00 2001 From: Filippo Bonazzi Date: Wed, 19 Jul 2023 10:18:02 +0000 Subject: [PATCH] Accepting request 1099468 from home:fbonazzi Package the Python version of squilt, which is more maintainable OBS-URL: https://build.opensuse.org/request/show/1099468 OBS-URL: https://build.opensuse.org/package/show/security/squilt-python?expand=0&rev=1 --- .gitattributes | 23 ++++++++++++++ .gitignore | 1 + _service | 18 +++++++++++ _servicedata | 4 +++ squilt-20230719.dde2b0b.obscpio | 3 ++ squilt-python.changes | 10 ++++++ squilt-python.spec | 54 +++++++++++++++++++++++++++++++++ squilt.obsinfo | 4 +++ 8 files changed, 117 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 _service create mode 100644 _servicedata create mode 100644 squilt-20230719.dde2b0b.obscpio create mode 100644 squilt-python.changes create mode 100644 squilt-python.spec create mode 100644 squilt.obsinfo diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /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/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/_service b/_service new file mode 100644 index 0000000..594756c --- /dev/null +++ b/_service @@ -0,0 +1,18 @@ + + + git + https://github.com/mgerstner/squilt.git + master + %cd.%h + enable + + + + squilt-python.spec + + + + *.tar + gz + + diff --git a/_servicedata b/_servicedata new file mode 100644 index 0000000..e904ea0 --- /dev/null +++ b/_servicedata @@ -0,0 +1,4 @@ + + + https://github.com/mgerstner/squilt.git + dde2b0b7482ba6656b23c73ce12ff8550aac074b \ No newline at end of file diff --git a/squilt-20230719.dde2b0b.obscpio b/squilt-20230719.dde2b0b.obscpio new file mode 100644 index 0000000..ef04fce --- /dev/null +++ b/squilt-20230719.dde2b0b.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b6b072d0a9c61207ebc8e7b573483d7c659aa57cc767bd3a5fa043d66c620ff2 +size 10250 diff --git a/squilt-python.changes b/squilt-python.changes new file mode 100644 index 0000000..dc0273d --- /dev/null +++ b/squilt-python.changes @@ -0,0 +1,10 @@ +------------------------------------------------------------------- +Wed Jul 19 10:14:54 UTC 2023 - filippo.bonazzi@suse.com + +- Update to version 20230719.dde2b0b: + * Autodetect nsswitch.conf under /etc or /usr/etc + +------------------------------------------------------------------- +Fri Jul 14 09:52:33 UTC 2023 - Filippo Bonazzi + +- Package initial version diff --git a/squilt-python.spec b/squilt-python.spec new file mode 100644 index 0000000..18c6c48 --- /dev/null +++ b/squilt-python.spec @@ -0,0 +1,54 @@ +# +# spec file for package squilt-python +# +# 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: squilt-python +Version: 20230719.dde2b0b +Release: 0 +Summary: A quilt wrapper using nsjail +License: MIT +Group: Development/Tools/Version Control +URL: https://github.com/mgerstner/squilt +Source0: squilt-%{version}.tar.gz +Requires: nsjail +Requires: python +Requires: quilt +# x86_64 only due to dependency nsjail having ExclusiveArch x86_64 +ExclusiveArch: x86_64 +# This package provides an alternative implementation of squilt +Provides: squilt = %{version}-%{release} +Conflicts: squilt + +%description +Wrapper to confine quilt with nsjail, written in Python + +%prep +%setup -q -n squilt-%{version} + +%build +# nothing to build + +%install +install -Dm 0755 squilt %{buildroot}%{_bindir}/squilt + +%files +%defattr(-,root,root) +%license LICENSE +%doc README.md +%{_bindir}/squilt + +%changelog diff --git a/squilt.obsinfo b/squilt.obsinfo new file mode 100644 index 0000000..ef88159 --- /dev/null +++ b/squilt.obsinfo @@ -0,0 +1,4 @@ +name: squilt +version: 20230719.dde2b0b +mtime: 1689761510 +commit: dde2b0b7482ba6656b23c73ce12ff8550aac074b