pkgsrc/bootstrap
2004-04-21 20:34:16 +00:00
..
bmake Ksh on Unixware has problems with IFS in sub shells, so put the 2004-04-11 03:12:17 +00:00
files Add script to work around stupid 'mkdir -p' on Unixware. 2004-04-12 14:48:58 +00:00
mods Add inital version of sys.mk, derived from the SunOS/Solaris version. 2004-04-12 14:44:17 +00:00
bootstrap Use 'mkdir-sh' instead of 'mkdir-p.sh' (similar to 'install-sh'). 2004-04-16 23:47:02 +00:00
cleanup Bring support for --workdir to mkbinarykit (and cleanup) 2004-03-31 23:46:14 +00:00
mkbinarykit Fix comment to match new location 2004-04-05 01:34:17 +00:00
pkg.sh import the required bits of bootstrap-pkgsrc from 20040311. 2004-03-11 13:03:58 +00:00
README List all options for 'bootstrap'. 2004-04-12 00:38:55 +00:00
README.AIX import the required bits of bootstrap-pkgsrc from 20040311. 2004-03-11 13:03:58 +00:00
README.Darwin import the required bits of bootstrap-pkgsrc from 20040311. 2004-03-11 13:03:58 +00:00
README.FreeBSD import the required bits of bootstrap-pkgsrc from 20040311. 2004-03-11 13:03:58 +00:00
README.Interix umask 002, not 022. 2004-04-21 20:34:16 +00:00
README.IRIX import the required bits of bootstrap-pkgsrc from 20040311. 2004-03-11 13:03:58 +00:00
README.Linux import the required bits of bootstrap-pkgsrc from 20040311. 2004-03-11 13:03:58 +00:00
README.MacOSX import the required bits of bootstrap-pkgsrc from 20040311. 2004-03-11 13:03:58 +00:00
README.OpenBSD import the required bits of bootstrap-pkgsrc from 20040311. 2004-03-11 13:03:58 +00:00
README.Solaris - relax statement about what compilers should work 2004-03-15 14:36:08 +00:00
ufsdiskimage import the required bits of bootstrap-pkgsrc from 20040311. 2004-03-11 13:03:58 +00:00

$NetBSD: README,v 1.2 2004/04/12 00:38:55 heinz Exp $

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

# ./bootstrap [ --prefix=${PREFIX} ] [ --pkgdbdir=${PKGDBDIR} ] \
	[ --pkgsrcdir=${PKGSRCDIR} ] [ --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
	--pkgsrcdir	/usr/pkgsrc
	--sysconfdir	/usr/pkg/etc
	--workdir	work

It is perfectly acceptable to place ${PKGDBDIR} 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.