BSD Ports

ports-mgmt/pkg-provides 0.7.4 DragonFly

Pkg plugin for querying which package provides a particular file

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
BSD2CLAUSE, BSD3CLAUSE, BSD4CLAUSE
Categories
ports-mgmt
Package size
11.5 KiB, 26.5 KiB installed

Description

Pkg-provides is an open source project providing a database with the list of every single files installed by FreeBSD packages and a pluging for pkg - the FreeBSD package manager - to fetch and search this database.

Pkg-provides is used to query which package in your pkg catalog provides a particular file given a pattern

The database is update daily based on the FreeBSD official repos.

Pkg-provides database and plugin is not part of the FreeBSD project nor maintained by pkg developers.

In the other systems

The newest version among them is 0.8.0, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
DragonFlyports-mgmt/pkg-provides0.7.4none known-[email protected]-
FreeBSDports-mgmt/pkg-provides0.8.0 newestnone known-[email protected]-
HardenedBSDports-mgmt/pkg-provides0.8.0 newestno data-[email protected]-
GhostBSDports-mgmt/pkg-provides0.8.0 newestno data-[email protected]-

Install

Binary package:

pkg install pkg-provides

From DPorts:

cd /usr/dports/ports-mgmt/pkg-provides && make install clean

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

Run dependencies 1

No port depends on this one.

Configuration

No options to configure.

Service scripts
none

Message after installing

In order to use the pkg-provides plugin you need to enable plugins in pkg.
To do this, uncomment the following lines in /usr/local/etc/pkg.conf file
and add pkg-provides to the supported plugin list:

PKG_PLUGINS_DIR = "/usr/local/lib/pkg/";
PKG_ENABLE_PLUGINS = true;
PLUGINS [ provides ];

After that run `pkg plugins' to see the plugins handled by pkg.

To update the provides database run `pkg provides -u`.