Useful UNIX utilities

Terminal

Performance

File Synchronization

Text processing

Programming

Server monitoring

Version Control

Multimedia

Network

Base System

Security

Finding ports

To do keyword search for ports do the following. Note that ports source must be installed first.

cd /usr/ports
make search key=rsnapshot

A great source for packages/ports are found on openports.se.

Another way is to install pkg_mgr which is a curses based packages manager which use normal pkg_* tools.

Installing ports behind a proxy/firewall

If you are behind a proxy/firewall it is often neccesary to proxy ftp traffic through http and proxy server. Set the ftp_proxy environment variable according to your company proxy settings. Then you can set the PKG_PATH as usual. ftp will automatically pass ftp traffic using http through proxy server.

export ftp_proxy= http://<proxy_user>:<proxy_pw>@proxy.your.domain.com:<port>/
export PKG_PATH=ftp://ftp.openbsd.host.com/5.0/packages/i386

Package info

Install message (if any) can be displayed using -M flag.

pkg_info -M mysql-server

There might also be an install readme as part of the package.

ls /usr/local/share/doc/pkg-readmes/
mysql-server-5.1.60