BSD Ports

databases/p5-DBIx-Admin-DSNManager 2.02 FreeBSD

Manage a file of DSNs, for both testing and production

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
ART10, GPLv1+
Categories
databases, perl5
Package size
17.9 KiB, 39.6 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

SystemPortVersion
FreeBSDdatabases/p5-DBIx-Admin-DSNManager2.02
DragonFlydatabases/p5-DBIx-Admin-DSNManager2.02
HardenedBSDdatabases/p5-DBIx-Admin-DSNManager2.02
GhostBSDdatabases/p5-DBIx-Admin-DSNManager2.02

Install

Binary package:

pkg install p5-DBIx-Admin-DSNManager

From the ports tree:

cd /usr/ports/databases/p5-DBIx-Admin-DSNManager/ && make install clean

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

RUN_DEPENDS=	p5-DBIx-Admin-DSNManager>0:databases/p5-DBIx-Admin-DSNManager

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest2.022.022.022.022.02
FreeBSD:14:quarterly2.022.02n/a2.022.02
FreeBSD:15:latest2.022.02n/a2.022.02
FreeBSD:15:quarterly2.022.02n/an/an/a
FreeBSD:16:latest2.022.02n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 4

Runtime 4

Test 2

The full lists below include those, and their dependencies in turn.

Build dependencies 9
Run dependencies 9

Configuration

No options to configure.

USES
perl5 tar:tgz
Service scripts
none

Files

pkg-plist 2
  • %%SITE_PERL%%/DBIx/Admin/DSNManager.pm
  • %%PERL5_MAN3%%/DBIx::Admin::DSNManager.3.gz
distinfo 1
FileSizeSHA256
DBIx-Admin-DSNManager-2.02.tgz17881c25511f42328ccb606a0cd78413a74181c87fb37a382d38aa3fad106b540adcb
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.