Automatic conversion of the NetBSD pkgsrc CVS module, use with care
3551fbf1d9
# devtools 2.3.1 * `Run* `run_examples()` arguments `run` and `test` are deprecated in favor of the (hopefully) more clear `run_dontrun` and `run_donttest` (pkgload/#107). * Previously deprecated functions `dr_devtools()` and `dr_github()` have been removed. * Documentation has been synced with remotes 2.2.0 # devtools 2.3.0 * `build()` now errors with a more informative error message when passed an invalid `pkg`. (#2177) * New `build_rmd()` can build any `.Rmd` file in a clean session. * `dev_sitrep()` now works correctly when R is out of date (#2204) # devtools 2.2.2 * `install_dev_deps()` now passes formal args onto `remotes::install_deps()` (@t-gibson, #2166) * `spell_check()` now checks if `spelling` is installed and prompts users to install it if not (@mikemahoney218, #2172) * `submit_cran()` now returns a more informative error when the CRAN submission portal is down (#1958) * `check()` gains a `vignettes` argument, to more easily disable checks for vignettes (#2165). * `check_win_*()` function now resets the email to the original email after execution (@muschellij2, #2152). * `check()` now sets `NOT_CRAN=true` by default, as was originally intended (#2135). * `install_deps()` now supports `options("devtools.ellipsis_action")` as well (#2169) * `test()` now takes `stop_on_failure` as a formal argument (FALSE by default) instead of in `...`. Its value is still passed to `testthat::test_dir` as before (@infotroph, #2129). * `test()` and `test_coverage_file()` gain a `export_all` argument, which controls if all functions in a package are automatically exported (#1201). * `dev_sitrep()` now works if run outside a package directory (#2127). * `release()` now works if the package root is not in the working directory. |
||
---|---|---|
archivers | ||
audio | ||
benchmarks | ||
biology | ||
bootstrap | ||
cad | ||
chat | ||
comms | ||
converters | ||
cross | ||
databases | ||
devel | ||
distfiles | ||
doc | ||
editors | ||
emulators | ||
filesystems | ||
finance | ||
fonts | ||
games | ||
geography | ||
graphics | ||
ham | ||
inputmethod | ||
lang | ||
licenses | ||
math | ||
mbone | ||
meta-pkgs | ||
misc | ||
mk | ||
multimedia | ||
net | ||
news | ||
packages | ||
parallel | ||
pkgtools | ||
regress | ||
security | ||
shells | ||
sysutils | ||
templates | ||
textproc | ||
time | ||
wm | ||
www | ||
x11 | ||
Makefile | ||
pkglocate | ||
README.md |
pkgsrc
pkgsrc is a framework for building software for a variety of UNIX-like systems.
It produces binary packages, which can be managed with tools such as pkgin.
Bootstrapping
To use pkgsrc on operating systems other than NetBSD, you first need to bootstrap:
cd pkgsrc/bootstrap
./bootstrap
Note that this is only for the most simple case, using pkgsrc's defaults.
Please consult bootstrap/README
and bootstrap/README.OS
for detailed
information about bootstrapping.
Building packages
cd pkgsrc/category/package-name
$PREFIX/bin/bmake install
Where $PREFIX
is where you've chosen to install packages
(typically /usr/pkg
)
On NetBSD, bmake
is simply the built-in make
tool.
To build packages in bulk, tools such as pkgtools/pbulk
and
pkgtools/pkg_comp
can be used.
Troubleshooting
- Join the community IRC channel #pkgsrc @ freenode.
- Subscribe to the pkgsrc-users mailing list
- Send bugs and patches via web form (use the
pkg
category).
Latest sources
To fetch the main CVS repository:
cvs -d anoncvs@anoncvs.NetBSD.org:/cvsroot checkout -P pkgsrc
To work in the Git mirror, which is updated every few hours from CVS:
git clone https://github.com/NetBSD/pkgsrc.git
Additional links
- The pkgsrc guide
- pkgsrc in the NetBSD Wiki
- Searchable index of packages in pkgsrc
- pkgsrc-wip - a project to get more people actively involved with creating packages for pkgsrc
- pkgsrc on Twitter
- pkgsrcCon