forked from pool/lua-luasec
Accepting request 941417 from devel:languages:lua
- regenerate OpenSSL options for build version - Update to version 1.0.2: * Fix handle SSL_send SYSCALL error without errno * Fix off by one in cert:validat(notafter) * Fix meth_get_sinagure => meth_get_signature_name function name * Fix update the Lua state reference on the selected SSL context after SNI * Fix ignore SSL_OP_BIT(n) macro and update option.c * Fix: luaL_Buffer can use the stack and breakbuffer_meth_receive() * Add cert:getsignaturename() OBS-URL: https://build.opensuse.org/request/show/941417 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lua-luasec?expand=0&rev=6
This commit is contained in:
@@ -1,3 +1,22 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Dec 18 16:35:00 UTC 2021 - Callum Farmer <gmbr3@opensuse.org>
|
||||
|
||||
- regenerate OpenSSL options for build version
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Dec 18 15:38:59 UTC 2021 - Callum Farmer <gmbr3@opensuse.org>
|
||||
|
||||
- Update to version 1.0.2:
|
||||
* Fix handle SSL_send SYSCALL error without errno
|
||||
* Fix off by one in cert:validat(notafter)
|
||||
* Fix meth_get_sinagure => meth_get_signature_name function name
|
||||
* Fix update the Lua state reference on the selected SSL context
|
||||
after SNI
|
||||
* Fix ignore SSL_OP_BIT(n) macro and update option.c
|
||||
* Fix: luaL_Buffer can use the stack and
|
||||
breakbuffer_meth_receive()
|
||||
* Add cert:getsignaturename()
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 18 15:57:10 UTC 2021 - Callum Farmer <gmbr3@opensuse.org>
|
||||
|
||||
|
@@ -16,9 +16,15 @@
|
||||
#
|
||||
|
||||
|
||||
%define flavor @BUILD_FLAVOR@
|
||||
%define flavor @BUILD_FLAVOR@%{nil}
|
||||
%define mod_name luasec
|
||||
Version: 0.9
|
||||
%if "%{flavor}" == ""
|
||||
Name: lua-%{mod_name}
|
||||
ExclusiveArch: do_not_build
|
||||
%else
|
||||
Name: %{flavor}-%{mod_name}
|
||||
%endif
|
||||
Version: 1.0.2
|
||||
Release: 0
|
||||
Summary: A Lua binding for OpenSSL
|
||||
License: MIT
|
||||
@@ -31,12 +37,6 @@ BuildRequires: libopenssl-devel
|
||||
Requires: %{flavor}
|
||||
Requires: %{flavor}-luasocket
|
||||
%lua_provides
|
||||
%if "%{flavor}" == ""
|
||||
Name: lua-%{mod_name}
|
||||
ExclusiveArch: do_not_build
|
||||
%else
|
||||
Name: %{flavor}-%{mod_name}
|
||||
%endif
|
||||
|
||||
%description
|
||||
It is a binding for OpenSSL library to provide TLS/SSL communication.
|
||||
@@ -44,10 +44,15 @@ It takes an already established TCP connection and creates a secure
|
||||
session between the peers.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{mod_name}-%{version}
|
||||
%autosetup -n %{mod_name}-%{version}
|
||||
|
||||
%build
|
||||
make %{?_smp_mflags} linux \
|
||||
# regenerate OpenSSL options
|
||||
cd src
|
||||
lua options.lua -g /usr/include/openssl/ssl.h > options.c
|
||||
cd ..
|
||||
#
|
||||
%make_build linux \
|
||||
CFLAGS="%{optflags} -fPIC -I%{lua_incdir} -I. -DWITH_LUASOCKET -DLUASOCKET_DEBUG -DLUA_COMPAT_APIINTCASTS"
|
||||
|
||||
%install
|
||||
|
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:6b6b94e8517bf6baf545fad29a2112f9ac7957ad85b4aae8e0727bec77d7a325
|
||||
size 52163
|
3
luasec-1.0.2.tar.gz
Normal file
3
luasec-1.0.2.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:0001e24323beee51cd1ee186b369b50a19696d59960b537093883e5ce264d886
|
||||
size 52838
|
Reference in New Issue
Block a user