On Sun, Aug 18, 2024 at 04:30:37PM GMT, Lucas Gabriel Vuotto wrote: > Hello ports, > > Update luadbi to its latest version. Release are short and might be > useful for people running mariadb: > > - oracle column name bugfix > - [travis] fix mysql grant error > - Don't break SQLite 3.6.20 as shipped in RHEL/CentOS 6 > - dbd/mysql/statement.c: fix compilation with mysql-8 > - Issue 56: Remove useless setting of is_null > - Issue-66: dbd/mysql/statement.c: return nil for NULL > - Attempt to provide partial fix for Issue #64 (MySQL 8: Error executing > statement parameters: Incorrect arguments to mysqld_stmt_execute) > > I don't have a SQL-backed Prosody installation to test this out tho, so > I only compile-tested the port. op@ does have a SQL-backed Prosody, so > he's Cc'd :D
Forgot to include a small update to a comment: we already have luarocks, but the tests also require busted. I think that somebody (gnezdo@?) sent a port for it at some point; I'll dig the lists later. diff refs/heads/master ce202dc41dde087b1eec6ef72c241b42490315b5 commit - 960304cb2e8847865e8c776bf9623c82b3698ff5 commit + ce202dc41dde087b1eec6ef72c241b42490315b5 blob - 6088581e2b7e7b781ce638896e02e7330b6967e2 blob + 68564c765062f2c19735706402339cf18c4af53b --- databases/luadbi/Makefile +++ databases/luadbi/Makefile @@ -2,7 +2,7 @@ COMMENT-main= database interface library for Lua (incl COMMENT-mysql= MySQL driver for luadbi COMMENT-pgsql= PostgreSQL driver for luadbi -V= 0.7.2 +V= 0.7.3 GH_ACCOUNT= mwild1 GH_PROJECT= luadbi GH_TAGNAME= v${V} @@ -42,13 +42,13 @@ RUN_DEPENDS-pgsql= ${BASE_PKGPATH},-main USE_GMAKE= Yes ALL_TARGET= free # == sqlite3 mysql postgresql INSTALL_TARGET= install_free -# requires luarocks +# requires busted NO_TEST= Yes MAKE_FLAGS= CC="${CC}" \ COMMON_LDFLAGS="-L${LOCALBASE}/lib" \ LUA_INC="-I${MODLUA_INCL_DIR}" \ - MYSQL_INC="-I${LOCALBASE}/include/mysql" \ + MYSQL_INC="-I${LOCALBASE}/include" \ SQLITE3_INC="-I${LOCALBASE}/include" \ PSQL_INC="-I${LOCALBASE}/include/postgresql" blob - ac6a043858b03ccad038155bb067981ddd8ab35e blob + 7bef3f7d3fc3cc453daefdffd389cd8b7097fa52 --- databases/luadbi/distinfo +++ databases/luadbi/distinfo @@ -1,2 +1,2 @@ -SHA256 (luadbi-0.7.2.tar.gz) = BafQLQyuOXCvJPcvOe3+cX45Qkkn0H+7wJ6+luoC9aY= -SIZE (luadbi-0.7.2.tar.gz) = 36462 +SHA256 (luadbi-0.7.3.tar.gz) = g3DD52S2legFEkrVzZWyhfGcsiRuk8AjDc3NiAlrAEs= +SIZE (luadbi-0.7.3.tar.gz) = 35753