Compare commits

...

No commits in common. "c8s" and "c95fac1051bfd680504e6edb87545a1c46901238" have entirely different histories.

6 changed files with 78 additions and 22 deletions

13
.gitignore vendored
View File

@ -1 +1,12 @@
SOURCES/uid_wrapper-1.2.4.tar.gz
/uid_wrapper-1.0.1.tar.gz
/uid_wrapper-1.0.2.tar.gz
/uid_wrapper-1.1.0.tar.gz
/uid_wrapper-1.1.1.tar.gz
/uid_wrapper-1.2.0.tar.gz
/uid_wrapper-1.2.1.tar.gz
/uid_wrapper-1.2.2.tar.gz
/uid_wrapper-1.2.4.tar.gz
/uid_wrapper-1.2.7.tar.gz
/uid_wrapper-1.2.7.tar.gz.asc
/uid_wrapper-1.2.9.tar.gz
/uid_wrapper-1.2.9.tar.gz.asc

View File

@ -1 +1,2 @@
8faf28a179df939fb3cba6521e4b201a59719da9 SOURCES/uid_wrapper-1.2.4.tar.gz
bd027e2ddf44447f5b025082881641f839b0a362 uid_wrapper-1.2.9.tar.gz
90f502084e1b148c8d7c76063395f6731ef02925 uid_wrapper-1.2.9.tar.gz.asc

6
gating.yaml Normal file
View File

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

2
sources Normal file
View File

@ -0,0 +1,2 @@
SHA512 (uid_wrapper-1.2.9.tar.gz) = 561dd8d5b139020f47a908e6baca9197d46f6192c280c23f85fad80fcac3fffb2823200777b0f353f79949cfb45b7dcc21b9a585a4bc21b26632b0e0df11d825
SHA512 (uid_wrapper-1.2.9.tar.gz.asc) = cbb964c51c510e071a3a6224bb86e07816a40bf215c8acc5a244f853842df702e879f59a154ed140d90e2f1c9957212edfc8369a7121329cc35aa8874b600794

BIN
uid_wrapper.keyring Normal file

Binary file not shown.

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