[arch-commits] Commit in luasec/trunk (PKGBUILD nossl.patch)

Sergej Pupykin spupykin at archlinux.org
Mon Mar 7 22:54:30 UTC 2016


    Date: Monday, March 7, 2016 @ 23:54:29
  Author: spupykin
Revision: 165552

upgpkg: luasec 2:0.5.1-1

upd

Modified:
  luasec/trunk/PKGBUILD
  luasec/trunk/nossl.patch

-------------+
 PKGBUILD    |   16 ++++++++--------
 nossl.patch |   10 ++++------
 2 files changed, 12 insertions(+), 14 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-03-07 21:18:27 UTC (rev 165551)
+++ PKGBUILD	2016-03-07 22:54:29 UTC (rev 165552)
@@ -5,9 +5,9 @@
 
 pkgbase=luasec
 pkgname=(lua-sec lua51-sec lua52-sec)
-pkgver=0.6
-pkgrel=2
-epoch=1
+pkgver=0.5.1
+pkgrel=1
+epoch=2
 pkgdesc='Lua bindings for OpenSSL library to provide TLS/SSL communication.'
 arch=('i686' 'x86_64')
 url='https://github.com/brunoos/luasec/wiki'
@@ -16,13 +16,13 @@
 options=('!buildflags')
 source=("https://github.com/brunoos/luasec/archive/luasec-$pkgver.tar.gz"
 	'nossl.patch')
-md5sums=('14e1aef6d2aae96bbf98afc6b6634af2'
-         '63fb54ac83f025759d2e0e2a562a6748')
+md5sums=('e34e274a57e9045641191eb7398cce2a'
+         'fe42ad255b70610ad04a633d095fbc73')
 
 prepare() {
-#  cd luasec-luasec-$pkgver
-#  patch -p1 < ../nossl.patch
-#  cd ..
+  cd luasec-luasec-$pkgver
+  patch -p1 < ../nossl.patch
+  cd ..
 
   cp -a luasec-luasec-$pkgver luasec-luasec-$pkgver-51
   cp -a luasec-luasec-$pkgver luasec-luasec-$pkgver-52

Modified: nossl.patch
===================================================================
--- nossl.patch	2016-03-07 21:18:27 UTC (rev 165551)
+++ nossl.patch	2016-03-07 22:54:29 UTC (rev 165552)
@@ -1,12 +1,10 @@
-diff -wbBur luasec-luasec-0.6-51/src/context.c luasec-luasec-0.6/src/context.c
---- luasec-luasec-0.6-51/src/context.c	2016-03-03 22:11:46.000000000 +0300
-+++ luasec-luasec-0.6/src/context.c	2016-03-07 16:47:50.328080321 +0300
-@@ -96,11 +96,6 @@
+--- a/src/context.c	2016-03-03 05:35:25.593333327 +0100
++++ b/src/context.c	2016-03-03 05:35:47.793333333 +0100
+@@ -65,10 +65,6 @@ static int set_option_flag(const char *o
   */
  static LSEC_SSL_METHOD* str2method(const char *method)
  {
--  if (!strcmp(method, "any"))     return SSLv23_method();
--  if (!strcmp(method, "sslv23"))  return SSLv23_method();  // deprecated
+-  if (!strcmp(method, "sslv23"))  return SSLv23_method();
 -#ifndef OPENSSL_NO_SSL3
 -  if (!strcmp(method, "sslv3"))   return SSLv3_method();
 -#endif



More information about the arch-commits mailing list