Compare commits
No commits in common. "96dcd0d7861d37fd2152db07ff9b205b022b6f2d" and "036a2758d0109937e358a465fd7bb5e1d1b874f0" have entirely different histories.
96dcd0d786
...
036a2758d0
Binary file not shown.
28
librelp-1.2.13-crypto-compliance.patch
Normal file
28
librelp-1.2.13-crypto-compliance.patch
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
diff -up ./src/tcp.c.fix ./src/tcp.c
|
||||||
|
--- ./src/tcp.c.fix 2018-03-26 13:44:07.627189911 +0200
|
||||||
|
+++ ./src/tcp.c 2018-03-26 13:44:51.051915920 +0200
|
||||||
|
@@ -556,23 +556,8 @@ static relpRetVal
|
||||||
|
relpTcpTLSSetPrio(relpTcp_t *const pThis)
|
||||||
|
{
|
||||||
|
int r;
|
||||||
|
- char pristringBuf[4096];
|
||||||
|
- char *pristring;
|
||||||
|
ENTER_RELPFUNC;
|
||||||
|
- /* Compute priority string (in simple cases where the user does not care...) */
|
||||||
|
- if(pThis->pristring == NULL) {
|
||||||
|
- if(pThis->bEnableTLSZip) {
|
||||||
|
- strncpy(pristringBuf, "NORMAL:+ANON-DH:+COMP-ALL", sizeof(pristringBuf));
|
||||||
|
- } else {
|
||||||
|
- strncpy(pristringBuf, "NORMAL:+ANON-DH:+COMP-NULL", sizeof(pristringBuf));
|
||||||
|
- }
|
||||||
|
- pristringBuf[sizeof(pristringBuf)-1] = '\0';
|
||||||
|
- pristring = pristringBuf;
|
||||||
|
- } else {
|
||||||
|
- pristring = pThis->pristring;
|
||||||
|
- }
|
||||||
|
-
|
||||||
|
- r = gnutls_priority_set_direct(pThis->session, pristring, NULL);
|
||||||
|
+ r = gnutls_set_default_priority(pThis->session);
|
||||||
|
if(r == GNUTLS_E_INVALID_REQUEST) {
|
||||||
|
ABORT_FINALIZE(RELP_RET_INVLD_TLS_PRIO);
|
||||||
|
} else if(r != GNUTLS_E_SUCCESS) {
|
||||||
BIN
librelp-1.2.16.tar.gz
Normal file
BIN
librelp-1.2.16.tar.gz
Normal file
Binary file not shown.
13
librelp.spec
13
librelp.spec
@ -1,10 +1,11 @@
|
|||||||
Name: librelp
|
Name: librelp
|
||||||
Version: 1.11.0
|
Version: 1.2.16
|
||||||
Release: 1
|
Release: 3
|
||||||
Summary: An Easy To Use Library For The RELP Protocol
|
Summary: An Easy To Use Library For The RELP Protocol
|
||||||
License: GPLv3+
|
License: GPLv3+
|
||||||
URL: http://www.rsyslog.com/
|
URL: http://www.rsyslog.com/
|
||||||
Source0: http://download.rsyslog.com/librelp/%{name}-%{version}.tar.gz
|
Source0: http://download.rsyslog.com/librelp/%{name}-%{version}.tar.gz
|
||||||
|
Patch0001: librelp-1.2.13-crypto-compliance.patch
|
||||||
Requires(post): glibc
|
Requires(post): glibc
|
||||||
Requires(postun): glibc
|
Requires(postun): glibc
|
||||||
BuildRequires: gnutls-devel >= 1.4.0
|
BuildRequires: gnutls-devel >= 1.4.0
|
||||||
@ -27,7 +28,7 @@ for the librelp library.
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
autoreconf -ivf
|
autoreconf -ivf
|
||||||
%configure --disable-static --disable-tls-openssl
|
%configure --disable-static
|
||||||
%make_build
|
%make_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@ -50,11 +51,5 @@ autoreconf -ivf
|
|||||||
%{_libdir}/pkgconfig/relp.pc
|
%{_libdir}/pkgconfig/relp.pc
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Wed Jun 07 2023 wangkai <13474090681@163.com> - 1.11.0-1
|
|
||||||
- Update to 1.11.0
|
|
||||||
|
|
||||||
* Tue Jan 12 2021 xu_ping<xuping33@huawei.com> - 1.2.16-4
|
|
||||||
- remove AM_INIT_AUTOMAKE to fix AM_INIT_AUTOMAKE expanded multiple times
|
|
||||||
|
|
||||||
* Wed Nov 27 2019 gulining<gulining1@huawei.com> - 1.2.16-3
|
* Wed Nov 27 2019 gulining<gulining1@huawei.com> - 1.2.16-3
|
||||||
- Pakcage init
|
- Pakcage init
|
||||||
|
|||||||
@ -1,4 +0,0 @@
|
|||||||
version_control: github
|
|
||||||
src_repo: rsyslog/librelp
|
|
||||||
tag_prefix: ^v
|
|
||||||
seperator: .
|
|
||||||
Loading…
x
Reference in New Issue
Block a user