Automatic conversion of the NetBSD pkgsrc CVS module, use with care
Find a file
wiz 7b47da26e3 py-mercurial: update to 6.1.
New Features

    Added a way of specifying required extensions that prevent
    Mercurial from starting if they are not found. See hg help
    config.extensions.

    Merge conflict markers have been made clearer (see backwards
    compatibility below)

    Improve detailed error codes

    Added a hint about mangled whitespace on bad patch

    Explain which order the commits are presented in chistedit

    Introduce a dirstate-tracked-hint feature to help automation
    keep track of changes to tracked files. See hg help
    config.use-dirstate-tracked-hint.

    Shared repositories can be upgraded if the upgrade is specific
    to the share. For now, this only applies to dirstate-v2 and
    dirstate-tracked-hint.

    When using the narrow extension, non-conflicting changes to
    files outside of the narrow specification can now be merged.

    When cloning a repository using stream-clone, the client can
    now control the repository format variants to use as long as
    the stream content does not restrict that variant.

Default Format Change

These changes affect newly created repositories (or new clones)
done with Mercurial 6.1.

    The share-safe format variant is now enabled by default. It
    makes configuration and requirements more consistent across
    repository and their shares. This introduces a behavior change
    as shares from a repository using the new format will also use
    their main repository's configuration. See hg help
    config.format.use-share-safe for details about the feature and
    the available options for auto-upgrading existing shares.

New Experimental Features

    The pure Rust version of Mercurial called rhg added support
    for most common invocations of hg status. See hg help rust.rhg
    for details on how to try it out.

    rhg supports narrow clones and sparse checkouts.

Bug Fixes

    Obsolete revisions are skipped while computing heads. In
    conjunction with the evolve extension >= 10.5.0, this leads to
    massive exchange (push/pull) speedups in repositories with a
    lot of heads and/or obsolete revisions.

    Stream-clones now properly advertise all requirements needed.
    This can result in the stream-clone feature being disabled for
    some clients using < 6.0.2. A small bugfix patch for these
    older client is available if necessary.

    The --no-check and --no-merge flags now properly overwrite the
    behavior from commands.update.check

    rhg's fallback detection is more robust in general in the
    presence of more advanced configs

    rhg's blackbox now supports milliseconds by default and uses
    the same ISO 8601 format as the Python implementation

    Fix rhg crash on non-generaldelta revlogs

    The lfs, largefiles and sparse extensions now correctly take
    the appropriate lock before writing requirements

    The notify extension does not produce errors anymore if a
    revision is not found

    Remove unnecessary and overly strict check for divergence in
    hg fix

    Windows compatibility improvements

    Miscellaneous Python 3 and typing improvements

    Many other small or internal fixes

Backwards Compatibility Changes

    The use of share-safe, means shares (of new repositories) will
    also use their main repository's configuration see the Default
    Format Change section for details.

    The fix to stream-clone requirements advertising means some
    requirements previously (wronly) omitted are now sent. This
    can confuse client using a Mercurial version < 6.0.2. The client
    would consider these requirements unsupported even if it actually
    know them. If you encounter this, either upgrade your client
    or apply the necessary patch.

    The labels passed to merge tools have changed slightly. Merge
    tools can get labels passed to them if you include $labellocal,
    $labelbase, and/or $labelother in the merge-tool.<tool name>.args
    configuration. These labels used to have some space-padding,
    and truncation to fit within 72 columns. Both the padding and
    the truncation has been removed.

    Some of the text in labels passed to merge tools has changed.
    For example, in conflicts while running hg histedit, the labels
    used to be "local", "base", and "histedit". They are now "already
    edited", "parent of current change", and "current change",
    respectively.

    The computation of namedbranch heads now ignores obsolete
    revisions. User of the Changeset Evolution feature may see a
    change in location and numbers of heads of each named branches
    (and topic).

    The remotefilelog extension now requires an appropriate
    excludepattern for subrepositories.

    debugsparse's interface has been reworked to be more flexible.
    Since it's a debug command it is not actually a breaking change,
    but it is worth noting here.

    Temporary files for merges are now all inside a hgmerge directory
    instead of at the root of TMPDIR. The corresponding experimental
    mergetempdirprefix config option has been removed.

Internal API Changes

    The dirstate API received minor modifications.

Miscellaneous

    Removed exchange-v2. It was a prototype that had never been in
    a working state and had been left untouched since 2017.
2022-03-08 11:05:09 +00:00
archivers Bump all Haskell packages after enabling "split sections" in mk/haskell.mk 2022-02-26 03:57:43 +00:00
audio audio/spotify-player: update to 0.6.0 2022-03-08 10:14:36 +00:00
benchmarks benchmarks/hyperfine: update to 1.13.0 2022-03-05 21:22:16 +00:00
biology biology/kallisto: Update to 0.48.0 2022-02-27 01:57:27 +00:00
bootstrap README.NetBSD: slightly rephrase note about make(1) 2022-02-25 23:03:10 +00:00
cad *: bump for guile20 PREFIX change 2022-03-07 22:59:49 +00:00
chat Revbump all Go packages after go117 update 2022-03-07 09:14:02 +00:00
comms asterisk16: Update to 16.24.0 2022-03-04 12:22:31 +00:00
converters converters/pandoc: Link pandoc with static Haskell libraries 2022-02-26 07:06:17 +00:00
cross freemint-gcc: Enable ObjC and ObjC++ 2022-01-29 18:33:17 +00:00
databases ldb: version 2.4.2 for incoming samba4 update 2022-03-07 21:36:19 +00:00
devel py-mercurial: update to 6.1. 2022-03-08 11:05:09 +00:00
distfiles
doc doc: Updated audio/spotify-player to 0.6.0 2022-03-08 10:14:55 +00:00
editors Sigil: update to 1.9.1. 2022-03-08 07:51:21 +00:00
emulators suse: disable RELRO checks 2022-03-07 16:40:36 +00:00
filesystems py-fs: updated to 2.4.15 2022-02-07 20:57:20 +00:00
finance finance/ruby-braintree: update to 4.6.0 2022-03-06 09:00:43 +00:00
fonts harfbuzz*: update to 4.0.0 2022-03-08 09:04:07 +00:00
games Fix build with meson >= 0.61 2022-03-08 09:33:35 +00:00
geography geography/qgis: Update to 3.22.3 2022-02-15 12:59:21 +00:00
graphics Fix build with meson >= 0.61 2022-03-08 09:12:03 +00:00
ham (ham/gnuradio-core) use '+=' instead of '=' for GCC_REQD 2022-02-20 11:03:43 +00:00
inputmethod *: switch to python 2.7 version of py-gobject3 2022-01-28 14:02:33 +00:00
lang lang/Makefile: + guile30 2022-03-08 00:09:46 +00:00
licenses licenses: Add libtpms-license 2022-02-01 15:07:01 +00:00
mail Revbump all Go packages after go117 update 2022-03-07 09:14:02 +00:00
math *: switch to lang/guile18 2022-03-07 20:36:50 +00:00
mbone mbone: Replace RMD160 checksums with BLAKE2s checksums 2021-10-26 10:57:00 +00:00
meta-pkgs modular-xorg/avoid-duplicate.mk: Use PKG_SKIP_REASON instead of RESTRICTED, 2022-02-13 10:44:38 +00:00
misc Updated misc/ocaml-opam-file-format to version 2.1.3. 2022-03-07 10:27:08 +00:00
mk mk/check: Do not waste time checking binaries that set EMUL_PLATFORM. 2022-03-07 16:53:08 +00:00
multimedia libva: update to 2.14.0. 2022-03-08 08:57:04 +00:00
net filezilla: update to 3.58.0. 2022-03-08 09:14:47 +00:00
news sfeed: Update to 1.3 2022-03-07 22:47:33 +00:00
packages
parallel lua-lanes: update to 3.16.0 2022-03-06 07:51:10 +00:00
pkgtools Revbump all Go packages after go117 update 2022-03-07 09:14:02 +00:00
print poppler: update to 22.03.0. 2022-03-08 10:09:22 +00:00
regress *: bump PKGREVISION for egg.mk users 2022-01-04 20:53:26 +00:00
security py-cyclonedx-python-lib: update to 2.0.0. 2022-03-08 09:08:29 +00:00
shells Revbump all Go packages after go117 update 2022-03-07 09:14:02 +00:00
sysutils sysutils/felix: update to 0.4.2 2022-03-08 10:13:22 +00:00
templates templates: disable search bar until the results are better 2021-04-21 11:14:11 +00:00
textproc asciidoc: update to 10.1.4. 2022-03-08 08:52:58 +00:00
time add time/lua-chronos 2022-03-06 08:58:20 +00:00
wm wm/leftwm: fix build 2022-02-27 20:36:26 +00:00
www restish: update to 0.10.0. 2022-03-08 08:47:39 +00:00
x11 xscreensaver: update to 6.03. 2022-03-08 07:27:11 +00:00
_NetBSD-pkgdb
Makefile
pkglocate
README.md README.md: Fix URIs and capitalize NetBSD 2022-01-31 22:39:11 +00:00

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. pkgsrc is highly configurable, supporting building packages for an arbitrary installation prefix (the default is /usr/pkg), allowing multiple branches to coexist on one machine, a build options framework, and a compiler transformation framework, among other advanced features. Unprivileged use and installation is also supported.

pkgsrc is the default package manager for NetBSD and SmartOS. It's also supported as a first-class option in OmniOS CE and Oasis Linux.

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.

Community / Troubleshooting

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