Automatic conversion of the NetBSD pkgsrc CVS module, use with care
Find a file
fcambus 6ef665f92e gxemul: update to 0.7.0.
ChangeLog:

20210228	Switching back from C++ to plain C.
		Implementing a helper method for registering device addresses
		as symbols (so that it can be used from several machines).
20210307	Subtle colorized output when stdin/stdout are connected to a
		tty, to make it quicker to interpret text output. Enabled with
		-G or by setting the CLICOLOR environment variable. Can be
		disabled with -A.
20210309	Beginning to separate debug messages into subsystems, that have
		individual verbosity levels.
		Making -K work more consistently (enter the debugger at the
		end of a run). -V implies -K.
		Making -T work better for M88K (breaking into the debugger
		directly on bad memory accesses, if -K is used).
20210310	All MIPS machines now register their devices as symbols (based
		in kseg1, i.e. 0xffffffffa0000000).
20210311	Making -T work better for MIPS, PPC, ARM, and SuperH.
20210314	Adding a -L command line option for enabling tap networking
		without using configuration files.
		-x is now needed if one wants separate xterm windows for serial
		I/O when using configuration files with a single machine.
20210316	debugmsg subsystems can now be registered at runtime; this is
		so far done from the Lance Ethernet device.
		Adding a 'verbosity' debugger command for inspecting and
		setting the verbosity level for individual subsystems.
20210318	Fixing an annoying 'backspace' bug in the debugger command
		line handling, where the response sometimes could become
		"unknown command ''".
		Implementing CTRL-W (erase word) in the debugger.
		Implementing CTRL-T (SIGINFO-like status line) in the debugger.
20210320	Removing the UNSTABLE_DEVEL configure define; it was not used
		much, and the debugmsg verbosity levels can be used in its
		place.
		Fixing a bug for MIPS R2000/R3000 when writing to coprocessor 0
		"entrylo" register (if the lowest 8 bits were 0, the code took
		the non-R2000/R3000 code path).
20210321	Adding an empty i960 CPU skeleton [again].
		Moving 'arch' from struct machine to struct cpu; in the future,
		perhaps this would allow a machine to have heterogenous CPU
		sets (such as the Dreamcast with both SuperH and ARM).
		Removing "slow_serial_interrupts_hack_for_linux" (-U) command
		line option, since it is not used for most guest OSes, and
		occupied a command line option char.
20210323	Breaking out the mb89352 SCSI Protocol Controller from the
		luna88k device, and beginning to implement it. Works well
		enough for OpenBSD's "boot" to read the disk and load the
		kernel, but not well enough for the kernel to like it.
20210324	Adding support for 00 99 01 07 variant of luna88k a.out.
20210325	The mb89352 SCSI controller uses its own subsystem for debug
		messages.
20210327	Adding an empty RISC-V CPU skeleton [again].
		Implementing enough of the mb89352 to allow OpenBSD/luna88k
		to boot with SCSI (both the boot loader and the kernel)!
20210401	Applying a patch from George Matsumura to make things build
		better on Linux: __attribute__((__packed__));  in bootblock.h.
20210405	Adding hardcoded boot_unit=0 and boot_partition=0 NVRAM
		variables to the LUNA-88K machine, allowing OpenBSD/luna88k
		to boot from disk without asking for root and swap partitions.
		Adding 'R' (upper-case) disk image prefix, as a shorthand for
		creating temporary overlays.
20210407	Code for idling the host processor has been moved out from
		individual CPU implementations to the main emul loop.
		Implementing an X11 mouse pointer grab mechanism. Grab is
		activated by clicking in a framebuffer window, and released
		using left CTRL + ALT. When grab is active, the host mouse
		cursor is hidden and the window caption changes to indicate
		that grab is active.
20210408	Implementing an unusual 88K "not_maxneg_nor_zero" bcnd
		condition.
20210409	Moving the LUNA88K framebuffer to its own device file.
		Beginning to implement the LUNA88K front panel LCD.
		Also fixing a bug where the rightmost pixel (or 8 pixels in
		the case of monochrome) were not drawn.
20210410	Also check for X11R7 in the configure script, in addition
		to X11R6.
20210417	Porting over i960CA disassembly from the C++ framework.
20210418	More i960 stuff, including re-adding the (so far dummy)
		Cyclone VH machine.
		Assuming availabilty of __func__ (C99 standard).
20210422	Enabling idle detection for OpenBSD/luna88k, which uses a
		bcnd.n instruction. A hack, but it seems to work.
		Fixing a bug where console input could randomly be lost when
		idling, if there were multiple emulated serial ports.
2021-04-24 07:31:36 +00:00
archivers Update PLIST 2021-04-23 03:59:26 +00:00
audio minimp3: fix version 2021-04-23 16:40:29 +00:00
benchmarks revbump for textproc/icu 2021-04-21 11:40:12 +00:00
biology py-dnaio: mark incompatible with python 2 2021-04-22 08:38:59 +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 revbump for boost-libs 2021-04-21 13:24:06 +00:00
comms revbump for boost-libs 2021-04-21 13:24:06 +00:00
converters Update to text-conversions-0.3.1 2021-04-23 09:12:12 +00:00
cross atasm: update to 1.09. 2021-03-21 10:21:07 +00:00
databases redis: updated to 6.2.2 2021-04-22 15:46:53 +00:00
devel devel: +hs-pretty-simple 2021-04-24 06:46:32 +00:00
distfiles
doc doc: Updated lang/nodejs to 14.16.1nb3 2021-04-24 06:33:17 +00:00
editors nano: actually depend on pkg-config 2021-04-23 18:18:02 +00:00
emulators gxemul: update to 0.7.0. 2021-04-24 07:31:36 +00:00
filesystems revbump for boost-libs 2021-04-21 13:24:06 +00:00
finance Update to Decimal-0.5.2 2021-04-24 05:45:29 +00:00
fonts *: remove dead download sites 2021-04-21 15:48:03 +00:00
games nbsdgames: fix typo 2021-04-23 08:13:16 +00:00
geography geography/gdal-lib: explicit dep on libgeotiff and qhull 2021-04-23 20:15:14 +00:00
graphics breeze-icons: make python dependencies explicit 2021-04-23 19:21:15 +00:00
ham tfkiss: remove dead download site 2021-04-21 15:26:50 +00:00
inputmethod libtabe: remove dead download link 2021-04-23 22:25:36 +00:00
lang nodejs: fix previous; bump revision to nb3. 2021-04-24 06:32:00 +00:00
licenses add eternal-lands-license 2021-04-04 09:36:29 +00:00
mail imap-uw*: remove dead download link 2021-04-24 00:30:27 +00:00
math *: remove dead download link 2021-04-24 00:16:04 +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 extra-1.7.9 2021-04-24 05:50:38 +00:00
mk Rework the PLIST handling to support executable-only packages 2021-04-23 03:57:16 +00:00
multimedia revbump for boost-libs 2021-04-21 13:24:06 +00:00
net citrix_ica: remove dead download link 2021-04-24 00:04:27 +00:00
news revbump for boost-libs 2021-04-21 13:24:06 +00:00
packages
parallel revbump for boost-libs 2021-04-21 13:24:06 +00:00
pkgtools Correct the order of redirection 2021-04-22 08:54:18 +00:00
print LPRng-doc: remove dead download link 2021-04-24 00:26:13 +00:00
regress regress/infra-unittests: use single quotes for string literals 2021-01-04 21:11:43 +00:00
security pgp5: remove dead download link 2021-04-24 00:27:13 +00:00
shells bash: add sbin to default PATH 2021-04-23 09:43:30 +00:00
sysutils ccze: remove dead download links 2021-04-23 22:25:03 +00:00
templates templates: disable search bar until the results are better 2021-04-21 11:14:11 +00:00
textproc Fix build with GHC 9 2021-04-24 06:55:17 +00:00
time Update PLIST 2021-04-24 06:23:41 +00:00
wm revbump for boost-libs 2021-04-21 13:24:06 +00:00
www lhs: remove dead download link 2021-04-23 23:57:29 +00:00
x11 konsole: fix builds: needs kinit dependency 2021-04-24 04:39:18 +00:00
_NetBSD-pkgdb _NetBSD-pkgdb: Use $@ insted of $* 2020-12-29 17:56:14 +00:00
Makefile
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