Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # pkg_info pkg_install
- Information for pkg_install-20150508:
- *** PACKAGE MAY NOT BE DELETED ***
- Comment:
- Package management and administration tools for pkgsrc
- Required by:
- pkgin-0.8.0nb1
- Description:
- pkg_install contains the core package management and administration
- utilities for pkgsrc, a multi-platform source and binary package
- system developed and maintained by The NetBSD Project and volunteers
- from around the globe.
- The following tools are included:
- pkg_add install and upgrade binary packages
- pkg_admin perform various pkgsrc administrative tasks
- pkg_create create software package distributions
- pkg_delete delete installed packages
- pkg_info display information about installed or binary packages
- For the following tools compatibility wrappers are included:
- audit-packages audit installed packages for security vulnerabilities
- download-vulnerability-list download the latest vulnerabilities list
- Homepage:
- http://www.pkgsrc.org/
- Install notice:
- ===========================================================================
- $NetBSD: MESSAGE,v 1.6 2014/12/05 14:31:07 schmonz Exp $
- You may wish to have the vulnerabilities file downloaded daily so that
- it remains current. This may be done by adding an appropriate entry
- to a user's crontab(5) entry. For example the entry
- # download vulnerabilities file
- 0 3 * * * /usr/pkg/sbin/pkg_admin fetch-pkg-vulnerabilities >/dev/null 2>&1
- will update the vulnerability list every day at 3AM. You may wish to do
- this more often than once a day.
- In addition, you may wish to run the package audit from the daily
- security script. This may be accomplished by adding the following
- lines to /etc/security.local
- if [ -x /usr/pkg/sbin/pkg_admin ]; then
- /usr/pkg/sbin/pkg_admin audit
- fi
- Alternatively this can also be acomplished by adding an entry to a user's
- crontab(5) file. e.g.:
- # run audit-packages
- 0 3 * * * /usr/pkg/sbin/pkg_admin audit
- Both pkg_admin subcommands can be run as as an unprivileged user,
- as long as the user chosen has permission to read the pkgdb and to write
- the pkg-vulnerabilities to /var/db/pkg.
- The behavior of pkg_admin and pkg_add can be customised with
- pkg_install.conf. Please see pkg_install.conf(5) for details.
- If you want to use GPG signature verification you will need to install
- GnuPG and set the path for GPG appropriately in your pkg_install.conf.
- ===========================================================================
- *** PACKAGE MAY NOT BE DELETED ***
Advertisement
Add Comment
Please, Sign In to add comment