Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
devel:tools
fakechroot
fakechroot.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File fakechroot.spec of Package fakechroot
# # spec file for package fakechroot # # Copyright (c) 2024 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: fakechroot Version: 2.20.1 Release: 0 Summary: Preloadable library for a fake chroot environment License: GPL-2.0-or-later AND LGPL-2.1-only AND LGPL-2.1-or-later AND GPL-3.0-or-later Group: Development/Tools/Building URL: https://github.com/dex4er/fakechroot/wiki Source0: https://github.com/dex4er/%{name}/archive/%{version}/%{name}-%{version}.tar.gz # Patch from: https://github.com/dex4er/fakechroot/pull/85 Patch0: %{name}-glibc-233.patch %description fakechroot runs a command in an environment where it is possible to use the chroot(8) command without root privileges. This is useful for allowing users to create own chrooted environments with the possibility to install other packages without the need for root privileges. fakechroot does this by replacing some libc library functions (chroot(2), open(2), etc.) by ones that simulate the effect of being called with root privileges. These wrapper functions are in a shared library called libfakechroot.so, which can be loaded through the LD_PRELOAD mechanism of the dynamic loader. %prep %autosetup -p1 %build %define _lto_cflags %{nil} # Workaround for boo#1229277: %global optflags %{optflags} -Wno-error=implicit-function-declaration %configure \ --disable-static %make_build %check # Allways fail in our build environment: # FAIL t/escape-nested-chroot.t (exit status: 1) %make_build check || true %install %make_install %files %license COPYING LICENSE %doc NEWS.md README.md THANKS.md %doc scripts/restoremode.sh scripts/savemode.sh %dir %{_sysconfdir}/%{name} %config(noreplace) %{_sysconfdir}/%{name}/* %{_bindir}/env.%{name} %{_bindir}/%{name} %{_bindir}/ldd.%{name} %dir %{_libdir}/%{name} %{_libdir}/%{name}/lib%{name}.la %{_libdir}/%{name}/lib%{name}.so %{_sbindir}/chroot.%{name} %{_mandir}/man1/%{name}.1%{?ext_man} %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor