pkgsrc/bootstrap
xtraeme 06f8590c09 Update comment about supported versions, I'm using pkgsrc under
FreeBSD -current and in the past I used it succesfully on 4.x.
2004-07-31 04:06:13 +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 install(1) allows for installing /dev/null to create an empty file, 2004-05-17 14:54:45 +00:00
mods IRIX does not have or need ranlib, so set RANLIB to true(1). 2004-06-05 20:53:12 +00:00
bootstrap Retire the bootstrap script's --pkgsrcdir argument. Now that we're 2004-05-11 02:07:19 +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
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 No, setgid works, but apparently needs some particular NTFS permissions 2004-05-02 03:38:21 +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 Move the rest of the OS X-specific stuff out of README.Darwin into 2004-04-24 19:22:41 +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 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.