pkgsrc/bootstrap
tv 1f62dde17e Revert part of rev 1.19:
There's one place where you absolutely *must* use bmake:  when building
pkg_install.  Otherwise its Makefiles will attempt to get $(MACHINE_ARCH)
from the system make, which is not likely to be correct on several
platforms.
2004-10-08 17:26:45 +00:00
..
bmake * Modify bmake to use libnbcompat to ensure that a regex implementation 2004-08-23 03:44:34 +00:00
files install(1) allows for installing /dev/null to create an empty file, 2004-05-17 14:54:45 +00:00
mods * Modify bmake to use libnbcompat to ensure that a regex implementation 2004-08-23 03:44:34 +00:00
bootstrap Revert part of rev 1.19: 2004-10-08 17:26:45 +00:00
cleanup only attempt to remove bmake files if 'cd bmake' was successful. 2004-05-25 02:25:21 +00:00
mkbinarykit allow --ignore-user-check to pass through to the bootstrap script, 2004-06-28 12:09:09 +00:00
mkbootstrapkit Add a script to make a source bootstrap kit. By default, the "kitdir" 2004-08-15 20:06:39 +00:00
pkg.sh import the required bits of bootstrap-pkgsrc from 20040311. 2004-03-11 13:03:58 +00:00
README PKGDBDIR -> PKG_DBDIR for consistency. From Jim Bernard in PR 26027. 2004-06-23 19:06:40 +00:00
README.AIX import the required bits of bootstrap-pkgsrc from 20040311. 2004-03-11 13:03:58 +00:00
README.Darwin --pkgsrcdir is no more. 2004-05-11 02:19:48 +00:00
README.FreeBSD Update comment about supported versions, I'm using pkgsrc under 2004-07-31 04:06:13 +00:00
README.Interix Emphasize that UNIX Perl must not be installed, and that case-sensitive 2004-08-23 20:43:13 +00:00
README.IRIX Update my IRIX test systems used. 2004-09-12 17:43:37 +00:00
README.Linux import the required bits of bootstrap-pkgsrc from 20040311. 2004-03-11 13:03:58 +00:00
README.MacOSX add some info about xlc support. 2004-10-07 13:28:48 +00:00
README.OpenBSD I'm currently using pkgsrc under OpenBSD 3.5, so update the comment 2004-07-31 04:07:03 +00:00
README.Solaris Also need tools in /usr/xpg4/bin (such as id). PR#26924. 2004-09-20 10:43:56 +00:00
testbootstrap Also capture stderr to the log. 2004-08-22 05:02:49 +00:00
ufsdiskimage make sure /sbin and /usr/sbin are in $PATH. pkg/24010 2004-04-24 19:17:09 +00:00

$NetBSD: README,v 1.4 2004/06/23 19:06:40 wiz Exp $

To try to get pkgsrc working on your system, please try the following
as root:

# ./bootstrap [ --prefix=${PREFIX} ] [ --pkgdbdir=${PKG_DBDIR} ] \
	[ --sysconfdir=${PKG_SYSCONFBASE} ] [ --workdir=working directory] \
	[ --ignore-case-check ] [ --ignore-user-check ] [ --help ]

The defaults for the arguments are as follows:

	--prefix	/usr/pkg
	--pkgdbdir	/var/db/pkg
	--sysconfdir	/usr/pkg/etc
	--workdir	work

It is perfectly acceptable to place ${PKG_DBDIR} under ${PREFIX}.

The working directory will be created if it doesn't exist and has to be
writable by the user executing ./bootstrap.

Make sure that you have a working C compiler and make(1) binary in
your path.

See http://www.netbsd.org/Documentation/software/packages.html for
more information about bootstrapping and using pkgsrc.

We'd be very interested in hearing of any successes or failures on
"unknown" (to us) systems.