Automatic conversion of the NetBSD pkgsrc CVS module, use with care
1eb8fdfd2e
Take maintainership. Upstream changelog: 2020-07-22 - Version 2.3 - honggfuzz.h - split run_t into substructs - clang-format options in .clang-format - added missing mutex initializers - removed unncessary comparisons to 'true' and 'false' - improved NetBSD compatibility - removed unnecessary memory fences (speed ups) - faster searching through the binary for const 4/8-byte values - removed unnecessary includes with iwyu - libhfnetdriver - general improvements around local socket fuzzing and timeouts 2020-04-24 - Version 2.2 - Added 8bitcnt instrumentation - use hfuzz-cc/hfuzz-8bitcnt-(gcc|clang) for that - PC-guard instrumentation now uses edge counting - --experimental_const_feedback is now set to true by default - additional string instrumentation wrappers: glib, lcms - additional mutators: splicing, changing ascii numbers - additional integer comparison instrumentation (adding integers to the dynamic dictionary) - fixed linking with ld.lld - removed `sanitizer-coverage-prune-blocks` from hfuzz-cc.c - most mutators have now either overwrite or insert versions - fixed memory barriers in libhfuzz/ - implemented skip_factor which dictates how often a given input is fuzzed - lowered the default timeout to 1 second - honggfuzz now uses microseconds, instead of milliseconds across the code - added some new functions to libhfcommon/files - enabled more aggressive inlining in hfuzz-cc/ - fixed compilation dependency under MacOS X 2020-03-03 - Version 2.1 - string/int comparison enabled for targets built with *SAN, but w/o hfuzz-cc - Parallel work made faster by using faster ATOMIC constructs (check first, then update) - Implement --experimental_const_feedback - const string/integer feedback (used as an additional dictionary) - Sanitizer report files are "better"-deleted (i.e. based on PID and not TID) - New patches for fuzzing added (e.g. for bind-9.16.0/9.15.7) - Buffered output enabled in display.c - Some functions moved from per-arch arch.c to common subproc.c - Compilation under MacOS X 10.15 (Catalina) is now supported - Added suport for bfd/binutils-2.33 2019-12-07 - Version 2.0 - Coverage-based corpus minimizer with '-M' - QEmu mode: coverage feedback for Linux binaries - *SAN sanitizer stack-parsing improved for Linux and for POSIX - Move signal functionality to libhfcommon/ - Fixed Android builds with newer unwind and capstone - NetDriver: more functionality - e.g. specifying custom addresses and custom tmpfs mount points - Examples: for /usr/bin/file, newer ISC Bind patch, improved OpenSSL code 2019-05-22 - Version 1.9 - Don't include netdriver if not needed - Updated examples (bind/openssl) - Add missing TEMP_FAILURE_RETRY() wrappers - Add additional _HF_STATE_DYNAMIC_SWITCH_TO_MAIN state 2019-02-23 - Version 1.8 - Native support for NetBSD - Multiple smaller changes wrt threading - e.g. introducing the signal thread - Removed the support for -p (pid fuzzing), honggfuzz net driver, or persistent fuzzing mode should be used instead - Reimplementation of memory comparison routines, now verified with glibc's test-suite - Improved hfuzz-cc/clang/gcc - e.g. for the MacOSX platform, also using -fno-sanitize=fuzzer if -fsanitize=fuzzer is specified, + some samba code wrappers - Examples: new corpora for some of those, new patch for ISC Bind (9.13.5) |
||
---|---|---|
archivers | ||
audio | ||
benchmarks | ||
biology | ||
bootstrap | ||
cad | ||
chat | ||
comms | ||
converters | ||
cross | ||
databases | ||
devel | ||
distfiles | ||
doc | ||
editors | ||
emulators | ||
filesystems | ||
finance | ||
fonts | ||
games | ||
geography | ||
graphics | ||
ham | ||
inputmethod | ||
lang | ||
licenses | ||
math | ||
mbone | ||
meta-pkgs | ||
misc | ||
mk | ||
multimedia | ||
net | ||
news | ||
packages | ||
parallel | ||
pkgtools | ||
regress | ||
security | ||
shells | ||
sysutils | ||
templates | ||
textproc | ||
time | ||
wm | ||
www | ||
x11 | ||
Makefile | ||
pkglocate | ||
README.md |
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.
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
- Join the community IRC channel #pkgsrc @ freenode.
- Subscribe to the pkgsrc-users mailing list
- Send bugs and patches via web form (use the
pkg
category).
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
Additional links
- The pkgsrc guide
- pkgsrc in the NetBSD Wiki
- Searchable index of packages in pkgsrc
- pkgsrc-wip - a project to get more people actively involved with creating packages for pkgsrc
- pkgsrc on Twitter
- pkgsrcCon