databases/rubygem-activerecord81 8.1.3.1 MidnightBSD
Object-relational mapping layer for Rails MVC Framework
- System
- MidnightBSD
- Repository
- mports
- Maintainer
- [email protected]
- Last update
- Commit
31b22c6dc3- License
- mit
- Categories
- databases, rubygems
Description
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.
In the other systems
| System | Port | Version |
|---|---|---|
| MidnightBSD | databases/rubygem-activerecord81 | 8.1.3.1 |
| FreeBSD | databases/rubygem-activerecord81 | 8.1.3.1 |
| HardenedBSD | databases/rubygem-activerecord81 | 8.1.3.1 |
| GhostBSD | databases/rubygem-activerecord81 | 8.1.3.1 |
Install
Binary package:
mport install activerecord81
From mports:
cd /usr/mports/databases/rubygem-activerecord81 && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= activerecord81>0:databases/rubygem-activerecord81
Dependencies
As this port's Makefile names them.
Build 3
rubygem-activemodel81=8.1.3.1: databases/rubygem-activemodel81rubygem-activesupport81=8.1.3.1: devel/rubygem-activesupport81rubygem-timeout>=0.4.0: devel/rubygem-timeout
Runtime 3
rubygem-activemodel81=8.1.3.1: databases/rubygem-activemodel81rubygem-activesupport81=8.1.3.1: devel/rubygem-activesupport81rubygem-timeout>=0.4.0: devel/rubygem-timeout
Build dependencies 3
Run dependencies 3
Required by 1
Configuration
No options to configure.
- USES
- gem cpe
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| rubygem/activerecord-8.1.3.1.gem | 569344 | 0a2fb6c28f4938f6b013a3a549bec0a7e37d535f3dc8990e804bcc3258c0403b |
Master sites 1
- RG
Commit history 3
| Date | Commit | Credits | Log message |
|---|---|---|---|
31b22c6dc3 |
Lucas Holt | Rails 8.1 gems: update to 8.1.3.1 (#1606) Updates the Rails 8.1 gem ports from 8.1.3 to 8.1.3.1:
- devel/rubygem-activesupport81
- databases/rubygem-activemodel81
- databases/rubygem-activerecord81 (PORTREVISION removed)
- devel/rubygem-activejob81
- devel/rubygem-actionview81
- www/rubygem-actionpack81
`net/rubygem-activestorage81` was already at 8.1.3.1 and requires
`>=${PORTVERSION}` of these, so until this lands it can't be installed.
## Why
8.1.3.1 is a security release. It fixes CVE-2026-66066 /
GHSA-xr9x-r78c-5hrm (critical), an arbitrary file read and possible RCE
in Active Storage variant processing.
Each gem's runtime dependencies and license (MIT) are the same as in
8.1.3, so only PORTVERSION and distinfo change.
## Testing
- `bmake makesum`: every SHA256 matches the rubygems.org API.
… |
|
22173208f1 |
Lucas Holt | */*: add CPE identifiers from the matching FreeBSD ports mport audit matches installed packages against sec.midnightbsd.org by CPE, so a
port without one is invisible to it regardless of how vulnerable it is. These
126 ports had no CPE while the corresponding FreeBSD port did, so the vendor
and product were copied from there rather than guessed.
Sampled against the audit API to confirm the identifiers resolve, e.g.
cad/gtkwave tonybybell:gtkwave 82 CVEs
archivers/libunrar rarlab:unrar 12
audio/espeak-ng espeak-ng:espeak-ng 5
archivers/minizip-ng zlib-ng:minizip-ng 3
audio/faust grame:faust 3
cad/admesh admesh_project:admesh 3
Three ports were deliberately skipped: archivers/p5-Archive-Tar,
… |
|
95cc98d395 |
Lucas Holt | rubygem-rails: use exact PORTVERSION dependencies Replace Rails RubyGem dependency atoms of the form >=${PORTVERSION}<${PORTVERSION}_99 with exact =${PORTVERSION} dependencies for the run 641 failures.
The combined expression is not reliably matched by mport.query after the dependency package is installed, while the gems require the matching Rails component version exactly.
AI-Assisted-by: OpenAI Codex <[email protected]>
Signed-off-by: Lucas Holt <[email protected]> |