Automatic conversion of the NetBSD pkgsrc CVS module, use with care
Find a file
adam 4e5d688a7c sudo: updated to 1.9.6p1
Major changes between version 1.9.6p1 and 1.9.6:

Fixed a regression introduced in sudo 1.9.6 that resulted in an error message instead of a usage message when sudo is run with no arguments.


Major changes between version 1.9.6 and 1.9.5p2:

Fixed a sudo_sendlog compilation problem with the AIX xlC compiler.
Fixed a regression introduced in sudo 1.9.4 where the --disable-root-mailer configure option had no effect.
Added a --disable-leaks configure option that avoids some memory leaks on exit that would otherwise occur. This is intended to be used with development tools that measure memory leaks. It is not safe to use in production at this time.
Plugged some memory leaks identified by oss-fuzz and ASAN.
Fixed the handling of sudoOptions for an LDAP sudoRole that contains multiple sudoCommands. Previously, some of the options would only be applied to the first sudoCommand.
Fixed a potential out of bounds read in the parsing of NOTBEFORE and NOTAFTER sudoers command options (and their LDAP equivalents).
The parser used for reading I/O log JSON files is now more resilient when processing invalid JSON.
Fixed typos that prevented make uninstall from working.
Fixed a regression introduced in sudo 1.9.4 where the last line in a sudoers file might not have a terminating NUL character added if no newline was present.
Integrated oss-fuzz and LLVM's libFuzzer with sudo. The new --enable-fuzzer configure option can be combined with the --enable-sanitizer option to build sudo with fuzzing support. Multiple fuzz targets are available for fuzzing different parts of sudo. Fuzzers are built and tested via make fuzz or as part of make check (even when sudo is not built with fuzzing support). Fuzzing support currently requires the LLVM clang compiler (not gcc).
Fixed the --enable-static-sudoers configure option.
Fixed a potential out of bounds read sudo when is run by a user with more groups than the value of max_groups in sudo.conf.
Added an admin_flag sudoers option to make the use of the ~/.sudo_as_admin_successful file configurable on systems where sudo is build with the --enable-admin-flag configure option. This mostly affects Ubuntu and its derivatives.
The max_groups setting in sudo.conf is now limited to 1024. This setting is obsolete and should no longer be needed.
Fixed a bug in the tilde expansion of CHROOT=dir and CWD=dir sudoers command options. A path ~/foo was expanded to /home/userfoo instead of /home/user/foo. This also affects the runchroot and runcwd Defaults settings.
Fixed a bug on systems without a native getdelim(3) function where very long lines could cause parsing of the sudoers file to end prematurely.
Fixed a potential integer overflow when converting the timestamp_timeout and passwd_timeout sudoers settings to a timespec struct.
The default for the group_source setting in sudo.conf is now dynamic on macOS. Recent versions of macOS do not reliably return all of a user's non-local groups via getgroups(2), even when _DARWIN_UNLIMITED_GETGROUPS is defined.
Fixed a potential use-after-free in the PAM conversation function.
Fixed potential redefinition of sys/stat.h macros in sudo_compat.h.
2021-03-18 08:57:48 +00:00
archivers bzip2: Rever previous 2021-03-15 16:18:32 +00:00
audio qmmp: Add LIBOSSAUDIO on NetBSD. Makes OSS output plugin work. 2021-03-17 09:57:54 +00:00
benchmarks Switch to use lang/php/json.mk. 2021-03-07 13:21:56 +00:00
biology openbabel: make buildlink3.mk match Makefile and require eigen3 2021-03-17 18:58:57 +00:00
bootstrap bootstrap: Add MidnightBSD support to bootstrap shell script 2021-03-15 16:22:06 +00:00
cad (cad/kicad-packages3d) PLIST patch by Mustafa Dogan dogan (at) tesmer.org.tr 2021-03-03 23:37:59 +00:00
chat srain: update to 1.2.0 2021-03-17 15:32:24 +00:00
comms qodem: update to 1.0.1. 2021-03-16 17:00:40 +00:00
converters py-cairosvg: updated to 2.5.2 2021-03-10 18:08:27 +00:00
cross mingw-w64-i686-binutils: Update to 2.36 2021-01-28 12:43:28 +00:00
databases py-pypika: updated to 0.48.0 2021-03-18 06:29:10 +00:00
devel Updated devel/ocaml-findlib to version 1.9.1. 2021-03-18 08:30:43 +00:00
distfiles
doc doc: Updated devel/ocaml-findlib to 1.9.1 2021-03-18 08:30:55 +00:00
editors editors/feathernotes: update to 0.9.0 2021-03-11 08:10:58 +00:00
emulators stella: Update to 6.5.2 2021-03-17 15:17:03 +00:00
filesystems fuse-gstfs-ng: remove 2021-03-09 08:43:06 +00:00
finance Add rates 2021-03-03 12:17:41 +00:00
fonts unifraktur-ttf: remove 2021-03-17 21:33:41 +00:00
games games/woof: Update to 4.0.1 2021-03-15 11:33:28 +00:00
geography py-googlemaps: updated to 4.4.5 2021-03-16 08:16:57 +00:00
graphics jpeg: improve DESCR 2021-03-17 15:18:40 +00:00
ham grig: Fix build. Patches from Debian. 2021-03-09 08:14:00 +00:00
inputmethod Needs pkg-config. Fixes building packages in bulk builds. 2021-03-12 08:46:58 +00:00
lang mono: update to 6.12.0.122. 2021-03-17 12:48:59 +00:00
licenses licenses: Remove -license suffix from ODC Open Database License 2021-03-06 04:30:56 +00:00
mail msmtp: Update DESCR 2021-03-17 14:20:16 +00:00
math math: +tex-physics{,-doc} 2021-03-18 03:46:56 +00:00
mbone *: bump PKGREVISION for perl-5.32. 2020-08-31 18:06:29 +00:00
meta-pkgs texlive-collection-mathscience: +tex-physics 2021-03-18 03:50:53 +00:00
misc xfce4-calculator-plugin: update to 0.7.1 2021-03-18 02:20:42 +00:00
mk mk: Add preliminary support for MidnightBSD 2021-03-15 16:21:02 +00:00
multimedia lightspark: Update to 0.8.4.1 2021-03-15 11:04:55 +00:00
net py-responses: updated to 0.13.1 2021-03-18 07:29:31 +00:00
news sfeed: Update to 0.9.22 2021-03-14 18:18:27 +00:00
packages
parallel Revbump packages with a runtime Python dep but no version prefix. 2020-12-04 20:44:57 +00:00
pkgtools pkg_install-20210308 2021-03-08 15:25:47 +00:00
print cups: update to 2.3.3op2. 2021-03-14 08:43:31 +00:00
regress regress/infra-unittests: use single quotes for string literals 2021-01-04 21:11:43 +00:00
security sudo: updated to 1.9.6p1 2021-03-18 08:57:48 +00:00
shells bash-completion: Update to version 2.11. 2021-03-10 16:35:53 +00:00
sysutils Adjust libfm bl3 to include libexif, and rev bump dependencies 2021-03-18 00:12:23 +00:00
templates lil bit more table padding 2021-03-11 15:07:33 +00:00
textproc py-regex: updated to 2021.3.17 2021-03-18 06:31:36 +00:00
time Update to 0.16 2021-03-09 12:36:02 +00:00
wm pekwm: update to 0.1.18 2021-03-15 11:51:00 +00:00
www stagit: update to 0.9.5. 2021-03-16 16:29:42 +00:00
x11 x11/Makefile: add lxhotkey 2021-03-18 00:22:55 +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