Automatic conversion of the NetBSD pkgsrc CVS module, use with care
Find a file
wen 0091fb2bd1 Update to 1.999825
Upstream changes:
1.999825 2021-09-28

 * Make Math::BigInt accept integers regardless of whether they are written as
   decimal, binary, octal, or hexadecimal integers or decimal, binary, octal, or
   hexadecimal floating point number.

 * When numeric constants are overloaded (with the ":constant" option) in
   Math::BigInt, every numeric constant that represent an integer is converted
   to an object regardless of how it is written. All finite non-integers are
   converted to a NaN.

 * When numeric constants are overloaded (with the ":constant" option) in
   Math::BigFloat, every numeric constant is converted to an object regardless
   of how it is written.

 * Add method from_dec() (cf. from_bin(), from_oct(), and from_hex()). It is
   like new() except that it does not accept anything but a string representing a
   finite decimal number.

1.999824 2021-09-20

 * Don't allow mixing math libraries. Use the first backend math library that is
   successfully loaded, and ignore any further attempts at loading a different
   backend library. This is a solution to the re-occurring problem of using
   objects using different math libraries.

 * Add missing documentation.

 * Miscellaneous minor improvements.

1.999823 2021-07-12

 * Improve the handling of the backend libraries. Provide more useful warnings
   and error messages. Update the documentation.

1.999822 2021-07-09

 * Make the from_hex(), from_oct(), and from_bin() methods consistent with
   CORE::oct(), which does not require a leading "0" before the letter ("x",
   "o", or "b").

 * Make the from_oct() and new() methods accept octal numbers with prefix
   "0o", "0O", "o" (lowercase letter o), and "O" (capital letter O).

 * Make the from_bin() and new() methods accept binary numbers with
   prefix "0b", "0B", "b", and "B".

 * Make the from_hex() and new() methods accept hexadecimal numbers with
   prefix "0x", "0X", "x", and "X".

 * Update test files to match with the above.

1.999821 2021-07-06

 * Make new() and from_hex() accept the "0X" prefix, not just the "0x" prefix,
   but not accept just "X" or "x". Now, "0XFF" returns 255, not NaN.

 * Make new() and from_bin() accept the "0B" prefix, not just the "0b" prefix, but
   not accept just "B" or "b". Now, "0B1111" returns 255, not NaN.

 * Make new() and from_oct() accept the "0o" and "0O" prefixes, but not accept
   just "O" (capital letter O) or "o" (lowercase letter o). Now, "0o377" and
   "0O377" return 255, not NaN. Also intepret floating point numbers with a
   leading zero and a binary exponent as an octal number, so that "01.4p0"
   returns 1.5, not NaN. There is still no ambiguety, since decimal floating
   point numbers use "e" or "E" before the exponent, and binary and hexadecimal
   floating point numbers use a "0b"/"0B" or "0x"/"0x" prefix, respectively.

1.999820 2021-07-06

 * Fix bug and improve error messages in Math::BigInt::import().

1.999819 2021-07-02

 * Add method btfac() (triple factorial) and bmfac() (multi-factorial),
   including tests and documentation.

 * Add missing and correct erroneous documentation for bfac() (factorial)
   and bdfac() (double factorial). Also correct handling of special cases
   and add tests for these cases.

 * Fix error in bsin() and bcos() causing them to hang indefinitely if the
   invocand is +/-inf.

 * Make it possible for the end user to specify the base length used internally
   in Math::BigInt::Calc.
2021-09-30 13:22:36 +00:00
archivers zip: Support MKPIE on i386. Move compiler bug hacks to hacks.mk. 2021-09-30 11:39:27 +00:00
audio revbump for boost-libs 2021-09-29 19:00:02 +00:00
benchmarks netperf: Support GCC >= 10. 2021-09-28 12:57:17 +00:00
biology revbump for boost-libs 2021-09-29 19:00:02 +00:00
bootstrap Spaces to tabs (NFCI). 2021-07-13 12:43:58 +00:00
cad revbump for boost-libs 2021-09-29 19:00:02 +00:00
chat revbump for boost-libs 2021-09-29 19:00:02 +00:00
comms revbump for boost-libs 2021-09-29 19:00:02 +00:00
converters revbump for boost-libs 2021-09-29 19:00:02 +00:00
cross (cross/mingw-binutils) fix build, taking care ld/genscripts.sh bash issue 2021-09-26 02:33:14 +00:00
databases revbump for boost-libs 2021-09-29 19:00:02 +00:00
devel libslang2: fix pkg-config file 2021-09-30 08:33:21 +00:00
distfiles
doc doc: Updated mail/notmuch to 0.33.2 2021-09-30 13:18:26 +00:00
editors revbump for boost-libs 2021-09-29 19:00:02 +00:00
emulators revbump for boost-libs 2021-09-29 19:00:02 +00:00
filesystems revbump for boost-libs 2021-09-29 19:00:02 +00:00
finance revbump for boost-libs 2021-09-29 19:00:02 +00:00
fonts harfbuzz-icu: fix for 3.0 update 2021-09-29 20:26:01 +00:00
games revbump for boost-libs 2021-09-29 19:00:02 +00:00
geography revbump for boost-libs 2021-09-29 19:00:02 +00:00
graphics revbump for boost-libs 2021-09-29 19:00:02 +00:00
ham revbump for boost-libs 2021-09-29 19:00:02 +00:00
inputmethod revbump for boost-libs 2021-09-29 19:00:02 +00:00
lang ocaml: unsafe for MKPIE 2021-09-30 11:08:57 +00:00
licenses Add SMath Studio as math/smath-studio. 2021-06-29 14:28:12 +00:00
mail notmuch: Update to 0.33.2. 2021-09-30 13:18:17 +00:00
math Update to 1.999825 2021-09-30 13:22:36 +00:00
mbone *: recursive bump for perl 5.34 2021-05-24 19:49:01 +00:00
meta-pkgs bulk-test-boost: exclude poppler-glib - does not depend on boost 2021-09-29 16:54:24 +00:00
misc revbump for boost-libs 2021-09-29 19:00:02 +00:00
mk mk: Register support for MKPIE on more NetBSD archs, syncing with 2021-09-27 16:13:26 +00:00
multimedia revbump for boost-libs 2021-09-29 19:00:02 +00:00
net revbump for boost-libs 2021-09-29 19:00:02 +00:00
news revbump for boost-libs 2021-09-29 19:00:02 +00:00
packages
parallel revbump for boost-libs 2021-09-29 19:00:02 +00:00
pkgtools digest: correct hash size of blake2s 2021-09-29 13:10:40 +00:00
print ghostscript-agpl: updated to 9.55.0 2021-09-29 19:19:23 +00:00
regress regress: fix space-tab in the indentation 2021-09-09 18:23:44 +00:00
security gnupg: asm is unsafe for MKPIE on i386 2021-09-30 11:17:10 +00:00
shells shells/starship: update to 0.58.0 2021-09-30 09:57:43 +00:00
sysutils revbump for boost-libs 2021-09-29 19:00:02 +00:00
templates templates: disable search bar until the results are better 2021-04-21 11:14:11 +00:00
textproc revbump for boost-libs 2021-09-29 19:00:02 +00:00
time revbump for boost-libs 2021-09-29 19:00:02 +00:00
wm wm/shod: update to 2.1.4 2021-09-30 09:59:47 +00:00
www revbump for boost-libs 2021-09-29 19:00:02 +00:00
x11 qt5-qtbase: Fix building for Darwin 21 2021-09-29 19:28:01 +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