Date: Fri, 14 Feb 2014 04:45:43 GMT From: Haowu Ge <ghw@7axu.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/186754: New Port: archivers/lua-zlib Message-ID: <201402140445.s1E4jhWX060009@cgiserv.freebsd.org> Resent-Message-ID: <201402140450.s1E4o0OM020875@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 186754 >Category: ports >Synopsis: New Port: archivers/lua-zlib >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Feb 14 04:50:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Haowu Ge >Release: FreeBSD 11.0-CURRENT r261707M >Organization: FreeBSDChina >Environment: FreeBSD 7axu.com 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r261707M: Tue Feb 11 17:47:49 CST 2014 root@7axu.com:/usr/obj/usr/src/sys/E125-A11 amd64 >Description: lua-zlib is a simple streaming interface to zlib for the Lua Programming Language. I have successfully built the port on Redports.org Here are links to the build logs https://redports.org/buildarchive/20140214042946-25805/ >How-To-Repeat: >Fix: Patch attached with submission follows: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # lua-zlib # lua-zlib/distinfo # lua-zlib/pkg-descr # lua-zlib/Makefile # echo c - lua-zlib mkdir -p lua-zlib > /dev/null 2>&1 echo x - lua-zlib/distinfo sed 's/^X//' >lua-zlib/distinfo << '899bd793d46420bf57b1c5fc9299b908' XSHA256 (lua-zlib-v0.2.tar.gz) = c81e73354538673997c4f94b6881db69dc9b50c00e47e37114a822733a4a918d XSIZE (lua-zlib-v0.2.tar.gz) = 8105 899bd793d46420bf57b1c5fc9299b908 echo x - lua-zlib/pkg-descr sed 's/^X//' >lua-zlib/pkg-descr << '2915d741faae7c37fbb74d5785d125d4' Xlua-zlib is a simple streaming interface to zlib for the Lua Programming XLanguage. It consists of two functions: inflate and deflate. Both functions Xreturn "stream functions" (takes a buffer of input and returns a buffer Xof output). X XWWW: https://github.com/brimworks/lua-zlib/ 2915d741faae7c37fbb74d5785d125d4 echo x - lua-zlib/Makefile sed 's/^X//' >lua-zlib/Makefile << '5bb3b5d323c99851518410cf458c6ffb' X# Created by: Haowu Ge <ghw@7axu.com> X# $FreeBSD: $ X XPORTNAME= zlib XPORTVERSION= 0.2 XCATEGORIES= archivers XPKGNAMEPREFIX= ${LUA_PKGNAMEPREFIX} XDISTNAME= lua-${PORTNAME}-v${PORTVERSION} X XMAINTAINER= ghw@7axu.com XCOMMENT= Simple streaming interface to zlib for the Lua Programming Language X XLICENSE= MIT X XUSE_GITHUB= yes XGH_ACCOUNT= brimworks XGH_COMMIT= 8d07669 XGH_PROJECT= lua-${PORTNAME} XGH_TAGNAME= v${PORTVERSION} X XUSE_LUA?= 5.1 X XPLIST_FILES= ${LUA_MODLIBDIR}/zlib.so X XDOCSDIR= ${PREFIX}/share/doc/${UNIQUENAME} X Xdo-build: X ${CC} -fPIC -shared -o ${WRKSRC}/zlib.so -I${LUA_INCDIR} \ X -L${LUA_LIBDIR} -llua -lm -lz ${WRKSRC}/lua_zlib.c X Xdo-install: X ${MKDIR} ${STAGEDIR}/${LUA_MODLIBDIR} X ${INSTALL_PROGRAM} ${WRKSRC}/zlib.so ${STAGEDIR}/${LUA_MODLIBDIR} X ${MKDIR} ${STAGEDIR}/${DOCSDIR} X ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}/${DOCSDIR} X X.include <bsd.port.mk> 5bb3b5d323c99851518410cf458c6ffb exit >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402140445.s1E4jhWX060009>