BSD Ports

security/p5-Unix-Passwd-File 0.251 FreeBSD

Manipulate passwd and group entries

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
ART10, GPLv1+
Categories
security, perl5
Package size
25.2 KiB, 129.4 KiB installed

Description

Unix::Passwd::File can be used to read and manipulate entries in Unix system password files (/etc/passwd, /etc/group, /etc/group, /etc/gshadow) but can also be told to search in custom location, for testing purposes).

This module uses a procedural (non-OO) interface. Each function in this module open and read the passwd files once. Read-only functions like `list_users()` and `get_max_gid()` open in read-only mode. Functions that might write to the files like `add_user()` or `delete_group()` first lock `passwd.lock` file, open in read+write mode and also read the files in the first pass, then seek to the beginning and write back the files.

No caching is done so you should do your own if you need to.

In the other systems

SystemPortVersion
FreeBSDsecurity/p5-Unix-Passwd-File0.251
DragonFlysecurity/p5-Unix-Passwd-File0.251

Install

Binary package:

pkg install p5-Unix-Passwd-File

From the ports tree:

cd /usr/ports/security/p5-Unix-Passwd-File/ && make install clean

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

RUN_DEPENDS=	p5-Unix-Passwd-File>0:security/p5-Unix-Passwd-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:latest0.2510.2510.2510.2510.251
FreeBSD:14:quarterly0.2510.251n/a0.2510.251
FreeBSD:15:latest0.2510.251n/a0.2510.251
FreeBSD:15:quarterly0.2510.251n/an/an/a
FreeBSD:16:latest0.2510.251n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 3

Runtime 3

Test 5

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

Build dependencies 11
Run dependencies 11

No port depends on this one.

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 2
  • %%SITE_PERL%%/Unix/Passwd/File.pm
  • %%PERL5_MAN3%%/Unix::Passwd::File.3.gz
distinfo 1
FileSizeSHA256
Unix-Passwd-File-0.251.tar.gz39478840e64e9f58de2d8ba8da47c041efc15e56696de39ea9c43be7f9b2283924261
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.