Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Nov 2020 01:01:58 +0000 (UTC)
From:      Kyle Evans <kevans@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r556141 - in head/devel/luafilesystem: . files
Message-ID:  <202011240101.0AO11wbP093049@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kevans
Date: Tue Nov 24 01:01:58 2020
New Revision: 556141
URL: https://svnweb.freebsd.org/changeset/ports/556141

Log:
  devel/luafilesystem: update to 1.8.0
  
  The highlights are that Lua 5.4 is now supported and memory leak due to
  a potential realloc failure was fixed.
  
  Builds fine without the Makefile patch (some of it has been incorporated),
  config patch has been adjusted.
  
  PR:		250409
  Approved by:	fiziologus@gmail.com (maintainer timeout, ~4 weeks)
  MFC after:	1 week

Deleted:
  head/devel/luafilesystem/files/patch-Makefile
Modified:
  head/devel/luafilesystem/Makefile
  head/devel/luafilesystem/distinfo
  head/devel/luafilesystem/files/patch-config

Modified: head/devel/luafilesystem/Makefile
==============================================================================
--- head/devel/luafilesystem/Makefile	Tue Nov 24 00:56:50 2020	(r556140)
+++ head/devel/luafilesystem/Makefile	Tue Nov 24 01:01:58 2020	(r556141)
@@ -3,8 +3,7 @@
 
 PORTNAME=	luafilesystem
 DISTVERSIONPREFIX=	v
-DISTVERSION=	1_7_0
-PORTREVISION=	1
+DISTVERSION=	1_8_0
 CATEGORIES=	devel
 PKGNAMEPREFIX=	${LUA_PKGNAMEPREFIX}
 
@@ -13,7 +12,7 @@ COMMENT=	Library to access directory structure and fil
 
 LICENSE=	MIT
 
-USES=		lua:-53,module
+USES=		lua:module
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	keplerproject

Modified: head/devel/luafilesystem/distinfo
==============================================================================
--- head/devel/luafilesystem/distinfo	Tue Nov 24 00:56:50 2020	(r556140)
+++ head/devel/luafilesystem/distinfo	Tue Nov 24 01:01:58 2020	(r556141)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1506581912
-SHA256 (keplerproject-luafilesystem-v1_7_0_GH0.tar.gz) = 854ef99b6a4eb48af00c304e26fc4429094a8612003a7a81ba22014f32e85db3
-SIZE (keplerproject-luafilesystem-v1_7_0_GH0.tar.gz) = 30829
+TIMESTAMP = 1602883563
+SHA256 (keplerproject-luafilesystem-v1_8_0_GH0.tar.gz) = 16d17c788b8093f2047325343f5e9b74cccb1ea96001e45914a58bbae8932495
+SIZE (keplerproject-luafilesystem-v1_8_0_GH0.tar.gz) = 30374

Modified: head/devel/luafilesystem/files/patch-config
==============================================================================
--- head/devel/luafilesystem/files/patch-config	Tue Nov 24 00:56:50 2020	(r556140)
+++ head/devel/luafilesystem/files/patch-config	Tue Nov 24 01:01:58 2020	(r556141)
@@ -1,31 +1,33 @@
---- config.orig	2015-01-15 18:58:20 UTC
+--- config.orig	2020-04-23 01:16:42 UTC
 +++ config
-@@ -1,24 +1,24 @@
+@@ -1,16 +1,15 @@
  # Installation directories
  
  # Default installation prefix
 -PREFIX=/usr/local
-+PREFIX=%%PREFIX%%
++PREFIX?=/usr/local
  
+-LUA_VERSION = 5.1
++LUA_VERSION?= 5.1
+ 
  # System's libraries directory (where binary libraries are installed)
--LUA_LIBDIR= $(PREFIX)/lib/lua/5.1
+-LUA_LIBDIR= $(PREFIX)/lib/lua/$(LUA_VERSION)
 +LUA_LIBDIR= %%MODLIBDIR%%
  
  # Lua includes directory
--LUA_INC= $(PREFIX)/include
-+LUA_INC= %%INCDIR%%
+-LUA_INC += -I$(PREFIX)/include
+-LUA_INC += -I/usr/include/lua$(LUA_VERSION) -I/usr/include/lua/$(LUA_VERSION)
++LUA_INC += %%INCDIR%%
  
  # OS dependent
  LIB_OPTION= -shared #for Linux
- #LIB_OPTION= -bundle -undefined dynamic_lookup #for MacOS X
- 
--LIBNAME= $T.so.$V
-+LIBNAME= $T.so
- 
+@@ -22,7 +21,7 @@ MACOSX_DEPLOYMENT_TARGET= 10.5
  # Compilation directives
  WARN= -O2 -Wall -fPIC -W -Waggregate-return -Wcast-align -Wmissing-prototypes -Wnested-externs -Wshadow -Wwrite-strings -pedantic
- INCS= -I$(LUA_INC)
+ INCS= $(LUA_INC)
 -CFLAGS= $(WARN) $(INCS)
 -CC= gcc
 +CFLAGS+= $(WARN) $(INCS)
 +CC?= gcc
+ 
+ # $Id: config,v 1.21 2007/10/27 22:42:32 carregal Exp $



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202011240101.0AO11wbP093049>