databases/p5-DBIx-Class-EncodedColumn 0.11 NetBSD
DBIx::Class component to automatically encode columns
- System
- NetBSD
- Repository
- pkgsrc
- Maintainer
- [email protected]
- Last update
- Commit
63574bb216- License
- gnu-gpl-v2 OR artistic
- Categories
- databases, perl5
- Package size
- 13.5 KiB, 49.5 KiB installed
Description
This DBIx::Class component can be used to automatically encode a column's contents whenever the value of that column is set.
This module is similar to the existing DBIx::Class::DigestColumns, but there is some key differences:
DigestColumns performs the encode operation on insert and update, and EncodedColumn performs the operation when the value is set, or on new. DigestColumns supports only algorithms of the Digest family. EncodedColumn employs a set of thin wrappers around different cipher modules to provide support for any cipher you wish to use and wrappers are very simple to write (typically less than 30 lines). EncodedColumn supports having more than one encoded column per table and each column can use a different cipher. Encode adds only one item to the namespace of the object utilizing it (_column_encoders).
There is, unfortunately, some features that EncodedColumn doesn't support. DigestColumns supports changing certain options at runtime, as well as the option to not automatically encode values on set. The author of this module found these options to be non-essential and omitted them by design.
In the other systems
| System | Port | Version |
|---|---|---|
| NetBSD | databases/p5-DBIx-Class-EncodedColumn | 0.11 |
| FreeBSD | databases/p5-DBIx-Class-EncodedColumn | 0.11_1,1 |
| DragonFly | databases/p5-DBIx-Class-EncodedColumn | 0.00020 |
| HardenedBSD | databases/p5-DBIx-Class-EncodedColumn | 0.11_1,1 |
| GhostBSD | databases/p5-DBIx-Class-EncodedColumn | 0.11_1,1 |
Install
Binary package:
pkgin install p5-DBIx-Class-EncodedColumn
From pkgsrc:
cd /usr/pkgsrc/databases/p5-DBIx-Class-EncodedColumn && make install clean
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | Version |
|---|---|
| NetBSD 10.1 x86_64 | 0.11 |
| NetBSD 10.1 aarch64 | 0.00020nb6 |
| SmartOS / illumos x86_64 | 0.11 |
| macOS 15 arm64 | 0.11 |