no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
| — | netbsd_pkgsrc [2013/06/11 23:18] (current) – created - external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== NetBSD pkgsrc (Source Code Installs) ====== | ||
| + | * [[NetBSD]] | ||
| + | |||
| + | * [[http:// | ||
| + | |||
| + | Install programs onto NetBSD building **from source code**. | ||
| + | |||
| + | === Install NetBSD ports === | ||
| + | |||
| + | Download and install the pkgsrc contents: | ||
| + | |||
| + | < | ||
| + | ftp ftp:// | ||
| + | tar -zxf pkgsrc.tar.gz -C /usr | ||
| + | </ | ||
| + | |||
| + | Build package vulnerability database: | ||
| + | |||
| + | < | ||
| + | / | ||
| + | </ | ||
| + | |||
| + | < | ||
| + | PATH="/ | ||
| + | export PATH | ||
| + | </ | ||
| + | |||
| + | == Build the search database == | ||
| + | |||
| + | This will take a long time. | ||
| + | |||
| + | < | ||
| + | cd /usr/pkgsrc | ||
| + | make search | ||
| + | </ | ||
| + | |||
| + | == Build a static list == | ||
| + | |||
| + | < | ||
| + | find / | ||
| + | </ | ||
| + | |||
| + | === Package Source Management === | ||
| + | |||
| + | == Display build options == | ||
| + | |||
| + | < | ||
| + | make show-options | ||
| + | </ | ||
| + | |||
| + | == Uninstall a package == | ||
| + | |||
| + | < | ||
| + | make deinstall | ||
| + | </ | ||
| + | |||
| + | == Edit package build options == | ||
| + | |||
| + | Add to ''/ | ||
| + | |||
| + | < | ||
| + | PKG_OPTIONS.apache22 = apache-mpm-worker -apache-mpm-prefork suexec | ||
| + | </ | ||
| + | |||
| + | == Allow vulnerable licenses == | ||
| + | |||
| + | Add to ''/ | ||
| + | |||
| + | < | ||
| + | ACCEPTABLE_LICENSES+= vim-license | ||
| + | </ | ||
| + | |||
| + | == Allow vulnerable packages == | ||
| + | |||
| + | < | ||
| + | echo ALLOW_VULNERABLE_PACKAGES=1 >> / | ||
| + | </ | ||
| + | |||
| + | === Building Packages === | ||
| + | |||
| + | == Run make clean on all dependencies == | ||
| + | |||
| + | < | ||
| + | make clean-depends | ||
| + | </ | ||