Port details |
- luadbi Multi-backend SQL database library for Lua
- 0.7.4_1 databases
=2 0.7.2_1Version of this port present on the latest quarterly branch. - Maintainer: olexander.v.melnyk@gmail.com
 - Port Added: 2013-10-29 02:07:47
- Last Update: 2024-11-28 18:46:50
- Commit Hash: b43fee0
- People watching this port, also watch:: jdictionary, py311-Automat, py311-python-gdsii, py39-PyOpenGL, p5-Sane
- License: MIT
- WWW:
- https://github.com/mwild1/luadbi
- Description:
- LuaDBI is a database interface library for Lua. It's designed to provide
an RDBMS agnostic API for handling database operations. It also provides
support for prepared statement handles, placeholders, and bind parameters
for all database operations.
On FreeBSD, LuaDBI supports MySQL, PostgreSQL, and SQLite3 databases with
native database drivers.
¦ ¦ ¦ ¦ 
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - There is no configure plist information for this port.
- Dependency lines:
-
- lua54-luadbi>0:databases/luadbi
- To install the port:
- cd /usr/ports/databases/luadbi/ && make install clean
- To add the package, run one of these commands:
- pkg install databases/luadbi
- pkg install lua54-luadbi
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: lua54-luadbi
- Package flavors (<flavor>: <package>)
- lua54: lua54-luadbi
- lua53: lua53-luadbi
- lua52: lua52-luadbi
- lua51: lua51-luadbi
- distinfo:
- TIMESTAMP = 1728944098
SHA256 (mwild1-luadbi-v0.7.4_GH0.tar.gz) = f22ec8ec3bdc297eb3e3d37f21f839e3ac1d71c968853ed84b4fe5dcad4e54df
SIZE (mwild1-luadbi-v0.7.4_GH0.tar.gz) = 39077
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- gmake>=4.4.1 : devel/gmake
- Library dependencies:
-
- liblua-5.4.so : lang/lua54
- libmysqlclient.so.21 : databases/mysql80-client
- There are no ports dependent upon this port
Configuration Options:
- ===> The following configuration options are available for lua54-luadbi-0.7.4_1:
====> Options available for the multi DATABASE: you have to choose at least one of them
MYSQL=on: MySQL database support
PGSQL=off: PostgreSQL database support
SQLITE3=off: SQLite 3 database support
===> Use 'make config' to modify these settings
- Options name:
- databases_luadbi
- USES:
- gmake localbase:ldflags lua:module shebangfix mysql
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
0.7.4_1 28 Nov 2024 18:46:50
    |
Zsolt Udvari (uzsolt)  Author: László Károlyi |
databases/luadbi: Set default database to MySQL
In commit 111bb60101e36d18e5bf14ed33ff8f53e5e5afa1 the default database
option changed to SQLite because of missed support of MySQL8.
MySQL8 is supported since 0.7.4 so revert this commit.
PR: 270844
Approved by: maintainer timeout (3+ weeks) |
0.7.4 30 Oct 2024 06:57:51
    |
Zsolt Udvari (uzsolt)  Author: László Károlyi |
databases/luadbi: Update to 0.7.4
Works with mysql 8.0 and 8.1.
Replace -I${LOCALBASE}/include to USES=localbase.
Pet portfmt.
Switch to DISTVERSION.
PR: 270844
Approved by: maintainer timeout (2 weeks) |
0.7.2_1 29 Dec 2023 18:24:39
    |
Muhammad Moinur Rahman (bofh)  |
*/*: Refactor with IGNORE_WITH_MYSQL
- There are multiple ports which has MYSQL options and are non-DEFAULT.
Most of the time committers actually forget to check with the OPTION
enabled and in some cases they are BROKEN with newr versions of mysql.
So test with different versions of mysql and mark IGNOPRE_WITH_MYSQL
appropriately. Due to the EOL of 5.7 this has not been checked.
- Unbreak sysutils/cfengine* with MySQL 8.0 and later
- The primary purpose of running this check is having statistics of the
MySQL usability over MariaDB to explore the future possibility of
shifting to MariaDB as the default as major ports upstream have moved
their codebase to support MariaDB over MySQL.
- The following actions will also be taken after the sunset of MySQL 5.7
If a port is broken on all instances of MySQL/MariaDB:
- If a port has the option of multiple DB backends and MySQL is the
default then the DEFAULT will be changed to PGSQL/SQLITE before
2024Q1. And the OPTION will be removed before 2024Q2. If a
MAINTAINER is aware about such cases and want to prefer PGSQL over
SQLITE or vice versa please do so at your own accord. Otherwise
PGSQL will be preferred over SQLITE.
- If a port has the option of multiple DB backends and MySQL is not
the default then the the OPTION will be removed before 2024Q1.
Approved by: portmgr (blanket) |
0.7.2_1 29 Oct 2023 22:53:39
    |
Muhammad Moinur Rahman (bofh)  |
databases/luadbi: Update OPTIONS_DEFAULT
As MySQL57 is reaching EOL and this port does not support MySQL80 so
change the OPTIONS_DEFAULT to SQLITE3 and unbreak.
Approved by: portmgr (blanket) |
0.7.2 01 Feb 2023 10:58:42
    |
Muhammad Moinur Rahman (bofh)  |
databases/luadbi: Ignore with mysql 8.l0
PR: 269203
Reported by: exp-run
Approved by: portmgr (just-fix-it) |
07 Sep 2022 21:58:51
    |
Stefan Eßer (se)  |
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner) |
0.7.2 07 Sep 2022 21:10:59
    |
Stefan Eßer (se)  |
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above ) |
0.7.2 20 Jul 2022 14:21:07
    |
Tobias C. Berner (tcberner)  |
databases: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* "Choe, Cheng-Dae" whitekid
* "Mahdi Mokhtari <mokhi64@gmail.com>"
* "Meikel Brandmeyer" <ocaml-sqlite3-port@kotka.de>
* <hvo.pm@xs4all.nl>
* <jsmith@resonatingmedia.com>
* <ports@c0decafe.net>
* Aaron Dalton <aaron@FreeBSD.org>
* Adam Weinberger <adamw@FreeBSD.org>
* Ade Lovett <ade@FreeBSD.org>
* Akinori MUSHA aka knu <knu@idaemons.org>
* Alan Snelson <Alan@Wave2.org> (Only the first 15 lines of the commit message are shown above ) |
0.7.2 06 Apr 2021 14:31:07
    |
Mathieu Arnold (mat)  |
Remove # $FreeBSD$ from Makefiles. |
0.7.2 02 Jul 2020 06:09:10
  |
danfe  |
- Update to version 0.7.2, improve the COMMENT
- Define LICENSE_FILE (not just a boilerplate)
- Amend the port description while I'm here
PR: 245145
Approved by: maintainer (timeout since 2020-03-28) |
0.6_1 14 Apr 2020 15:49:37
  |
mat  |
USES=lua gained flavors.
Ports using USES=lua:module or lua:flavors will be flavored. A range of
supported lua versions can be set using XX-YY (or XX-, or -YY, or simply ZZ)
for ports not supporting all lua versions.
USES=lua sets LUA_FLAVOR that needs to be used on all dependencies of
flavored lua ports, in a similar way as PHP or Python flavors.
PR: 245038
Submitted by: andrew tao11 riddles org uk
Reviewed by: mat, kevans, russ haley gmail com
Approved by: mat (portmgr)
Differential Revision: https://reviews.freebsd.org/D16494 |
0.6 07 Feb 2019 09:59:43
  |
mfechner  |
Fixed linker error if option sqlite3 is enable.
PR: 224224
Submitted by: tcberner
Reported by: martin@sugioarto.com |
0.6 28 Aug 2017 02:56:49
  |
vanilla  |
1: Update to 0.6
2: switch to github.
PR: 221856
Submitted by: maintainer |
0.5_3 15 Mar 2017 04:51:00
  |
pi  |
databases/luadbi: unbreak postgres case after tests
Submitted by: Michael Pfeiffer <michael.pfeiffer@eichenstein.de> |
0.5_3 14 Mar 2017 18:21:49
  |
pi  |
databases/luadbi: unbreak with new distsite
PR: 212884
Submitted by: Olexander Melnyk <olexander.v.melnyk@gmail.com> (maintainer)
Reviewed by: Michael Pfeiffer <michael.pfeiffer@eichenstein.de> |
0.5_2 03 Mar 2017 16:00:20
  |
mat  |
Mark the remaining ports depending on Google Code as DEPRECATED, with an
EXPIRATION_DATE at the end of April 2017.
In the past six months, about a third of the ports marked BROKEN because
they were hosted on Google Code have been fixed. The remaining must not
be of use to anyone.
With hat: portmgr
Sponsored by: Absolight |
0.5_2 14 Sep 2016 15:59:34
  |
mat  |
GOOGLE_CODE has gone away.
- If a port has another upstream, remove GOOGLE_CODE
- If a port only has GOOGLE_CODE mark it BROKEN
Some ports have a local mirror configured but for security reasons, it
is not considered upstream.
Sponsored by: Absolight |
0.5_2 01 Jun 2016 23:03:38
  |
marino  |
databases/luadbi is not jobs safe
I've witnessed this port fail two separate times because it doesn't ensure
that the "build" directory has been created before it starts constructing
object files. |
0.5_2 25 Apr 2016 16:13:39
  |
mat  |
Remove USE_SQLITE from bsd.databases.mk, replaced by USES=sqlite.
While there replace USE_SQLITE=x by USES=sqlite:x.
PR: 208971
Submitted by: mat
Exp-run by: antoine
With hat: portmgr
Sponsored by: Absolight
Differential Revision: https://reviews.freebsd.org/D5951 |
0.5_2 19 Oct 2015 14:50:52
  |
amdmi3  |
Improve shebangfix framework
- Support multiple values in *_OLD_CMD, i.e. we can now fix both
"/usr/bin/python" and "/usr/bin/env python" at the same time
- Default *_OLD_CMD values are now always appended, so you don't need to specify
them in individual ports
- Add lua support (depends on USES=lua)
- Add more default values, such as "/usr/bin/env foo" for python, perl, bash,
ruby and lua
- Shebangfix now matches whole words, e.g. we will no longer (erroneously)
replace "/usr/bin/perl5.005" with "${perl_CMD}5.005" (but "/usr/bin/perl -tt" is
still (correctly) replaced with "${perl_CMD} -tt")
Note that *_OLD_CMD items containing spaces must now be quoted (e.g.
perl_OLD_CMD=/bin/perl /usr/bin/perl "/usr/bin/env perl")
Update shebangfix usage according to new rules in many ports:
- Remove *_OLD_CMD for patterns now replaced by default
- Quote custom *_OLD_CMD which contain spaces
Fix shebangfix usage in many ports (irrelevant to infrastructure change):
- Remove redundant SHEBANG_LANG (no need to duplicate default langs)
- Remove redundant *_CMD (such as
python_CMD=${LOCALBASE}/bin/python${PYTHON_VER} when USES=python is present)
- Never use *_OLD_CMD in REINPLACE_CMD matchers, these should always look for
exact string
Approved by: portmgr (bapt)
Differential Revision: D3756 |
0.5_2 04 Sep 2015 18:57:49
  |
amdmi3  |
- Fix shebangs
- Switch to options helpers
Approved by: portmgr blanket |
0.5_1 14 May 2015 10:15:09
  |
mat  |
MASTER_SITES cleanup.
- Replace ${MASTER_SITE_FOO} with FOO.
- Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9%
of the time.)
- Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and
no hint of what it should be was present.
- Fix some logic.
- And generally, make things more simple and easy to understand.
While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and
SAMBA macros.
Also, replace some EXTRACT_SUFX occurences with USES=tar:*.
Checked by: make fetch-urlall-list
With hat: portmgr
Sponsored by: Absolight |
0.5_1 04 Jul 2014 09:41:00
  |
tijl  |
Bump PORTREVISION on all ports with USE_SQLITE=yes or USE_SQLITE=3 that
have not been bumped yet after the latest libsqlite3.so library version
change.
Approved by: portmgr (implicit) |
0.5 27 May 2014 10:43:50
  |
bapt  |
Convert to USES=pgsql |
0.5 26 May 2014 15:28:29
  |
bapt  |
Replace lang/lua with the new lang/lua51
lang/lua51 is working the same way lang/lua52, chase ports using lua 5.1
Make the default lua lua52
Make all lua ports using USES=lua
Approved by: portmgr (implicit) |
0.5 29 Oct 2013 02:07:34
  |
danilo  |
- Add new port databases/luadbi
LuaDBI is a database interface library for Lua.
It is designed to provide a RDBMS agnostic API
for handling database operations.
WWW: http://code.google.com/p/luadbi/
PR: ports/183079
Submitted by: Olexander Melnyk <olexander.v.melnyk@gmail.com> |