Automatic conversion of the NetBSD pkgsrc CVS module, use with care
Find a file
micha bd60ec1fc8 devel/smake: Update to 1.5nb1
Changelog from AN-2021-07-29:
- smake: changed open(..., 0) -> open(..., O_RDONLY) for z/OS

  Thanks to a report from Matthew R. Wilson

- smake: z/OS is using EBCDIC and for this reason, smake cannot continue
  to #define NWARN 0x4000, as this bit would be in conflict with bits
  needed by the "short int" computed from characters used by macro
  assignment operator characters. e.g. "'=' | '+' << 8"

  smake now uses #define NWARN 0x8000 as this bit is only in use by
  EBCDIC digits that do not appear in the 16 bit values used as macro
  assignment operators inside smake.

  Thanks to a report from Matthew R. Wilson

- smake: A .POSIX: line in the Makefile is now correctly detected
  immediately and switches immediately into POSIX mode. This is
  important in case that the parser needs to behave different already,
  depending on whether it is in POSIX mode or not.

- smake: Since the GNU assignment operator := that has been adopted
  by POSIX as ::= causes unpredictable behavior, in case that += is
  used, it is now only supported when smake is in "POSIX mode", e.g.
  by putting .POSIX: into the Makefile. As this results in modifying
  the parser based on the current POSIX state, this needs the extension
  mentioned above.
2021-08-06 09:50:48 +00:00
archivers Fix potential memory corruption with negative memmove() size 2021-08-06 05:08:50 +00:00
audio lilv: set default lv2 plugin path, bump PKGREVISION 2021-08-05 15:48:22 +00:00
benchmarks benchmarks/hyperfine: simplify Makefile 2021-08-05 08:50:35 +00:00
biology py-numpy: "Python version >= 3.7 required." 2021-06-29 08:41:59 +00:00
bootstrap Spaces to tabs (NFCI). 2021-07-13 12:43:58 +00:00
cad kicad-*: update to 5.1.10 2021-07-30 22:47:18 +00:00
chat Update chat/element-web to 1.7.34 2021-08-03 19:51:56 +00:00
comms asterisk13: Update to Asterisk 13.38.3. 2021-08-01 02:57:12 +00:00
converters py-charset-normalizer: added version 2.0.3 2021-07-30 04:14:49 +00:00
cross cross/ppc-morphos-gcc-10/Makefile: Fix comment 2021-07-25 17:31:10 +00:00
databases mariadb*: Include buildlink3 file for PAM 2021-08-05 11:21:23 +00:00
devel devel/smake: Update to 1.5nb1 2021-08-06 09:50:48 +00:00
distfiles
doc doc: Updated sysutils/zoxide to 0.7.3 2021-08-06 09:50:46 +00:00
editors editors/micro: Update to 2.0.9 2021-08-06 01:06:44 +00:00
emulators *: Recursive revbump from audio/pulseaudio-15.0 2021-07-30 12:26: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 finance/rates: simplify Makefile 2021-08-03 09:00:37 +00:00
fonts py-fonttools: updated to 4.25.2 2021-07-30 12:55:42 +00:00
games warzone2100: Update to 4.1.2 2021-08-03 18:09:27 +00:00
geography *: Recursive revbump from audio/pulseaudio-15.0 2021-07-30 12:26:37 +00:00
graphics mate-backgrounds: update to 1.24.2 2021-08-06 01:12:53 +00:00
ham *: Recursive revbump from audio/pulseaudio-15.0 2021-07-30 12:26:37 +00:00
inputmethod ibus-python: remove reference to Linux in DESCR 2021-06-23 20:25:13 +00:00
lang coreclr: removed; approved by @kamil 2021-08-05 08:01:18 +00:00
licenses Add SMath Studio as math/smath-studio. 2021-06-29 14:28:12 +00:00
mail *: Recursive revbump from audio/pulseaudio-15.0 2021-07-30 12:26:37 +00:00
math math/sc-ic: Remaintain 2021-08-06 01:38:57 +00:00
mbone *: recursive bump for perl 5.34 2021-05-24 19:49:01 +00:00
meta-pkgs mate: bump to general release version 1.24.1 2021-08-06 02:12:09 +00:00
misc libmateweather: update to 1.24.1 2021-08-06 00:05:49 +00:00
mk mk: Add MariaDB 10.6 bits. 2021-08-04 16:08:43 +00:00
multimedia mkvtoolnix: updated to 60.0.0 2021-08-01 18:09:38 +00:00
net net/netwake: Update to 0.4 2021-08-06 04:04:59 +00:00
news lottanzb: comment out dead HOMEPAGE and MASTER_SITES. 2021-07-20 21:38:59 +00:00
packages
parallel threadingbuildingblocks: fix build on Linux, we need to link against dl. 2021-07-29 20:03:28 +00:00
pkgtools pkgdiff: remove stale line (NFC) 2021-08-06 01:29:27 +00:00
print py-octoprint: prefer PYTHON_VERSIONS_INCOMPATIBLE 2021-08-05 13:08:08 +00:00
regress *: recursive bump for perl 5.34 2021-05-24 19:49:01 +00:00
security py-acme py-certbot*: updated to 1.18.0 2021-08-05 10:52:00 +00:00
shells shells/nushell: update to 0.35.0 2021-08-03 17:57:35 +00:00
sysutils sysutils/zoxide: update to 0.7.3 2021-08-06 09:50:27 +00:00
templates templates: disable search bar until the results are better 2021-04-21 11:14:11 +00:00
textproc py-sphinxcontrib-serializinghtml: updated to 1.1.5 2021-08-05 18:39:39 +00:00
time time/quest-tui: simplify Makefile 2021-08-05 08:55:18 +00:00
wm *: Recursive revbump from audio/pulseaudio-15.0 2021-07-30 12:26:37 +00:00
www py-sanic: updated to 21.6.2 2021-08-05 18:37:30 +00:00
x11 mate-settings-daemon: update to 1.24.2 2021-08-06 01:18:10 +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