Automatic conversion of the NetBSD pkgsrc CVS module, use with care
Find a file
tsutsui 360d59dc00 ruby-nokogiri: update to 1.12.4.
Upstream changes
https://github.com/sparklemotion/nokogiri/releases/tag/v1.12.4

1.12.4 / 2021-08-29

Notable fix: Namespace inheritance

Namespace behavior when reparenting nodes has historically been poorly
specified and the behavior diverged between CRuby and JRuby. As a result,
making this behavior consistent in v1.12.0 introduced a breaking change.

This patch release reverts the Builder behavior present in v1.12.0..v1.12.3 but
keeps the Document behavior. This release also introduces a Document attribute
to allow affected users to easily change this behavior for their legacy code
without invasive changes.

Compensating Feature in XML::Document

This release of Nokogiri introduces a new Document boolean attribute,
namespace_inheritance, which controls whether children should inherit a
namespace when they are reparented. Nokogiri::XML:Document defaults this
attribute to false meaning "do not inherit," thereby making explicit the
behavior change introduced in v1.12.0.

CRuby users who desire the pre-v1.12.0 behavior may set
document.namespace_inheritance = true before reparenting nodes.

See https://nokogiri.org/rdoc/Nokogiri/XML/Document.html#
namespace_inheritance-instance_method for example usage.

Fix for XML::Builder

However, recognizing that we want Builder-created children to inherit
namespaces, Builder now will set namespace_inheritance=true on the underlying
document for both JRuby and CRuby. This means that, on CRuby, the pre-v1.12.0
behavior is restored.

Users who want to turn this behavior off may pass a keyword argument to the
Builder constructor like so:

Nokogiri::XML::Builder.new(namespace_inheritance: false)

See https://nokogiri.org/rdoc/Nokogiri/XML/Builder.html#
label-Namespace+inheritance for example usage.

Downstream gem maintainers

Note that any downstream gems may want to specifically omit Nokogiri
v1.12.0--v1.12.3 from their dependency specification if they rely on child
namespace inheritance:

Gem::Specification.new do |gem|
  # ...
  gem.add_runtime_dependency 'nokogiri', '!=1.12.3', '!=1.12.2', '!=1.12.1', '!=1.12.0'
  # ...
end

Fixed

  * [JRuby] Fix NPE in Schema parsing when an imported resource doesn't have a
    systemId. [#2296] (Thanks, @pepijnve!)
2021-09-11 09:54:46 +00:00
archivers (archivers/R-zip) Updated 2.1.1 to 2.2.0 2021-08-30 01:14:59 +00:00
audio audacity: Backport a crash fix (and another crash workaround...) 2021-09-11 08:53:19 +00:00
benchmarks google-benchmark: update to 1.5.6. 2021-08-15 13:29:05 +00:00
biology biology/peak-classifier: Update to 0.1.1.21 2021-09-03 01:57:56 +00:00
bootstrap Spaces to tabs (NFCI). 2021-07-13 12:43:58 +00:00
cad (cad/gtkwave) Updated 3.3.110 to 3.3.111 2021-09-11 02:03:41 +00:00
chat Recursive revbump for audio/jack 2021-09-08 21:04:53 +00:00
comms py-esptool: updated to 3.1 2021-09-09 08:04:23 +00:00
converters py-reedsolo: added version 1.5.4 2021-09-09 07:31:02 +00:00
cross cross/avr-libc: Update to 2.0.0nb6 2021-09-08 12:20:35 +00:00
databases mysql56-client: note this version is EOL 2021-09-09 00:42:29 +00:00
devel ruby-diva: update to 1.1.0. 2021-09-11 09:47:00 +00:00
distfiles
doc doc: Updated devel/ruby-diva to 1.1.0 2021-09-11 09:47:18 +00:00
editors Recursive revbump for audio/jack 2021-09-08 21:04:53 +00:00
emulators qemu: add patch checksum 2021-09-10 19:44:37 +00:00
filesystems fuse-djmount: retire; does not build with external nor internal libupnp; last release 2006-08-07 2021-06-15 09:05:40 +00:00
finance bitcoin: actually ship the RC script for bitcoind 2021-08-29 22:38:58 +00:00
fonts Recursive revbump for audio/jack 2021-09-08 21:04:53 +00:00
games xonotic: Fix building on i386 2021-09-10 11:30:05 +00:00
geography geography/py-gdal: Reset PKGREVISION 2021-09-08 23:48:18 +00:00
graphics opencolorio: Unbreak with latest yaml-cpp 2021-09-10 12:21:57 +00:00
ham Recursive revbump for audio/jack 2021-09-08 21:04:53 +00:00
inputmethod ibus: update to 1.5.25. 2021-08-21 17:40:17 +00:00
lang rust-bin: sync version with lang/rust 2021-09-11 08:38:44 +00:00
licenses Add SMath Studio as math/smath-studio. 2021-06-29 14:28:12 +00:00
mail roundcube: use PKG_SYSCONFDIR for plug-in configuration files 2021-09-09 01:11:43 +00:00
math R: Fix Darwin PLIST. 2021-09-06 10:20:07 +00:00
mbone *: recursive bump for perl 5.34 2021-05-24 19:49:01 +00:00
meta-pkgs kf5: fix typo {,k}mediaplayer 2021-09-05 00:05:41 +00:00
misc libreoffice: Fix building on NetBSD 9.x 2021-09-07 09:49:05 +00:00
mk (replace-interpreter.mk) Add REPLACE_R, tks rillig@ and greg@ 2021-09-09 21:59:36 +00:00
multimedia libvpx: fix building on Darwin 21 2021-09-10 12:47:46 +00:00
net powerdns-recursor: needs atomic64 2021-09-10 11:00:27 +00:00
news news/tin: Build fix for the option combination curses(pdcurses) + icu 2021-09-01 16:43:59 +00:00
packages
parallel threadingbuildingblocks: needs atomic64 2021-09-10 12:08:51 +00:00
pkgtools rc.subr: update to version 20210830 2021-08-30 21:45:02 +00:00
print okular: add buildlink3.mk 2021-08-31 11:29:24 +00:00
regress regress: fix space-tab in the indentation 2021-09-09 18:23:44 +00:00
security security/pear-Crypt_GPG: update to 1.6.6 2021-09-06 15:08:44 +00:00
shells xonsh: Update to 0.10.1 2021-09-09 11:38:04 +00:00
sysutils sysutils/auto-admin: Update to 0.7.6 2021-09-10 16:39:03 +00:00
templates templates: disable search bar until the results are better 2021-04-21 11:14:11 +00:00
textproc ruby-nokogiri: update to 1.12.4. 2021-09-11 09:54:46 +00:00
time (time/R-tzdb) Add buildlink3.mk 2021-09-08 15:30:54 +00:00
wm Add shod 2021-08-30 14:40:11 +00:00
www (www/R-httpuv) Updated 1.6.2 to 1.6.3 2021-09-11 01:58:46 +00:00
x11 qt5-qtwebengine: needs atomic64 2021-09-10 11:20:03 +00:00
_NetBSD-pkgdb _NetBSD-pkgdb: Use $@ insted of $* 2020-12-29 17:56:14 +00:00
Makefile
pkglocate
README.md use libera.chat's hosted kiwiirc 2021-05-29 13:14:10 +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