To determine if there are any known vulnerabilities for the software installed on the system, run: 5.4.6.

Automatically Removing Leaf Dependencies Removing a package may leave behind dependencies which are no longer required.

pkg updating repository catalogue-85pkg updating repository catalogue-67pkg updating repository catalogue-90

done If you are upgrading from the old package format, first run: $ pkg2ng 1.0-rc5 # # ls -la /var/db/pkg/ total 84320 drwxr-xr-x 2 root wheel 512 Sep 1 . -rw-r--r-- 1 root wheel 120832 Sep 1 local.sqlite -rw-r--r-- 1 root wheel 86149120 Sep 1 repo.sqlite # ] Global options supported: -d Increment debug level -j Execute pkg(1) inside a jail(8) -c Execute pkg(1) inside a chroot(8) -v Display pkg(1) version Commands supported: add Registers a package and installs it on the system ... For more information on the different commands see 'pkg help Description : This script uses the existing ports infrastructure to track dependencies, and keep them up to date. done # # pkg autoremove -y Packages to be autoremoved: clamav-0.97.5_1 arc-5.21p arj-3.10.22_4 lha-1.14i_6 unzoo-4.4_2 The autoremoval will free 15 MB Deleting clamav-0.97.5_1...

It is written in /bin/sh so it has no dependencies. ==================================================== If you want remove clamav permanently from you system execute following commands: # rm -rf /var/log/clamav # rm -rf /var/run/clamav # rm -rf /var/db/clamav # pw userdel clamav ==================================================== done Deleting arc-5.21p...

Portmaster has the following features: * Updates and repairs (as needed) entries for dependencies in both CONTENTS and REQUIRED_BY files for both the port that is being updated, and any ports that depend on it * Runs make config recursively through all ports before starting build * Downloads distfiles in the background * Recursively checks and upgrades (or installs) all dependencies * User can force upgrades of all dependent ports * Offers the user the opportunity to delete stale distfiles * Supports ports/MOVED and non-default settings of PORTSDIR and PKG_DBDIR * Interactive update mode (prompts for each update) * Option to rebuild port, and ports that depend on it * Options to make packages out of installed, and new ports * Option to clean out stale port dependencies * Options to list installed ports by category, and those with new versions * Packages can be used for installation either exclusively, if available, or only for build dependencies WWW: # pkg info -l portmaster portmaster-3.13.13 owns the following files: /usr/local/etc/bash_completion.d//usr/local/etc/sample /usr/local/man/man8/portmaster.8/usr/local/sbin/portmaster # ===================================== : pkg info pkg info -a : pkg info name : pkg info -f name : pkg info -e name ; echo $?

: pkg info -l name : pkg info -d name : pkg info -r name ============================== # pkg rquery -a "%n-%v - %c" # pkg rquery -a "%n-%v - %c" | less 0verkill-0.16_1 - 0verkill is a bloody 2D action Deathmatch-like game in ASCII-art 2Man DVD-1.3.5_2 - Create your own video dvd 2bsd-diff-2.11 - 2.11BSD diff utility 2bsd-vi-050325_1 - The original vi editor, updated to run on modern OSes 2d-rewriter-1.4 - Cellular automata simulator 2dhf-2005.05_4 - A Numerical Hartree-Fock Program for Diatomic Molecules 2ping-1.1 - A bi-directional ping utility 3dc-0.8.1_3 - 3-Dimensional Chess for X Window System 3ddesktop-0.2.9_10 - 3D Virtual Desktop Switcher ... zziplib-0.13.62 - A library to provide transparent read access to zipped files zzuf-0.13 - Transparent application input fuzzer # # pkg rquery -e "%m ~ miwi* && %n ~py2*" "%n-%v" py27-apachelog-1.1 py27-apetag-1.2 py27-bcrypt-0.2 py27-django-classy-tags-0.3.4.1 py27-psycopg2-2.4.5 py27-setuptools-git-0.4.2 py27-setuptools_hg-0.4 py27-texttable-0.8.1 # =================================== : pkg rquery -a "%n" , : pkg rquery -a "%n-%v" glob : pkg rquery -g "%n-%v" 'un?

r*' regexp : pkg rquery -x "%n-%v" '^un[a-z].*$' : pkg rquery -e '%n ~ [0-2]*' '%n-%v' : pkg rquery -e '(%s # pkg install rar Updating repository catalogue Repository catalogue is up-to-date, no need to fetch fresh copy The following packages will be installed: Installing rar: 4.1.1,3 The installation will require 1 MB more space 36 B to be downloaded Proceed with installing packages [y/N]: y pkg: cached package rar-4.1.1,3: checksum mismatch, fetching from remote rar-4.1.1,3100% 471KB 471.4KB/s 471.4KB/s Checking integrity... done # # pkg install -Ly deco-3.9_4 The following packages will be installed: Installing deco: 3.9_4 The installation will require 159 k B more space 4 B to be downloaded pkg: cached package deco-3.9_4: checksum mismatch, fetching from remote deco-3.9_4100% 75KB 75.4KB/s 75.4KB/s Checking integrity... done # Repository catalogue is up-to-date, no need to fetch fresh copy The following packages will be installed: Installing trafshow: 5.2.3_2,1 The installation will require 111 k B more space 51 k B to be downloaded trafshow-5.2.3_2,1100% 51KB 51.0KB/s 51.0KB/s Checking integrity... done # # pkg install -yf L misc/deco pkg: misc/deco is already installed and at the latest version The following packages will be installed: Reinstalling deco-3.9_4 0 B to be downloaded Checking integrity... done # # pkg install -Ay security/clamav Updating repository catalogue Repository catalogue is up-to-date, no need to fetch fresh copy The following packages will be installed: Installing arc: 5.21p Installing arj: 3.10.22_4 Installing lha: 1.14i_6 Installing unzoo: 4.4_2 Installing clamav: 0.97.5_1 The installation will require 15 MB more space 372 B to be downloaded pkg: cached package arc-5.21p: checksum mismatch, fetching from remote arc-5.21100% 44KB 43.9KB/s 43.9KB/s pkg: cached package arj-3.10.22_4: checksum mismatch, fetching from remote arj-3.10.22_4100% 214KB 214.1KB/s 214.1KB/s pkg: cached package lha-1.14i_6: checksum mismatch, fetching from remote lha-1.14i_6100% 34KB 33.9KB/s 33.9KB/s pkg: cached package unzoo-4.4_2: checksum mismatch, fetching from remote unzoo-4.4_2100% 16KB 15.8KB/s 15.8KB/s pkg: cached package clamav-0.97.5_1: checksum mismatch, fetching from remote clamav-0.97.5_1100% 4164KB 2.0MB/s 4.0MB/s Checking integrity...

done Reinstalling deco-3.9_4 done # 8.31 Reinstalling glib-2.28.8_4 Reinstalling gamin-0.1.10_4 Installing lua: 5.1.5_4 Reinstalling sqlite3-3.7.13 Reinstalling gio-fam-backend-2.28.8_1 Installing nmap: 6.01 Reinstalling apache22-worker-mpm-2.2.22_8 Downgrading subversion: 1.7.6 - # pkg install -y L audio/mpg123 sysutils/coreutils The following packages will be installed: Installing mpg123: 1.14.4 Installing coreutils: 8.12 The installation will require 18 MB more space 2 MB to be downloaded mpg123-1.14.4100% 172KB 172.0KB/s 172.0KB/s coreutils-8.12100% 2340KB 2.3MB/s 2.3MB/s Checking integrity...

Modifying Package Metadata Software within the Free BSD Ports Collection can undergo major version number changes.

To address this, pkgng has a built-in command to update package origins.

Additional pkgng configuration options are described in pkg.conf(5).