BSD Ports

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

SystemPortVersion
FreeBSDsecurity/p5-Crypt-xDBM_File1.02_1
DragonFlysecurity/p5-Crypt-xDBM_File1.02_1
HardenedBSDsecurity/p5-Crypt-xDBM_File1.02_1
GhostBSDsecurity/p5-Crypt-xDBM_File1.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.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.02_11.02_11.02_11.02_11.02_1
FreeBSD:14:quarterly1.02_11.02_1n/a1.02_11.02_1
FreeBSD:15:latest1.02_11.02_1n/a1.02_11.02_1
FreeBSD:15:quarterly1.02_11.02_1n/an/an/a
FreeBSD:16:latest1.02_11.02_1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 1

Runtime 1

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
FileSizeSHA256
Crypt-xDBM_File-1.02.tar.gz340221e54d9685d59788a9700c7319eeb532c00410b30a58a6b96e2de21ffe41daac
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.