Automatic conversion of the NetBSD pkgsrc CVS module, use with care
Find a file
gdt b48d57432b => Bootstrap dependency digest>=20010302: found digest-20190127
=> Checksum SHA1 OK for bup-0.32.tar.gz
=> Checksum RMD160 OK for bup-0.32.tar.gz
=> Checksum SHA512 OK for bup-0.32.tar.gz
=> Checksum SHA1 OK for bup-man-3ba5796ca63d291c8389ffae8db9e69c65787b36.tar.gz
=> Checksum RMD160 OK for bup-man-3ba5796ca63d291c8389ffae8db9e69c65787b36.tar.gz
=> Checksum SHA512 OK for bup-man-3ba5796ca63d291c8389ffae8db9e69c65787b36.tar.gz
work -> /tmp/work/sysutils/bup/work
===> Installing dependencies for bup-0.32
==========================================================================
The supported build options for bup are:

	fuse

You can select which build options to use by setting PKG_DEFAULT_OPTIONS
or the following variable.  Its current value is shown:

	PKG_OPTIONS.bup (not defined)

==========================================================================
==========================================================================
The following variables will affect the build process of this package,
bup-0.32.  Their current value is shown below:

        * PYTHON_VERSION_DEFAULT = 38

Based on these variables, the following variables have been set:

        * PYPACKAGE = python27
        * TERMCAP_TYPE = termcap

You may want to abort the process now with CTRL-C and change the value
of variables in the first group before continuing.  Be sure to run
`/usr/bin/make clean' after the changes.
==========================================================================
=> Tool dependency bash-[0-9]*: found bash-5.1.4
=> Tool dependency gmake>=3.81: found gmake-4.2.1nb1
=> Tool dependency ccache-[0-9]*: found ccache-3.7.12
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency rsync-[0-9]*: found rsync-3.2.3
=> Build dependency cwrappers>=20150314: found cwrappers-20180325
=> Full dependency par2-[0-9]*: found par2-0.8.1
=> Full dependency py27-tornado-[0-9]*: found py27-tornado-5.1.1
=> Full dependency git-base-[0-9]*: found git-base-2.30.1
=> Full dependency perl>=5.0: found perl-5.32.1
=> Full dependency readline>=6.0: found readline-8.1
=> Full dependency python27>=2.7.1nb2: found python27-2.7.18nb3
===> Checking for vulnerabilities in bup-0.32
===> Overriding tools for bup-0.32
===> Extracting for bup-0.32
===> Patching for bup-0.32
=> Applying pkgsrc patches for bup-0.32
=> Verifying /home/n0/gdt/pkgsrc-current/pkgsrc/sysutils/bup/patches/patch-lib_bup_bupsplit.h
**************************************
Ignoring patch file /home/n0/gdt/pkgsrc-current/pkgsrc/sysutils/bup/patches/patch-lib_bup_bupsplit.h: no checksum found
**************************************
=> Verifying /home/n0/gdt/pkgsrc-current/pkgsrc/sysutils/bup/patches/patch-lib_bup_hashsplit.py
**************************************
Ignoring patch file /home/n0/gdt/pkgsrc-current/pkgsrc/sysutils/bup/patches/patch-lib_bup_hashsplit.py: no checksum found
**************************************
===> Creating toolchain wrappers for bup-0.32
===> Configuring for bup-0.32
=> Replacing bash interpreter in cmd/import-rdiff-backup-cmd.sh t/compare-trees t/configure-sampledata t/force-delete t/subtree-hash t/test-cat-file.sh t/test-command-without-init-fails.sh t/test-index-check-device.sh t/test-meta.sh t/test-redundant-saves.sh t/test-restore-single-file.sh t/test-rm-between-index-and-save.sh t/test-save-creates-no-unrefs.sh t/test.sh wvtest-bup.sh.
WARNING: [replace-interpreter] Skipping non-existent file "t/compare-trees".
WARNING: [replace-interpreter] Skipping non-existent file "t/configure-sampledata".
WARNING: [replace-interpreter] Skipping non-existent file "t/force-delete".
WARNING: [replace-interpreter] Skipping non-existent file "t/subtree-hash".
WARNING: [replace-interpreter] Skipping non-existent file "t/test-cat-file.sh".
WARNING: [replace-interpreter] Skipping non-existent file "t/test-command-without-init-fails.sh".
WARNING: [replace-interpreter] Skipping non-existent file "t/test-index-check-device.sh".
WARNING: [replace-interpreter] Skipping non-existent file "t/test-meta.sh".
WARNING: [replace-interpreter] Skipping non-existent file "t/test-redundant-saves.sh".
WARNING: [replace-interpreter] Skipping non-existent file "t/test-restore-single-file.sh".
WARNING: [replace-interpreter] Skipping non-existent file "t/test-rm-between-index-and-save.sh".
WARNING: [replace-interpreter] Skipping non-existent file "t/test-save-creates-no-unrefs.sh".
WARNING: [replace-interpreter] Skipping non-existent file "t/test.sh".
INFO: [replace-interpreter] Nothing changed in wvtest-bup.sh.
=> Replacing Perl interpreter in wvtest.
WARNING: [replace-interpreter] Skipping non-existent file "wvtest".
=> Checking for portability problems in extracted files
===> Building for bup-0.32
fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
Warning: pandoc not found; skipping manpage generation
MAKE="/usr/pkg/bin/gmake" ./configure
Makefile:67: warning: undefined variable 'bup_readline_ldflags'
Configuring for [bup]
Looking for cpp (/tmp/work/sysutils/bup/work/.cwrapper/bin/cpp) ok
checking for install (/tmp/work/sysutils/bup/work/.tools/bin/install)
checking the C compiler (gcc) ok
ignoring bogus LDFLAGS="-L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib "
checking for make (/usr/pkg/bin/gmake)
checking for git (/usr/pkg/bin/git)
checking for header sys/stat.h (found)
checking for header sys/types.h (found)
checking for header unistd.h (found)
checking for header sys/mman.h (found)
checking for header linux/fs.h (not found)
checking for header sys/ioctl.h (found)
checking for the utimensat function (found)
checking for the utimes function (found)
checking for the lutimes function (found)
checking for __builtin_mul_overflow (found)
checking for the mincore function (found)
checking for MINCORE_INCORE (not found)
checking mincore buf type (char)
checking for readline (yes)
checking that struct stat has a st_atim field (yes)
checking that struct stat has a st_mtim field (yes)
checking that struct stat has a st_ctim field (yes)
checking that struct stat has a st_atimensec field (yes)
checking that struct stat has a st_mtimensec field (yes)
checking that struct stat has a st_ctimensec field (yes)
checking that struct tm has a tm_gmtoff field (yes)
checking for libacl (yes)
checking for header sys/acl.h (not found)
checking for header acl/libacl.h (not found)
checking for the acl_get_file function (not found)
checking for the acl_from_text function (not found)
checking for the acl_set_file function (not found)
checking for the acl_extended_file function (not found)
checking for the acl_to_any_text function (not found)
checking for complete acl support (no)
looking for sed (/tmp/work/sysutils/bup/work/.tools/bin/sed)
generating config.vars

found: python (/usr/pkg/bin/python2.7, Python 2.7.18)
found: git (/usr/pkg/bin/git, (git version 2.30.1)
found: readline support (e.g. bup ftp)
not found: POSIX ACL support

fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
Warning: pandoc not found; skipping manpage generation
cd lib/bup && /tmp/work/sysutils/bup/work/bup-0.32/config/bin/python csetup.py build "-D_FILE_OFFSET_BITS=64  -Wno-unknown-pragmas -Wsign-compare -O2 -Wall -Werror -Wformat=2 -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include" "-L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -lreadline"
running build
running build_ext
building '_helpers' extension
creating build
creating build/temp.netbsd-9.1_STABLE-amd64-2.7
gcc -fno-strict-aliasing -O2 -D_FORTIFY_SOURCE=2 -pthread -I/usr/include -I/usr/pkg/include -DNDEBUG -O2 -D_FORTIFY_SOURCE=2 -pthread -I/usr/include -I/usr/pkg/include -D_FILE_OFFSET_BITS=64 -Wno-unknown-pragmas -Wsign-compare -O2 -Wall -Werror -Wformat=2 -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -I/usr/include -fPIC -I/usr/pkg/include/python2.7 -c _helpers.c -o build/temp.netbsd-9.1_STABLE-amd64-2.7/_helpers.o -D_FILE_OFFSET_BITS=64 -Wno-unknown-pragmas -Wsign-compare -O2 -Wall -Werror -Wformat=2 -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include
gcc -fno-strict-aliasing -O2 -D_FORTIFY_SOURCE=2 -pthread -I/usr/include -I/usr/pkg/include -DNDEBUG -O2 -D_FORTIFY_SOURCE=2 -pthread -I/usr/include -I/usr/pkg/include -D_FILE_OFFSET_BITS=64 -Wno-unknown-pragmas -Wsign-compare -O2 -Wall -Werror -Wformat=2 -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -I/usr/include -fPIC -I/usr/pkg/include/python2.7 -c bupsplit.c -o build/temp.netbsd-9.1_STABLE-amd64-2.7/bupsplit.o -D_FILE_OFFSET_BITS=64 -Wno-unknown-pragmas -Wsign-compare -O2 -Wall -Werror -Wformat=2 -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include
creating build/lib.netbsd-9.1_STABLE-amd64-2.7
gcc -shared -L/tmp/work/lang/python27/work/Python-2.7.18 -pthread -L/usr/lib -Wl,-R/usr/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -lreadline -D_FILE_OFFSET_BITS=64 -Wno-unknown-pragmas -Wsign-compare -O2 -Wall -Werror -Wformat=2 -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include -I/usr/include build/temp.netbsd-9.1_STABLE-amd64-2.7/_helpers.o build/temp.netbsd-9.1_STABLE-amd64-2.7/bupsplit.o -L/usr/pkg/lib -lpython2.7 -o build/lib.netbsd-9.1_STABLE-amd64-2.7/_helpers.so -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -lreadline -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -lreadline
ld: /tmp/work/sysutils/bup/work/.buildlink/lib/libpython2.7.so: warning: warning: tmpnam() possibly used unsafely, use mkstemp() or mkdtemp()
ld: /tmp/work/sysutils/bup/work/.buildlink/lib/libpython2.7.so: warning: warning: tempnam() possibly used unsafely, use mkstemp() or mkdtemp()
/tmp/work/sysutils/bup/work/bup-0.32/config/bin/python -c \
  "import glob; assert(len(glob.glob('lib/bup/build/*/_helpers*.so')) == 1)"
cp lib/bup/build/*/_helpers*.so "lib/bup/_helpers.so"
rm -f cmd/bup-get
ln -s get-cmd.py cmd/bup-get
rm -f cmd/bup-tag
ln -s tag-cmd.py cmd/bup-tag
rm -f cmd/bup-gc
ln -s gc-cmd.py cmd/bup-gc
rm -f cmd/bup-ls
ln -s ls-cmd.py cmd/bup-ls
rm -f cmd/bup-random
ln -s random-cmd.py cmd/bup-random
rm -f cmd/bup-fsck
ln -s fsck-cmd.py cmd/bup-fsck
rm -f cmd/bup-version
ln -s version-cmd.py cmd/bup-version
rm -f cmd/bup-ftp
ln -s ftp-cmd.py cmd/bup-ftp
rm -f cmd/bup-features
ln -s features-cmd.py cmd/bup-features
rm -f cmd/bup-meta
ln -s meta-cmd.py cmd/bup-meta
rm -f cmd/bup-fuse
ln -s fuse-cmd.py cmd/bup-fuse
rm -f cmd/bup-margin
ln -s margin-cmd.py cmd/bup-margin
rm -f cmd/bup-on--server
ln -s on--server-cmd.py cmd/bup-on--server
rm -f cmd/bup-index
ln -s index-cmd.py cmd/bup-index
rm -f cmd/bup-memtest
ln -s memtest-cmd.py cmd/bup-memtest
rm -f cmd/bup-import-duplicity
ln -s import-duplicity-cmd.py cmd/bup-import-duplicity
rm -f cmd/bup-restore
ln -s restore-cmd.py cmd/bup-restore
rm -f cmd/bup-daemon
ln -s daemon-cmd.py cmd/bup-daemon
rm -f cmd/bup-midx
ln -s midx-cmd.py cmd/bup-midx
rm -f cmd/bup-help
ln -s help-cmd.py cmd/bup-help
rm -f cmd/bup-server
ln -s server-cmd.py cmd/bup-server
rm -f cmd/bup-web
ln -s web-cmd.py cmd/bup-web
rm -f cmd/bup-xstat
ln -s xstat-cmd.py cmd/bup-xstat
rm -f cmd/bup-join
ln -s join-cmd.py cmd/bup-join
rm -f cmd/bup-rm
ln -s rm-cmd.py cmd/bup-rm
rm -f cmd/bup-bloom
ln -s bloom-cmd.py cmd/bup-bloom
rm -f cmd/bup-damage
ln -s damage-cmd.py cmd/bup-damage
rm -f cmd/bup-split
ln -s split-cmd.py cmd/bup-split
rm -f cmd/bup-list-idx
ln -s list-idx-cmd.py cmd/bup-list-idx
rm -f cmd/bup-save
ln -s save-cmd.py cmd/bup-save
rm -f cmd/bup-tick
ln -s tick-cmd.py cmd/bup-tick
rm -f cmd/bup-init
ln -s init-cmd.py cmd/bup-init
rm -f cmd/bup-prune-older
ln -s prune-older-cmd.py cmd/bup-prune-older
rm -f cmd/bup-cat-file
ln -s cat-file-cmd.py cmd/bup-cat-file
rm -f cmd/bup-drecurse
ln -s drecurse-cmd.py cmd/bup-drecurse
rm -f cmd/bup-on
ln -s on-cmd.py cmd/bup-on
rm -f cmd/bup-mux
ln -s mux-cmd.py cmd/bup-mux
rm -f cmd/bup-import-rdiff-backup
ln -s import-rdiff-backup-cmd.sh cmd/bup-import-rdiff-backup
rm -f cmd/bup-import-rsnapshot
ln -s import-rsnapshot-cmd.sh cmd/bup-import-rsnapshot
dev/configure-sampledata --setup
*** Please use pkgtools/verifypc to sanity check dependencies.
===> Installing for bup-0.32
=> Generating pre-install file lists
=> Creating installation directories
fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
Warning: pandoc not found; skipping manpage generation
install -d /tmp/work/sysutils/bup/work/.destdir/usr/pkg/bin \
	/tmp/work/sysutils/bup/work/.destdir/usr/pkg/lib/bup/bup /tmp/work/sysutils/bup/work/.destdir/usr/pkg/lib/bup/cmd \
	/tmp/work/sysutils/bup/work/.destdir/usr/pkg/lib/bup/web /tmp/work/sysutils/bup/work/.destdir/usr/pkg/lib/bup/web/static
test -z "" || install -d /tmp/work/sysutils/bup/work/.destdir/tmp/work/sysutils/bup/work/.destdir/usr/pkg/man/man1
test -z "" || install -m 0644  /tmp/work/sysutils/bup/work/.destdir/tmp/work/sysutils/bup/work/.destdir/usr/pkg/man/man1
test -z "" || install -d /tmp/work/sysutils/bup/work/.destdir/usr/pkg/share/doc/bup
test -z "" || install -m 0644  /tmp/work/sysutils/bup/work/.destdir/usr/pkg/share/doc/bup
dev/install-python-script lib/cmd/bup "/tmp/work/sysutils/bup/work/.destdir/usr/pkg/lib/bup/cmd/bup"
set -e; \
for cmd in $(ls cmd/bup-*); do \
  dev/install-python-script "$cmd" "/tmp/work/sysutils/bup/work/.destdir/usr/pkg/lib/bup/$cmd"; \
done
cd "/tmp/work/sysutils/bup/work/.destdir/usr/pkg/bin" && \
  ln -sf "$(/usr/pkg/bin/python2.7 -c 'import os; print(os.path.relpath("/tmp/work/sysutils/bup/work/.destdir/usr/pkg/lib/bup/cmd/bup"))')"
set -e; \
install -pm 0644 \
	lib/bup/*.py \
	/tmp/work/sysutils/bup/work/.destdir/usr/pkg/lib/bup/bup
install -pm 0755 \
	lib/bup/*.so \
	/tmp/work/sysutils/bup/work/.destdir/usr/pkg/lib/bup/bup
install -pm 0644 \
	lib/web/static/* \
	/tmp/work/sysutils/bup/work/.destdir/usr/pkg/lib/bup/web/static/
install -pm 0644 \
	lib/web/*.html \
	/tmp/work/sysutils/bup/work/.destdir/usr/pkg/lib/bup/web/
if test -e lib/bup/checkout_info.py; then \
    install -pm 0644 lib/bup/checkout_info.py \
        /tmp/work/sysutils/bup/work/.destdir/usr/pkg/lib/bup/bup/source_info.py; \
else \
    ! grep -qF '$Format' lib/bup/source_info.py; \
    install -pm 0644 lib/bup/source_info.py /tmp/work/sysutils/bup/work/.destdir/usr/pkg/lib/bup/bup/; \
fi
/usr/bin/install -c -o gdt -g users -m 644 /tmp/work/sysutils/bup/work/bup-3ba5796ca63d291c8389ffae8db9e69c65787b36/*.1 /tmp/work/sysutils/bup/work/.destdir/usr/pkg/man/man1
/usr/bin/install -c -o gdt -g users -m 644 /tmp/work/sysutils/bup/work/bup-0.32/DESIGN /tmp/work/sysutils/bup/work/.destdir/usr/pkg/share/doc/bup
/usr/bin/install -c -o gdt -g users -m 644 /tmp/work/sysutils/bup/work/bup-0.32/README /tmp/work/sysutils/bup/work/.destdir/usr/pkg/share/doc/bup
=> Automatic manual page handling
=> Generating post-install file lists
=> Checking file-check results for bup-0.32
=> Checking for non-existent script interpreters in bup-0.32
=> Checking file permissions in bup-0.32
=> Checking for missing run-time search paths in bup-0.32
=> Checking for work-directory references in bup-0.32
=> Creating binary package /tmp/work/sysutils/bup/work/.packages/bup-0.32.tgz
===> Building binary package for bup-0.32
=> Creating binary package /home/n0/gdt/pkgsrc-current/pkgsrc/packages/All/bup-0.32.tgz
2021-03-15 13:32:35 +00:00
archivers libarchive: Fix bootstrap build under Haiku OS/x86_64 R1/beta2 2021-03-13 19:34:11 +00:00
audio re-enable wavpack support by default in a handful of players 2021-03-15 13:15:56 +00:00
benchmarks Switch to use lang/php/json.mk. 2021-03-07 13:21:56 +00:00
biology biology/molsketch: update to 0.7.1 2021-03-09 13:54:28 +00:00
bootstrap In the process of looking at PR#55952, we discovered something that 2021-02-15 12:56:53 +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 update to ircii 20210314. changes include: 2021-03-15 05:30:14 +00:00
comms asterisk14 was deleted 2021-02-28 22:57:01 +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-peewee: updated to 3.14.3 2021-03-12 12:54:56 +00:00
devel py-pep517: updated to 0.10.0 2021-03-15 12:08:11 +00:00
distfiles
doc doc: Updated audio/qmmp to 1.4.4 2021-03-15 12:21:17 +00:00
editors editors/feathernotes: update to 0.9.0 2021-03-11 08:10:58 +00:00
emulators Fix build on NetBSD machines that don't have NVMM capabilities. The logic 2021-03-14 11:16:45 +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 cyr-rfx-*: remove nonexistent master site 2021-03-14 11:45:31 +00:00
games games/woof: Update to 4.0.1 2021-03-15 11:33:28 +00:00
geography py-googlemaps: Update to 4.4.4. 2021-03-13 14:11:18 +00:00
graphics graphics/kvantum: update to 0.19.0 2021-03-12 09:40:14 +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 Update go116 to 1.16.2. 2021-03-14 18:15:16 +00:00
licenses licenses: Remove -license suffix from ODC Open Database License 2021-03-06 04:30:56 +00:00
mail balsa: Update to 2.6.2 2021-03-14 07:43:47 +00:00
math py-asteval: updated to 0.9.23 2021-03-12 13:11:50 +00:00
mbone *: bump PKGREVISION for perl-5.32. 2020-08-31 18:06:29 +00:00
meta-pkgs meta-pkgs/php74-extensions: add php-ffi 2021-03-13 14:27:31 +00:00
misc misc/screen: Fix CVE-2021-26937 and another UTF-8 bug 2021-03-13 07:24:04 +00:00
mk mk/haskell.mk: Ignore per-user package environment file while building 'Setup' 2021-03-14 08:19:24 +00:00
multimedia lightspark: Update to 0.8.4.1 2021-03-15 11:04:55 +00:00
net stagit-gopher: Update to 0.9.5 2021-03-14 19:10:46 +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 amass: Update to 3.11.9 2021-03-14 14:10:18 +00:00
shells bash-completion: Update to version 2.11. 2021-03-10 16:35:53 +00:00
sysutils => Bootstrap dependency digest>=20010302: found digest-20190127 2021-03-15 13:32:35 +00:00
templates lil bit more table padding 2021-03-11 15:07:33 +00:00
textproc py-xmlschema: updated to 1.5.3 2021-03-15 07:18:25 +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 luakit: Update to 2.3 2021-03-15 11:17:18 +00:00
x11 libxkbcommon: update to 1.1.0. 2021-03-14 08:17:17 +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