|
|
|
@ -1,22 +1,16 @@
|
|
|
|
|
Name: uid_wrapper
|
|
|
|
|
Version: 1.2.9
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Version: 1.2.4
|
|
|
|
|
Release: 4%{?dist}
|
|
|
|
|
|
|
|
|
|
Summary: A wrapper for privilege separation
|
|
|
|
|
License: GPLv3+
|
|
|
|
|
Url: http://cwrap.org/
|
|
|
|
|
|
|
|
|
|
Source0: https://ftp.samba.org/pub/cwrap/%{name}-%{version}.tar.gz
|
|
|
|
|
Source1: https://ftp.samba.org/pub/cwrap/%{name}-%{version}.tar.gz.asc
|
|
|
|
|
Source2: uid_wrapper.keyring
|
|
|
|
|
|
|
|
|
|
BuildRequires: gcc
|
|
|
|
|
BuildRequires: cmake
|
|
|
|
|
BuildRequires: gnupg2
|
|
|
|
|
BuildRequires: libcmocka-devel >= 1.1.0
|
|
|
|
|
|
|
|
|
|
Recommends: cmake
|
|
|
|
|
Recommends: pkgconfig
|
|
|
|
|
BuildRequires: libcmocka-devel
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
Some projects like a file server need privilege separation to be able to switch
|
|
|
|
@ -33,25 +27,34 @@ This package doesn't have a devel package cause this project is for
|
|
|
|
|
development/testing.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
gpgv2 --quiet --keyring %{SOURCE2} %{SOURCE1} %{SOURCE0}
|
|
|
|
|
%autosetup -p1
|
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
if test ! -e "obj"; then
|
|
|
|
|
mkdir obj
|
|
|
|
|
fi
|
|
|
|
|
pushd obj
|
|
|
|
|
%cmake \
|
|
|
|
|
-DUNIT_TESTING=ON
|
|
|
|
|
%cmake_build
|
|
|
|
|
-DUNIT_TESTING=ON \
|
|
|
|
|
%{_builddir}/%{name}-%{version}
|
|
|
|
|
|
|
|
|
|
make %{?_smp_mflags} VERBOSE=1
|
|
|
|
|
popd
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%cmake_install
|
|
|
|
|
pushd obj
|
|
|
|
|
make DESTDIR=%{buildroot} install
|
|
|
|
|
popd
|
|
|
|
|
|
|
|
|
|
%ldconfig_scriptlets
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
%ctest
|
|
|
|
|
pushd obj
|
|
|
|
|
make test || cat $(find Testing -name "*.log")
|
|
|
|
|
popd
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%doc AUTHORS README.md ChangeLog
|
|
|
|
|
%license LICENSE
|
|
|
|
|
%doc AUTHORS README ChangeLog COPYING
|
|
|
|
|
%{_libdir}/libuid_wrapper.so*
|
|
|
|
|
%dir %{_libdir}/cmake
|
|
|
|
|
%dir %{_libdir}/cmake/uid_wrapper
|
|
|
|
@ -62,45 +65,6 @@ gpgv2 --quiet --keyring %{SOURCE2} %{SOURCE1} %{SOURCE0}
|
|
|
|
|
%{_mandir}/man1/uid_wrapper.1*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Thu Apr 21 2022 Andreas Schneider <asn@redhat.com> - 1.2.9-2
|
|
|
|
|
- related: rhbz#2028819 - Rebuild for RHEL 9.1
|
|
|
|
|
|
|
|
|
|
* Mon Feb 21 2022 Andreas Schneider <asn@redhat.com> - 1.2.9-1
|
|
|
|
|
- related: rhbz#2013578 - Rebase to version 1.2.9
|
|
|
|
|
|
|
|
|
|
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 1.2.7-7
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
|
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.2.7-6
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
|
|
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.7-5
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.7-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Mar 03 2020 Anderson Sasaki <ansasaki@redhat.com> - 1.2.7-3
|
|
|
|
|
- Fix invalid library path in cmake configuration file (bz#1809275)
|
|
|
|
|
|
|
|
|
|
* Wed Feb 12 2020 Andreas Schneider <asn@redhat.com> - 1.2.7-2
|
|
|
|
|
- resolves: #1801869 - Fix invalid lib pkg-config lib path
|
|
|
|
|
|
|
|
|
|
* Tue Feb 11 2020 Andreas Schneider <asn@redhat.com> - 1.2.7-1
|
|
|
|
|
- Update to version 1.2.7
|
|
|
|
|
* Fix unsetting initial XIDs
|
|
|
|
|
* Fix manpage installation
|
|
|
|
|
* Fix cmake-config installation
|
|
|
|
|
* Fixed running with sanitizers
|
|
|
|
|
- resolves: #1690028 - Allow running without RTLD_DEEPBIND
|
|
|
|
|
|
|
|
|
|
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.4-6
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.4-5
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.4-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|