Compare commits
10 Commits
9d1da6cd95
...
180c43040e
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
180c43040e | ||
|
|
a5f8879cdc | ||
|
|
1eddab7ee7 | ||
|
|
f9139bcb7f | ||
|
|
c6b1611802 | ||
|
|
dcae6574bf | ||
|
|
725a5cba44 | ||
|
|
31a2c56872 | ||
|
|
271e09c7da | ||
|
|
2825654f76 |
@ -1,27 +0,0 @@
|
|||||||
From c5270bde4dab84f18c347e82376ef00733865247 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Rob Crittenden <rcritten@redhat.com>
|
|
||||||
Date: Jul 01 2020 15:58:11 +0000
|
|
||||||
Subject: Don't free soptions while it is still needed
|
|
||||||
|
|
||||||
|
|
||||||
Introduced in fbcf03dd44007a9b231e9396cc418a00e1a4b49a trying
|
|
||||||
to avoid leaking soptions and aoptions.
|
|
||||||
|
|
||||||
https://pagure.io/certmonger/issue/163
|
|
||||||
Signed-off-by: Rob Crittenden <rcritten@redhat.com>
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
diff --git a/src/dogtag.c b/src/dogtag.c
|
|
||||||
index 91c9c58..faf81f9 100644
|
|
||||||
--- a/src/dogtag.c
|
|
||||||
+++ b/src/dogtag.c
|
|
||||||
@@ -579,7 +579,6 @@ main(int argc, const char **argv)
|
|
||||||
pin = NULL;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
- free(soptions);
|
|
||||||
/* Add client creds. */
|
|
||||||
if (uid != NULL) {
|
|
||||||
uid = cm_submit_u_url_encode(uid);
|
|
||||||
|
|
||||||
Binary file not shown.
BIN
certmonger-certmonger-0.79.15.tar.gz
Normal file
BIN
certmonger-certmonger-0.79.15.tar.gz
Normal file
Binary file not shown.
@ -1,19 +1,18 @@
|
|||||||
Name: certmonger
|
Name: certmonger
|
||||||
Version: 0.79.11
|
Version: 0.79.15
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: Certificate status monitor and PKI enrollment client
|
Summary: Certificate status monitor and PKI enrollment client
|
||||||
License: GPLv3+
|
License: GPLv3+
|
||||||
URL: http://pagure.io/certmonger/
|
URL: http://pagure.io/certmonger/
|
||||||
Source0: https://pagure.io/certmonger/archive/certmonger-%{version}/certmonger-certmonger-%{version}.tar.gz
|
Source0: https://pagure.io/certmonger/archive/certmonger-%{version}/certmonger-certmonger-%{version}.tar.gz
|
||||||
|
|
||||||
Patch0001: Don-t-free-soptions-while-it-is-still-needed.patch
|
|
||||||
|
|
||||||
BuildRequires: autoconf automake gettext-devel gcc openldap-devel krb5-devel
|
BuildRequires: autoconf automake gettext-devel gcc openldap-devel krb5-devel
|
||||||
BuildRequires: libidn2-devel dbus-devel nspr-devel nss-devel openssl-devel
|
BuildRequires: libidn2-devel dbus-devel nspr-devel nss-devel openssl-devel
|
||||||
BuildRequires: libuuid-devel libtalloc-devel libtevent-devel libcurl-devel
|
BuildRequires: libuuid-devel libtalloc-devel libtevent-devel libcurl-devel
|
||||||
BuildRequires: libxml2-devel xmlrpc-c-devel systemd-units diffutils expect
|
BuildRequires: libxml2-devel xmlrpc-c-devel systemd-units diffutils expect
|
||||||
BuildRequires: nss-tools openssl /usr/bin/dbus-launch /usr/bin/dos2unix
|
BuildRequires: nss-tools openssl /usr/bin/dbus-launch /usr/bin/dos2unix
|
||||||
BuildRequires: /usr/bin/unix2dos /usr/bin/which python2-dbus popt-devel
|
BuildRequires: /usr/bin/unix2dos /usr/bin/which python3-dbus popt-devel
|
||||||
|
BuildRequires: jansson jansson-devel
|
||||||
Requires: dbus
|
Requires: dbus
|
||||||
Requires(post): %{_bindir}/dbus-send systemd-units
|
Requires(post): %{_bindir}/dbus-send systemd-units
|
||||||
Requires(preun): systemd-units dbus sed
|
Requires(preun): systemd-units dbus sed
|
||||||
@ -26,15 +25,17 @@ system enrolled with a certificate authority (CA) and keeping it enrolled.
|
|||||||
|
|
||||||
%package help
|
%package help
|
||||||
Summary: Documentation for help using certmonger
|
Summary: Documentation for help using certmonger
|
||||||
provides: certmonger = %{version}-%{release}
|
|
||||||
|
|
||||||
%description help
|
%description help
|
||||||
This package provides docs for user of certmonger.
|
This package provides docs for user of certmonger.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n certmonger-certmonger-%{version} -p1 -S git
|
%autosetup -n certmonger-certmonger-%{version} -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
%if "%toolchain" == "clang"
|
||||||
|
CFLAGS="$CFLAGS -Wno-error=int-conversion"
|
||||||
|
%endif
|
||||||
autoreconf -i -f
|
autoreconf -i -f
|
||||||
%configure \
|
%configure \
|
||||||
--enable-systemd --enable-tmpfiles --with-homedir=/var/run/certmonger \
|
--enable-systemd --enable-tmpfiles --with-homedir=/var/run/certmonger \
|
||||||
@ -109,6 +110,21 @@ fi
|
|||||||
%{_mandir}/man*/*
|
%{_mandir}/man*/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Apr 21 2023 jammyjellyfish <jammyjellyfish255@outlook.com> - 0.79.15-2
|
||||||
|
- Fix clang build error
|
||||||
|
|
||||||
|
* Mon Feb 06 2023 Ge Wang<wangge20@h-partners.com> -0.79.15-1
|
||||||
|
- Update to 0.79.15 due to openssl update to version 3.0.7
|
||||||
|
|
||||||
|
* Sat Sep 11 2021 wutao <wutao61@huawei.com> - 0.79.11-4
|
||||||
|
- delete help package provides certmonger to solve conflicts
|
||||||
|
|
||||||
|
* Mon May 31 2021 baizhonggui <baizhonggui@huawei.com> - 0.79.11-3
|
||||||
|
- %prep no longer patch with git
|
||||||
|
|
||||||
|
* Tue Oct 27 2020 leiju <leiju4@huawei.com> - 0.79.11-2
|
||||||
|
- Modify BuildRequires from python2-dbus to python3-dbus
|
||||||
|
|
||||||
* Thu Aug 06 2020 lingsheng <lingsheng@huawei.com> - 0.79.11-1
|
* Thu Aug 06 2020 lingsheng <lingsheng@huawei.com> - 0.79.11-1
|
||||||
- Update to 0.79.11
|
- Update to 0.79.11
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user