Unverified Commit 814134ac authored by boklm's avatar boklm
Browse files

packages: add mbox rpm package

parent 98c7f957
out
git_clones
git_url: https://github.com/tsgates/mbox
git_hash: d06f6e7a659dec5ca89fcd5af73bb9588f96e29a
version: 0
Name: mbox
Version: [% c('version') %]
Release: [% c('rpm_rel') %]%{?dist}
Summary: A lightweight sandboxing mechanism that can be used without special privileges
License: BSD
URL: http://pdos.csail.mit.edu/mbox/
Source0: mbox-%{version}.tar.xz
BuildRequires: openssl-devel
%description
Mbox introduces a novel sandbox usage model; when executing a program
in the sandbox, Mbox prevents programs from modifying the host filesystem
while giving them the impression that they are in fact making those
modifications. Mbox achieves this by providing a layered sandbox
filesystem and by interposing on system calls with ptrace and seccomp/BPF.
At the end of program execution, the user can examine changes in the
sandbox filesystem, and selectively commit them back to the host filesystem.
%prep
%setup -q
%build
cd src
cp {.,}configsbox.h
%configure
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
cd src
%make_install
%files
%doc doc/paper.pdf doc/slides.pdf doc/NOTE.web
%{_bindir}/mbox
compress_tar: xz
output_dir: "out/[% project %]"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment