Received: by mail.netbsd.org (Postfix, from userid 605) id D58C584DCB; Thu, 2 Jul 2020 12:13:37 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 5DCB384DC7 for ; Thu, 2 Jul 2020 12:13:37 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id uaFxCEupRyq1 for ; Thu, 2 Jul 2020 12:13:36 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id CECD784DC5 for ; Thu, 2 Jul 2020 12:13:36 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id C89E8FB28; Thu, 2 Jul 2020 12:13:36 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_159369201651680" MIME-Version: 1.0 Date: Thu, 2 Jul 2020 12:13:36 +0000 From: "Nia Alarie" Subject: CVS commit: pkgsrc/devel/lua-rocks To: pkgsrc-changes@NetBSD.org Reply-To: nia@netbsd.org X-Mailer: log_accum Message-Id: <20200702121336.C89E8FB28@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_159369201651680 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: nia Date: Thu Jul 2 12:13:36 UTC 2020 Modified Files: pkgsrc/devel/lua-rocks: Makefile distinfo Added Files: pkgsrc/devel/lua-rocks/patches: patch-src_luarocks_core_cfg.lua Log Message: lua-rocks: Force pkgsrc unzip. Otherwise it complains: Error: Failed unpacking rock file: /tmp/luarocks_luarocks-rock-digestif-0.3-1-B5qFAU/digestif-0.3-1.src.rock: 'unzip -n' program not found. Make sure unzip is installed and is available in your PATH (or you may want to edit the 'variables.UNZIP' value in file '/usr/pkg/etc/luarocks/config-5.4.lua') To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 pkgsrc/devel/lua-rocks/Makefile cvs rdiff -u -r1.6 -r1.7 pkgsrc/devel/lua-rocks/distinfo cvs rdiff -u -r0 -r1.1 \ pkgsrc/devel/lua-rocks/patches/patch-src_luarocks_core_cfg.lua Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_159369201651680 Content-Disposition: inline Content-Length: 2335 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/devel/lua-rocks/Makefile diff -u pkgsrc/devel/lua-rocks/Makefile:1.11 pkgsrc/devel/lua-rocks/Makefile:1.12 --- pkgsrc/devel/lua-rocks/Makefile:1.11 Thu Jul 2 10:26:18 2020 +++ pkgsrc/devel/lua-rocks/Makefile Thu Jul 2 12:13:36 2020 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.11 2020/07/02 10:26:18 nia Exp $ +# $NetBSD: Makefile,v 1.12 2020/07/02 12:13:36 nia Exp $ DISTNAME= luarocks-3.3.1 PKGNAME= ${DISTNAME:S/luarocks/${LUA_PKGPREFIX}-rocks/} @@ -19,6 +19,8 @@ MAKE_FILE= GNUmakefile .include "../../mk/bsd.prefs.mk" +PREFER.unzip= pkgsrc + HAS_CONFIGURE= yes USE_LANGUAGES= # none Index: pkgsrc/devel/lua-rocks/distinfo diff -u pkgsrc/devel/lua-rocks/distinfo:1.6 pkgsrc/devel/lua-rocks/distinfo:1.7 --- pkgsrc/devel/lua-rocks/distinfo:1.6 Wed Jul 1 11:06:40 2020 +++ pkgsrc/devel/lua-rocks/distinfo Thu Jul 2 12:13:36 2020 @@ -1,7 +1,8 @@ -$NetBSD: distinfo,v 1.6 2020/07/01 11:06:40 nia Exp $ +$NetBSD: distinfo,v 1.7 2020/07/02 12:13:36 nia Exp $ SHA1 (luarocks-3.3.1.tar.gz) = b85a4afd890d172994f4ebc95fe647f71de7eeb4 RMD160 (luarocks-3.3.1.tar.gz) = 937a2d6d62474e3245927dc77fbe982b8ca4f2bb SHA512 (luarocks-3.3.1.tar.gz) = 0a695ceb30ae575cbca52abd2aad9675e33a234c53c5d1e125442d874c21e0e3cf6157431f07085e4311f81833680366adfe5c626a66cb5880380b48899a116a Size (luarocks-3.3.1.tar.gz) = 241636 bytes SHA1 (patch-GNUmakefile) = 1f84ae6e926a57b07abcc65789d784c8e6a0fa75 +SHA1 (patch-src_luarocks_core_cfg.lua) = 24c8c7e66fa12b2daf67924ac8ae0a2458380250 Added files: Index: pkgsrc/devel/lua-rocks/patches/patch-src_luarocks_core_cfg.lua diff -u /dev/null pkgsrc/devel/lua-rocks/patches/patch-src_luarocks_core_cfg.lua:1.1 --- /dev/null Thu Jul 2 12:13:36 2020 +++ pkgsrc/devel/lua-rocks/patches/patch-src_luarocks_core_cfg.lua Thu Jul 2 12:13:36 2020 @@ -0,0 +1,15 @@ +$NetBSD: patch-src_luarocks_core_cfg.lua,v 1.1 2020/07/02 12:13:36 nia Exp $ + +It seems to not like NetBSD unzip(1). + +--- src/luarocks/core/cfg.lua.orig 2020-02-07 10:24:14.000000000 +0000 ++++ src/luarocks/core/cfg.lua +@@ -253,7 +253,7 @@ local function make_defaults(lua_version + MKTEMP = "mktemp", + + ZIP = "zip", +- UNZIP = "unzip -n", ++ UNZIP = "@PREFIX@/bin/unzip -n", + GUNZIP = "gunzip", + BUNZIP2 = "bunzip2", + TAR = "tar", --_----------=_159369201651680--