devel/p5-File-ConfigDir 0.021nb9 NetBSD
Get directories of configuration files
- System
- NetBSD
- Repository
- pkgsrc
- Maintainer
- [email protected]
- Last update
- Commit
618415630a- License
- gnu-gpl-v2 OR artistic
- Categories
- devel, perl5
- Package size
- 9.9 KiB, 25.6 KiB installed
Description
This module is a helper for installing, reading and finding configuration file locations. It's intended to work in every supported Perl5 environment and will always try to Do The Right Thing(tm).
File::ConfigDir is a module to help out when perl modules (especially applications) need to read and store configuration files from more than one location. Writing user configuration is easy thanks to File::HomeDir, but what when the system administrator needs to place some global configuration or there will be system related configuration (in /etc on UNIX(tm) or $ENV{windir} on Windows(tm)) and some network configuration in nfs mapped /etc/p5-app or $ENV{ALLUSERSPROFILE} . "\\Application Data\\p5-app", respectively.
File::ConfigDir has no "do what I mean" mode - it's entirely up to the user to pick the right directory for each particular application.
In the other systems
| System | Port | Version |
|---|---|---|
| NetBSD | devel/p5-File-ConfigDir | 0.021nb9 |
| FreeBSD | devel/p5-File-ConfigDir | 0.021 |
| DragonFly | devel/p5-File-ConfigDir | 0.021 |
| HardenedBSD | devel/p5-File-ConfigDir | 0.021 |
| GhostBSD | devel/p5-File-ConfigDir | 0.021 |
Install
Binary package:
pkgin install p5-File-ConfigDir
From pkgsrc:
cd /usr/pkgsrc/devel/p5-File-ConfigDir && 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.021nb9 |
| NetBSD 10.1 aarch64 | 0.021nb8 |
| SmartOS / illumos x86_64 | 0.021nb9 |
| macOS 15 arm64 | 0.021nb9 |