Compare commits

...

No commits in common. "c8s" and "c9-beta" have entirely different histories.
c8s ... c9-beta

6 changed files with 76 additions and 28 deletions

3
.gitignore vendored
View File

@ -1 +1,2 @@
/uid_wrapper-1.2.4.tar.gz
SOURCES/uid_wrapper-1.2.9.tar.gz
SOURCES/uid_wrapper.keyring

2
.uid_wrapper.metadata Normal file
View File

@ -0,0 +1,2 @@
bd027e2ddf44447f5b025082881641f839b0a362 SOURCES/uid_wrapper-1.2.9.tar.gz
3f2ab0bca02893402ba0ad172a6bd44456a65f86 SOURCES/uid_wrapper.keyring

View File

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEEjf9T4Y8qvI2PPJIjfuD8TcwBTj0FAmGozl4ACgkQfuD8TcwB
Tj2gCw/7BZQDxIx9qH4dWpJX1Y9IIzxbEe0+rf6S2TD5RtaM2NYjYMV7FdWpMEs2
zSmO3vEiKC44pAyhQpP1Dwy5cejOncpBz89KCzGsTyVa2cCe8tqp19u3IjQNXqDf
L6lrhveGHL9lsdrTySfyX2OJ/KsHCCXrU9qSyoPTqUZ45787Y5Cd0XIfDpEFO/Kf
1A1ibdrdyLnYUb7G63KDOQsTEkF9CF3wclS2TkQWBxlXjdQ+rJWq2lQI/6yOx0Gl
L0823XfUCUzp7ylmYlADmKvCqCTFhcOmftwIXBkKqT+N4odryER/oHwPyhT0HPxl
LgJM1P0QRZP3K3EJmXv9QQOCixXOLf0wapseKd53ocVCHfrmnNBpBmbtH0HIvk9W
lIEZrDRAxZunpS/cr/4jcree70AN3q8bIf9sIGXfhPmhwOsw2CIQ6QduskG2Qok2
dxZp5hFCEAWjQSqsNVHob9tuOlR4GbHKIH1ToRl9F/5BWXZVl00MhBCLcn1r+wGc
NwFsAMdEG/BFGQMQCtxb/q3w4UFMxma3uJFDBwYqcIvnbjPqBnW6Wu9luqnUz40o
VedmmIccZv6iQBLZ7VcuJl2eyQjr1YaKqC8Jfph5qtS7/MaGPmtQ6MPXnnb9GNs5
wiMNyW8OLd/mkdk6zmpnKppdb+w3d8XBEYPdCGMLe/E5aBFhJYY=
=zNjY
-----END PGP SIGNATURE-----

View File

@ -1,16 +1,22 @@
Name: uid_wrapper
Version: 1.2.4
Release: 4%{?dist}
Version: 1.2.9
Release: 2%{?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: libcmocka-devel
BuildRequires: gnupg2
BuildRequires: libcmocka-devel >= 1.1.0
Recommends: cmake
Recommends: pkgconfig
%description
Some projects like a file server need privilege separation to be able to switch
@ -27,34 +33,25 @@ This package doesn't have a devel package cause this project is for
development/testing.
%prep
%setup -q
gpgv2 --quiet --keyring %{SOURCE2} %{SOURCE1} %{SOURCE0}
%autosetup -p1
%build
if test ! -e "obj"; then
mkdir obj
fi
pushd obj
%cmake \
-DUNIT_TESTING=ON \
%{_builddir}/%{name}-%{version}
make %{?_smp_mflags} VERBOSE=1
popd
-DUNIT_TESTING=ON
%cmake_build
%install
pushd obj
make DESTDIR=%{buildroot} install
popd
%cmake_install
%ldconfig_scriptlets
%check
pushd obj
make test || cat $(find Testing -name "*.log")
popd
%ctest
%files
%doc AUTHORS README ChangeLog COPYING
%doc AUTHORS README.md ChangeLog
%license LICENSE
%{_libdir}/libuid_wrapper.so*
%dir %{_libdir}/cmake
%dir %{_libdir}/cmake/uid_wrapper
@ -65,6 +62,45 @@ popd
%{_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

View File

@ -1,6 +0,0 @@
--- !Policy
product_versions:
- rhel-8
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: baseos-ci.brew-build.tier1.functional}

View File

@ -1 +0,0 @@
SHA512 (uid_wrapper-1.2.4.tar.gz) = 212b35f7d0655611c5bb7927e4e29049ce79a4e677805fa7154142dff559ddc6dd7117a4c94314b69e27c954ff03ef49470ed69e2405cf46b5958643c6021d3b