From owner-svn-ports-all@freebsd.org Sat Jun 1 08:34:29 2019 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 87A5815A6461; Sat, 1 Jun 2019 08:34:29 +0000 (UTC) (envelope-from rodrigo@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 291CB8767D; Sat, 1 Jun 2019 08:34:29 +0000 (UTC) (envelope-from rodrigo@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id C4319D549; Sat, 1 Jun 2019 08:34:28 +0000 (UTC) (envelope-from rodrigo@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x518YScH038113; Sat, 1 Jun 2019 08:34:28 GMT (envelope-from rodrigo@FreeBSD.org) Received: (from rodrigo@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x518YRa2038105; Sat, 1 Jun 2019 08:34:27 GMT (envelope-from rodrigo@FreeBSD.org) Message-Id: <201906010834.x518YRa2038105@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: rodrigo set sender to rodrigo@FreeBSD.org using -f From: Rodrigo Osorio Date: Sat, 1 Jun 2019 08:34:27 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r503228 - in head/databases: . lua-lsqlite3 X-SVN-Group: ports-head X-SVN-Commit-Author: rodrigo X-SVN-Commit-Paths: in head/databases: . lua-lsqlite3 X-SVN-Commit-Revision: 503228 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 291CB8767D X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.95 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.95)[-0.954,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US] X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Jun 2019 08:34:29 -0000 Author: rodrigo Date: Sat Jun 1 08:34:27 2019 New Revision: 503228 URL: https://svnweb.freebsd.org/changeset/ports/503228 Log: Add new port databases/lua-lsqlite3 LuaSQLite3 is a thin wrapper around the public domain SQLite3 database engine providing a mean to manipulate SQLite3 databases directly from Lua using Lua 5. PR: 237282 Submitted by: yds@Necessitu.de Added: head/databases/lua-lsqlite3/ head/databases/lua-lsqlite3/Makefile (contents, props changed) head/databases/lua-lsqlite3/distinfo (contents, props changed) head/databases/lua-lsqlite3/pkg-descr (contents, props changed) head/databases/lua-lsqlite3/pkg-plist (contents, props changed) Modified: head/databases/Makefile Modified: head/databases/Makefile ============================================================================== --- head/databases/Makefile Sat Jun 1 08:19:58 2019 (r503227) +++ head/databases/Makefile Sat Jun 1 08:34:27 2019 (r503228) @@ -165,6 +165,7 @@ SUBDIR += linux-oracle-instantclient-sqlplus SUBDIR += liquibase SUBDIR += lmdb + SUBDIR += lua-lsqlite3 SUBDIR += lua-resty-redis SUBDIR += lua-xapian SUBDIR += luadbi Added: head/databases/lua-lsqlite3/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/databases/lua-lsqlite3/Makefile Sat Jun 1 08:34:27 2019 (r503228) @@ -0,0 +1,64 @@ +# Created by: Yarema +# $FreeBSD$ + +PORTNAME= lsqlite3 +PORTVERSION= 0.9.5 +CATEGORIES= databases +MASTER_SITES= http://Lua.SQLite.org/index.cgi/zip/ +PKGNAMEPREFIX= ${LUA_PKGNAMEPREFIX} +DISTNAME= ${PORTNAME}_fsl_9y + +MAINTAINER= yds@Necessitu.de +COMMENT= LuaSQLite3 - a Lua 5.1 to 5.3 wrapper for the SQLite3 library + +LICENSE= MIT + +BUILD_DEPENDS= ${NONEXISTENT}:databases/sqlite3:patch + +USES= localbase:ldflags sqlite:3 zip + +OPTIONS_DEFINE= DOCS EXAMPLES +OPTIONS_SINGLE= LUA_VERSION +OPTIONS_SINGLE_LUA_VERSION= LUA51 LUA52 LUA53 +OPTIONS_DEFAULT= LUA51 + +LUA51_USES= lua:51 +LUA52_USES= lua:52 +LUA53_USES= lua:53 + +CFLAGS+= -pedantic -Wall -Qunused-arguments -fPIC -DPIC\ + -std=c99 -fno-strict-aliasing -I${LUA_INCDIR}\ + -DLSQLITE_VERSION=\"${PORTVERSION}\" +LDFLAGS+= -shared -pthread -lm -L${LOCALBASE}/lib + +DOCSDIR= ${PREFIX}/share/doc/lua${LUA_VER_STR}/${PORTNAME} +EXAMPLESDIR= ${PREFIX}/share/examples/lua${LUA_VER_STR}/${PORTNAME} + +pre-configure: + @${CP} -p `${MAKE} -V WRKSRC -C ${PORTSDIR}/databases/sqlite3`/sqlite3.[ch] ${WRKSRC} + +do-build: + cd ${WRKSRC} &&\ + ${CC} ${CFLAGS} ${LDFLAGS} -lsqlite3\ + -o ${PORTNAME}.so ${PORTNAME}.c + cd ${WRKSRC} &&\ + ${CC} ${CFLAGS} ${LDFLAGS}\ + -I. -Dluaopen_lsqlite3=luaopen_lsqlite3complete\ + -o ${PORTNAME}complete.so ${PORTNAME}.c sqlite3.c + +do-install: + @${MKDIR} ${STAGEDIR}${LUA_MODLIBDIR} + ${INSTALL_LIB} ${WRKSRC}/${PORTNAME}.so ${STAGEDIR}${LUA_MODLIBDIR} + ${INSTALL_LIB} ${WRKSRC}/${PORTNAME}complete.so ${STAGEDIR}${LUA_MODLIBDIR} + +post-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/doc/${PORTNAME}.wiki ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/HISTORY ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} + +post-install-EXAMPLES-on: + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKSRC}/examples/*.lua ${STAGEDIR}${EXAMPLESDIR} + +.include Added: head/databases/lua-lsqlite3/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/databases/lua-lsqlite3/distinfo Sat Jun 1 08:34:27 2019 (r503228) @@ -0,0 +1,3 @@ +TIMESTAMP = 1553623319 +SHA256 (lsqlite3_fsl_9y.zip) = ad81bf0d081b8200932c851e19b2a0a6319bc7b6e3401deeb9c29e5d041e6540 +SIZE (lsqlite3_fsl_9y.zip) = 2123295 Added: head/databases/lua-lsqlite3/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/databases/lua-lsqlite3/pkg-descr Sat Jun 1 08:34:27 2019 (r503228) @@ -0,0 +1,14 @@ +LuaSQLite3 is a thin wrapper around the public domain SQLite3 +database engine. + +LuaSQLite3 provides a means to manipulate SQLite3 databases +directly from Lua using Lua 5. + +There are two modules, identical except that one links SQLite3 +dynamically, the other statically. + +The module `lsqlite3` links SQLite3 dynamically. + +The module `lsqlite3complete` links SQLite3 statically. + +WWW: http://Lua.SQLite.org/index.cgi/doc/tip/doc/lsqlite3.wiki Added: head/databases/lua-lsqlite3/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/databases/lua-lsqlite3/pkg-plist Sat Jun 1 08:34:27 2019 (r503228) @@ -0,0 +1,14 @@ +%%LUA_MODLIBDIR%%/lsqlite3.so +%%LUA_MODLIBDIR%%/lsqlite3complete.so +%%PORTDOCS%%%%DOCSDIR%%/README +%%PORTDOCS%%%%DOCSDIR%%/HISTORY +%%PORTDOCS%%%%DOCSDIR%%/lsqlite3.wiki +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/aggregate.lua +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/function.lua +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/hooks_advanced.lua +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/order.lua +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/simple.lua +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/smart.lua +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/statement.lua +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tracing.lua +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/update_hook.lua