Automatic conversion of the NetBSD pkgsrc CVS module, use with care
693ef499cd
(pkgsrc changes) - Add three DEPENDS, and add 6 TEST_DEPENDS. But test needs more. (upstream changes) # devtools 2.2.1 * New `options("devtools.ellipsis_action")` option added to control the action of ellipsis in devtools. This should be one of - `rlang::abort` - to emit an error if arguments are unused - `rlang::warn` - to emit a warning if arguments are unused - `rlang::inform` - to emit a message if arguments are unused - `rlang::signal` - to emit a message if arguments are unused Using `rlang::signal` will produce no output unless the custom condition is caught, so it is the best way to retain backwards compatibility with devtools behavior prior to 2.2.0. The default behavior was also changed to issue a warning rather than an error if any arguments are unused, as there are some cases where devtools does not need to install the package, so unused arguments are false positives (#2109). * `install()` now throws an error when it fails, as intended (#2120) * `install()` now again reloads and re-attaches packages if they were previously loaded (#2111). * `release()` no longer calls the deprecated `dr_devtools()` (#2105) * `test()` now explicitly passes `stop_on_failure = FALSE` to `testthat::test_dir()` (@jameslamb, #2099) # devtools 2.2.0 ## New Features * `create()` added back, the RStudio IDE uses `create()` in the create packages dialog, so removing it in version 2.1.0 broke old versions of the IDE. * New `dev_sitrep()` function to return information about your development environment and diagnose common problems. The former functions `dr_devtools()` and `dr_github()` have been deprecated. (#1970) * All functions taking `...` now use the ellipsis package. This catches errors when arguments are misspelled or incorrectly specified (#2016) ## Minor improvements and fixes * `build_vignettes()` now correctly installs the vignette builder if it is not already installed (#2089). * `dev_sitrep()` now uses the same endpoint to detect the current RStudio version as the IDE (#2050). * `document()` gains a `quiet` parameter, to silence output and `check()` now passes its quiet argument to it (#1986). * Add the DT package as a dependency, so that `test_coverage()` and `test_coverage_file()` work without having to install additional packages (#2085). * `check_man()` now succeeds when `tools::undoc()` returns empty results (#1944). * `check_win_*()` functions gain a `email` argument, so temporarily change the email the check results will be sent to (#1723). * `install()` now explicitly unloads packages before trying to install a new version (#2094). * All `install_*()` functions now attach build tools to the PATH, which makes them work on Windows when RTools is not on the default PATH (#2093). * `test_coverage_file()` now works when there is not a 1 to 1 correspondence between test and source files (#2011). * `release()` now works again when `pkg` is not the current working directory (#1974). * `release()` now works without error when `options("repos")` is unnamed (#1956). * `create()` added, the RStudio IDE uses `create()`, so removing it in version 2.1.0 broke old versions of the IDE. * In several places `http:` URLs were used instead of `https:`, the most critical being in the `cran_mirror`, `cran_pacakges`, and `cran_submission_url` values which could have enabled discrete activity disclosure and person-in-the-middle attacks (i.e. changing the contents while uploading/downloading). All `http:` URLS have been changed to `https:` URLs. (@hrbrmstr, #2091) |
||
---|---|---|
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