diff --git a/.files b/.files new file mode 100644 index 0000000..387840b Binary files /dev/null and b/.files differ diff --git a/.meta b/.meta new file mode 100644 index 0000000..57d1ec6 --- /dev/null +++ b/.meta @@ -0,0 +1,5 @@ + + boxfort + A simple, cross-platform sandboxing C library powering Criterion. + + diff --git a/.rev b/.rev new file mode 100644 index 0000000..d405079 --- /dev/null +++ b/.rev @@ -0,0 +1,10 @@ + + + d0a03edfba122c2795fd8f4ae0c3dc44 + 0.1.4 + + dimstar_suse + last dep needed to build Criterion + 1061991 + + diff --git a/boxfort-0.1.4.tar.xz b/boxfort-0.1.4.tar.xz new file mode 120000 index 0000000..39f2a1d --- /dev/null +++ b/boxfort-0.1.4.tar.xz @@ -0,0 +1 @@ +/ipfs/bafkreidhckovqvzcoophrl3wnkool64r6e2zoqhdwevcvqgc7dlqjg7gnm \ No newline at end of file diff --git a/boxfort.changes b/boxfort.changes new file mode 100644 index 0000000..d45114a --- /dev/null +++ b/boxfort.changes @@ -0,0 +1,9 @@ +------------------------------------------------------------------- +Sun Jan 29 19:09:52 UTC 2023 - Jan Engelhardt + +- Ensure neutrality of descriptions. + +------------------------------------------------------------------- +Wed Jan 4 17:22:13 UTC 2023 - Paolo Stivanin + +- Initial OBS release (0.1.4). diff --git a/boxfort.spec b/boxfort.spec new file mode 100644 index 0000000..7c20207 --- /dev/null +++ b/boxfort.spec @@ -0,0 +1,69 @@ +# +# spec file for package boxfort +# +# 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/ +# + +%define _lto_cflags %{nil} + +Name: boxfort +Version: 0.1.4 +Release: 0 +Summary: A sandboxing C library for Criterion +License: MIT +URL: https://github.com/Snaipe/BoxFort +Source: https://github.com/Snaipe/BoxFort/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.xz +BuildRequires: gcc +BuildRequires: meson + +%description +BoxFort provides an API to run user code in isolated processes. + +Although BoxFort provides some kind of security of the parent process +against spawned sandboxes, a sandbox has by default the same system +permissions and access than its parent, and is hence, without care, +ill-fitted for security purposes. + +The goal of this project is portable code isolation (not security). +For complete system isolation, consider using containers. + +%package devel +Summary: Development files for boxfort +Requires: %{name} = %{version} + +%description devel +Development files for boxfort. + +%prep +%autosetup -p1 -n BoxFort-%{version} + +%build +%meson +%meson_build + +%install +%meson_install +export NO_BRP_STRIP_DEBUG=true +export NO_DEBUGINFO_STRIP_DEBUG=true + +%files +%license LICENSE +%doc README.md + +%files devel +%{_includedir}/boxfort.h +%{_libdir}/lib%{name}.a +%{_libdir}/pkgconfig/boxfort.pc + +%changelog