security/p5-Crypt-xDBM_File 1.02_1 FreeBSD
Perl module encrypt almost any kind of dbm file
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- Categories
- security, perl5
- Package size
- 4.8 KiB, 7.4 KiB installed
Description
Crypt::xDBM_File encrypts/decrypts the data in a gdbm, ndbm, sdbm (and maybe even berkeleyDB, but I didn't test that) file. It gets tied to a hash and you just access the hash like normal. The crypt function can be any of the CPAN modules that use encrypt, decrypt, keysize, blocksize (so Crypt::IDEA, Crypt::DES, Crypt::Blowfish, ... should all work)
***IMPORTANT*** Encryption keys (the key you pass in on the tie line) will be padded or truncated to fit the keysize(). Data (the key/values of the hash) is padded to fill complete blocks of blocksize().
The padding is stripped before being returned to the user so you shouldn't need to worry about it (except truncated keys). Read the doc that comes with crypt function to get an idea of what these sizes are. If keysize or blocksize returns a zero the default is set to 8 bytes (64 bits).
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | security/p5-Crypt-xDBM_File | 1.02_1 |
| DragonFly | security/p5-Crypt-xDBM_File | 1.02_1 |
| HardenedBSD | security/p5-Crypt-xDBM_File | 1.02_1 |
| GhostBSD | security/p5-Crypt-xDBM_File | 1.02_1 |
Install
Binary package:
pkg install p5-Crypt-xDBM_File
From the ports tree:
cd /usr/ports/security/p5-Crypt-xDBM_File/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= p5-Crypt-xDBM_File>0:security/p5-Crypt-xDBM_File
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 1.02_1 | 1.02_1 | 1.02_1 | 1.02_1 | 1.02_1 |
| FreeBSD:14:quarterly | 1.02_1 | 1.02_1 | n/a | 1.02_1 | 1.02_1 |
| FreeBSD:15:latest | 1.02_1 | 1.02_1 | n/a | 1.02_1 | 1.02_1 |
| FreeBSD:15:quarterly | 1.02_1 | 1.02_1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 1.02_1 | 1.02_1 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 1
p5-Crypt-Blowfish>=0: security/p5-Crypt-Blowfish
Runtime 1
p5-Crypt-Blowfish>=0: security/p5-Crypt-Blowfish
The full lists below include those, and their dependencies in turn.
Build dependencies 2
Run dependencies 2
No port depends on this one.
Configuration
No options to configure.
- USES
- perl5
- Service scripts
- none
Files
pkg-plist 2
- %%PERL5_MAN3%%/Crypt::xDBM_File.3.gz
- %%SITE_PERL%%/Crypt/xDBM_File.pm
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| Crypt-xDBM_File-1.02.tar.gz | 3402 | 21e54d9685d59788a9700c7319eeb532c00410b30a58a6b96e2de21ffe41daac |
Master sites 1
- CPAN
Commit history 0
No commits in the history this site was built from.