pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/lua-rocks



Module Name:    pkgsrc
Committed By:   nia
Date:           Sun May  2 07:48:22 UTC 2021

Modified Files:
        pkgsrc/devel/lua-rocks: Makefile PLIST distinfo

Log Message:
lua-rocks: update to 3.7.0

## What's new in LuaRocks 3.7.0

* Improved connectivity resiliency
  * LuaRocks can now use mirrors for downloading rocks even if downloading
    the manifest from the main server succeeds.
    In previous versions, LuaRocks would check whether to use a mirror in the first
    download operation, when it fetches the manifest. Once the server
    (luarocks.org or one of its default mirrors) was chosen, it would stick with
    it for the rest of the command.
    The resulting behavior was that if the manifest fails to load, it switches to
    a mirror and continues from there. But if the manifest fetches ok and the then
    actual rock download fails, it would give up, instead of trying that in a
    mirror as well.
    Now, it retries every download on a mirror whenever the base URL matches one
    configured in cfg.rocks_servers. The original behavior was satisfactory if
    there was complete downtime in the main server, but this new behavior should
    make the CLI much more resilient with regard to any intermittent failures
    happening on the main server.
* On Unix, it now respects environment variables $XDG_CACHE_HOME and $XDG_CONFIG_HOME
  * This means the user's configuration typically resides in ~/.config/luarocks/
    as per the XDG standard
  * The legacy path ~/.luarocks/ continues to be tested first, for backwards
    compatibility
* Fixes check for the default Lua version set in the user's home configuration
* Fixes an issue on Windows where it would incorrectly revoke permissions
  from the current user when installing

## What's new in LuaRocks 3.6.0

* Adds a double-check step to verify that all files from a rock are installed
* Improve resilience of the manifest reader to deal with manifests
  written with older versions of LuaRocks lower than 3.0
* `luarocks pack` now checks that the directory inside the archive being packed
  as a `.src.rock` actually exists, refusing to pack an invalid rock from
  a badly configured rockspec.
* Fixes behavior of `luarocks pack` when the `url` entry of a rockspec
  points to a bare file.
* Remove an entry from the manifest if the rock itself is already missing
* The `configure` script now checks that the version of `lua.h`
  found matches that of the Lua interpreter detected or configured
* Fixes the renaming of scripts when multiple versions are installed
* Fixes availability check for `svn` for rockspecs using Subversion
* Fixes for running with an empty PATH environment variable
* Portability improvements:
  * Windows: vcvarsall.bat output is now properly redirected to NUL
    meaning that the output of `luarocks path` can be used in scripts
  * Fixes autodetection for Cygwin
  * Handles macOS versions greater than 10.10
  * Adds platform specific configurations for NetBSD
  * Respects CC/CFLAGS/LDFLAGS on FreeBSD
* Luacheck now runs on the LuaRocks CI
* Distributed binaries are built using Lua 5.3


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 pkgsrc/devel/lua-rocks/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/devel/lua-rocks/PLIST
cvs rdiff -u -r1.8 -r1.9 pkgsrc/devel/lua-rocks/distinfo

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

Modified files:

Index: pkgsrc/devel/lua-rocks/Makefile
diff -u pkgsrc/devel/lua-rocks/Makefile:1.16 pkgsrc/devel/lua-rocks/Makefile:1.17
--- pkgsrc/devel/lua-rocks/Makefile:1.16        Sat Dec 19 11:30:24 2020
+++ pkgsrc/devel/lua-rocks/Makefile     Sun May  2 07:48:22 2021
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.16 2020/12/19 11:30:24 nia Exp $
+# $NetBSD: Makefile,v 1.17 2021/05/02 07:48:22 nia Exp $
 
-DISTNAME=      luarocks-3.5.0
+DISTNAME=      luarocks-3.7.0
 PKGNAME=       ${DISTNAME:S/luarocks/${LUA_PKGPREFIX}-rocks/}
 CATEGORIES=    devel lua
 MASTER_SITES=  https://luarocks.org/releases/

Index: pkgsrc/devel/lua-rocks/PLIST
diff -u pkgsrc/devel/lua-rocks/PLIST:1.3 pkgsrc/devel/lua-rocks/PLIST:1.4
--- pkgsrc/devel/lua-rocks/PLIST:1.3    Wed Jul  1 11:06:40 2020
+++ pkgsrc/devel/lua-rocks/PLIST        Sun May  2 07:48:22 2021
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2020/07/01 11:06:40 nia Exp $
+@comment $NetBSD: PLIST,v 1.4 2021/05/02 07:48:22 nia Exp $
 bin/luarocks-${LUADOTVER}
 bin/luarocks-admin-${LUADOTVER}
 ${LUA_EXAMPLESDIR}/config-${LUADOTVER}.lua
@@ -66,6 +66,7 @@ ${LUA_LDIR}/luarocks/fs/freebsd.lua
 ${LUA_LDIR}/luarocks/fs/linux.lua
 ${LUA_LDIR}/luarocks/fs/lua.lua
 ${LUA_LDIR}/luarocks/fs/macosx.lua
+${LUA_LDIR}/luarocks/fs/netbsd.lua
 ${LUA_LDIR}/luarocks/fs/tools.lua
 ${LUA_LDIR}/luarocks/fs/unix.lua
 ${LUA_LDIR}/luarocks/fs/unix/tools.lua

Index: pkgsrc/devel/lua-rocks/distinfo
diff -u pkgsrc/devel/lua-rocks/distinfo:1.8 pkgsrc/devel/lua-rocks/distinfo:1.9
--- pkgsrc/devel/lua-rocks/distinfo:1.8 Sat Dec 19 11:30:24 2020
+++ pkgsrc/devel/lua-rocks/distinfo     Sun May  2 07:48:22 2021
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.8 2020/12/19 11:30:24 nia Exp $
+$NetBSD: distinfo,v 1.9 2021/05/02 07:48:22 nia Exp $
 
-SHA1 (luarocks-3.5.0.tar.gz) = 6bede6287c588f0501e601da058c6d4724af21ad
-RMD160 (luarocks-3.5.0.tar.gz) = f0dbd59585cee9d53f461d31e55c614e94f9641d
-SHA512 (luarocks-3.5.0.tar.gz) = fda01b7149839adf7c0e1c05d0f1793e79575c5d378d96ee1e197828e9b9b6e89a635f8a26a5b71db5b48465ef74b219fac18ecdbd59962cbf9da613b05dd42a
-Size (luarocks-3.5.0.tar.gz) = 244798 bytes
+SHA1 (luarocks-3.7.0.tar.gz) = 7cf3437f80e5a454b6731b7ff5d1f25ceff008f4
+RMD160 (luarocks-3.7.0.tar.gz) = 034217b401674f4ef057053ad0efd70844cb3554
+SHA512 (luarocks-3.7.0.tar.gz) = cc3c555c488da9f95a118eedb74cb9e2a38b572e172958843dabebce125524e58a13ac65e89a349deb8fef13b6de751074fc3adbb430ab55d4e4109288119153
+Size (luarocks-3.7.0.tar.gz) = 247576 bytes
 SHA1 (patch-GNUmakefile) = 1f84ae6e926a57b07abcc65789d784c8e6a0fa75
 SHA1 (patch-src_luarocks_core_cfg.lua) = 24c8c7e66fa12b2daf67924ac8ae0a2458380250



Home | Main Index | Thread Index | Old Index