databases/libgda6: new port
Libgda is a (relatively small) database access library:
* it is a wrapper like ODBC but with more features to access several
database engines
* features a meta data extractor (to know all about database objects
in a common way)
* comes with an SQL console application (like mysql, psql or sqlite3 consoles)
* relies on GLib, coded in C, its API is easy to use
PR: 286697
Differential Revission: https://reviews.freebsd.org/D40489
databases/kuzu: add port: Embeddable, scalable, extremely fast graph database
Kuzu is an embedded graph database built for query speed and scalability.
It is optimized for handling complex analytical workloads on very large
databases and provides a set of retrieval features, such as a full text
search and vector indices.
WWW: https://kuzudb.com/
PR: 285388
Reported by: mahlon@martini.nu (new maintainer)
Reviewed by: Pat Maddox <pat@patmaddox.com>, linimon
databases/py-sqlframe: Add py-sqlframe 3.24.1
SQLFrame implements the PySpark DataFrame API in order to enable running
transformation pipelines directly on database engines - no Spark clusters or
dependencies required.
databases/pg_store_plans: New port
The pg_store_plans module provides a means for tracking execution
plan statistics of all SQL statements executed by a server.
PR: 283560
Reported by: joseph@2egos.de
databases/pgpool-II-46: New port
pgpool is a connection pool server for PostgreSQL. pgpool runs between
PostgreSQL's clients(front ends) and servers(back ends). A PostgreSQL
client can connect to pgpool as if it were a standard PostgreSQL server.
pgpool caches the connection to PostgreSQL server to reduce the overhead
to establish the connection to it.
WWW: https://www.pgpool.net
Release Note: https://www.pgpool.net/docs/latest/en/html/release-4-6-0.html
databases/rubygem-red-arrow-flight: Add rubygem-red-arrow-flight 19.0.0
Red Arrow Flight is the Ruby bindings of Apache Arrow Flight. Red Arrow Flight
is based on GObject Introspection.
Apache Arrow Flight is one of Apache Arrow components to read and write semantic
flights stored in different locations and formats.
GObject Introspection is a middleware for language bindings of C library.
GObject Introspection can generate language bindings automatically at runtime.
Red Arrow Flight uses Apache Arrow Flight GLib and gobject-introspection gem to
generate Ruby bindings of Apache Arrow Flight.
databases/tdb1410: Update to 1.4.10
Also hook it to the build.
PR: 280533
Sponsored by: Klara, Inc.
Approved by: 0mp (mentor)
Approved by: samba (0mp, kiwi)
Differential Revision: https://reviews.freebsd.org/D48655
databases/rubygem-active_model_serializers61: Remove expired port
2025-01-23 databases/rubygem-active_model_serializers61: Ruby on Rails 6.1.x
reached EOL on 2024-10-01
databases/mysql91-{server|client}: add new Ports
Welcome MySQL 9.1
What is new in MySQL9.1:
https://dev.mysql.com/doc/relnotes/mysql/9.1/en/news-9-1-0.html
MySQL8.4+ supports only 64-bit platforms!
Sponsored by: Netzkommune GmbH
Special thanks to: samm
databases/rubygem-activerecord80: Add rubygem-activerecord80 8.0.1
Active Record connects classes to relational database tables to establish an
almost zero-configuration persistence layer for applications. The library
provides a base class that, when subclassed, sets up a mapping between the new
class and an existing table in the database. In the context of an application,
these classes are commonly referred to as models. Models can also be connected
to other models; this is done by defining associations.
Active Record relies heavily on naming in that it uses class and association
names to establish mappings between respective database tables and foreign key
columns. Although these mappings can be defined explicitly, it's recommended to
follow naming conventions, especially when getting started with the library.
databases/rubygem-activemodel80: Add rubygem-activemodel80 8.0.1
Active Model provides a known set of interfaces for usage in model classes. They
allow for Action Pack helpers to interact with non-Active Record models, for
example. Active Model also helps with building custom ORMs for use outside of
the Rails framework.
Active Model provides a default module that implements the basic API required to
integrate with Action Pack out of the box: ActiveModel::API.
databases/pg_incremental: New Port
pg_incremental is a simple extension that helps you do fast, reliable,
incremental batch processing in PostgreSQL.
With pg_incremental, you define a pipeline with a parameterized query. The
pipeline is executed for all existing data when created, and then periodically
executed. If there is new data, the query is executed with parameter values
that
correspond to the new data. Depending on the type of pipeline, the parameters
could reflect a new range of sequence values, a new time range, or a new file.
Sponsored by: P. Variablis GmbH
databases/py-cymysql: Add py-cymysql 1.0.3
CyMySQL contains a python MySQL client library.
It is a fork project from PyMySQL.
CyMySQL is accerarated by Cython and supports Python versions 2 and 3.
databases/py-powa-collector: New port
PoWA (PostgreSQL Workload Analyzer) is a performance tool for PostgreSQL
9.4 and newer allowing to collect, aggregate and purge statistics on
multiple PostgreSQL instances from various Stats Extensions.
PoWA-collector is the daemon that gather performance metrics from remote
PostgreSQL instances (optional) on a dedicated repository server.
databases/pg_cron: New port
pg_cron is a simple cron-based job scheduler for PostgreSQL (10 or higher)
that
runs inside the database as an extension. It uses the same syntax as regular
cron, but it allows you to schedule PostgreSQL commands directly from the
database.
Sponsored by: Bounce Commerce
databases/py-mariadb: New port: Python MariaDB extension
MariaDB Connector/Python enables python programs to access MariaDB
and MySQL databases, using an API which is compliant with the Python
DB API 2.0 (PEP-249). It is written in C and Python and uses MariaDB
Connector/C client library for client server communication.
WWW: https://www.github.com/mariadb-corporation/mariadb-connector-python
PR: 275157
databases/py-sqloxide: Add py-sqloxide 0.1.48
sqloxide wraps rust bindings for sqlparser-rs into a python package using pyO3.
The original goal of this project was to have a very fast, efficient, and
accurate SQL parser I could use for building data lineage graphs across large
code bases (think hundreds of auto-generated .sql files). Most existing sql
parsing approaches for python are either very slow or not accurate (especially
in regards to deeply nested queries, sub-selects and/or table aliases). Looking
to the rust community for support, I found the excellent sqlparser-rs crate
which is quite easy to wrap in python code.
databases/rubygem-solid_cache: Add rubygem-solid_cache 1.0.6
Solid Cache is a database-backed Active Support cache store that let's you keep
a much larger cache than is typically possible with traditional memory-only
Redis or Memcached stores. This is thanks to the speed of modern SSD drives,
which make the access-time penalty of using disk vs RAM insignificant for most
caching purposes. Simply put, you're now usually better off keeping a huge cache
on disk rather than a small cache in memory.
databases/rubygem-solid_queue: Add rubygem-solid_queue 0.9.0
Solid Queue is a DB-based queuing backend for Active Job, designed with
simplicity and performance in mind.
Besides regular job enqueuing and processing, Solid Queue supports delayed jobs,
concurrency controls, recurring jobs, pausing queues, numeric priorities per
job, priorities by queue order, and bulk enqueuing (enqueue_all for Active Job's
perform_all_later).
Solid Queue can be used with SQL databases such as MySQL, PostgreSQL or SQLite,
and it leverages the FOR UPDATE SKIP LOCKED clause, if available, to avoid
blocking and waiting on locks when polling jobs. It relies on Active Job for
retries, discarding, error handling, serialization, or delays, and it's
compatible with Ruby on Rails's multi-threading.
databases/rubygem-solid_cable: Add rubygem-solid_cable 3.0.0
Solid Cable is a database-backed Action Cable adapter that keeps messages in a
table and continously polls for updates. This makes it possible to drop the
common dependency on Redis, if it isn't needed for any other purpose. Despite
polling, the performance of Solid Cable is comparable to Redis in most
situations. And in all circumstances, it makes it easier to deploy Rails when
Redis is no longer a required dependency for Action Cable functionality.
databases/rubygem-activemodel72: Add rubygem-activemodel72 7.2.1
Active Model provides a known set of interfaces for usage in model classes. They
allow for Action Pack helpers to interact with non-Active Record models, for
example. Active Model also helps with building custom ORMs for use outside of
the Rails framework.
Active Model provides a default module that implements the basic API required to
integrate with Action Pack out of the box: ActiveModel::API.
databases/rubygem-activerecord72: Add rubygem-activerecord72 7.2.1
Active Record connects classes to relational database tables to establish an
almost zero-configuration persistence layer for applications. The library
provides a base class that, when subclassed, sets up a mapping between the new
class and an existing table in the database. In the context of an application,
these classes are commonly referred to as models. Models can also be connected
to other models; this is done by defining associations.
Active Record relies heavily on naming in that it uses class and association
names to establish mappings between respective database tables and foreign key
columns. Although these mappings can be defined explicitly, it's recommended to
follow naming conventions, especially when getting started with the library.
databases/py-duckdb_engine: new port
Basic SQLAlchemy driver for DuckDB
Once you've installed this package, you should be able to just use it,
as SQLAlchemy does a python path search
WWW: https://github.com/Mause/duckdb_engine
PR: 278138
databases/xtrabackup84: new port to backup MySQL 8.4 database
Based on xtrabackup83 port, with corresponding changes, including:
- usage of bundled boost
- disable build on 32bit platforms (unsupported by vendor)
- new patches from mysql-server84.
cleanup: Remove expired ports:
2024-09-01 databases/mysql81-server: MySQL 8.1 is not supported by the vendor
and has unfixed vulnerabilies
2024-09-01 databases/mysql81-client: MySQL 8.1 is not supported by the vendor
and has unfixed vulnerabilies
databases/mysql90-{server|client}: add new Ports
Welcome MySQL 8.4
What is new in MySQL8.4 since MySQL 9.0:
https://dev.mysql.com/doc/refman/9.0/en/mysql-nutshell.html
HINT: MySQL8.4+ supports only 64-bit platforms!!!
Sponsored by: Netzkommune GmbH
databases/py-aiosql: Add new port
SQL is code. Write it, version control it, comment it, and run it using files.
Writing your SQL code in Python programs as strings doesn't allow you to easily
reuse them in SQL GUIs or CLI tools like psql. With aiosql you can organize
your SQL statements in .sql files, load them into your python application as
methods to call without losing the ability to use them as you would any other
SQL file.
https://pypi.org/project/aiosql/
databases/ldb28: Add a new version of ldb
This port is based on ldb25. The changes are:
- Fix checks for Python support
The bsd.port.pre.mk was included too early and USES=python wasn't
processed as expected. As a result, the checks for Python support were
broken.
- Switch from waf to configure and make.
Upstream wants us to do it this way. Otherwise, the build system
produces the following error message:
> ===> Configuring for ldb28-2.8.1
> PYTHONHASHSEED=1 missing! Don't use waf directly, use ./configure and make!
So, set HAS_CONFIGURE and BINARY_ALIAS to make the port build without
waf.
- Clean up the makefile (sort variables and fix indentation)
- Drop the NO_PYTHON variable. It complicates the makefile
unnecessarily. It is still possible to disable Python support by
configuring the PYTHON3 option.
- Use WITH_DEBUG instead of option DEBUG.
- Enable PYTHON3 by default.
The PYTHON3 option is required by net/samba419 to build without the
bundled dependencies. The primary purpose of databases/ldb28 is to
make it possible, so enable Python support by default.
PR: 280510
Sponsored by: Klara, Inc.
devel/py-xrootd: Add py-xrootd 5.7.0
The XRootD project provides a high-performance, fault-tolerant, and secure
solution for handling massive amounts of data distributed across multiple
storage resources, such as disk servers, tape libraries, and remote sites. It
enables efficient data access and movement in a transparent and uniform manner,
regardless of the underlying storage technology or location. It was initially
developed by the High Energy Physics (HEP) community to meet the data storage
and access requirements of the BaBar experiment at SLAC and later extended to
meet the needs of experiments at the Large Hadron Collider (LHC) at CERN. XRootD
is the core technology powering the EOS distributed filesystem, which is the
storage solution used by LHC experiments and the storage backend for CERNBox.
XRootD is also used as the core technology for global CDN deployments across
multiple science domains.
XRootD is based on a scalable architecture that supports multi-protocol
communications. XRootD provides a set of plugins and tools that allows the user
to configure it freely to deploy data access clusters of any size, and which can
include sophisticated features such as erasure coded files, various methods of
authentication and authorization, as well as integration with other storage
systems like ceph.
This port is the Python binding for XRootD.
databases/p5-SQL-SplitStatement: Add p5-SQL-SplitStatement 1.00023
SQL::SplitStatement is a simple module which tries to split any SQL code, even
including non-standard extensions, into the atomic statements it is composed of.
The logic used to split the SQL code is more sophisticated than a raw split on
the ; (semicolon) character: first, various different statement terminator
tokens are recognized (see below for the list), then this module is able to
correctly handle the presence of said tokens inside identifiers, values,
comments, BEGIN ... END blocks (even nested), dollar-quoted strings, MySQL
custom DELIMITERs, procedural code etc., as (partially) exemplified in the
"SYNOPSIS" above.
Consider however that this is by no means a validating parser (technically
speaking, it's just a context-sensitive tokenizer). It should rather be seen as
an in-progress heuristic approach, which will gradually improve as test cases
will be reported. This also means that, except for the "LIMITATIONS" detailed
below, there is no known (to the author) SQL code the most current release of
this module can't correctly split.
databases/pythoncego: New port
The Cego Python driver enables Python programs to access cego databases,
using an API which is compliant with the Python DB API 2.0 (PEP-249).
It is written in C and uses the Cego C wrapper client library for
client server communication.
This implementation is derived from the MariaDB Connector written
by Georg Richter.