databases/p5-DBIx-Admin-DSNManager 2.02 DragonFly
Manage a file of DSNs, for both testing and production
- System
- DragonFly
- Repository
- DPorts
- Maintainer
- [email protected] (as in FreeBSD)
- License
- ART10, GPLv1+
- Categories
- databases, perl5
- Package size
- 17.3 KiB, 39.9 KiB installed
Description
DBIx::Admin::DSNManager manages a file of DSNs, for both testing and production.
The INI-style format was selected, rather than, say, using an SQLite database, so that casual users could edit the file without needing to know SQL and without having to install the command line program sqlite3.
Each DSN is normally for something requiring manual preparation, such as creating the database named in the DSN.
In the case of SQLite, etc, where manual intervention is not required, you can still put the DSN in dsn.ini.
One major use of this module is to avoid environment variable overload, since it is common to test Perl modules by setting the env vars $DBI_DSN, $DBI_USER and $DBI_PASS.
But then the problem becomes: What do you do when you want to run tests against a set of databases servers? Some modules define sets of env vars, one set per database server, with awkward and hard-to-guess names. This is messy and obscure.
DBIx::Admin::DSNManager is a solution to this problem.
In the other systems
The newest version among them is 2.02, as upstream numbers it.
| System | Port | Version | Vulnerabilities | Status | Maintainer | Last update |
|---|---|---|---|---|---|---|
| DragonFly | databases/p5-DBIx-Admin-DSNManager | 2.02 newest | none known | - | [email protected] | - |
| FreeBSD | databases/p5-DBIx-Admin-DSNManager | 2.02 newest | none known | - | [email protected] | - |
| HardenedBSD | databases/p5-DBIx-Admin-DSNManager | 2.02 newest | no data | - | [email protected] | - |
| GhostBSD | databases/p5-DBIx-Admin-DSNManager | 2.02 newest | no data | - | [email protected] | - |
Install
Binary package:
pkg install p5-DBIx-Admin-DSNManager
From DPorts:
cd /usr/dports/databases/p5-DBIx-Admin-DSNManager && make install clean
Dependency graph
Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.