Commit graph

269 commits

Author SHA1 Message Date
cjep
cb8913ac78 We also need SUNWscpu (for /usr/ucb/install). Part of PR#26924 2004-09-12 15:54:46 +00:00
jlam
568471a1f2 Catch up with textproc/nbsed needing to be configured with
--program-transform-name="s,sed,nbsed," to be installed with the correct
name.
2004-08-27 06:48:58 +00:00
tv
d62bbe049a Emphasize that UNIX Perl must not be installed, and that case-sensitive
filesystems are a must.

Add instructions on how to change these things after SFU is already
installed (so a reinstall is not necessary).
2004-08-23 20:43:13 +00:00
jlam
f79acda48d * Modify bmake to use libnbcompat to ensure that a regex implementation
exists.

* nbsed-20040821 requires libnbcompat, so make the appropriate
  adjustments to the build to use it.

* If nbsed is built during bootstrap, then use it as the sed for
  pkg_install so that the correct program is embedded into the pkg_view
  and linkfarm scripts.

* We don't need bmake to build any of the bootstrap packages, so just
  call out to the system make.
2004-08-23 03:44:34 +00:00
jlam
f76fd5562e Also capture stderr to the log. 2004-08-22 05:02:49 +00:00
jlam
b8024054a4 Auto-save output by tee-ing into BOOTSTRAP.LOG (thanks, schmonz!). 2004-08-22 04:20:01 +00:00
jlam
f36ee299b3 Add a `testbootstrap' script that calls the bootstrap script with the
correct args to build all of the bootstrap packages without needing root
privileges.
2004-08-21 06:04:35 +00:00
jschauma
35b58c9852 Use '-x' instead of '-X';
use '-none' instead of '-notall' to increase odds that this'll work under
older IRIX versions.
2004-08-15 22:20:02 +00:00
jschauma
72f96c0eab substitute --whole-archive and --no-whole-archive with the appropriate
linker flags (-all and -notall, respectively).  Pointed out by Georg
Schwarz in private mail.
2004-08-15 22:15:18 +00:00
jlam
14acff2d68 Add a script to make a source bootstrap kit. By default, the "kitdir"
is ${TMPDIR}/bootstrap-kit-<today>, the resulting archive will extract
a directory tree rooted in "bootstrap-kit-<today>".
2004-08-15 20:06:39 +00:00
jlam
3be4978451 Remove spurious ")" that was preventing bootstrapping on NetBSD 1.6.2. 2004-08-15 20:00:05 +00:00
schmonz
48037aea04 Define TMACDIR and CATDEPS appropriately (on Panther, at least) to
allow packages using <bsd.man.mk> to generate catted man pages.
Problem noticed with mail/mailwrapper, for which this fixes the
build.
2004-08-01 16:56:18 +00:00
xtraeme
fc53a90b6d I'm currently using pkgsrc under OpenBSD 3.5, so update the comment
about tested versions.
2004-07-31 04:07:03 +00:00
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
grant
c5816067f4 allow --ignore-user-check to pass through to the bootstrap script,
too. useful for unprivileged build testing.
2004-06-28 12:09:09 +00:00
wiz
ce4a753108 PKGDBDIR -> PKG_DBDIR for consistency. From Jim Bernard in PR 26027. 2004-06-23 19:06:40 +00:00
jschauma
bb8ebe733c IRIX does not have or need ranlib, so set RANLIB to true(1).
Noted in private email by Georg Schwarz.
2004-06-05 20:53:12 +00:00
jschauma
dca008de5a only attempt to remove bmake files if 'cd bmake' was successful. 2004-05-25 02:25:21 +00:00
jschauma
4f077d1ac2 install(1) allows for installing /dev/null to create an empty file,
so let's do this here, too.  This should address PR pkg/25313.
2004-05-17 14:54:45 +00:00
schmonz
21a83360cf --pkgsrcdir is no more. 2004-05-11 02:19:48 +00:00
schmonz
7ecc421fab Retire the bootstrap script's --pkgsrcdir argument. Now that we're
part of pkgsrc, we don't need to be told where it is.
2004-05-11 02:07:19 +00:00
cjep
b3629e74c8 Remove this and the kit builds again (at least on i386 a.out,3.2 and
i386 ELF 3.5 for which I have virtual machines).
2004-05-10 14:57:46 +00:00
tv
640ffba907 Use numeric uid/gid instead of Administrator/+Administrators, as native
language non-English versions of Windows name these accounts differently.
2004-05-05 14:39:45 +00:00
tv
0e7339e53b No, setgid works, but apparently needs some particular NTFS permissions
(researching for a future rev of this doc).
2004-05-02 03:38:21 +00:00
tv
ce0d2107ef Add a note about needing to be Administrator to install setgid files. 2004-04-30 20:44:44 +00:00
tv
1a4db019ff Actually reference the pkgsrc info page as implied by the perl paragraph. 2004-04-27 14:03:24 +00:00
tv
e0da2441c3 Revise, and add note that "UNIX Perl" should not be installed from SFU. 2004-04-27 13:58:43 +00:00
danw
ab3d23ac1f Move the rest of the OS X-specific stuff out of README.Darwin into
README.MacOSX. Update the developer tools notes for 10.3. Mention that
XFree86 has X packages for older versions of OS X that Apple doesn't
provide X for.
2004-04-24 19:22:41 +00:00
danw
52c490d5f1 make sure /sbin and /usr/sbin are in $PATH. pkg/24010 2004-04-24 19:17:09 +00:00
tv
16fb5e30af Rather than work around an automake braindeadness, parameterize install-sh
so that Interix can set the default mode to 0775.  Then add "install_sh"
to CONFIGURE_ENV so it uses ${INSTALL}, not the package-supplied
install script (as is done for autoconf $INSTALL).
2004-04-23 02:03:18 +00:00
tv
29729ef6eb For Interix, use "mkdir -p" after all so that the umask can take effect. 2004-04-21 20:35:18 +00:00
tv
4c2aaec509 A usable tar(1) may have come from bootstrap. Wedge $prefix/bin into $PATH
so that it's picked up.
2004-04-21 20:34:52 +00:00
tv
8d32f69f7a umask 002, not 022. 2004-04-21 20:34:16 +00:00
heinz
6ba6314a4f Use 'mkdir-sh' instead of 'mkdir-p.sh' (similar to 'install-sh'). 2004-04-16 23:47:02 +00:00
heinz
718ce4cb08 Add script to work around stupid 'mkdir -p' on Unixware.
$ mkdir -p /tmp/foo ; echo $?
  0
  $ mkdir -p /tmp/foo ; echo $?
  2
mkdir-sh calls 'mkdir' except when the target directory already exists.
2004-04-12 14:48:58 +00:00
heinz
59c83d8b24 Add inital version of sys.mk, derived from the SunOS/Solaris version. 2004-04-12 14:44:17 +00:00
heinz
64e5629869 List all options for 'bootstrap'. 2004-04-12 00:38:55 +00:00
heinz
9b0383bdda Add support for UnixWare 2004-04-11 03:17:12 +00:00
heinz
786653cc1a Ksh on Unixware has problems with IFS in sub shells, so put the
splitting of PATH on a separate line.
Use 'uname -v' instead of 'uname -r' on Unixware. The release number of
UNIX SYSV (ie, R5) is less important to us than the version (7.x.y).
2004-04-11 03:12:17 +00:00
jschauma
4de082d1c9 IRIX' tsort doesn't take '-q' 2004-04-07 23:35:05 +00:00
jmmv
34db6d0fa4 Add support for the --sysconfdir argument, which changes the location of
configuration files.

From now on, mk.conf is first searched under the value passed to the
sysconfdir argument (which defaults to ${prefix}/etc, to match pkgsrc's
PKG_SYSCONFDIR default value).  If not found, /etc/mk.conf is tried, to
not break existing installations which have the file in that location.
This is done to help with non-root installations of pkgsrc.

Also change pkgsrc's PKG_SYSCONFBASE value to match what is given to
sysconfdir, for consistency.

While doing this, rename $opsys.own.mk files to $opsys.own.mk.in for clarity,
as they now need sed replacements to work (i.e., the SYSCONFDIR stuff).
2004-04-07 12:05:37 +00:00
cjep
afcb1149e8 Fix comment to match new location 2004-04-05 01:34:17 +00:00
grant
f0a72948d3 allow for the fact that tmac.andoc and tmac.doc were renamed in the
update to groff-1.19 in NetBSD-current 20030630.
2004-04-04 03:00:02 +00:00
grant
0a12b7b9cb no space between #! and /bin/sh. whether this actually makes any
difference on some platforms is an exercise left to the reader, but
the current pkgsrc convention is #!<program> without the space, so
this is if nothing else, a consistency fix.
2004-04-04 02:01:28 +00:00
grant
54e0e3b743 remove a redundant comment 2004-04-04 01:59:52 +00:00
jschauma
ffde52afb5 Bring support for --workdir to mkbinarykit (and cleanup)
Add a new flag to mkbinarykit that circumvents building a kit -- this
allows you to first run ./bootstrap and then just ./mkbinarykit so
you don't have to rebuild it again.

Minor cleanup (sort OPSYS)
2004-03-31 23:46:14 +00:00
tv
2f49208baa Add more caveat text. 2004-03-29 02:22:32 +00:00
tv
4e27907340 Add Interix block. 2004-03-29 02:22:18 +00:00
tv
feef01c621 Make more like the vanilla version. 2004-03-29 02:20:55 +00:00
tv
0e9ff9bdf9 Don't set -m in mkdir_p because Interix needs 0775, not 0755. Let the umask
take care of it (the mtree file will do the rest).

Use numeric gid for Interix in an unprivileged build.
2004-03-29 02:20:04 +00:00
grant
ab335a10c2 apply patch from Klaus Heinz to support bootstrapping from a read-only
pkgsrc with the --workdir argument.
2004-03-28 01:55:17 +00:00
grant
4297752f23 kill a redundant comment about missing mk files. 2004-03-27 14:46:59 +00:00
grant
5a4625cab5 MACHINE_ARCH should be derived from uname -m on OpenBSD.
from Philip Reynolds on tech-pkg.
2004-03-21 01:06:37 +00:00
grant
ccee928893 don't try to cd into work/, just remove work/dir. 2004-03-18 14:19:22 +00:00
grant
394fecb688 - relax statement about what compilers should work
- mention which bits of SunPro 8 are required, mention 64-bit pkgs
- mention SUNWlibm, SUNWlibC
- mention PKGSRC_COMPILER=sunpro
- also tested on Solaris 10
- mention crle(1)
2004-03-15 14:36:08 +00:00
grant
5f9a225ac3 SUNWlibm is no longer needed. 2004-03-15 14:21:37 +00:00
grant
491f0bc197 no need to include <math.h> (it was removed in bmake 3.1.18, too).
this removes a dependency on SUNWlibm on Solaris. noted by Marc Herbert
<Marc.Herbert@sun.com> way back in April 2003.
2004-03-15 14:20:58 +00:00
grant
c672d34752 since we now copy the sources to work/, just remove the directories in
work/ entirely.
2004-03-15 14:13:13 +00:00
tv
8a81abc87b Add notes about root user and the packages from interopsystems.com. 2004-03-12 00:16:42 +00:00
tv
b565285e6e In mkdir_p, iterate the directory names. (install-sh doesn't.) 2004-03-11 20:49:09 +00:00
tv
27795985bc Interix has the possibility of case-insensitive filesystems too. Add the
same check used for Darwin, and a doc fragment to README.Interix.
2004-03-11 20:47:56 +00:00
tv
3c6beb239f Interix needs pax too. <grumble> 2004-03-11 19:45:09 +00:00
sketch
438e0e531d Use the install-sh wrapper to create directories rather than relying on
the system mkdir(1) which may bail out too easily for non-fatal errors.

Should fix pkg/23086
2004-03-11 17:47:18 +00:00
tv
cee9b8562c Parameterize the root user, and provide an alternative implementation
of the is_root() function for Interix only.
2004-03-11 17:29:11 +00:00
tv
ee0078c4a4 Primordial sys.mk for Interix. 2004-03-11 17:28:11 +00:00
tv
9d5236d510 Fix comment about Administrator user. 2004-03-11 17:09:37 +00:00
grant
7d69e6a0ba catch up to bootstrap being in pkgsrc. 2004-03-11 13:10:45 +00:00
grant
f4486c21b5 grab and build the various programs required from pkgsrc rather than
keeping a separate copy (with the exception of bmake, which is
currently older than devel/bmake).
2004-03-11 13:08:06 +00:00
grant
dc18479966 import the required bits of bootstrap-pkgsrc from 20040311. 2004-03-11 13:03:58 +00:00