Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Mar 2018 05:55:53 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r463930 - in head/devel/lua-posix: . files
Message-ID:  <201803090555.w295truh052500@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Fri Mar  9 05:55:53 2018
New Revision: 463930
URL: https://svnweb.freebsd.org/changeset/ports/463930

Log:
  devel/lua-posix: Unbreak; Update to 34.0.4
  
  Port changes:
  * Changed to DISTVERSION
  * Added LICENSE_FILE
  * Simplified post-install
  
  PR:		226449
  Submitted by:	owk <freebsd_ports@k-worx.org>
  Approved by:	tcberner (mentor, implicit)

Deleted:
  head/devel/lua-posix/files/
Modified:
  head/devel/lua-posix/Makefile
  head/devel/lua-posix/distinfo
  head/devel/lua-posix/pkg-plist

Modified: head/devel/lua-posix/Makefile
==============================================================================
--- head/devel/lua-posix/Makefile	Fri Mar  9 05:51:08 2018	(r463929)
+++ head/devel/lua-posix/Makefile	Fri Mar  9 05:55:53 2018	(r463930)
@@ -2,8 +2,8 @@
 # $FreeBSD$
 
 PORTNAME=	posix
-PORTVERSION=	34.0.1
 DISTVERSIONPREFIX=	release-v
+DISTVERSION=	34.0.4
 CATEGORIES=	devel
 PKGNAMEPREFIX=	${LUA_PKGNAMEPREFIX}
 
@@ -11,18 +11,16 @@ MAINTAINER=	ports@FreeBSD.org
 COMMENT=	POSIX layer for Lua
 
 LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BROKEN=		checksum and size mismatch
-
 USES=		lua shebangfix
 SHEBANG_FILES=	${WRKSRC}/build-aux/luke
-
 USE_GITHUB=	yes
-GH_PROJECT=	luaposix
 GH_ACCOUNT=	luaposix
+GH_PROJECT=	luaposix
 
 do-build:
-	cd ${WRKSRC}; ${WRKSRC}/build-aux/luke \
+	@cd ${WRKSRC} && build-aux/luke \
 		version="${PORTVERSION}" \
 		PREFIX="${PREFIX}" \
 		LUA="${LOCALBASE}/bin/lua${LUA_VER_STR}" \
@@ -30,40 +28,11 @@ do-build:
 		CFLAGS="${CFLAGS}"
 
 do-install:
-	cd ${WRKSRC}; ${WRKSRC}/build-aux/luke install \
+	cd ${WRKSRC} && build-aux/luke install \
 		INST_LIBDIR="${STAGEDIR}${LUA_MODLIBDIR}" \
 		INST_LUADIR="${STAGEDIR}${LUA_MODSHAREDIR}"
 
 post-install:
-	${STRIP_CMD} ${STAGEDIR}${LUA_MODLIBDIR}/posix/ctype.so
-	${STRIP_CMD} ${STAGEDIR}${LUA_MODLIBDIR}/posix/dirent.so
-	${STRIP_CMD} ${STAGEDIR}${LUA_MODLIBDIR}/posix/errno.so
-	${STRIP_CMD} ${STAGEDIR}${LUA_MODLIBDIR}/posix/fcntl.so
-	${STRIP_CMD} ${STAGEDIR}${LUA_MODLIBDIR}/posix/fnmatch.so
-	${STRIP_CMD} ${STAGEDIR}${LUA_MODLIBDIR}/posix/glob.so
-	${STRIP_CMD} ${STAGEDIR}${LUA_MODLIBDIR}/posix/grp.so
-	${STRIP_CMD} ${STAGEDIR}${LUA_MODLIBDIR}/posix/libgen.so
-	${STRIP_CMD} ${STAGEDIR}${LUA_MODLIBDIR}/posix/poll.so
-	${STRIP_CMD} ${STAGEDIR}${LUA_MODLIBDIR}/posix/pwd.so
-	${STRIP_CMD} ${STAGEDIR}${LUA_MODLIBDIR}/posix/poll.so
-	${STRIP_CMD} ${STAGEDIR}${LUA_MODLIBDIR}/posix/pwd.so
-	${STRIP_CMD} ${STAGEDIR}${LUA_MODLIBDIR}/posix/sched.so
-	${STRIP_CMD} ${STAGEDIR}${LUA_MODLIBDIR}/posix/signal.so
-	${STRIP_CMD} ${STAGEDIR}${LUA_MODLIBDIR}/posix/stdio.so
-	${STRIP_CMD} ${STAGEDIR}${LUA_MODLIBDIR}/posix/stdlib.so
-	${STRIP_CMD} ${STAGEDIR}${LUA_MODLIBDIR}/posix/sys/msg.so
-	${STRIP_CMD} ${STAGEDIR}${LUA_MODLIBDIR}/posix/sys/resource.so
-	${STRIP_CMD} ${STAGEDIR}${LUA_MODLIBDIR}/posix/sys/socket.so
-	${STRIP_CMD} ${STAGEDIR}${LUA_MODLIBDIR}/posix/sys/stat.so
-	${STRIP_CMD} ${STAGEDIR}${LUA_MODLIBDIR}/posix/sys/statvfs.so
-	${STRIP_CMD} ${STAGEDIR}${LUA_MODLIBDIR}/posix/sys/time.so
-	${STRIP_CMD} ${STAGEDIR}${LUA_MODLIBDIR}/posix/sys/times.so
-	${STRIP_CMD} ${STAGEDIR}${LUA_MODLIBDIR}/posix/sys/utsname.so
-	${STRIP_CMD} ${STAGEDIR}${LUA_MODLIBDIR}/posix/sys/wait.so
-	${STRIP_CMD} ${STAGEDIR}${LUA_MODLIBDIR}/posix/syslog.so
-	${STRIP_CMD} ${STAGEDIR}${LUA_MODLIBDIR}/posix/termio.so
-	${STRIP_CMD} ${STAGEDIR}${LUA_MODLIBDIR}/posix/time.so
-	${STRIP_CMD} ${STAGEDIR}${LUA_MODLIBDIR}/posix/unistd.so
-	${STRIP_CMD} ${STAGEDIR}${LUA_MODLIBDIR}/posix/utime.so
+	@${FIND} ${STAGEDIR}${LUA_MODLIBDIR} -name "*.so" | ${XARGS} ${STRIP_CMD}
 
 .include <bsd.port.mk>

Modified: head/devel/lua-posix/distinfo
==============================================================================
--- head/devel/lua-posix/distinfo	Fri Mar  9 05:51:08 2018	(r463929)
+++ head/devel/lua-posix/distinfo	Fri Mar  9 05:55:53 2018	(r463930)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1500469025
-SHA256 (luaposix-luaposix-release-v34.0.1_GH0.tar.gz) = b4b2583426fdc8faa73e10ad24b8d6f950324f1278f98ed316083a9085b75d1b
-SIZE (luaposix-luaposix-release-v34.0.1_GH0.tar.gz) = 173885
+TIMESTAMP = 1520540525
+SHA256 (luaposix-luaposix-release-v34.0.4_GH0.tar.gz) = d0110e465fdaeedd6662e9fdd40ae88131f7380bd7e1335adac70c24bb70f718
+SIZE (luaposix-luaposix-release-v34.0.4_GH0.tar.gz) = 175204

Modified: head/devel/lua-posix/pkg-plist
==============================================================================
--- head/devel/lua-posix/pkg-plist	Fri Mar  9 05:51:08 2018	(r463929)
+++ head/devel/lua-posix/pkg-plist	Fri Mar  9 05:55:53 2018	(r463930)
@@ -26,7 +26,7 @@
 %%LUA_MODLIBDIR%%/posix/time.so
 %%LUA_MODLIBDIR%%/posix/unistd.so
 %%LUA_MODLIBDIR%%/posix/utime.so
-%%LUA_MODSHAREDIR%%/posix/_argcheck.lua
+%%LUA_MODSHAREDIR%%/posix/_base.lua
 %%LUA_MODSHAREDIR%%/posix/compat.lua
 %%LUA_MODSHAREDIR%%/posix/deprecated.lua
 %%LUA_MODSHAREDIR%%/posix/init.lua



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