pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/security/lua-sec



Module Name:    pkgsrc
Committed By:   mef
Date:           Mon Jan  6 23:55:48 UTC 2020

Modified Files:
        pkgsrc/security/lua-sec: Makefile distinfo
        pkgsrc/security/lua-sec/patches: patch-src_Makefile

Log Message:
(security/lua-sec) Updated 0.6 to 0.9

--------------------------------------------------------------------------
LuaSec 0.9
---------------
This version includes:

* Add DNS-based Authentication of Named Entities (DANE) support
* Add __close() metamethod
* Fix deprecation warnings with OpenSSL 1.1
* Fix special case listing of TLS 1.3 EC curves
* Fix general_name leak in cert:extensions()
* Fix unexported 'ssl.config' table
* Replace $(LD) with $(CCLD) variable
* Remove multiple definitions of 'ssl_options' variable
* Use tag in git format: v0.9

--------------------------------------------------------------------------
LuaSec 0.8.2
---------------
This version includes:

* Fix unexported 'ssl.config' table (backported)

--------------------------------------------------------------------------
LuaSec 0.8.1
---------------
This version includes:

* Fix general_name leak in cert:extensions() (backported)

--------------------------------------------------------------------------
LuaSec 0.8
---------------
This version includes:

* Add support to ALPN
* Add support to TLS 1.3
* Add support to multiple certificates
* Add timeout to https module (https.TIMEOUT)
* Drop support to SSL 3.0
* Drop support to TLS 1.0 from https module
* Fix invalid reference to Lua state
* Fix memory leak when get certficate extensions

--------------------------------------------------------------------------
LuaSec 0.7.2
---------------
This version includes:

* Fix unexported 'ssl.config' table (backported)

--------------------------------------------------------------------------
LuaSec 0.7.1
---------------
This version includes:

* Fix general_name leak in cert:extensions() (backported)

--------------------------------------------------------------------------
LuaSec 0.7
---------------
LuaSec depends  on OpenSSL, and  integrates with LuaSocket to  make it
easy to add secure connections to any Lua applications or scripts.

Documentation: https://github.com/brunoos/luasec/wiki

This version includes:

* Add support to OpenSSL 1.1.0
* Add support to elliptic curves list
* Add ssl.config that exports some OpenSSL information
* Add integration with luaossl


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 pkgsrc/security/lua-sec/Makefile
cvs rdiff -u -r1.8 -r1.9 pkgsrc/security/lua-sec/distinfo
cvs rdiff -u -r1.1 -r1.2 pkgsrc/security/lua-sec/patches/patch-src_Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/security/lua-sec/Makefile
diff -u pkgsrc/security/lua-sec/Makefile:1.15 pkgsrc/security/lua-sec/Makefile:1.16
--- pkgsrc/security/lua-sec/Makefile:1.15       Sat Jun  4 21:48:11 2016
+++ pkgsrc/security/lua-sec/Makefile    Mon Jan  6 23:55:47 2020
@@ -1,10 +1,11 @@
-# $NetBSD: Makefile,v 1.15 2016/06/04 21:48:11 alnsn Exp $
+# $NetBSD: Makefile,v 1.16 2020/01/06 23:55:47 mef Exp $
 
-DISTNAME=              luasec-0.6
+VERSION=               0.9
+DISTNAME=              luasec-${VERSION}
 PKGNAME=               ${DISTNAME:S/luasec/${LUA_PKGPREFIX}-sec/}
 CATEGORIES=            security
 MASTER_SITES=          ${MASTER_SITE_GITHUB:=brunoos/}
-GITHUB_TAG=            ${DISTNAME}
+GITHUB_TAG=            v${VERSION}
 GITHUB_PROJECT=                ${DISTNAME:S/-${PKGVERSION_NOREV}//}
 
 MAINTAINER=            pkgsrc-users%NetBSD.org@localhost
@@ -16,7 +17,7 @@ DEPENDS+=             ${LUA_PKGPREFIX}-socket>=2.0:
 
 USE_TOOLS+=            gmake
 
-WRKSRC=                        ${WRKDIR}/luasec-${DISTNAME}
+#RKSRC=                        ${WRKDIR}/luasec-${DISTNAME}
 INSTALLATION_DIRS+=    ${LUA_CDIR} ${LUA_LDIR}
 
 BUILD_TARGET.SunOS=    solaris

Index: pkgsrc/security/lua-sec/distinfo
diff -u pkgsrc/security/lua-sec/distinfo:1.8 pkgsrc/security/lua-sec/distinfo:1.9
--- pkgsrc/security/lua-sec/distinfo:1.8        Sat Jun  4 21:48:11 2016
+++ pkgsrc/security/lua-sec/distinfo    Mon Jan  6 23:55:47 2020
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.8 2016/06/04 21:48:11 alnsn Exp $
+$NetBSD: distinfo,v 1.9 2020/01/06 23:55:47 mef Exp $
 
-SHA1 (luasec-0.6.tar.gz) = 3204c0ac99f7be1952ad8f1157e83cc513491cb4
-RMD160 (luasec-0.6.tar.gz) = fc34ead1ec17b42991f8599f888007ab677dc6af
-SHA512 (luasec-0.6.tar.gz) = f7004a329153d0126a3ea27b4986e9d83fb8f2de9c5c2f0c96427c50cc42e1252c69fd8cc69e2e8d423745d2dbfdb5a781b609938f7f502c7aedeb99fd0778cd
-Size (luasec-0.6.tar.gz) = 51071 bytes
+SHA1 (luasec-0.9.tar.gz) = d6560dd160cb3f5079ec53f148636e4dd41b10b7
+RMD160 (luasec-0.9.tar.gz) = d5dc4dfcf122897f681f2f7b0f9f1e9981501525
+SHA512 (luasec-0.9.tar.gz) = ea601016328232ca0ff12be72897eeedac88a78834a63e1c36d2828a3187039665a2c60597b5af1fa6917b6fe87cd292fbcdfabcd67bab968f587e038d52a933
+Size (luasec-0.9.tar.gz) = 52163 bytes
 SHA1 (patch-Makefile) = 17ae13eecf9ce9269e8ef9a826507bd6230c3364
-SHA1 (patch-src_Makefile) = c29625c3fd30cca14138867141586250487b2205
+SHA1 (patch-src_Makefile) = 238809a918f58d9c3fb73aab458dfac346a36165

Index: pkgsrc/security/lua-sec/patches/patch-src_Makefile
diff -u pkgsrc/security/lua-sec/patches/patch-src_Makefile:1.1 pkgsrc/security/lua-sec/patches/patch-src_Makefile:1.2
--- pkgsrc/security/lua-sec/patches/patch-src_Makefile:1.1      Sat Jun  4 21:48:12 2016
+++ pkgsrc/security/lua-sec/patches/patch-src_Makefile  Mon Jan  6 23:55:47 2020
@@ -1,19 +1,19 @@
-$NetBSD: patch-src_Makefile,v 1.1 2016/06/04 21:48:12 alnsn Exp $
+$NetBSD: patch-src_Makefile,v 1.2 2020/01/06 23:55:47 mef Exp $
 
 Pass proper libs for SunOS.
 
---- src/Makefile.orig  2016-03-03 19:11:46.000000000 +0000
-+++ src/Makefile
-@@ -6,7 +6,7 @@ OBJS= \
-  context.o \
-  ssl.o
+--- src/Makefile.orig  2019-10-31 23:43:53.000000000 +0900
++++ src/Makefile       2020-01-07 08:51:05.242195762 +0900
+@@ -9,7 +9,7 @@ OBJS= \
+  config.o  \
+  ec.o
  
 -LIBS=-lssl -lcrypto -lluasocket
 +LIBS=-lssl -lcrypto -lluasocket $(MYLIBS)
  
  WARN=-Wall -pedantic
  
-@@ -20,6 +20,9 @@ MAC_ENV=env MACOSX_DEPLOYMENT_TARGET='$(
+@@ -23,6 +23,9 @@ MAC_ENV=env MACOSX_DEPLOYMENT_TARGET='$(
  MAC_CFLAGS=-O2 -fno-common $(WARN) $(INCDIR) $(DEFS)
  MAC_LDFLAGS=-bundle -undefined dynamic_lookup $(LIBDIR)
  
@@ -21,25 +21,25 @@ Pass proper libs for SunOS.
 +SOL_LDFLAGS=-O -shared -fpic $(LIBDIR)
 +
  INSTALL  = install
- CC       = cc
- LD       = $(MYENV) cc
-@@ -31,10 +34,11 @@ LDFLAGS += $(MYLDFLAGS)
+ CC      ?= cc
+ CCLD      ?= $(MYENV) $(CC)
+@@ -34,10 +37,11 @@ LDFLAGS += $(MYLDFLAGS)
  all:
  
  install: $(CMOD) $(LMOD)
--      $(INSTALL) -d $(LUAPATH)/ssl $(LUACPATH)
--      $(INSTALL) $(CMOD) $(LUACPATH)
--      $(INSTALL) -m644 $(LMOD) $(LUAPATH)
--      $(INSTALL) -m644 https.lua $(LUAPATH)/ssl
-+      $(BSD_INSTALL_DATA_DIR) $(DESTDIR)$(LUAPATH)/ssl
-+      $(BSD_INSTALL_LIB_DIR)  $(DESTDIR)$(LUACPATH)
-+      $(BSD_INSTALL_LIB) $(CMOD) $(DESTDIR)$(LUACPATH)
-+      $(BSD_INSTALL_DATA) $(LMOD) $(DESTDIR)$(LUAPATH)
-+      $(BSD_INSTALL_DATA) https.lua $(DESTDIR)$(LUAPATH)/ssl
+-      $(INSTALL) -d $(DESTDIR)$(LUAPATH)/ssl $(DESTDIR)$(LUACPATH)
+-      $(INSTALL) $(CMOD) $(DESTDIR)$(LUACPATH)
+-      $(INSTALL) -m644 $(LMOD) $(DESTDIR)$(LUAPATH)
+-      $(INSTALL) -m644 https.lua $(DESTDIR)$(LUAPATH)/ssl
++      $(BSD_INSTALL_DATA_DIR)             $(DESTDIR)$(LUAPATH)/ssl
++      $(BSD_INSTALL_LIB_DIR)              $(DESTDIR)$(LUACPATH)
++      $(BSD_INSTALL_DATA) $(CMOD)      $(DESTDIR)$(LUACPATH)
++      $(BSD_INSTALL_DATA) -m644 $(LMOD)   $(DESTDIR)$(LUAPATH)
++      $(BSD_INSTALL_DATA) -m644 https.lua $(DESTDIR)$(LUAPATH)/ssl
  
  linux:
        @$(MAKE) $(CMOD) MYCFLAGS="$(LNX_CFLAGS)" MYLDFLAGS="$(LNX_LDFLAGS)" EXTRA="$(EXTRA)"
-@@ -45,6 +49,9 @@ bsd:
+@@ -48,6 +52,9 @@ bsd:
  macosx:
        @$(MAKE) $(CMOD) MYCFLAGS="$(MAC_CFLAGS)" MYLDFLAGS="$(MAC_LDFLAGS)" MYENV="$(MAC_ENV)" EXTRA="$(EXTRA)"
  



Home | Main Index | Thread Index | Old Index