Automatic conversion of the NetBSD pkgsrc CVS module, use with care
Find a file
micha 1aa3e09a6e shells/pbosh: Update to 20210421
Changelog from AN-2021-01-05:
- Bourne Shell: When we introduced ${.sh.path} in February 2020, we did
  use the "new" and POSIX-only function realpath() that is not present
  on e.g. Ultrix. We now use abspath() from libschily if realpath() is
  missing.

  Note that abspath() is better than realpath(), as it supports path
  names longer than PATH_MAX, but since ${.sh.path} is only used to
  return the absolute pathname for the current shell binary, this is
  not a problem and on the other side, we can avoid linking against
  libschily this way, so shell scripting with lazy linking is faster
  since less libraries need to be linked at startup.

Changelog from AN-2021-04-21:
- Bourne Shell: gmatch.c: The new version no longer aborts with an
  illegal multi byte sequence as "no match". As a result, the "*"
  now again matches any filename - even if the filename contains an
  illegal multi-byte sequence. This is a problem that did not exist
  on the original Bourne Shell from Solaris that used gmatch() from
  the AT&T libgen, but since we added our private portable gmatch.c.
  to get better portability.

  Thanks to Stephane Chazelas for reporting the problem related to
  multi-byte to wide character conversion and illegal multi byte
  sequences in the case statement and filesystem globbing.

- Bourne Shell: word.c::readwc() no longer uses prwc() but rather
  a loop on the original multi-byte stream to print the "set -v"
  output. This permits to output the original input data in any
  case instead of stumbling over illegal multi-byte sequences.

  Thanks to Stephane Chazelas for reporting the general problem
  with input byte sequences that cause an EILSEQ error.

- Bourne Shell: struct fileblk now remembers lastwc and the related
  input string as fileblk->mbs[] in order to avoid incorrect
  conversions via wctomb() in case that the input wide char was a
  result from an EILSEQ conversion and thus has no related multi
  byte string.

  An important visible result of that change is that input read
  by the builtin command read(1) correctly forwards input that
  caused an EILSEQ error.

  It could not be verified whether this covers all possible similar
  cases, but it is at least very close to a completely correct
  solution.

  Thanks to Stephane Chazelas for reporting the general problem
  with input byte sequences that cause an EILSEQ error.

- Bourne Shell: xec.c: Cstyle changes

- Bourne Shell: the Copyright messages now mention 2021
2021-04-26 10:52:42 +00:00
archivers Update PLIST 2021-04-23 03:59:26 +00:00
audio various fixes for arm64 big endian support. 2021-04-25 07:51:24 +00:00
benchmarks revbump for textproc/icu 2021-04-21 11:40:12 +00:00
biology various fixes for arm64 big endian support. 2021-04-25 07:51:24 +00:00
bootstrap bootstrap: Add MidnightBSD support to bootstrap shell script 2021-03-15 16:22:06 +00:00
cad revbump for boost-libs 2021-04-21 13:24:06 +00:00
chat *: reset maintainer 2021-04-24 08:37:49 +00:00
comms revbump for boost-libs 2021-04-21 13:24:06 +00:00
converters Update to pandoc-2.13 2021-04-25 07:50:13 +00:00
cross atasm: update to 1.09. 2021-03-21 10:21:07 +00:00
databases promscale: update to 0.3.0 2021-04-25 10:11:09 +00:00
devel devel/smake: Update to 1.4 2021-04-26 10:38:11 +00:00
distfiles
doc doc: Updated shells/bosh to 20210421 2021-04-26 10:46:59 +00:00
editors editors/focuswriter: reset maintainer 2021-04-24 19:43:41 +00:00
emulators caprice32: fix building wiht gcc10 2021-04-25 08:04:13 +00:00
filesystems revbump for boost-libs 2021-04-21 13:24:06 +00:00
finance Add a comment about the kludge 2021-04-26 07:34:31 +00:00
fonts *: remove dead download sites 2021-04-21 15:48:03 +00:00
games bsdgames: fix fetch, pointed out by wiz 2021-04-25 14:07:02 +00:00
geography geocode-glib: Remove unnecessary dependency on gnome-icon-theme 2021-04-24 19:58:15 +00:00
graphics libjpeg-turbo: updated to 2.1.0 2021-04-26 08:18:48 +00:00
ham uhd: fix boost fallout 2021-04-24 16:34:54 +00:00
inputmethod fcitx5-gtk: fix building with gcc10 2021-04-25 18:24:43 +00:00
lang Add a bootkit for FreeBSD-*-i386 2021-04-26 07:41:21 +00:00
licenses add eternal-lands-license 2021-04-04 09:36:29 +00:00
mail xfmail: remove dead download link 2021-04-25 06:51:35 +00:00
math request c++11, not c++03. some of the demos in this library need 2021-04-25 22:07:26 +00:00
mbone *: bump PKGREVISION for perl-5.32. 2020-08-31 18:06:29 +00:00
meta-pkgs xfce4-extras: improve description 2021-04-24 03:17:17 +00:00
misc Update to cabal-install-3.4.0.0 2021-04-25 13:43:44 +00:00
mk various fixes for arm64 big endian support. 2021-04-25 07:51:24 +00:00
multimedia various fixes for arm64 big endian support. 2021-04-25 07:51:24 +00:00
net haproxy: updated to 2.3.10 2021-04-26 08:20:01 +00:00
news various fixes for arm64 big endian support. 2021-04-25 07:51:24 +00:00
packages
parallel various fixes for arm64 big endian support. 2021-04-25 07:51:24 +00:00
pkgtools Correct the order of redirection 2021-04-22 08:54:18 +00:00
print ja-vflib-lib: update download link 2021-04-25 06:34:05 +00:00
regress regress/infra-unittests: use single quotes for string literals 2021-01-04 21:11:43 +00:00
security security/pleaser: update to 0.4.1 2021-04-25 19:58:20 +00:00
shells shells/pbosh: Update to 20210421 2021-04-26 10:52:42 +00:00
sysutils sysutils/xplr: update to 0.5.7 2021-04-26 07:15:03 +00:00
templates templates: disable search bar until the results are better 2021-04-21 11:14:11 +00:00
textproc py-ICU: update to 2.7.2. fixes build with icu 69.1. 2021-04-26 07:42:44 +00:00
time rclock: remove dead download link 2021-04-25 05:59:36 +00:00
wm Fix build with GHC 9 2021-04-25 14:32:12 +00:00
www goaccess: update to 1.4.6 2021-04-25 22:04:06 +00:00
x11 various fixes for arm64 big endian support. 2021-04-25 07:51:24 +00:00
_NetBSD-pkgdb _NetBSD-pkgdb: Use $@ insted of $* 2020-12-29 17:56:14 +00:00
Makefile Makefile: fix outdated documentation 2020-02-12 15:04:51 +00:00
pkglocate
README.md *: fix a bunch of typos in README and various documentation files. 2020-12-12 10:42:47 +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.

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