Commit graph

139 commits

Author SHA1 Message Date
Packit
a33bf8feb9 Update to 0.25.8 upstream release
Upstream tag: 0.25.8
Upstream commit: 2ee61264

Commit authored by Packit automation (https://packit.dev/)
2025-09-13 10:13:07 +09:00
Packit
6d11b1e9cb Update to 0.25.6 upstream release
- Resolves: rhbz#2394061

Upstream tag: 0.25.6
Upstream commit: 4f821372

Commit authored by Packit automation (https://packit.dev/)
2025-09-09 23:36:44 +09:00
Daiki Ueno
8a33186b2f rpc: Fix empty array attribute handling
Signed-off-by: Daiki Ueno <dueno@redhat.com>
2025-09-03 20:26:02 +09:00
Fedora Release Engineering
44c46c2705 Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-24 23:50:34 +00:00
Debarshi Ray
27179e46de Split p11-kit-client.so into a separate sub-package
Strictly speaking, the same container or machine doesn't need to have
both the p11-kit-client.so module and the p11-kit-server executable.
eg., Flatpak and Toolbx need only the p11-kit-server executable to be
present on the host machine, and need only the p11-kit-client.so module
inside the container.

Therefore, splitting the 'server' sub-package [1] will avoid having
unexpected content in containers and machines.

A Release number of 8 was chosen for the Version-Release tuple in
'Obsoletes', because that will be the Release number of this commit
according to %{autorelease}:
  $ rpmautospec calculate-release
  Calculated release number: 8

[1] https://docs.fedoraproject.org/en-US/packaging-guidelines/#_one_to_many_replacement

https://src.fedoraproject.org/rpms/p11-kit/pull-request/53
2025-05-15 13:46:54 +02:00
Debarshi Ray
509127e98c Move ownership of %{_libdir}/pkcs11 to the main package
Commit 35e6a95319 made the 'trust' sub-package own the
%{_libdir}/pkcs11 directory at a time when p11-kit-trust.so was the only
PKCS#11 module being shipped by p11-kit.

Since then, commit 7c8cb45032 or p11-kit-0.23.4 introduced the
p11-kit-client.so module.  It was initially part of the main package,
until was split into its own sub-package in commit adb7cbe63f.
Even though it doesn't depend directly on the 'trust' module, it
depended on it to own the %{_libdir}/pkcs11 directory.

It will be better if the main package owns the %{_libdir}/pkcs11
directory, just like it already owns %{_sysconfdir}/pkcs11, so that the
directory doesn't have to be separately owned by multiple sub-packages.

https://src.fedoraproject.org/rpms/p11-kit/pull-request/53
2025-05-15 13:41:15 +02:00
Debarshi Ray
a8fa1a940d Fix the MingGW build with GCC 15.1.1
Otherwise, it leads to:
  [22/338] Compiling C object common/libp11-library.a.p/library.c.obj
  FAILED: common/libp11-library.a.p/library.c.obj
  i686-w64-mingw32-gcc -Icommon/libp11-library.a.p -Icommon -I../common
      -I. -I.. -fvisibility=hidden -fdiagnostics-color=always
      -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O0 -g -D_GNU_SOURCE
      -DP11_KIT_FUTURE_UNSTABLE_API -O2 -g -pipe -Wall
      -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -MD
      -MQ common/libp11-library.a.p/library.c.obj -MF
      common/libp11-library.a.p/library.c.obj.d -o
      common/libp11-library.a.p/library.c.obj -c ../common/library.c
  ../common/library.c:208:27: error: expected identifier or '(' before
      '=' token
    208 | static DWORD thread_local = TLS_OUT_OF_INDEXES;
        |                           ^
  ../common/library.c: In function '_p11_library_get_thread_local':
  ../common/library.c:217:26: error: expected identifier or '(' before
      '==' token
    217 |         if (thread_local == TLS_OUT_OF_INDEXES)
        |                          ^~
  ../common/library.c:217:13: error: declaration in the controlling
      expression must have an initializer
    217 |         if (thread_local == TLS_OUT_OF_INDEXES)
        |             ^~~~~~~~~~~~
  ../common/library.c:220:29: error: expected expression before
      'thread_local'
    220 |         data = TlsGetValue (thread_local);
        |                             ^~~~~~~~~~~~
  ../common/library.c:223:30: error: expected expression before
      'thread_local'
    223 |                 TlsSetValue (thread_local, data);
        |                              ^~~~~~~~~~~~
  ../common/library.c:223:17: error: too few arguments to function
      'TlsSetValue'; expected 2, have 1
    223 |                 TlsSetValue (thread_local, data);
        |                 ^~~~~~~~~~~

https://src.fedoraproject.org/rpms/p11-kit/pull-request/54
2025-05-14 18:39:18 +02:00
Fedora Release Engineering
b4943bcb3d Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-17 22:08:21 +00:00
Zoltan Fridrich
8a8660a738 Integrate mingw-p11-kit into spec file
Signed-off-by: Zoltan Fridrich <zfridric@redhat.com>
2024-10-08 11:07:04 +02:00
Fedora Release Engineering
1c9cf0a627 Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-18 21:16:09 +00:00
Zbigniew Jędrzejewski-Szmek
89bca1f9d6 Call alternatives without full path
As part of https://fedoraproject.org/wiki/Changes/Unify_bin_and_sbin,
alternatives is moved from /usr/sbin/alternatives to /usr/bin/alternatives.
(This happened when alternatives rpm was rebuilt in a build
environment with the updated definitions.)
On traditional systems a compat symlink is created, so both paths
work. This means that packages that use paths into /usr/sbin do not
need to be rebuilt and will continue to work fine. Unfortunately, on
ostree systems, the compat symlinks are missing, so calls to
/usr/sbin/alternatives fail.

In addition, when _this_ package will be rebuilt in an environment
with the updated definitions, its script will try to call
/usr/bin/alternatives, which in turn will not work on systems with an
older build of alternatives, where only /usr/sbin/alternatives exists,
but not /usr/bin/alternatives, and /usr/sbin is not a symlink to
/usr/bin.

There is no reason for or benefit from specifying the full path to
binaries in scriptlets because the scriptlets are called with a
well-defined $PATH. So drop the full path, so that the package
works fine no matter where exactly alternatives is installed.
2024-07-12 14:51:36 +02:00
Packit
83f95a1eee Update to 0.25.5 upstream release
Upstream tag: 0.25.5
Upstream commit: 0dd11336

Commit authored by Packit automation (https://packit.dev/)
2024-07-04 13:08:10 +02:00
Yaakov Selkowitz
5037388f87 Fix bash-completion build dependency
The pkgconfig data has been split out into bash-completion-devel for F41.
2024-06-21 15:31:43 -04:00
Daiki Ueno
4591e32cb1 import-object: Avoid integer truncation on 32-bit platforms
Fixes: #2261437
Signed-off-by: Daiki Ueno <dueno@redhat.com>
2024-01-31 11:09:29 +09:00
Fedora Release Engineering
a088c987f2 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-25 11:44:40 +00:00
Fedora Release Engineering
34faad315d Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-21 11:39:08 +00:00
Packit
ed0f630c7a [packit] 0.25.3 upstream release
Upstream tag: 0.25.3
Upstream commit: 917e02a3
2023-11-15 12:51:54 +00:00
Zoltan Fridrich
813fe621e6 Replace "black list" with "blocklist" in package description
Signed-off-by: Zoltan Fridrich <zfridric@redhat.com>
2023-11-08 11:08:29 +01:00
Packit
dd7fdb54d6 [packit] 0.25.2 upstream release
Upstream tag: 0.25.2
Upstream commit: 66d6b42e
2023-10-31 09:27:24 +00:00
Packit
aab0f5c7d6 [packit] 0.25.1 upstream release
Upstream tag: 0.25.1
Upstream commit: 3ee32232
2023-10-26 10:03:53 +00:00
Daiki Ueno
93cc8c15ca Migrate License field to SPDX license identifier
Signed-off-by: Daiki Ueno <dueno@redhat.com>
2023-08-24 10:37:57 +09:00
Zoltan Fridrich
c65bf3c0a5 Merge #25 [packit] 0.25.0 upstream release 2023-07-24 07:24:22 +00:00
Fedora Release Engineering
8c546cbf7c Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-20 18:27:01 +00:00
Packit
b1c8544e78 [packit] 0.25.0 upstream release
Upstream tag: 0.25.0
Upstream commit: a8cce8bd
2023-07-14 13:40:25 +02:00
Fedora Release Engineering
4ffd376fc4 Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-19 23:11:59 +00:00
Florian Weimer
b90c845b4f Port meson build script to C99
Related to:

  <https://fedoraproject.org/wiki/Changes/PortingToModernC>
  <https://fedoraproject.org/wiki/Toolchain/PortingToModernC>
2022-12-12 19:44:40 +01:00
Daiki Ueno
1770b98d87 Opt into rpmautospec
Signed-off-by: Daiki Ueno <dueno@redhat.com>
2022-10-18 14:44:42 +09:00
Fedora Release Engineering
957b7f3fbf Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-22 02:29:51 +00:00
Fedora Release Engineering
2797e80478 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-20 22:42:57 +00:00
Packit Service
10b866233d [packit] 0.24.1 upstream release
Upstream tag: 0.24.1
Upstream commit: dd0590d4

Signed-off-by: Packit Service <user-cont-team+packit-service@redhat.com>
2022-01-17 16:26:29 +01:00
Miro Hrončok
fd9096a458 Rebuilt for https://fedoraproject.org/wiki/Changes/LIBFFI34 2022-01-08 11:12:38 +01:00
Fedora Release Engineering
a8a44de793 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-22 17:33:30 +00:00
Daiki Ueno
1a69b38e16 Suppress intentional memleak in getprogname emulation (#1905581) 2021-01-27 17:32:37 +01:00
Fedora Release Engineering
6b30a6f6a1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-26 22:48:14 +00:00
Packit Service
c67066c471 [packit] 0.23.22 upstream release
Upstream tag: 0.23.22
Upstream commit: bd97afbf

Signed-off-by: Packit Service <user-cont-team+packit-service@redhat.com>
2020-12-14 18:11:16 +01:00
Alexander Sosedkin
4ccfb55efb Add an explicit build dependency on xsltproc 2020-11-12 18:45:53 +01:00
Packit Service
3be0aa7251 [packit] 0.23.21 upstream release
Upstream tag: 0.23.21
Upstream commit: fd8b56f3

Signed-off-by: Packit Service <user-cont-team+packit-service@redhat.com>
2020-08-18 14:45:29 +00:00
Fedora Release Engineering
3d3fc1ffba - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-28 13:00:58 +00:00
Daiki Ueno
6ca21e0693 Update to 0.23.20-1 2020-01-29 17:54:49 +01:00
Daiki Ueno
e5a2bc3f85 Switch to using Meson as the build system 2020-01-22 10:23:02 +01:00
Daiki Ueno
704551f600 Check archive signature in %prep 2020-01-22 10:04:53 +01:00
Daiki Ueno
f77861deca Update to 0.23.19-1 2020-01-22 09:57:49 +01:00
Daiki Ueno
984c7b95a6 Update to 0.23.18.1-1
- Update to upstream 0.23.18.1 release
2019-09-30 17:06:15 +02:00
Fedora Release Engineering
fe4702010a - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-25 23:51:18 +00:00
Daiki Ueno
84adaeaf49 Update to 0.23.16.1-1
- Update to upstream 0.23.16.1 release
2019-05-23 14:35:12 +02:00
Daiki Ueno
ecfcfecd4f Update to 0.23.16-1
- Update to upstream 0.23.16 release
2019-05-23 12:03:19 +02:00
Daiki Ueno
7b3e3f565e Prepare for the rebase 2019-05-23 11:59:09 +02:00
Daiki Ueno
dc76f22c04 trust: Ignore unreadable content in anchors
Fixes rhbz#1675441
2019-02-18 18:23:44 +01:00
Fedora Release Engineering
470464b6a6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-01 17:46:59 +00:00
Daiki Ueno
f820d48c88 Update to 0.23.15-1
- Update to upstream 0.23.15 release
2019-01-21 16:13:15 +01:00