BSD Ports

databases/rubygem-activerecord60 6.0.6.1_1 MidnightBSD

Object-relational mapping layer for Rails MVC Framework

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
Last update
Commit
1cc2f65ad9
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

SystemPortVersion
MidnightBSDdatabases/rubygem-activerecord606.0.6.1_1
FreeBSDdatabases/rubygem-activerecord606.0.6.1
DragonFlydatabases/rubygem-activerecord606.0.6.1
HardenedBSDdatabases/rubygem-activerecord606.0.6.1
GhostBSDdatabases/rubygem-activerecord606.0.6.1

Install

Binary package:

mport install activerecord60

From mports:

cd /usr/mports/databases/rubygem-activerecord60 && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	activerecord60>0:databases/rubygem-activerecord60

Dependencies

As this port's Makefile names them.

Build 2

Runtime 2

Build dependencies 2
Run dependencies 2

Configuration

No options to configure.

USES
gem cpe
Service scripts
none

Files

distinfo 1
FileSizeSHA256
rubygem/activerecord-6.0.6.1.gem412160be387b7c8997ea5373d42bf56d2789914a742b67357701677d769ce8a31ba139
Master sites 1
  • RG

Commit history 2

DateCommitCreditsLog message
1cc2f65ad9 Lucas Holt databases/rubygem-activerecord60: fix the dependency version upper bound
mport.query does not match a package when the lower bound of a range equals the upper bound's base version and the upper bound carries a _N suffix: "version>=1.1.1<1.1.1_99" reports not found for an installed 1.1.1, while "version>=1.1.1<1.1.1.99" matches, including packages carrying a PORTREVISION. Spell the bound with .99 so the dependency resolves. AI-Assisted-by: Claude Opus 5 (1M context) <[email protected]> Signed-off-by: Lucas Holt <[email protected]>
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, …