diff --git a/.gitignore b/.gitignore index 5c60ec2..823942f 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,4 @@ /priv_wrapper-1.0.0.tar.gz /priv_wrapper.keyring +/priv_wrapper-1.0.1.tar.gz +/priv_wrapper-1.0.1.tar.gz.asc diff --git a/0001-prctl.patch b/0001-prctl.patch deleted file mode 100644 index 5455f21..0000000 --- a/0001-prctl.patch +++ /dev/null @@ -1,29 +0,0 @@ -From 1286ef310549ef3a7ce2ecf81523082f0453d194 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Pavel=20Filipensk=C3=BD?= -Date: Thu, 10 Nov 2022 13:41:04 +0100 -Subject: [PATCH] ../src/priv_wrapper.c - ---- - src/priv_wrapper.c | 6 +----- - 1 file changed, 1 insertion(+), 5 deletions(-) - -diff --git a/src/priv_wrapper.c b/src/priv_wrapper.c -index acff955..fc8b19f 100644 ---- a/src/priv_wrapper.c -+++ b/src/priv_wrapper.c -@@ -173,11 +173,7 @@ static void privwrap_log(enum privwrap_dbglvl_e dbglvl, - - typedef int (*__libc_chroot)(const char *path); - #ifdef HAVE_PRCTL --typedef int (*__libc_prctl)(int option, -- unsigned long arg2, -- unsigned long arg3, -- unsigned long arg4, -- unsigned long arg5); -+typedef int (*__libc_prctl)(int option, ...); - #endif - #ifdef HAVE_PLEDGE - typedef int (*__libc_pledge)(const char *promises, --- -2.37.3 - diff --git a/priv_wrapper.spec b/priv_wrapper.spec index 9860168..6db120d 100644 --- a/priv_wrapper.spec +++ b/priv_wrapper.spec @@ -1,6 +1,6 @@ Name: priv_wrapper -Version: 1.0.0 -Release: 3%{?dist} +Version: 1.0.1 +Release: 1%{?dist} Summary: A library to disable resource limits and other privilege dropping License: GPLv3+ @@ -10,8 +10,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: priv_wrapper.keyring -Patch0: 0001-prctl.patch - BuildRequires: gcc BuildRequires: cmake BuildRequires: gnupg2 @@ -65,6 +63,9 @@ development/testing. %{_mandir}/man1/priv_wrapper.1* %changelog +* Thu Nov 24 2022 Pavel Filipenský - 1.0.1-1 +- Update to version 1.0.1 + * Thu Nov 10 2022 Pavel Filipenský - 1.0.0-3 - Patch prctl() on ppc64le diff --git a/sources b/sources index 624de9b..01b18d4 100644 --- a/sources +++ b/sources @@ -1,2 +1,3 @@ -SHA512 (priv_wrapper-1.0.0.tar.gz) = 3087916c36fe6244831809e8e589433774fac62aa969d528c11fddf743869a5b1dbd36ab38478bd0e7e3a32f5cf4d80a352dac7ef132b3ee362c37e88b2cb0dc +SHA512 (priv_wrapper-1.0.1.tar.gz) = 16b3aae8340de1e1e18cc364c24643e1e22823ec1d913ded2ce176afdfc4d590cb2520154a3c6b93e28145476c5597ce7129bddf276acb4882bf1551e967ddfc +SHA512 (priv_wrapper-1.0.1.tar.gz.asc) = 47f9df6054279d7c30b07e286207f5ababf1cfe89a58d1b4e4be2b9c669173b7c30df61d40e52d6e7fc031570f0a2603cf74d2679601f1c7944f870765f02bd1 SHA512 (priv_wrapper.keyring) = 94e0b3873184c3c5bfed321a8cd70696c0d6a0f357ba3dd7ba0e68e3f2ee270c62fa3138b3dc5a869c15e9f6e0e4e14e9d4a060863b1c846a49082c05b68fc71