timp87

Untitled

Aug 21st, 2015
149
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.52 KB | None | 0 0
  1. # pkg_info pkg_install
  2. Information for pkg_install-20150508:
  3.  
  4. *** PACKAGE MAY NOT BE DELETED ***
  5. Comment:
  6. Package management and administration tools for pkgsrc
  7.  
  8. Required by:
  9. pkgin-0.8.0nb1
  10.  
  11. Description:
  12. pkg_install contains the core package management and administration
  13. utilities for pkgsrc, a multi-platform source and binary package
  14. system developed and maintained by The NetBSD Project and volunteers
  15. from around the globe.
  16.  
  17. The following tools are included:
  18.  
  19. pkg_add install and upgrade binary packages
  20. pkg_admin perform various pkgsrc administrative tasks
  21. pkg_create create software package distributions
  22. pkg_delete delete installed packages
  23. pkg_info display information about installed or binary packages
  24.  
  25. For the following tools compatibility wrappers are included:
  26.  
  27. audit-packages audit installed packages for security vulnerabilities
  28. download-vulnerability-list download the latest vulnerabilities list
  29.  
  30. Homepage:
  31. http://www.pkgsrc.org/
  32.  
  33. Install notice:
  34. ===========================================================================
  35. $NetBSD: MESSAGE,v 1.6 2014/12/05 14:31:07 schmonz Exp $
  36.  
  37. You may wish to have the vulnerabilities file downloaded daily so that
  38. it remains current. This may be done by adding an appropriate entry
  39. to a user's crontab(5) entry. For example the entry
  40.  
  41. # download vulnerabilities file
  42. 0 3 * * * /usr/pkg/sbin/pkg_admin fetch-pkg-vulnerabilities >/dev/null 2>&1
  43.  
  44. will update the vulnerability list every day at 3AM. You may wish to do
  45. this more often than once a day.
  46.  
  47. In addition, you may wish to run the package audit from the daily
  48. security script. This may be accomplished by adding the following
  49. lines to /etc/security.local
  50.  
  51. if [ -x /usr/pkg/sbin/pkg_admin ]; then
  52. /usr/pkg/sbin/pkg_admin audit
  53. fi
  54.  
  55. Alternatively this can also be acomplished by adding an entry to a user's
  56. crontab(5) file. e.g.:
  57.  
  58. # run audit-packages
  59. 0 3 * * * /usr/pkg/sbin/pkg_admin audit
  60.  
  61. Both pkg_admin subcommands can be run as as an unprivileged user,
  62. as long as the user chosen has permission to read the pkgdb and to write
  63. the pkg-vulnerabilities to /var/db/pkg.
  64.  
  65. The behavior of pkg_admin and pkg_add can be customised with
  66. pkg_install.conf. Please see pkg_install.conf(5) for details.
  67.  
  68. If you want to use GPG signature verification you will need to install
  69. GnuPG and set the path for GPG appropriately in your pkg_install.conf.
  70. ===========================================================================
  71.  
  72. *** PACKAGE MAY NOT BE DELETED ***
Advertisement
Add Comment
Please, Sign In to add comment