Compare commits
10 Commits
630eced9a7
...
26a200bf41
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
26a200bf41 | ||
|
|
c43c1e8717 | ||
|
|
4c6cdcf997 | ||
|
|
daac184e96 | ||
|
|
01f71107a9 | ||
|
|
dbc77af227 | ||
|
|
6657850793 | ||
|
|
44996b3ae1 | ||
|
|
ea8d840850 | ||
|
|
b16b383122 |
Binary file not shown.
BIN
uid_wrapper-1.3.0.tar.gz
Normal file
BIN
uid_wrapper-1.3.0.tar.gz
Normal file
Binary file not shown.
16
uid_wrapper-1.3.0.tar.gz.asc
Normal file
16
uid_wrapper-1.3.0.tar.gz.asc
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
-----BEGIN PGP SIGNATURE-----
|
||||||
|
|
||||||
|
iQIzBAABCgAdFiEEjf9T4Y8qvI2PPJIjfuD8TcwBTj0FAmPGqIYACgkQfuD8TcwB
|
||||||
|
Tj1n2xAAugnfwNIyCHmy/rcb/c6y5IYCFOgdtOdh6mGJhiEvpoa46Zovt6L621DG
|
||||||
|
laCnfaRiutocHb9u2S+xLddNG8l1ZnUB5mp3QYhey0tNtcHZiU+QV6OkesLsrm6l
|
||||||
|
98qBgZqoxaatR28SbXus5ypH3bCZIgturj8nme44Prck+V/vQuOAggGok02GwvuG
|
||||||
|
7CyR9cYA9vg4RrL60ZDXhMB6jWCVnbgHHMjxp5iyeyTMphPKMzCcWDNC9O93RQFJ
|
||||||
|
pe5AAwSIH8xmOZSb1Z+uVu3J0WnjubcK8PcoEIW/303d4XRvY+w1T+z1Qu+RxXCH
|
||||||
|
tRTg2+ysRnWtxcKALzbHmbTaggJpsFZyRuu8Rf7E4H+6cCSvQv8qYiIY4wqcebBE
|
||||||
|
+Xxytb9BYUY24n4HwkpL/3OScNxV5H4S2o2lHd7QT190IW26CaOJx1WGm90EGQKC
|
||||||
|
LUh8lPNJqETEIu5Dke3PiUoZJ0x7zd235NbmM3rmJ0B2bhtL/L3yP1H2zslMuus3
|
||||||
|
5D3XU0IkUykd6wtgO1He+v1JRZl+mFzkeGPakS9IoIj4E4QVJ3jQAe9UeHL4h3Ac
|
||||||
|
JG5Yl8T6BTyL72xJUjS0C1DOPSj13pZiUD4FTqHr7mUi9xT6Fmg+IK4xfIYMaqWh
|
||||||
|
3Pf9q+SyHmaml58rxi5CFYvfkhAIa1Frr/VUHg4izuuA6Gc1IgI=
|
||||||
|
=SrQO
|
||||||
|
-----END PGP SIGNATURE-----
|
||||||
31
uid_wrapper-fix-cmocka-1.1.6+-support.patch
Normal file
31
uid_wrapper-fix-cmocka-1.1.6+-support.patch
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
From 850f24c6366abda30bfd77734b90330b8809d306 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Andreas Schneider <asn@samba.org>
|
||||||
|
Date: Fri, 17 Feb 2023 17:51:27 +0100
|
||||||
|
Subject: [PATCH] cmake: Fix cmocka >= 1.1.6 find_package() in CONFIG mode
|
||||||
|
MIME-Version: 1.0
|
||||||
|
Content-Type: text/plain; charset=UTF-8
|
||||||
|
Content-Transfer-Encoding: 8bit
|
||||||
|
|
||||||
|
Signed-off-by: Andreas Schneider <asn@samba.org>
|
||||||
|
Reviewed-by: Pavel Filipenský <pfilipensky@samba.org>
|
||||||
|
---
|
||||||
|
tests/CMakeLists.txt | 4 ++++
|
||||||
|
1 file changed, 4 insertions(+)
|
||||||
|
|
||||||
|
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
|
||||||
|
index 635e86e..68e050e 100644
|
||||||
|
--- a/tests/CMakeLists.txt
|
||||||
|
+++ b/tests/CMakeLists.txt
|
||||||
|
@@ -1,5 +1,9 @@
|
||||||
|
project(tests C)
|
||||||
|
|
||||||
|
+if (TARGET cmocka::cmocka)
|
||||||
|
+ set(CMOCKA_LIBRARY cmocka::cmocka)
|
||||||
|
+endif()
|
||||||
|
+
|
||||||
|
add_library(uwrap_fake_socket_wrapper SHARED uwrap_fake_socket_wrapper.c)
|
||||||
|
target_compile_options(uwrap_fake_socket_wrapper
|
||||||
|
PRIVATE
|
||||||
|
--
|
||||||
|
2.39.2
|
||||||
|
|
||||||
BIN
uid_wrapper.keyring
Normal file
BIN
uid_wrapper.keyring
Normal file
Binary file not shown.
@ -1,12 +1,16 @@
|
|||||||
Name: uid_wrapper
|
Name: uid_wrapper
|
||||||
Version: 1.2.4
|
Version: 1.3.0
|
||||||
Release: 4
|
Release: 2
|
||||||
Summary: A wrapper for privilege separation
|
Summary: A wrapper for privilege separation
|
||||||
License: GPLv3+
|
License: GPLv3+
|
||||||
URL: http://cwrap.org/
|
URL: http://cwrap.org/
|
||||||
Source0: https://ftp.samba.org/pub/cwrap/%{name}-%{version}.tar.gz
|
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: cmake libcmocka-devel
|
Patch0: uid_wrapper-fix-cmocka-1.1.6+-support.patch
|
||||||
|
|
||||||
|
BuildRequires: cmake libcmocka-devel >= 1.1.0 gcc gnupg2 pkgconfig
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Some projects, such as a file server, need privilege separation to be able to switch
|
Some projects, such as a file server, need privilege separation to be able to switch
|
||||||
@ -29,6 +33,7 @@ Summary: Help package for %{name}
|
|||||||
This package contains some man help files for %{name}.
|
This package contains some man help files for %{name}.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
|
gpgv2 --quiet --keyring %{SOURCE2} %{SOURCE1} %{SOURCE0}
|
||||||
%autosetup -n %{name}-%{version} -p1
|
%autosetup -n %{name}-%{version} -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
@ -41,6 +46,7 @@ cd obj
|
|||||||
cd obj
|
cd obj
|
||||||
%make_install
|
%make_install
|
||||||
|
|
||||||
|
|
||||||
%post
|
%post
|
||||||
/sbin/ldconfig
|
/sbin/ldconfig
|
||||||
|
|
||||||
@ -52,14 +58,28 @@ cd obj
|
|||||||
make test || find Testing -name "*.log" | xargs cat
|
make test || find Testing -name "*.log" | xargs cat
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc AUTHORS README ChangeLog COPYING
|
%doc AUTHORS README.md CHANGELOG
|
||||||
%{_libdir}/libuid_wrapper.so*
|
%{_libdir}/libuid_wrapper.so*
|
||||||
|
%dir %{_libdir}/cmake
|
||||||
%{_libdir}/cmake/uid_wrapper/*
|
%{_libdir}/cmake/uid_wrapper/*
|
||||||
|
%dir %{_libdir}/pkgconfig
|
||||||
%{_libdir}/pkgconfig/uid_wrapper.pc
|
%{_libdir}/pkgconfig/uid_wrapper.pc
|
||||||
|
|
||||||
%files help
|
%files help
|
||||||
%{_mandir}/man1/uid_wrapper.1*
|
%{_mandir}/man1/uid_wrapper.1*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Jun 21 2023 yaoxin <yao_xin001@hoperun.com> - 1.3.0-2
|
||||||
|
- Fix compilation failure due to cmocka update to 1.1.7
|
||||||
|
|
||||||
|
* Tue Feb 14 2023 lilong <lilong@kylinos.cn> - 1.3.0-1
|
||||||
|
- Upgrade to 1.3.0
|
||||||
|
|
||||||
|
* Wed Jul 20 2022 zhangfan <zhangfan4@kylinos.cn> - 1.2.9-1
|
||||||
|
- Update to 1.2.9
|
||||||
|
|
||||||
|
* Mon May 31 2021 huanghaitao <huanghaitao8@huawei.com> - 1.2.4-5
|
||||||
|
- Completing build dependencies to fix gcc compiler missing error
|
||||||
|
|
||||||
* Wed Nov 20 2019 lingsheng <lingsheng@huawei.com> - 1.2.4-4
|
* Wed Nov 20 2019 lingsheng <lingsheng@huawei.com> - 1.2.4-4
|
||||||
- Package init
|
- Package init
|
||||||
|
|||||||
4
uid_wrapper.yaml
Normal file
4
uid_wrapper.yaml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
version_control: git
|
||||||
|
src_repo: git://git.samba.org/uid_wrapper.git
|
||||||
|
tag_prefix: ^uid_wrapper-
|
||||||
|
seperator: .
|
||||||
Loading…
x
Reference in New Issue
Block a user