SHA256
1
0
forked from pool/nss_wrapper

Accepting request 1185771 from devel:tools

- Update to version 1.1.16
  * Fixed segfault on FreeBSD
  * Fixed copy&paste error in the destructor
  * Fixed thread sanitizer on modern Linux Kernels
  * Fixed building with newer cmocka versions
- Removed nss_wrapper-fix-cmocka-1.1.6+-support.patch
- Update rpmlintrc

OBS-URL: https://build.opensuse.org/request/show/1185771
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/nss_wrapper?expand=0&rev=19
This commit is contained in:
Ana Guerrero 2024-07-08 17:06:52 +00:00 committed by Git OBS Bridge
commit 5e60fbef1a
8 changed files with 33 additions and 55 deletions

BIN
nss_wrapper-1.1.15.tar.gz (Stored with Git LFS)

Binary file not shown.

View File

@ -1,16 +0,0 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEEjf9T4Y8qvI2PPJIjfuD8TcwBTj0FAmPRTgYACgkQfuD8TcwB
Tj20jxAAlm7ArKtzRTX4iTvBpa9lq4bGqRQp44GTiXi6JNcDfkG8vdNhC9M+ivWR
WXJzmtHYhNLCa0exQW2i2KSE1VKiljVNj4bcDrhVLxihOqKZBppfybyiKlN1LpJ9
8MUpKI8SwhA3bwR5v7t5GdVbCGulh6Qbr7j8Ix9wlfif3GzmXeodbUr9gGjCN3BU
+xa+gmPkfa6V2sz3kfbdme1w33xRwKUeYkEN1jZ6gNNlH3CYcusQaxgQ6RkL5atY
Ax3wvSfGoeQsjQLOzUbORnLjdekh5Y4GgxWmyfAoQBPKEP07sCjq7Sp317xJiqUG
DWVe1PIO9nJHyA3Tdwx2G2oVT47emLK8QndJcE5B+h/o+x60dATXG+7dZJBtzjNa
9L4Kri4Lq5gc7iZcvbm4MQMmKse7BKCMl6pHIhF4WfH2lt1Xd2FCNSAEVv9Q+OzH
gdvVEJm8+6npV99+fP/WzVBHY6MRpOFIijPVJzDvNlCIrEbfx7pfjoE+nQcqnBgs
PT0n15nbP+sOQIVtmXZ7Tkd0FRCaC/dYNGEuqceua60enjO6zff30LaGjM97rNgW
lNjylfHaS9EXQd/I2UjHUHdSkJfGAw7RgCVLV2tUmTG7VvE+DapQzfql8ONNADup
mMeI3UZUffN0fS5gDd67tOm+iUB1X9azkYLPd5M5GZFAfWuBiqU=
=nRU2
-----END PGP SIGNATURE-----

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:dc79ab072779be4403b45b60cd044dd13780d4bb9675d27abf1932ada7c8a88d
size 190469

View File

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEEjf9T4Y8qvI2PPJIjfuD8TcwBTj0FAmaHsEEACgkQfuD8TcwB
Tj2+3Q//XX4vZkMLcoylkwQq/kg/zRWNDFUerquQFgFYhVSEwmHNNdyhhWF00dsz
PcYeJy1IVIcIwj/lMYBEz9wL/LAg+qiruKbVkZDzuYTzZDMF7YEk4Z7ybXSD6ErE
GGbx/TRT0yZxge2Q+tvrKaSG1JKNwF+Yr4Iis7lACc1vFQ+moIuJ1YvZggPoQkr3
ZMxp8YZh+Mr3ASKMmRNwXJ+wIk0mjpV3njSyI7WNdoq4uGPWbVcFyRnWSgpLXd1L
s0R6FEHeijZPkNzFqddWCe4p0YE5klHwi6F0PxsqtAV1H//b14tva7N73vZVxYKB
1idkN3oMDoP6wxo1thj3/oMnPmp1DaBFbbE/HvvE0rDh0plVhVBQFxJ4xPvXI+r/
v3Q6Wxf1lx7l+dh2TWl3UJ+6YWTogQhwAjf906PVlNc1kS+e6daf3uL7aqeLv1WK
Bai7QF/3b6N+FSDWE/9CMt/zqPTAaeEm2qYt8qIkGKPUdXI3z4y4I303GPXUDPHr
u6J4adNSqNqDv3mjY8OcvgTCX+/QLB40QSFChXS858aUk8zfgq7ewx/4nhaNEI/T
nwxm0R5JjKTpySOUEcn4I8hHb4cJ3nIkQAI/IZ2gGEGYHkTQrGryJi4xt9vKY+xM
/RuIiaXwAJZ9FtYhua/rhvh7idTYs/wX3Nzvz4vsmZjjg98CZlU=
=PNx5
-----END PGP SIGNATURE-----

View File

@ -1,31 +0,0 @@
From 2c879a0ffa70cee33329291d7576ec971d420da2 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 3b94076..733cc4e 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()
+
set(TESTSUITE_LIBRARIES nss_utils ${NWRAP_REQUIRED_LIBRARIES} ${CMOCKA_LIBRARY})
string(TOLOWER "${CMAKE_BUILD_TYPE}" CMAKE_BUILD_TYPE_LOWER)
--
2.39.2

View File

@ -4,6 +4,5 @@
#
# Learn more at http://cwrap.org
#
addFilter("shlib-policy-name-error")
addFilter("shared-lib-calls-exit")
addFilter("devel-file-in-non-devel-package")
addFilter("binary-or-shlib-calls-gethostbyname")

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Fri Jul 5 09:35:44 UTC 2024 - Andreas Schneider <asn@cryptomilk.org>
- Update to version 1.1.16
* Fixed segfault on FreeBSD
* Fixed copy&paste error in the destructor
* Fixed thread sanitizer on modern Linux Kernels
* Fixed building with newer cmocka versions
- Removed nss_wrapper-fix-cmocka-1.1.6+-support.patch
- Update rpmlintrc
-------------------------------------------------------------------
Thu Mar 2 11:00:33 UTC 2023 - Dominique Leuenberger <dimstar@opensuse.org>

View File

@ -1,7 +1,7 @@
#
# spec file for package nss_wrapper
#
# Copyright (c) 2023 SUSE LLC
# 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
@ -23,7 +23,7 @@
#
############################# NOTE ##################################
Name: nss_wrapper
Version: 1.1.15
Version: 1.1.16
Release: 0
Summary: A wrapper for the user, group and hosts NSS API
License: BSD-3-Clause
@ -33,7 +33,6 @@ Source0: https://ftp.samba.org/pub/cwrap/%{name}-%{version}.tar.gz
Source1: https://ftp.samba.org/pub/cwrap/%{name}-%{version}.tar.gz.asc
Source2: https://cryptomilk.org/gpgkey-8DFF53E18F2ABC8D8F3C92237EE0FC4DCC014E3D.gpg#/%{name}.keyring
Source3: %{name}-rpmlintrc
Patch0: nss_wrapper-fix-cmocka-1.1.6+-support.patch
BuildRequires: cmake
BuildRequires: libcmocka-devel
BuildRequires: netcfg