commit 561fda8af6acfa1f041ab7d84d2154f216e28fbeeb85e468a2e1f1350734895c Author: Tomáš Chvátal Date: Thu Jul 13 20:58:11 2017 +0000 osc copypac from project:devel:languages:lua package:lua51-luasec revision:6, using expand OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-luasec?expand=0&rev=2 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/lua51-luasec.changes b/lua51-luasec.changes new file mode 100644 index 0000000..1d16522 --- /dev/null +++ b/lua51-luasec.changes @@ -0,0 +1,41 @@ +------------------------------------------------------------------- +Tue Jul 11 09:23:19 UTC 2017 - tchvatal@suse.com + +- Version update to 0.6: + * compat with lua5.2 and lua5.3 + * bunch of bugfixes +- Fix build with namespaced lua +- Respect optflags + +------------------------------------------------------------------- +Sat Sep 17 04:03:22 UTC 2016 - mailaender@opensuse.org + +- update to version 0.5.1 +- drop luasec-makefile.patch + +------------------------------------------------------------------- +Mon Oct 20 16:17:49 UTC 2014 - i@marguerite.su + +- update version 0.5+git20140911 + +------------------------------------------------------------------- +Sun Feb 23 10:42:32 UTC 2014 - i@marguerite.su + +- update version 0.5.git20140223 +- no longer %optflags. -fstack-protector doesn't work. + +------------------------------------------------------------------- +Fri Jun 28 18:19:53 UTC 2013 - i@marguerite.su + +- use lua51-devel for openSUSE 12.2+. + +------------------------------------------------------------------- +Sat Feb 11 22:48:06 UTC 2012 - toganm@opensuse.org + +- Update to 0.4.1 + + * SSL options updated --- based on OpenSSL 1.0.0d. + * Activate SSL_MODE_RELEASE_BUFFERS by default if it is available. + (thanks Prosody Project) + * Enabled rpm %optflags + * added changes file diff --git a/lua51-luasec.spec b/lua51-luasec.spec new file mode 100644 index 0000000..993e447 --- /dev/null +++ b/lua51-luasec.spec @@ -0,0 +1,51 @@ +# +# spec file for package lua51-luasec +# +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + + +Name: lua51-luasec +Version: 0.6 +Release: 0 +Summary: A Lua binding for OpenSSL +License: MIT +Group: Productivity/Networking/Other +Url: https://github.com/brunoos/luasec +Source: https://github.com/brunoos/luasec/archive/luasec-%{version}.tar.gz +BuildRequires: libopenssl-devel +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: lua51-devel + +%description +It is a binding for OpenSSL library to provide TLS/SSL communication. +It takes an already established TCP connection and creates a secure +session between the peers. + +%prep +%setup -q -n luasec-luasec-%{version} + +%build +make %{?_smp_mflags} linux CFLAGS="%{optflags} -fPIC -I%{lua_incdir} -I/usr/include -I." + +%install +%make_install LUAPATH=%{buildroot}%{lua_noarchdir} LUACPATH=%{buildroot}%{lua_archdir} + +%files +%defattr(-,root,root) +%{lua_archdir}/ssl.so +%{lua_noarchdir}/ssl.lua +%{lua_noarchdir}/ssl/ + +%changelog diff --git a/luasec-0.6.tar.gz b/luasec-0.6.tar.gz new file mode 100644 index 0000000..b4bcd84 --- /dev/null +++ b/luasec-0.6.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cef3a35c18beb8a54d9c8ce6260a4cabbd9a386de8711320d084daffad0aed5d +size 51071