The NetBSD Project

CVS log for pkgsrc/bootstrap/bootstrap

[BACK] Up to [cvs.NetBSD.org] / pkgsrc / bootstrap

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: MAIN


Revision 1.323 / (download) - annotate - [select for diffs], Fri Mar 22 23:34:00 2024 UTC (5 days, 19 hours ago) by gutteridge
Branch: MAIN
CVS Tags: HEAD
Changes since 1.322: +8 -3 lines
Diff to previous 1.322 (colored) to selected 1.283 (colored)

bootstrap: add some comments about Linux specifics

Revision 1.322 / (download) - annotate - [select for diffs], Tue Mar 12 22:00:13 2024 UTC (2 weeks, 1 day ago) by joerg
Branch: MAIN
Changes since 1.321: +6 -5 lines
Diff to previous 1.321 (colored) to selected 1.283 (colored)

Don't bother building bsdcat during bootstrap.

Revision 1.321 / (download) - annotate - [select for diffs], Thu Feb 15 19:43:42 2024 UTC (5 weeks, 6 days ago) by joerg
Branch: MAIN
Changes since 1.320: +4 -4 lines
Diff to previous 1.320 (colored) to selected 1.283 (colored)

Don't build bsdunzip, it's not used anyway.

Revision 1.320 / (download) - annotate - [select for diffs], Fri Jul 7 12:53:22 2023 UTC (8 months, 3 weeks ago) by gdt
Branch: MAIN
CVS Tags: pkgsrc-2023Q4-base, pkgsrc-2023Q4, pkgsrc-2023Q3-base, pkgsrc-2023Q3
Changes since 1.319: +7 -2 lines
Diff to previous 1.319 (colored) to selected 1.283 (colored)

bootstrap: Use /usr/bin/bash more on SunOS

Document the meanings of bootstrap_foo vs fooprog.

On SunOS, if we find /usr/bin/bash and use it for bootstrap_sh, also
use it for shprog.  Resolves failure to run libarchive's configure on
old SunOS.  (It seems likely libarchive's configure is using modern
constructs that are best avoided, but it is also good to use a better
shell if available.)

Problem and solution from Vivianne Ombretta via pkgsrc-users.  The
explanatory comments are gdt's fault.

Revision 1.319 / (download) - annotate - [select for diffs], Tue Jun 27 14:36:41 2023 UTC (9 months ago) by riastradh
Branch: MAIN
Changes since 1.318: +5 -5 lines
Diff to previous 1.318 (colored) to selected 1.283 (colored)

bootstrap: Override NATIVE_PKG_*_CMD, not PKG_*_CMD, during build.

NATIVE_PKG_*_CMD is what gets executed at build-time, and must be the
bootstrapped pkg_install which lives in the working tree; PKG_*_CMD
may get baked into packages for use at run-time.

Revision 1.318 / (download) - annotate - [select for diffs], Fri Nov 11 17:22:14 2022 UTC (16 months, 2 weeks ago) by jperkin
Branch: MAIN
CVS Tags: pkgsrc-2023Q2-base, pkgsrc-2023Q2, pkgsrc-2023Q1-base, pkgsrc-2023Q1, pkgsrc-2022Q4-base, pkgsrc-2022Q4
Changes since 1.317: +34 -3 lines
Diff to previous 1.317 (colored) to selected 1.283 (colored)

bootstrap: Switch to native awk/sed on illumos.

Revision 1.317 / (download) - annotate - [select for diffs], Tue Oct 4 11:47:45 2022 UTC (17 months, 3 weeks ago) by jperkin
Branch: MAIN
Changes since 1.316: +9 -3 lines
Diff to previous 1.316 (colored) to selected 1.283 (colored)

bootstrap: Add mktools to special preserve handling.

Revision 1.316 / (download) - annotate - [select for diffs], Thu Sep 29 02:25:15 2022 UTC (17 months, 4 weeks ago) by charlotte
Branch: MAIN
Changes since 1.315: +1 -6 lines
Diff to previous 1.315 (colored) to selected 1.283 (colored)

Remove support for Bitrig.

Revision 1.315 / (download) - annotate - [select for diffs], Thu Sep 15 11:53:05 2022 UTC (18 months, 1 week ago) by jperkin
Branch: MAIN
CVS Tags: pkgsrc-2022Q3-base, pkgsrc-2022Q3
Changes since 1.314: +8 -1 lines
Diff to previous 1.314 (colored) to selected 1.283 (colored)

bootstrap: Put back /usr/include hack on old OSX.

Revision 1.314 / (download) - annotate - [select for diffs], Mon Sep 12 12:32:30 2022 UTC (18 months, 2 weeks ago) by jperkin
Branch: MAIN
Changes since 1.313: +13 -1 lines
Diff to previous 1.313 (colored) to selected 1.283 (colored)

macOS: Support MACOSX_DEPLOYMENT_TARGET.

This allows the user to specify an exact SDK to use, and can be used to build
packages for an older release of macOS than the host.  The user should ideally
set this via environment variable at bootstrap time, and pkgsrc will then
encode that into mk.conf and use it for all builds.

Tested on macOS 12.x building against an 11.3 SDK for both arm64 and x86_64.

Revision 1.313 / (download) - annotate - [select for diffs], Fri Sep 9 10:58:15 2022 UTC (18 months, 2 weeks ago) by jperkin
Branch: MAIN
Changes since 1.312: +1 -2 lines
Diff to previous 1.312 (colored) to selected 1.283 (colored)

bootstrap: Remove old -isystem hack on macOS.

This was introduced many years ago in PR#26143 to try and work around a
misconfiguration in how Apple's GCC was built at the time.  Newer compilers no
longer look in /usr/local/include, and this workaround can now be harmful when
trying to pick a specific SDK to build against.

Revision 1.312 / (download) - annotate - [select for diffs], Thu Jun 16 22:12:20 2022 UTC (21 months, 1 week ago) by charlotte
Branch: MAIN
CVS Tags: pkgsrc-2022Q2-base, pkgsrc-2022Q2
Changes since 1.311: +2 -1 lines
Diff to previous 1.311 (colored) to selected 1.283 (colored)

Mention why we're doing PREFER_PKGSRC=yes on OpenBSD (at least for now)

Requested by nia@

Revision 1.311 / (download) - annotate - [select for diffs], Tue Jun 14 09:08:31 2022 UTC (21 months, 2 weeks ago) by nia
Branch: MAIN
Changes since 1.310: +6 -1 lines
Diff to previous 1.310 (colored) to selected 1.283 (colored)

bootstrap: Default to PREFER_PKGSRC=yes on OpenBSD

Revision 1.310 / (download) - annotate - [select for diffs], Wed Apr 6 13:06:09 2022 UTC (23 months, 3 weeks ago) by schmonz
Branch: MAIN
Changes since 1.309: +3 -2 lines
Diff to previous 1.309 (colored) to selected 1.283 (colored)

README.macOS: nbsed requires no user action, merge comment to bootstrap.

Revision 1.309 / (download) - annotate - [select for diffs], Sun Apr 3 20:46:11 2022 UTC (23 months, 3 weeks ago) by tnn
Branch: MAIN
Changes since 1.308: +3 -3 lines
Diff to previous 1.308 (colored) to selected 1.283 (colored)

bootstrap: set CONFIG_SHELL when configuring initial libarchive

Otherwise we might end up with defunct libtool.

Revision 1.308 / (download) - annotate - [select for diffs], Sun Apr 3 19:20:59 2022 UTC (23 months, 3 weeks ago) by tnn
Branch: MAIN
Changes since 1.307: +3 -2 lines
Diff to previous 1.307 (colored) to selected 1.283 (colored)

bootstrap: OSF1: set shprog to /usr/bin/ksh for the early stuff

sh(1) is too broken to run mksh's Build.sh

Revision 1.307 / (download) - annotate - [select for diffs], Tue Feb 8 19:18:07 2022 UTC (2 years, 1 month ago) by schmonz
Branch: MAIN
CVS Tags: pkgsrc-2022Q1-base, pkgsrc-2022Q1
Changes since 1.306: +2 -2 lines
Diff to previous 1.306 (colored) to selected 1.283 (colored)

p.spek@tyil.nl had specifically said to _single_-quote the output of
extra_libarchive_depends(). Oops. Now that the problem has bitten me (on
Manjaro ARM), I can attest that single-quoting fixes it. Sorry, tyil,
and thanks again!

Revision 1.306 / (download) - annotate - [select for diffs], Tue Dec 28 10:13:01 2021 UTC (2 years, 3 months ago) by nia
Branch: MAIN
CVS Tags: pkgsrc-2021Q4-base, pkgsrc-2021Q4
Changes since 1.305: +13 -1 lines
Diff to previous 1.305 (colored) to selected 1.283 (colored)

bootstrap: On SCO System V variants, we need either mksh or bash.

from Boyd Lynn Gerber.

Revision 1.305 / (download) - annotate - [select for diffs], Mon Dec 27 14:16:30 2021 UTC (2 years, 3 months ago) by schmonz
Branch: MAIN
Changes since 1.304: +2 -2 lines
Diff to previous 1.304 (colored) to selected 1.283 (colored)

extra_libarchive_depends() apparently hasn't given multiple values for
Libs.private before, but it does on Gentoo ("-lmd -lb2"), so failing to
double-quote the output breaks bootstrap there. Adding the quotes causes
no regressions bootstrapping macOS Monterey or Ubuntu 21.10. Problem
report and solution from p.spek@tyil.nl.

Revision 1.304 / (download) - annotate - [select for diffs], Mon Nov 29 18:32:51 2021 UTC (2 years, 3 months ago) by jperkin
Branch: MAIN
Changes since 1.303: +2 -3 lines
Diff to previous 1.303 (colored) to selected 1.283 (colored)

bootstrap: Remove unused variable.

Revision 1.303 / (download) - annotate - [select for diffs], Fri Nov 12 20:29:05 2021 UTC (2 years, 4 months ago) by nia
Branch: MAIN
Changes since 1.302: +2 -1 lines
Diff to previous 1.302 (colored) to selected 1.283 (colored)

mk/bootstrap: Fix bits for SCO UnixWare 7.

Derived from a patch from Boyd Lynn Gerber.

Revision 1.302 / (download) - annotate - [select for diffs], Tue Jul 13 12:43:58 2021 UTC (2 years, 8 months ago) by schmonz
Branch: MAIN
CVS Tags: pkgsrc-2021Q3-base, pkgsrc-2021Q3
Changes since 1.301: +3 -3 lines
Diff to previous 1.301 (colored) to selected 1.283 (colored)

Spaces to tabs (NFCI).

Revision 1.301 / (download) - annotate - [select for diffs], Sat Jul 10 15:49:21 2021 UTC (2 years, 8 months ago) by jperkin
Branch: MAIN
Changes since 1.300: +11 -1 lines
Diff to previous 1.300 (colored) to selected 1.283 (colored)

bootstrap: Add support for --machine-arch override.

This should not be used under normal circumstances, however on arm64 macOS it
is currently impossible to execute native arm64 binaries inside a chroot, and
so the chroot must run in x86_64 mode via Rosetta.  This causes uname/arch/etc
to all report that the system is x86, and so the only way to force MACHINE_ARCH
to be set correctly to "aarch64" is using this argument.

Revision 1.300 / (download) - annotate - [select for diffs], Sun May 30 23:41:05 2021 UTC (2 years, 9 months ago) by khorben
Branch: MAIN
CVS Tags: pkgsrc-2021Q2-base, pkgsrc-2021Q2
Changes since 1.299: +12 -1 lines
Diff to previous 1.299 (colored) to selected 1.283 (colored)

Introduce a new SYSCONFBASE variable (defaults to /etc)

This is part 1 to support additional platforms with the RC scripts provided in
pkgsrc, in privileged as well as in unprivileged mode, including on NetBSD
(with part 2 in pkgtools/rc.subr).

This variable is meant to point to the configuration directory of the base
system (as opposed to pkgsrc's own prefix) when it should be used by pkgsrc in
special cases (e.g. installing RC scripts), or to point to the existing
PKG_SYSCONFBASE directory otherwise (e.g. for any unprivileged bootstrap).
This teaches pkgsrc where the RC scripts should be installed, and more
importantly, where the local copy of rc.subr can be expected. Part 3 will
progressively update each and every RC script to substitute this path as
expected.

No functional changes are intended in privileged mode without a bootstrap. The
only variable affected by this change directly is RCD_SCRIPTS_DIR, which
currently remains with the same default of /etc/rc.d, and can be overridden as
before.

When bootstrapping, SYSCONFBASE also remains with the existing default when no
prefix is set or is "/usr/pkg" or "/usr"; it is set to $prefix/etc otherwise. It
can be specified specifically with --sysconfbase if necessary.

Existing installations or bootstraps are not affected, as this change needs
setting SYSCONFBASE in the corresponding $sysconfdir/mk.conf to have an impact.

Tested in privileged and unprivileged modes on NetBSD/amd64, and unprivileged
mode on Darwin/amd64; submitted for review on tech-pkg@.

Revision 1.299 / (download) - annotate - [select for diffs], Wed Apr 28 11:14:51 2021 UTC (2 years, 11 months ago) by maya
Branch: MAIN
Changes since 1.298: +2 -14 lines
Diff to previous 1.298 (colored) to selected 1.283 (colored)

Don't reject dash as /bin/sh.

From a discussion with jperkin, who tested this on bulk builds, the
remaining issues with non-BSD echo are in legacy wrappers.

Keep the workaround to use bash on Debian GNU kFreeBSD because it still
uses legacy wrappers and add a comment that that's why it's there.

Now naive usage of bootstrap on many popular Linux distros doesn't require
setting an environment variable.

Revision 1.298 / (download) - annotate - [select for diffs], Mon Mar 15 16:22:06 2021 UTC (3 years ago) by ryoon
Branch: MAIN
CVS Tags: pkgsrc-2021Q1-base, pkgsrc-2021Q1
Changes since 1.297: +6 -1 lines
Diff to previous 1.297 (colored) to selected 1.283 (colored)

bootstrap: Add MidnightBSD support to bootstrap shell script

Revision 1.297 / (download) - annotate - [select for diffs], Mon Feb 15 12:56:53 2021 UTC (3 years, 1 month ago) by cjep
Branch: MAIN
Changes since 1.296: +31 -1 lines
Diff to previous 1.296 (colored) to selected 1.283 (colored)

In the process of looking at PR#55952, we discovered something that
can catch users out with the two --prefer options. Make the parsing
of these better by checking their argument exists and is not another
command line option.

Addresses PR#55952. Reviewed with jperkin@

Revision 1.296 / (download) - annotate - [select for diffs], Sat Dec 5 16:50:52 2020 UTC (3 years, 3 months ago) by js
Branch: MAIN
CVS Tags: pkgsrc-2020Q4-base, pkgsrc-2020Q4
Changes since 1.295: +5 -2 lines
Diff to previous 1.295 (colored) to selected 1.283 (colored)

bootstrap: Prefer native on Elbrus 2000

A lot of patches for Elbrus 2000 have not been upstreamed, which results
in important packages such as openssl failing to build, while the native
one is quite up-to-date and working.

Tested building devel/fossil with this, which results in a fully working
binary.

Revision 1.295 / (download) - annotate - [select for diffs], Wed Oct 28 16:52:43 2020 UTC (3 years, 4 months ago) by maya
Branch: MAIN
Changes since 1.294: +6 -1 lines
Diff to previous 1.294 (colored) to selected 1.283 (colored)

Bootstrap: Fix bootstrap on FreeBSD 12.1, likely broken by an issue in lld.

It looks like lld doesn't want to statically link a libarchive without
resolving all of the symbols, even if only a few symbols are used.

In order to resolve all of the symbols, we need to also link with -lmd.
One generic way to do so is inspect Libs.private in the pkgconfig file.

While pkgsrc is likely not at fault here, having a dysfunctional bootstrap
is bad. We should check again in the future to see if this can be removed.

Actually fixes PR pkg/55400.

Revision 1.294 / (download) - annotate - [select for diffs], Wed Oct 7 10:44:14 2020 UTC (3 years, 5 months ago) by jperkin
Branch: MAIN
Changes since 1.293: +3 -2 lines
Diff to previous 1.293 (colored) to selected 1.283 (colored)

bootstrap: Fix numerical calculation on Big Sur.

Revision 1.293 / (download) - annotate - [select for diffs], Sat Aug 29 20:11:21 2020 UTC (3 years, 6 months ago) by js
Branch: MAIN
CVS Tags: pkgsrc-2020Q3-base, pkgsrc-2020Q3
Changes since 1.292: +5 -1 lines
Diff to previous 1.292 (colored) to selected 1.283 (colored)

Fix bootstrap on QNX

Tested with QNX 6.5.0SP1.

Two things were needed:

 * bootstrap needs to export ACCEPT_INFERIOR_RM_PROGRAM=yes on QNX,
   because libarchive checks for "rm -f" (with no arguments) working in
   configure. It doesn't seem to actually use it during the build, so
   this works.
 * QNX.sys.mk sets LORDER to echo, but sets TSORT to tsort -q. This
   results in tsort complaining about having an uneven number of inputs,
   since of course there are no dependency pairs.
   Hence, if LORDER is overridden to echo, TSORT also needs to be
   overridden to cat. Interestingly, Linux.sys.mk also sets LORDER=echo
   and TSORT=tsort -q, so it's surprising this isn't broken as well?

Revision 1.292 / (download) - annotate - [select for diffs], Thu Aug 20 13:04:01 2020 UTC (3 years, 7 months ago) by bacon
Branch: MAIN
Changes since 1.291: +25 -1 lines
Diff to previous 1.291 (colored) to selected 1.283 (colored)

bootstrap: Default to PREFER_PKGSRC=yes on Linux

Avoids problems caused by linking against aging enterprise Linux libraries or
libraries from Linux package managers that undergo ABI changes outside pkgsrc
control.

Add --prefer-native flag to bootstrap script so all PREFER_* values can be
set during bootstrap. This resolves issues where bootstrap links packages
against native libraries and pkgsrc equivalents are installed afterward due
to changes to PREFER_NATIVE after bootstrap.

Automatically document danger of changing PREFER_PKGSRC or PREFER_NATIVE after
boostrap in mk.conf

Revision 1.291 / (download) - annotate - [select for diffs], Fri Aug 14 08:45:30 2020 UTC (3 years, 7 months ago) by jperkin
Branch: MAIN
Changes since 1.290: +1 -13 lines
Diff to previous 1.290 (colored) to selected 1.283 (colored)

bootstrap: No need to find packagemaker any longer.

Revision 1.290 / (download) - annotate - [select for diffs], Fri Aug 14 07:24:16 2020 UTC (3 years, 7 months ago) by schmonz
Branch: MAIN
Changes since 1.289: +1 -29 lines
Diff to previous 1.289 (colored) to selected 1.283 (colored)

Retire --binary-macpkg option, which would generate a binary pkgsrc
bootstrap kit for macOS in the form of a double-clickable .pkg.

Revision 1.289 / (download) - annotate - [select for diffs], Tue Jul 21 15:53:10 2020 UTC (3 years, 8 months ago) by sjmulder
Branch: MAIN
Changes since 1.288: +4 -1 lines
Diff to previous 1.288 (colored) to selected 1.283 (colored)

bootstrap: Fix machine_arch detection on Apple Sillicon

machine_arch was empty on Apple Sillicon. We could also use `uname -m` but that
returns arm64 which is not accepted by mk/gnu-config/config.sub.

Revision 1.288 / (download) - annotate - [select for diffs], Wed Jul 15 10:32:12 2020 UTC (3 years, 8 months ago) by jperkin
Branch: MAIN
Changes since 1.287: +2 -2 lines
Diff to previous 1.287 (colored) to selected 1.283 (colored)

bootstrap: Switch OSF1 to mksh.

Tested by @astr0baby on Twitter on Tru64 5.1B, where bootstrap fails due to
incomplete C99 support for libarchive on the host system, but after mksh has
already been built successfully.

That leaves only AIX now remaining on pdksh, so if anyone has an AIX system
and is able to test a bootstrap run it would be appreciated.

Revision 1.287 / (download) - annotate - [select for diffs], Tue Jul 7 11:50:04 2020 UTC (3 years, 8 months ago) by jperkin
Branch: MAIN
Changes since 1.286: +2 -2 lines
Diff to previous 1.286 (colored) to selected 1.283 (colored)

bootstrap: Switch --full over to mksh.

Revision 1.286 / (download) - annotate - [select for diffs], Mon Jul 6 10:43:47 2020 UTC (3 years, 8 months ago) by jperkin
Branch: MAIN
Changes since 1.285: +10 -1 lines
Diff to previous 1.285 (colored) to selected 1.283 (colored)

boostrap: Enable mksh by default on macOS 10.11+.

El Capitan (10.11) introduced System Integrity Protection (SIP), and one of
the side effects of this protection is that system shells (i.e. /bin/*sh)
unset any variables that may affect the security of the system.  This causes
problems with packages that rely on e.g. LD_LIBRARY_PATH.

Using a shell outside of the system paths allows us to work around this, at
least for now.

Tested in bulk builds on macOS Catalina, though with SIP disabled (as there
is no way to run sandboxed builds with SIP enabled).

Revision 1.285 / (download) - annotate - [select for diffs], Mon Jul 6 10:25:29 2020 UTC (3 years, 8 months ago) by jperkin
Branch: MAIN
Changes since 1.284: +2 -2 lines
Diff to previous 1.284 (colored) to selected 1.283 (colored)

bootstrap: Switch SunOS to mksh.

Tested in a bulk build on SmartOS, and bootstrap tested on Solaris 9.

Revision 1.284 / (download) - annotate - [select for diffs], Mon Jul 6 10:21:01 2020 UTC (3 years, 8 months ago) by jperkin
Branch: MAIN
Changes since 1.283: +23 -1 lines
Diff to previous 1.283 (colored)

bootstrap: Enable support for building mksh.

Over time, and as they are tested, platforms will be migrated over to
shells/mksh ($need_mksh) instead of shells/pdksh ($need_ksh) when a
bootstrap shell is required.  Once mksh is selected, it takes precedence
over pdksh.

Our shells/pdksh has been unmaintained for many years and has known
issues, shells/mksh is expected to provide a portable, fast, and well
maintained alternative.

Revision 1.283 / (download) - annotate - [selected], Mon Jun 29 12:38:03 2020 UTC (3 years, 8 months ago) by jperkin
Branch: MAIN
Changes since 1.282: +16 -15 lines
Diff to previous 1.282 (colored)

bootstrap: Overhaul Darwin version selection.

With the upcoming Big Sur release we can't assume that the major version will
always be 10.  Creating a combined major and minor version number also allows
us to simplify and future-proof some tests.

Should be no functional change.

Revision 1.282 / (download) - annotate - [select for diffs], Mon Jun 29 12:01:38 2020 UTC (3 years, 8 months ago) by jperkin
Branch: MAIN
Changes since 1.281: +8 -75 lines
Diff to previous 1.281 (colored) to selected 1.283 (colored)

bootstrap: Set some default variables.

Saves having to duplicate them for every OS, and also removes some obsolete
settings, should be no functional change.

Revision 1.281 / (download) - annotate - [select for diffs], Sat May 30 21:36:15 2020 UTC (3 years, 9 months ago) by jperkin
Branch: MAIN
CVS Tags: pkgsrc-2020Q2-base, pkgsrc-2020Q2
Changes since 1.280: +5 -3 lines
Diff to previous 1.280 (colored) to selected 1.283 (colored)

bootstrap: Fix default target arch on SunOS.

Use the kernel architecture via isainfo -k to base our default on, as uname
will always return the same result regardless.  Ensures we default to 64-bit
pkgsrc on amd64, as well as adding support for sparcv9.

Revision 1.280 / (download) - annotate - [select for diffs], Mon May 25 07:32:59 2020 UTC (3 years, 10 months ago) by jperkin
Branch: MAIN
Changes since 1.279: +10 -7 lines
Diff to previous 1.279 (colored) to selected 1.283 (colored)

bootstrap: Consolidate setting of CC if unset.

Should fix issue seen on IRIX where --compiler was specified but CC was not
passed to bootstrap, resulting in "gcc" being picked as the default.

Revision 1.279 / (download) - annotate - [select for diffs], Wed May 6 15:34:31 2020 UTC (3 years, 10 months ago) by jperkin
Branch: MAIN
Changes since 1.278: +5 -1 lines
Diff to previous 1.278 (colored) to selected 1.283 (colored)

bootstrap: Use SH for bmake if specified.

Fixes issue seen bootstrapping on Solaris 9 when bash is available and being
used for SH, bmake was still defaulting to /usr/xpg4/bin/sh which dumps core
with some of the mk/check infrastructure.

Note this is only for the bmake used during the initial bootstrap, the final
bmake package will still use the defshell logic in its Makefile.

Revision 1.278 / (download) - annotate - [select for diffs], Wed Apr 29 20:27:03 2020 UTC (3 years, 10 months ago) by triaxx
Branch: MAIN
Changes since 1.277: +2 -2 lines
Diff to previous 1.277 (colored) to selected 1.283 (colored)

bootstrap: fix PR pkg/55217

Move sanitfy check for absolute path of $prefix at a place where we are
sure it has been defined to avoid that a bootstrap can be built in a path
containing symbolic link when --prefix is not specified and default $prefix
is set.

Revision 1.277 / (download) - annotate - [select for diffs], Thu Mar 26 15:30:27 2020 UTC (4 years ago) by nia
Branch: MAIN
CVS Tags: pkgsrc-2020Q1-base, pkgsrc-2020Q1
Changes since 1.276: +9 -1 lines
Diff to previous 1.276 (colored) to selected 1.283 (colored)

bootstrap: Allow overriding EGREP/FGREP.

Makes bootstrapping on minimal Linux systems that don't include these
binaries in a normal location less broken.

from Michael Forney

Revision 1.276 / (download) - annotate - [select for diffs], Sun Mar 22 16:40:19 2020 UTC (4 years ago) by rillig
Branch: MAIN
Changes since 1.275: +5 -5 lines
Diff to previous 1.275 (colored) to selected 1.283 (colored)

bootstrap: create the binary packages before the summary message

It's strange to see the summary before all the actual work is done.

Revision 1.275 / (download) - annotate - [select for diffs], Sun Mar 22 16:34:46 2020 UTC (4 years ago) by rillig
Branch: MAIN
Changes since 1.274: +1 -3 lines
Diff to previous 1.274 (colored) to selected 1.283 (colored)

bootstrap: remove unused BOOTSTRAP_VERSION variable

It had not been updated between 2006 and 2019, and there is no apparent
benefit of having this version number.

Revision 1.274 / (download) - annotate - [select for diffs], Sun Feb 23 18:32:46 2020 UTC (4 years, 1 month ago) by rillig
Branch: MAIN
Changes since 1.273: +6 -6 lines
Diff to previous 1.273 (colored) to selected 1.283 (colored)

bootstrap: use $* instead of $@ where appropriate

This runs the echo command with fewer arguments (1 in most cases).

The observable behavior is still the same, except for directory names
containing spaces, which are not supported anyway.

Revision 1.273 / (download) - annotate - [select for diffs], Thu Dec 5 22:19:56 2019 UTC (4 years, 3 months ago) by sevan
Branch: MAIN
CVS Tags: pkgsrc-2019Q4-base, pkgsrc-2019Q4
Changes since 1.272: +2 -7 lines
Diff to previous 1.272 (colored) to selected 1.283 (colored)

Skip trying to make use of a 64bit ABI on Darwin as the system libraries on
Tiger lack support and it doesn't work out too great on Leopard either, though
it's much better than the former release.

Revision 1.272 / (download) - annotate - [select for diffs], Tue Nov 5 13:58:06 2019 UTC (4 years, 4 months ago) by triaxx
Branch: MAIN
Changes since 1.271: +6 -5 lines
Diff to previous 1.271 (colored) to selected 1.283 (colored)

boostrap: need_awk=yes for Arch Linux

Arch uses GNU Awk 5 that breaks some regexps.

Revision 1.271 / (download) - annotate - [select for diffs], Fri Sep 13 20:10:35 2019 UTC (4 years, 6 months ago) by rillig
Branch: MAIN
CVS Tags: pkgsrc-2019Q3-base, pkgsrc-2019Q3
Changes since 1.270: +3 -4 lines
Diff to previous 1.270 (colored) to selected 1.283 (colored)

bootstrap/bootstrap: prevent --wrkdir from being a symlink

Without this check, bootstrap will fail later when it builds
bootstrap-mk-files in the usual pkgsrc way. There is an additional check
in bsd.pkg.mk which then fails. Therefore, better fail fast to save some
time.

Revision 1.270 / (download) - annotate - [select for diffs], Fri Sep 13 19:53:03 2019 UTC (4 years, 6 months ago) by rillig
Branch: MAIN
Changes since 1.269: +3 -3 lines
Diff to previous 1.269 (colored) to selected 1.283 (colored)

bootstrap/bootstrap: fix word wrapping in symlink error message

When $2 is expanded, it is longer than 2 characters, which leaded to an
ugly line break.

Revision 1.269 / (download) - annotate - [select for diffs], Sun Jul 21 20:14:06 2019 UTC (4 years, 8 months ago) by rillig
Branch: MAIN
Changes since 1.268: +8 -3 lines
Diff to previous 1.268 (colored) to selected 1.283 (colored)

bootstrap/bootstrap: fix bootstrap on Solaris 10

Fixes pkg/54349.

Revision 1.268 / (download) - annotate - [select for diffs], Mon Jul 8 19:44:08 2019 UTC (4 years, 8 months ago) by sevan
Branch: MAIN
Changes since 1.267: +2 -2 lines
Diff to previous 1.267 (colored) to selected 1.283 (colored)

libarchive no longer has a without-lzmadec option

Revision 1.267 / (download) - annotate - [select for diffs], Tue Jul 2 16:27:04 2019 UTC (4 years, 8 months ago) by rillig
Branch: MAIN
Changes since 1.266: +4 -3 lines
Diff to previous 1.266 (colored) to selected 1.283 (colored)

bootstrap/bootstrap: allow the working directory to be a symlink

The working directory is only needed for bootstrapping pkgsrc, therefore
there aren't too many packages that can fail.

Loosening this check is needed for macOS, where /etc, /tmp and /var are
symlinks to /private, and using /tmp as the workdir for bootstrapping is
a sane choice.

Revision 1.266 / (download) - annotate - [select for diffs], Thu Jun 20 09:11:26 2019 UTC (4 years, 9 months ago) by jperkin
Branch: MAIN
CVS Tags: pkgsrc-2019Q2-base
Branch point for: pkgsrc-2019Q2
Changes since 1.265: +2 -2 lines
Diff to previous 1.265 (colored) to selected 1.283 (colored)

bootstrap: Enable sed on Cygwin by default.

Michael Dexter reported that the native Cygwin sed is unable to correctly
build libtool.  Switching to nbsed solved the issue.

Revision 1.265 / (download) - annotate - [select for diffs], Tue May 7 19:54:46 2019 UTC (4 years, 10 months ago) by rillig
Branch: MAIN
Changes since 1.264: +2 -1 lines
Diff to previous 1.264 (colored) to selected 1.283 (colored)

bootstrap: fix endless when checking nonexisting directory

./bootstrap --prefix=/nonexisting had run into an endless loop.

Revision 1.264 / (download) - annotate - [select for diffs], Fri May 3 13:26:34 2019 UTC (4 years, 10 months ago) by jperkin
Branch: MAIN
Changes since 1.263: +6 -6 lines
Diff to previous 1.263 (colored) to selected 1.283 (colored)

bootstrap: Invert the awk/sed test on Darwin.

This stops us having to continue to add new macOS releases, it appears
that Apple is not going to fix this issue any time soon.

Revision 1.263 / (download) - annotate - [select for diffs], Wed May 1 18:29:20 2019 UTC (4 years, 10 months ago) by rillig
Branch: MAIN
Changes since 1.262: +33 -4 lines
Diff to previous 1.262 (colored) to selected 1.283 (colored)

bootstrap: prevent pkgsrcdir, prefix and wrkdir from being symlinks

Revision 1.262 / (download) - annotate - [select for diffs], Wed Apr 10 08:24:03 2019 UTC (4 years, 11 months ago) by adam
Branch: MAIN
Changes since 1.261: +2 -2 lines
Diff to previous 1.261 (colored) to selected 1.283 (colored)

libarchive: updated to 3.3.3

libarchive 3.3.3:
Avoid super-linear slowdown on malformed mtree files
Many fixes for building with Visual Studio
NO_OVERWRITE doesn't change existing directory attributes
New support for Zstandard read and write filters

Revision 1.261 / (download) - annotate - [select for diffs], Wed Feb 6 17:38:54 2019 UTC (5 years, 1 month ago) by triaxx
Branch: MAIN
CVS Tags: pkgsrc-2019Q1-base, pkgsrc-2019Q1
Changes since 1.260: +3 -1 lines
Diff to previous 1.260 (colored) to selected 1.283 (colored)

set $CC when clang is detected in bootstrap

The commit in pkgsrc-2018Q4 is due to a mistake.

Sorry :(

Revision 1.260 / (download) - annotate - [select for diffs], Thu Nov 15 22:08:30 2018 UTC (5 years, 4 months ago) by sevan
Branch: MAIN
CVS Tags: pkgsrc-2018Q4-base
Branch point for: pkgsrc-2018Q4
Changes since 1.259: +2 -2 lines
Diff to previous 1.259 (colored) to selected 1.283 (colored)

Update the root_group for Minix to match the changes to mk files.

Head up by <leot>

Revision 1.259 / (download) - annotate - [select for diffs], Sun Nov 11 19:31:54 2018 UTC (5 years, 4 months ago) by rillig
Branch: MAIN
Changes since 1.258: +3 -2 lines
Diff to previous 1.258 (colored) to selected 1.283 (colored)

bootstrap/bootstrap: detect unknown options and print usage

Running bootstrap with short options (like -q for --quiet) is not
implemented. Therefore, instead of silently ignoring such options, fail
with an appropriate error message.

Revision 1.258 / (download) - annotate - [select for diffs], Fri Nov 9 13:37:09 2018 UTC (5 years, 4 months ago) by jperkin
Branch: MAIN
Changes since 1.257: +2 -7 lines
Diff to previous 1.257 (colored) to selected 1.283 (colored)

bootstrap: Ensure CC is considered for SSP tests.

Revision 1.257 / (download) - annotate - [select for diffs], Mon Nov 5 19:26:38 2018 UTC (5 years, 4 months ago) by schmonz
Branch: MAIN
Changes since 1.256: +30 -1 lines
Diff to previous 1.256 (colored) to selected 1.283 (colored)

Optionally detect whether the compiler supports "-fstack-protector-strong".
If not, set _OPSYS_SUPPORTS_SSP=no during bootstrap and in mk.conf.

Do SSP detection on "SunOS", and let mk/platform/SunOS.mk's default
"yes" be overridden in mk.conf.

No change to generated mk.conf on NetBSD 8 or CentOS 6. Fixes bootstrap
on Tribblix.

Revision 1.256 / (download) - annotate - [select for diffs], Tue Oct 30 15:22:53 2018 UTC (5 years, 4 months ago) by sevan
Branch: MAIN
Changes since 1.255: +2 -2 lines
Diff to previous 1.255 (colored) to selected 1.283 (colored)

Minix 3.4RC6 includes install(1) from NetBSD.

Revision 1.255 / (download) - annotate - [select for diffs], Mon Oct 29 17:41:35 2018 UTC (5 years, 4 months ago) by triaxx
Branch: MAIN
Changes since 1.254: +4 -4 lines
Diff to previous 1.254 (colored) to selected 1.283 (colored)

Fix commit v 1.254

* Put indentation right to follow the existing style
* Correct wrong justification for need of pax on Arch: pax (and not PaX) is
  only provided throw https://aur.archlinux.org/packages/pax/ and get low
  support (currently broken)

Revision 1.254 / (download) - annotate - [select for diffs], Mon Oct 29 15:16:32 2018 UTC (5 years, 5 months ago) by triaxx
Branch: MAIN
Changes since 1.253: +8 -1 lines
Diff to previous 1.253 (colored) to selected 1.283 (colored)

Arch Linux does not provide pax anymore

https://lists.archlinux.org/pipermail/arch-general/2017-April/043604.html

Revision 1.253 / (download) - annotate - [select for diffs], Sun Oct 28 18:41:41 2018 UTC (5 years, 5 months ago) by sevan
Branch: MAIN
Changes since 1.252: +1 -2 lines
Diff to previous 1.252 (colored) to selected 1.283 (colored)

libcompat_minix was removed some years back and minlib does not exist as a
linkable library in 3.4RC6 so don't try to link against these.

Revision 1.252 / (download) - annotate - [select for diffs], Sun Oct 28 16:59:00 2018 UTC (5 years, 5 months ago) by sevan
Branch: MAIN
Changes since 1.251: +2 -1 lines
Diff to previous 1.251 (colored) to selected 1.283 (colored)

Minix/arm currently ships with GCC but the i386 build ships with clang so check
the compiler.

Revision 1.251 / (download) - annotate - [select for diffs], Wed Oct 17 11:12:46 2018 UTC (5 years, 5 months ago) by jperkin
Branch: MAIN
Changes since 1.250: +3 -3 lines
Diff to previous 1.250 (colored) to selected 1.283 (colored)

bootstrap: Set PKGSRC_KEEP_BIN_PKGS=no during bootstrap.

This avoids errors when running from a read-only pkgsrc checkout as the
resulting packages cannot be written to the default PACKAGES directory.  The
binary packages aren't useful anyway, as they are often built with reduced
configuration options due to the limited bootstrap environment.

Fixes issue reported by Julien Savard and others.

Revision 1.250 / (download) - annotate - [select for diffs], Sun Sep 9 10:01:26 2018 UTC (5 years, 6 months ago) by schmonz
Branch: MAIN
CVS Tags: pkgsrc-2018Q3-base, pkgsrc-2018Q3
Changes since 1.249: +3 -1 lines
Diff to previous 1.249 (colored) to selected 1.283 (colored)

On OpenBSD, detect clang and prefer it over gcc. Addresses pkg/53170.

Revision 1.249 / (download) - annotate - [select for diffs], Sun Aug 12 08:46:41 2018 UTC (5 years, 7 months ago) by bsiegert
Branch: MAIN
Changes since 1.248: +3 -2 lines
Diff to previous 1.248 (colored) to selected 1.283 (colored)

On Chrome OS, build nbsed too.

Both sed and awk in the Chrome OS base are permanently put into sandbox
mode, which makes them unsuitable for pkgsrc use. We were already building
nbawk; also add nbsed.

Revision 1.248 / (download) - annotate - [select for diffs], Wed Mar 7 07:34:07 2018 UTC (6 years ago) by rillig
Branch: MAIN
CVS Tags: pkgsrc-2018Q2-base, pkgsrc-2018Q2, pkgsrc-2018Q1-base, pkgsrc-2018Q1
Changes since 1.247: +1 -2 lines
Diff to previous 1.247 (colored) to selected 1.283 (colored)

bootstrap: don't output "Hopefully" when bootstrap finishes

The pkgsrc bootstrap has been used long enough to be more
self-confident.

Revision 1.247 / (download) - annotate - [select for diffs], Sat Feb 3 09:53:03 2018 UTC (6 years, 1 month ago) by bsiegert
Branch: MAIN
Changes since 1.246: +1 -2 lines
Diff to previous 1.246 (colored) to selected 1.283 (colored)

Remove a mis-pasted line. Noticed by jperkin@.

Revision 1.246 / (download) - annotate - [select for diffs], Fri Feb 2 15:53:44 2018 UTC (6 years, 1 month ago) by bsiegert
Branch: MAIN
Changes since 1.245: +4 -1 lines
Diff to previous 1.245 (colored) to selected 1.283 (colored)

Use pkgsrc awk on ChromeOS.

Since Chrome 64, /usr/bin/awk has been a version of mawk that is permanently
in restricted mode. Notably, this means it cannot run pipes, which pkgsrc
requires. Use nawk.

Revision 1.245 / (download) - annotate - [select for diffs], Sat Dec 9 00:33:36 2017 UTC (6 years, 3 months ago) by sevan
Branch: MAIN
CVS Tags: pkgsrc-2017Q4-base, pkgsrc-2017Q4
Changes since 1.244: +2 -1 lines
Diff to previous 1.244 (colored) to selected 1.283 (colored)

Define machine_arch for Cygwin, this resolves an issue where MACHINE_ARCH is set
to blank & configure substituation breaks because host type identifier is
complete.
-pc-cygwin, rather than x86_64-pc-cygwin.

Revision 1.244 / (download) - annotate - [select for diffs], Sun Oct 22 19:29:20 2017 UTC (6 years, 5 months ago) by bsiegert
Branch: MAIN
Changes since 1.243: +2 -1 lines
Diff to previous 1.243 (colored) to selected 1.283 (colored)

Set cwrappers in bootstrap mk.conf too.

When bootstrap is run with --cwrappers=no (or yes, for that matter),
the value is written into mk.conf at the end of the bootstrap but not
used _during_ the bootstrap itself. Thus, when bootstrapping on Linux
with no builtin diffutils, cwrappers ends up indirectly depending on
itself, and there is no way around that. This commit fixes this.

Revision 1.243 / (download) - annotate - [select for diffs], Sat Sep 23 05:43:51 2017 UTC (6 years, 6 months ago) by maya
Branch: MAIN
CVS Tags: pkgsrc-2017Q3-base
Branch point for: pkgsrc-2017Q3
Changes since 1.242: +2 -2 lines
Diff to previous 1.242 (colored) to selected 1.283 (colored)

macOS 10.13 requires nbsed and nbawk

From Eric Brown in PR pkg/52566

Revision 1.242 / (download) - annotate - [select for diffs], Mon Jun 19 06:30:48 2017 UTC (6 years, 9 months ago) by maya
Branch: MAIN
CVS Tags: pkgsrc-2017Q2-base, pkgsrc-2017Q2
Changes since 1.241: +2 -1 lines
Diff to previous 1.241 (colored) to selected 1.283 (colored)

Add code for finding machine_arch on OSF1

From Naruaki Etomi in PR pkg/52311

Revision 1.241 / (download) - annotate - [select for diffs], Sat Apr 29 21:40:40 2017 UTC (6 years, 11 months ago) by khorben
Branch: MAIN
Changes since 1.240: +7 -6 lines
Diff to previous 1.240 (colored) to selected 1.283 (colored)

Allow bootstrapping without cwrappers

Since cwrappers was enabled by default on some platforms, it became
effectively impossible to bootstrap without cwrappers there.

With this change "--cwrappers" needs to be set to "auto", "yes" or "no"
explicitly when used.

No functional change intended without specifying "--cwrappers" (or with
"auto").

Submitted on tech-pkg@ with no objection.

Revision 1.240 / (download) - annotate - [select for diffs], Sat Feb 11 16:08:31 2017 UTC (7 years, 1 month ago) by tron
Branch: MAIN
CVS Tags: pkgsrc-2017Q1-base, pkgsrc-2017Q1
Changes since 1.239: +2 -2 lines
Diff to previous 1.239 (colored) to selected 1.283 (colored)

As macOS Sierra still ships with a broken "awk" and "sed" use the
pkgsrc variants as we do under Mac OS X El Capitan.

Revision 1.239 / (download) - annotate - [select for diffs], Wed Feb 1 10:14:09 2017 UTC (7 years, 1 month ago) by jperkin
Branch: MAIN
Changes since 1.238: +6 -8 lines
Diff to previous 1.238 (colored) to selected 1.283 (colored)

Simplify and optimise previous.

Revision 1.238 / (download) - annotate - [select for diffs], Wed Feb 1 09:54:21 2017 UTC (7 years, 1 month ago) by sevan
Branch: MAIN
Changes since 1.237: +10 -2 lines
Diff to previous 1.237 (colored) to selected 1.283 (colored)

For POWER8 systems running Linux, set $machine_arch to powerpc64le if machine
hardware name is ppc64le.
Automatically default to 64bit ABI for powerpc64le systems.

Revision 1.237 / (download) - annotate - [select for diffs], Tue Jan 10 12:30:00 2017 UTC (7 years, 2 months ago) by jperkin
Branch: MAIN
Changes since 1.236: +9 -1 lines
Diff to previous 1.236 (colored) to selected 1.283 (colored)

Test for existing $prefix and $pkgdbdir and bail out early if they exist,
rather than failing with exotic errors later.

Revision 1.236 / (download) - annotate - [select for diffs], Tue Jan 10 12:16:08 2017 UTC (7 years, 2 months ago) by jperkin
Branch: MAIN
Changes since 1.235: +5 -9 lines
Diff to previous 1.235 (colored) to selected 1.283 (colored)

Use die()

Revision 1.235 / (download) - annotate - [select for diffs], Tue Jan 3 17:53:14 2017 UTC (7 years, 2 months ago) by jperkin
Branch: MAIN
Changes since 1.234: +2 -2 lines
Diff to previous 1.234 (colored) to selected 1.283 (colored)

Pass --without-lz4 to libarchive bootstrap, avoids issues on Gentoo where
the native lz4 is found.

Revision 1.234 / (download) - annotate - [select for diffs], Tue Nov 15 11:19:09 2016 UTC (7 years, 4 months ago) by jperkin
Branch: MAIN
CVS Tags: pkgsrc-2016Q4-base, pkgsrc-2016Q4
Changes since 1.233: +2 -2 lines
Diff to previous 1.233 (colored) to selected 1.283 (colored)

Change the default PKG_DBDIR to be ${LOCALBASE}/pkgdb.  Resolves issues on
other BSDs which already use /var/db/pkg for the native package manager.

Revision 1.233 / (download) - annotate - [select for diffs], Tue Nov 1 20:44:22 2016 UTC (7 years, 4 months ago) by jperkin
Branch: MAIN
Changes since 1.232: +16 -2 lines
Diff to previous 1.232 (colored) to selected 1.283 (colored)

When building cwrappers via bootstrap, either directly via --cwrappers or
indirectly via it being pulled in using USE_CWRAPPERS=auto, we need to
ensure that it is not built with -DPKG_PRESERVE as otherwise it interacts
badly with pbulk's pkg_delete test.

Revision 1.232 / (download) - annotate - [select for diffs], Wed Jun 22 11:40:16 2016 UTC (7 years, 9 months ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2016Q3-base, pkgsrc-2016Q3, pkgsrc-2016Q2-base, pkgsrc-2016Q2
Changes since 1.231: +6 -5 lines
Diff to previous 1.231 (colored) to selected 1.283 (colored)

Disable maintainer mode for the right tool.

Revision 1.231 / (download) - annotate - [select for diffs], Wed Jun 22 08:07:11 2016 UTC (7 years, 9 months ago) by joerg
Branch: MAIN
Changes since 1.230: +3 -2 lines
Diff to previous 1.230 (colored) to selected 1.283 (colored)

Disable maintainer mode here as well.

Revision 1.230 / (download) - annotate - [select for diffs], Sun Apr 10 16:18:45 2016 UTC (7 years, 11 months ago) by joerg
Branch: MAIN
Changes since 1.229: +2 -2 lines
Diff to previous 1.229 (colored) to selected 1.283 (colored)

No need to set USE_DESTDIR now.

Revision 1.229 / (download) - annotate - [select for diffs], Mon Feb 8 14:53:43 2016 UTC (8 years, 1 month ago) by jperkin
Branch: MAIN
CVS Tags: pkgsrc-2016Q1-base, pkgsrc-2016Q1
Changes since 1.228: +9 -9 lines
Diff to previous 1.228 (colored) to selected 1.283 (colored)

Fix --quiet.  The output is far from quiet, but at least it now works.

Revision 1.228 / (download) - annotate - [select for diffs], Thu Feb 4 13:45:24 2016 UTC (8 years, 1 month ago) by jperkin
Branch: MAIN
Changes since 1.227: +2 -2 lines
Diff to previous 1.227 (colored) to selected 1.283 (colored)

Fix PowerPC 32-bit case.

Revision 1.227 / (download) - annotate - [select for diffs], Sun Jan 24 16:14:44 2016 UTC (8 years, 2 months ago) by jperkin
Branch: MAIN
Changes since 1.226: +52 -55 lines
Diff to previous 1.226 (colored) to selected 1.283 (colored)

Attempt to bring sanity to how ABI and MACHINE_ARCH are set.

Previously there were at least 5 different ways MACHINE_ARCH could be set,
some statically and some at run time, and in many cases these settings
differed, leading to issues at pkg_add time where there was conflict
between the setting encoded into the package and that used by pkg_install.

Instead, move to a single source of truth where the correct value based on
the host and the chosen (or default) ABI is determined in the bootstrap
script.  The value can still be overridden in mk.conf if necessary, e.g.
for cross-compiling.

ABI is now set by default and if unset a default is calculated based on
MACHINE_ARCH.  This fixes some OS, e.g. Linux, where the wrong default was
previously chosen.

As a result of the refactoring there is no need for LOWER_ARCH, with
references to it replaced by MACHINE_ARCH.  SPARC_TARGET_ARCH is also
removed.

Revision 1.226 / (download) - annotate - [select for diffs], Wed Jan 6 17:59:58 2016 UTC (8 years, 2 months ago) by jperkin
Branch: MAIN
Changes since 1.225: +4 -1 lines
Diff to previous 1.225 (colored) to selected 1.283 (colored)

Ensure we set MACHINE_ARCH correctly for Darwin x86_64.  Fixes recent
bootstrap issues.

Revision 1.225 / (download) - annotate - [select for diffs], Tue Dec 29 21:13:57 2015 UTC (8 years, 3 months ago) by joerg
Branch: MAIN
Changes since 1.224: +2 -2 lines
Diff to previous 1.224 (colored) to selected 1.283 (colored)

Tell libarchive's configure explicitly what make we later want for
recursive invocations.

Revision 1.224 / (download) - annotate - [select for diffs], Sun Dec 27 12:36:42 2015 UTC (8 years, 3 months ago) by joerg
Branch: MAIN
Changes since 1.223: +16 -5 lines
Diff to previous 1.223 (colored) to selected 1.283 (colored)

Include basic package creation logic in the bootstrap version of
pkg_install. Use this with PKG_COMPRESSION=none to convert all of the
bootstrap to USE_DESTDIR=yes.

Revision 1.223 / (download) - annotate - [select for diffs], Fri Dec 18 13:49:07 2015 UTC (8 years, 3 months ago) by jperkin
Branch: MAIN
CVS Tags: pkgsrc-2015Q4-base, pkgsrc-2015Q4
Changes since 1.222: +2 -2 lines
Diff to previous 1.222 (colored) to selected 1.283 (colored)

Build nbawk and nbsed on Darwin 10.11 (El Capitan) too, it still has the sed
which fails when using a UTF-8 locale.  Ok'd during the freeze by wiz@

Revision 1.222 / (download) - annotate - [select for diffs], Fri Dec 11 23:55:44 2015 UTC (8 years, 3 months ago) by joerg
Branch: MAIN
Changes since 1.221: +9 -1 lines
Diff to previous 1.221 (colored) to selected 1.283 (colored)

Match MACHINE_ARCH override used in bsd.prefs.mk on FreeBSD and
DragonFly.

Revision 1.221 / (download) - annotate - [select for diffs], Mon Nov 9 10:54:44 2015 UTC (8 years, 4 months ago) by jperkin
Branch: MAIN
Changes since 1.220: +16 -2 lines
Diff to previous 1.220 (colored) to selected 1.283 (colored)

Default to ABI=64 on Darwin hosts which report as x86_64.

Revision 1.220 / (download) - annotate - [select for diffs], Sat Nov 7 19:55:46 2015 UTC (8 years, 4 months ago) by sevan
Branch: MAIN
Changes since 1.219: +6 -2 lines
Diff to previous 1.219 (colored) to selected 1.283 (colored)


For Bitrig
Switch to using arch(1) to detect the architecture of host
Set $machine_arch to x86_64 if on amd64
Pass $machine_arch to the devel/bmake build process

Reviewed by wiz@

Revision 1.219 / (download) - annotate - [select for diffs], Sat Nov 7 14:05:20 2015 UTC (8 years, 4 months ago) by sevan
Branch: MAIN
Changes since 1.218: +6 -2 lines
Diff to previous 1.218 (colored) to selected 1.283 (colored)

Use arch(1) to detect the architecture of host
Switch $machine_arch to x86_64 if on OpenBSD/amd64
Pass $machine_arch to the devel/bmake build process

Reviewed by wiz@

Revision 1.218 / (download) - annotate - [select for diffs], Sat Jun 13 13:15:39 2015 UTC (8 years, 9 months ago) by tron
Branch: MAIN
CVS Tags: pkgsrc-2015Q3-base, pkgsrc-2015Q3, pkgsrc-2015Q2-base, pkgsrc-2015Q2
Changes since 1.217: +2 -2 lines
Diff to previous 1.217 (colored) to selected 1.283 (colored)

If "/usr/bin/bash" is installed under Solaris always prefer it over the
"pdksh" package. Using the package is too problematic, see PR pkg/39524.

Revision 1.217 / (download) - annotate - [select for diffs], Thu Jun 4 15:48:45 2015 UTC (8 years, 9 months ago) by sevan
Branch: MAIN
Changes since 1.216: +10 -1 lines
Diff to previous 1.216 (colored) to selected 1.283 (colored)

Introduce preliminary support for Bitrig to pkgsrc
Initial patchset to add support by rodent@
Further adjustments made based on feedback by joerg@
Tested by myself with numerous bulkbuilds thanks to Patrick Wildt @ Bitrig

Reviewed by bsiegert@ joerg@ wiz@

Revision 1.216 / (download) - annotate - [select for diffs], Sun May 3 14:26:57 2015 UTC (8 years, 10 months ago) by sevan
Branch: MAIN
Changes since 1.215: +2 -1 lines
Diff to previous 1.215 (colored) to selected 1.283 (colored)

Use pdksh when bootstrapping on AIX, while it's possible to bootstrap
successfully using the stock /bin/sh supplied with the system, things don't work
correctly.

Reviewed by wiz@

Revision 1.215 / (download) - annotate - [select for diffs], Thu Dec 4 10:36:02 2014 UTC (9 years, 3 months ago) by jperkin
Branch: MAIN
CVS Tags: pkgsrc-2015Q1-base, pkgsrc-2015Q1, pkgsrc-2014Q4-base, pkgsrc-2014Q4
Changes since 1.214: +1 -4 lines
Diff to previous 1.214 (colored) to selected 1.283 (colored)

Don't build the cwrappers package during bootstrap, it is pulled in
as a build dependency as needed.

Revision 1.214 / (download) - annotate - [select for diffs], Mon Dec 1 13:43:55 2014 UTC (9 years, 3 months ago) by jperkin
Branch: MAIN
Changes since 1.213: +17 -4 lines
Diff to previous 1.213 (colored) to selected 1.283 (colored)

Add a "--cwrappers" option to build and enable cwrappers.

Revision 1.213 / (download) - annotate - [select for diffs], Mon Sep 1 12:29:58 2014 UTC (9 years, 6 months ago) by jperkin
Branch: MAIN
CVS Tags: pkgsrc-2014Q3-base, pkgsrc-2014Q3
Changes since 1.212: +16 -7 lines
Diff to previous 1.212 (colored) to selected 1.283 (colored)

Add support for --make-jobs, which passes down -j or MAKE_JOBS as
appropriate.  The default continues to be 1.

Revision 1.212 / (download) - annotate - [select for diffs], Thu Aug 14 00:21:24 2014 UTC (9 years, 7 months ago) by cheusov
Branch: MAIN
Changes since 1.211: +3 -3 lines
Diff to previous 1.211 (colored) to selected 1.283 (colored)

Fix packages creation on Interix.
  User/group names are used instead of uid/gid.
  Problem with spaces inside user/group name should be fixed by Cygwin
  support added some time ago.

Revision 1.211 / (download) - annotate - [select for diffs], Fri Aug 1 15:01:16 2014 UTC (9 years, 7 months ago) by schmonz
Branch: MAIN
Changes since 1.210: +2 -2 lines
Diff to previous 1.210 (colored) to selected 1.283 (colored)

Need nbsed on Yosemite (not sure about awk, but little harm).

Revision 1.210 / (download) - annotate - [select for diffs], Wed Jul 30 16:30:26 2014 UTC (9 years, 8 months ago) by schmonz
Branch: MAIN
Changes since 1.209: +5 -3 lines
Diff to previous 1.209 (colored) to selected 1.283 (colored)

Detecting clang on OS X is stymied in some configurations by "gcc"
looking sufficiently like gcc. Inspect "cc" instead, and don't
believe it's __GNUC__ unless it's also not __clang__.

While here, if you manage to find and install PackageMaker.app, it
still works on 10.9 for --binary-macpkg.

From Sevan Janiyan.

Revision 1.209 / (download) - annotate - [select for diffs], Fri Jul 11 17:29:21 2014 UTC (9 years, 8 months ago) by jperkin
Branch: MAIN
Changes since 1.208: +2 -1 lines
Diff to previous 1.208 (colored) to selected 1.283 (colored)

Use check_compiler=yes on Darwin, fixes bootstrap with newer XCode that
includes gcc which is actually clang.

Revision 1.208 / (download) - annotate - [select for diffs], Thu Apr 17 18:29:01 2014 UTC (9 years, 11 months ago) by asau
Branch: MAIN
CVS Tags: pkgsrc-2014Q2-base, pkgsrc-2014Q2
Changes since 1.207: +2 -2 lines
Diff to previous 1.207 (colored) to selected 1.283 (colored)

Amend previous: pick built bmake binary from correct directory.

Revision 1.207 / (download) - annotate - [select for diffs], Thu Apr 17 18:27:24 2014 UTC (9 years, 11 months ago) by asau
Branch: MAIN
Changes since 1.206: +3 -3 lines
Diff to previous 1.206 (colored) to selected 1.283 (colored)

Follow the conventional path of "configure-make-install"
when bootstrapping bmake.

Revision 1.206 / (download) - annotate - [select for diffs], Thu Apr 17 18:12:47 2014 UTC (9 years, 11 months ago) by asau
Branch: MAIN
Changes since 1.205: +2 -4 lines
Diff to previous 1.205 (colored) to selected 1.283 (colored)

The only use of "bmakexenv" variable is on IRIX to pass MAKE=pmake
to devel/bmake when bootstrapping the latter.
bmake doesn't take this environment variable into consideration anyway.

Revision 1.205 / (download) - annotate - [select for diffs], Thu Apr 3 09:05:11 2014 UTC (9 years, 11 months ago) by obache
Branch: MAIN
Changes since 1.204: +4 -1 lines
Diff to previous 1.204 (colored) to selected 1.283 (colored)

Set CLANGBASE=/usr automatically if CLANGBASE is not set and /usr/bin/clang exists.

It is expected in mk/compiler/clang.mk that CLANGBASE is set properly
even if builtin clang is selected.

Revision 1.204 / (download) - annotate - [select for diffs], Fri Mar 14 21:52:13 2014 UTC (10 years ago) by ryoon
Branch: MAIN
CVS Tags: pkgsrc-2014Q1-base, pkgsrc-2014Q1
Changes since 1.203: +12 -1 lines
Diff to previous 1.203 (colored) to selected 1.283 (colored)

Add Xinuos SCO OpenServer 5.0.7/3.2 support

The license donation for OpenServer 5.0.7/3.2 by Xinuos Inc. helped to
make this commit possible.

Revision 1.203 / (download) - annotate - [select for diffs], Mon Mar 10 20:50:35 2014 UTC (10 years ago) by asau
Branch: MAIN
Changes since 1.202: +15 -2 lines
Diff to previous 1.202 (colored) to selected 1.283 (colored)

Detect Clang and apply proper compiler settings.
This fixes bootstrapping on FreeBSD 10 where cc is Clang
pretending poorly to be GCC.

Revision 1.202 / (download) - annotate - [select for diffs], Fri Mar 7 14:59:42 2014 UTC (10 years ago) by jperkin
Branch: MAIN
Changes since 1.201: +11 -1 lines
Diff to previous 1.201 (colored) to selected 1.283 (colored)

Add bootstrap support for multiarch support on Linux.  For now only
building 32-bit packages on x86_64 is supported.

Revision 1.201 / (download) - annotate - [select for diffs], Mon Feb 10 10:43:02 2014 UTC (10 years, 1 month ago) by ryoon
Branch: MAIN
Changes since 1.200: +3 -3 lines
Diff to previous 1.200 (colored) to selected 1.283 (colored)

Fix usage of build_package

Revision 1.200 / (download) - annotate - [select for diffs], Thu Oct 3 01:24:57 2013 UTC (10 years, 5 months ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2013Q4-base, pkgsrc-2013Q4
Changes since 1.199: +2 -1 lines
Diff to previous 1.199 (colored) to selected 1.283 (colored)

Mark the copy of bmake's configure as executable in case the checkout is
missing the bit.

Revision 1.199 / (download) - annotate - [select for diffs], Sun Sep 8 16:29:28 2013 UTC (10 years, 6 months ago) by ryoon
Branch: MAIN
CVS Tags: pkgsrc-2013Q3-base, pkgsrc-2013Q3
Changes since 1.198: +9 -1 lines
Diff to previous 1.198 (colored) to selected 1.283 (colored)

Add FreeMiNT settings.

Revision 1.198 / (download) - annotate - [select for diffs], Wed Aug 28 12:05:10 2013 UTC (10 years, 7 months ago) by jperkin
Branch: MAIN
Changes since 1.197: +15 -3 lines
Diff to previous 1.197 (colored) to selected 1.283 (colored)

Add a new use_bsdinstall variable which, if set to 'yes', will use bsdinstall
instead of install-sh on platforms which need a BSD install.  The install-sh
script is still used during the bootstrap process regardless.

Default to 'yes' on SunOS.  Other platforms can migrate over once they confirm
that sysutils/bsdinstall builds correctly.

Revision 1.197 / (download) - annotate - [select for diffs], Fri Aug 9 12:57:38 2013 UTC (10 years, 7 months ago) by jperkin
Branch: MAIN
Changes since 1.196: +14 -5 lines
Diff to previous 1.196 (colored) to selected 1.283 (colored)

Add --pkginfodir support.  Fixes --prefix=/usr defaults.

Revision 1.196 / (download) - annotate - [select for diffs], Sun Aug 4 01:19:19 2013 UTC (10 years, 7 months ago) by obache
Branch: MAIN
Changes since 1.195: +7 -1 lines
Diff to previous 1.195 (colored) to selected 1.283 (colored)

overwrite config.{guess,sub} automatically after copied from in-place source
tree in bootstrap.

Revision 1.195 / (download) - annotate - [select for diffs], Fri Jul 26 09:38:15 2013 UTC (10 years, 8 months ago) by ryoon
Branch: MAIN
Changes since 1.194: +20 -2 lines
Diff to previous 1.194 (colored) to selected 1.283 (colored)

Add (Debian) GNU/kFreeBSD port.
Similar to GNU/Linux.

Bump bootstrap-mk-files to 20130727.

Revision 1.194 / (download) - annotate - [select for diffs], Fri Jun 14 15:07:37 2013 UTC (10 years, 9 months ago) by tron
Branch: MAIN
CVS Tags: pkgsrc-2013Q2-base, pkgsrc-2013Q2
Changes since 1.193: +7 -1 lines
Diff to previous 1.193 (colored) to selected 1.283 (colored)

Don't use the bundled "awk" and "sed" under Mac OX Mountain Lion and newer.
They break badly on files with binary characters. This fixes e.g. the
build of the "youtube-dl" package.

Revision 1.193 / (download) - annotate - [select for diffs], Sat Jun 1 12:15:54 2013 UTC (10 years, 9 months ago) by tron
Branch: MAIN
Changes since 1.192: +4 -1 lines
Diff to previous 1.192 (colored) to selected 1.283 (colored)

Under Mac OS X (Mountain) Lion "packagemaker" is part of the
"PackageMaker" application which resides in "/Applications".

Revision 1.192 / (download) - annotate - [select for diffs], Sat May 11 23:42:44 2013 UTC (10 years, 10 months ago) by ryoon
Branch: MAIN
Changes since 1.191: +8 -2 lines
Diff to previous 1.191 (colored) to selected 1.283 (colored)

On Debian/Ubuntu Linux, system's awk is mawk, and mawk does not
understand some regexp like [[:space:]].
ELF shared lib check is not working properly with mawk.

Revision 1.191 / (download) - annotate - [select for diffs], Mon Mar 11 22:48:23 2013 UTC (11 years ago) by tcort
Branch: MAIN
CVS Tags: pkgsrc-2013Q1-base, pkgsrc-2013Q1
Changes since 1.190: +10 -1 lines
Diff to previous 1.190 (colored) to selected 1.283 (colored)

bootstrap: Minix support. OK by agc. PR pkg/45041

Revision 1.190 / (download) - annotate - [select for diffs], Fri Feb 22 13:39:31 2013 UTC (11 years, 1 month ago) by obache
Branch: MAIN
Changes since 1.189: +3 -3 lines
Diff to previous 1.189 (colored) to selected 1.283 (colored)

Fix ROOT_USER/ROOT_GROUP for Cygwin to Administrators/Administrators (not using
its UID/GID), and sync platform privilege check with bootstrap script.

Revision 1.189 / (download) - annotate - [select for diffs], Wed Feb 20 12:44:14 2013 UTC (11 years, 1 month ago) by obache
Branch: MAIN
Changes since 1.188: +2 -2 lines
Diff to previous 1.188 (colored) to selected 1.283 (colored)

Use Administrators for ROOT_GROUP of Cygwin instead of Administrator.

Revision 1.188 / (download) - annotate - [select for diffs], Wed Feb 20 11:04:26 2013 UTC (11 years, 1 month ago) by obache
Branch: MAIN
Changes since 1.187: +3 -3 lines
Diff to previous 1.187 (colored) to selected 1.283 (colored)

Fixes reverse condition of is_root() for Cygwin.

Revision 1.187 / (download) - annotate - [select for diffs], Wed Feb 20 10:59:36 2013 UTC (11 years, 1 month ago) by obache
Branch: MAIN
Changes since 1.186: +2 -2 lines
Diff to previous 1.186 (colored) to selected 1.283 (colored)

fix a typo

Revision 1.186 / (download) - annotate - [select for diffs], Wed Feb 20 10:30:41 2013 UTC (11 years, 1 month ago) by obache
Branch: MAIN
Changes since 1.185: +9 -1 lines
Diff to previous 1.185 (colored) to selected 1.283 (colored)

Set proper variables for the case of --compiler=clang.

Revision 1.185 / (download) - annotate - [select for diffs], Sat Feb 9 12:45:24 2013 UTC (11 years, 1 month ago) by obache
Branch: MAIN
Changes since 1.184: +3 -3 lines
Diff to previous 1.184 (colored) to selected 1.283 (colored)

Rename objdir for bootstrap bmake, to avoid conflict with system
cygwin/config.h heaer on Cygwin with case-insensitive filesystem.

Revision 1.184 / (download) - annotate - [select for diffs], Sat Feb 9 12:41:43 2013 UTC (11 years, 1 month ago) by obache
Branch: MAIN
Changes since 1.183: +20 -1 lines
Diff to previous 1.183 (colored) to selected 1.283 (colored)

tell Cygiwn to bootstrap.

Revision 1.183 / (download) - annotate - [select for diffs], Thu Jan 31 22:55:21 2013 UTC (11 years, 1 month ago) by hans
Branch: MAIN
Changes since 1.182: +4 -12 lines
Diff to previous 1.182 (colored) to selected 1.283 (colored)

Use /usr/bin/bash on all SunOS 5.11 variants if it exists. Fall back to
shells/pdksh in all other cases, native /bin/ksh is not good enough.

Revision 1.182 / (download) - annotate - [select for diffs], Sun Jan 6 17:33:24 2013 UTC (11 years, 2 months ago) by cheusov
Branch: MAIN
Changes since 1.181: +2 -2 lines
Diff to previous 1.181 (colored) to selected 1.283 (colored)

Latest version of Haiku uses name "baron" for superuser. So, we use id(1) at bootstrap time

Revision 1.181 / (download) - annotate - [select for diffs], Tue Oct 2 21:02:21 2012 UTC (11 years, 5 months ago) by cheusov
Branch: MAIN
CVS Tags: pkgsrc-2012Q4-base, pkgsrc-2012Q4
Changes since 1.180: +13 -16 lines
Diff to previous 1.180 (colored) to selected 1.283 (colored)

Fix "bootstrap --unprivileged" failure on Haiku

Revision 1.180 / (download) - annotate - [select for diffs], Thu Jul 26 13:00:48 2012 UTC (11 years, 8 months ago) by jperkin
Branch: MAIN
CVS Tags: pkgsrc-2012Q3-base, pkgsrc-2012Q3
Changes since 1.179: +11 -2 lines
Diff to previous 1.179 (colored) to selected 1.283 (colored)

Add support for --prefer-pkgsrc which will set PREFER_PKGSRC in the bootstrap
and target mk.conf.  Primarily useful to ensure pkgsrc zlib/bzip2 etc are used
for pkg_install.

Revision 1.179 / (download) - annotate - [select for diffs], Tue Jul 24 13:18:00 2012 UTC (11 years, 8 months ago) by jperkin
Branch: MAIN
Changes since 1.178: +11 -3 lines
Diff to previous 1.178 (colored) to selected 1.283 (colored)

Make bash the default shell on SmartOS.

Revision 1.178 / (download) - annotate - [select for diffs], Fri Jul 13 16:12:41 2012 UTC (11 years, 8 months ago) by jperkin
Branch: MAIN
Changes since 1.177: +4 -1 lines
Diff to previous 1.177 (colored) to selected 1.283 (colored)

Support GCCBASE in bootstrap, and provide a working example based on OmniOS.

Revision 1.177 / (download) - annotate - [select for diffs], Fri Jun 15 09:54:41 2012 UTC (11 years, 9 months ago) by jperkin
Branch: MAIN
CVS Tags: pkgsrc-2012Q2-base, pkgsrc-2012Q2
Changes since 1.176: +7 -2 lines
Diff to previous 1.176 (colored) to selected 1.283 (colored)

Use native ksh93 on Solaris 11 and derivatives.

Revision 1.176 / (download) - annotate - [select for diffs], Fri Jun 8 12:15:29 2012 UTC (11 years, 9 months ago) by jperkin
Branch: MAIN
Changes since 1.175: +4 -6 lines
Diff to previous 1.175 (colored) to selected 1.283 (colored)

Remove /usr/xpg4/bin from $PATH on Solaris, it causes weird issues in the
bmake test suite, and is unnecessary.  Instead, ensure we use the xpg4 id.

Tested on Solaris 9 and SmartOS.  Fixes PR#45444.

Revision 1.175 / (download) - annotate - [select for diffs], Tue May 15 16:42:43 2012 UTC (11 years, 10 months ago) by christos
Branch: MAIN
Changes since 1.174: +5 -1 lines
Diff to previous 1.174 (colored) to selected 1.283 (colored)

Don't enforce vulnerability tests during bootstrap. On old systems eg.
NetBSD-3, the checker command line syntax was different leading to failure
to install.

Revision 1.174 / (download) - annotate - [select for diffs], Wed Jan 11 01:15:17 2012 UTC (12 years, 2 months ago) by riz
Branch: MAIN
CVS Tags: pkgsrc-2012Q1-base, pkgsrc-2012Q1
Changes since 1.173: +4 -4 lines
Diff to previous 1.173 (colored) to selected 1.283 (colored)

Minor corrections, from Snader_LB on FreeNode:

- capitalize ``NetBSD.org'';
- remove trailing whitespace;
- clarify the bootstrapping procedure's ending sentence, and end
  it with punctuation.

Revision 1.173 / (download) - annotate - [select for diffs], Tue Nov 29 17:06:45 2011 UTC (12 years, 4 months ago) by hans
Branch: MAIN
CVS Tags: pkgsrc-2011Q4-base, pkgsrc-2011Q4
Changes since 1.172: +2 -2 lines
Diff to previous 1.172 (colored) to selected 1.283 (colored)

Revert nawk change.

Revision 1.172 / (download) - annotate - [select for diffs], Tue Nov 29 15:06:20 2011 UTC (12 years, 4 months ago) by hans
Branch: MAIN
Changes since 1.171: +2 -2 lines
Diff to previous 1.171 (colored) to selected 1.283 (colored)

On SunOS, don't build nawk if a native one is available.

Revision 1.171 / (download) - annotate - [select for diffs], Tue Oct 4 11:37:38 2011 UTC (12 years, 5 months ago) by hans
Branch: MAIN
Changes since 1.170: +2 -2 lines
Diff to previous 1.170 (colored) to selected 1.283 (colored)

Not every tar knows -z.

Revision 1.170 / (download) - annotate - [select for diffs], Wed Sep 14 15:14:53 2011 UTC (12 years, 6 months ago) by hans
Branch: MAIN
CVS Tags: pkgsrc-2011Q3-base, pkgsrc-2011Q3
Changes since 1.169: +11 -3 lines
Diff to previous 1.169 (colored) to selected 1.283 (colored)

Use more host tools on SunOS. Default to GNU tools when available.

Revision 1.169 / (download) - annotate - [select for diffs], Sun Jun 12 17:46:02 2011 UTC (12 years, 9 months ago) by agc
Branch: MAIN
CVS Tags: pkgsrc-2011Q2-base, pkgsrc-2011Q2
Changes since 1.168: +14 -13 lines
Diff to previous 1.168 (colored) to selected 1.283 (colored)

order the options alphabetically - makes it much easier to see what options
there are.

no functional change.

Revision 1.168 / (download) - annotate - [select for diffs], Sun Jun 12 08:28:32 2011 UTC (12 years, 9 months ago) by obache
Branch: MAIN
Changes since 1.167: +1 -23 lines
Diff to previous 1.167 (colored) to selected 1.283 (colored)

Drop --ignore-case-check option from bootstrap script.

pkgsrc infrastructure itself does not require case-sensitive filesystem
nowadays, and always no need to check filesystem case-check.

Revision 1.167 / (download) - annotate - [select for diffs], Sun Jun 12 07:58:51 2011 UTC (12 years, 9 months ago) by obache
Branch: MAIN
Changes since 1.166: +1 -21 lines
Diff to previous 1.166 (colored) to selected 1.283 (colored)

drop --fetch-cmd option and FETCH_CMD settings for default mk.conf.
fetch stuff was changed and it will not works as expected nowadays.

Revision 1.166 / (download) - annotate - [select for diffs], Fri Apr 15 09:02:00 2011 UTC (12 years, 11 months ago) by joerg
Branch: MAIN
Changes since 1.165: +2 -2 lines
Diff to previous 1.165 (colored) to selected 1.283 (colored)

Disable USE_DESTDIR for bootstrap.

Revision 1.165 / (download) - annotate - [select for diffs], Tue Apr 5 05:43:19 2011 UTC (12 years, 11 months ago) by agc
Branch: MAIN
Changes since 1.164: +13 -21 lines
Diff to previous 1.164 (colored) to selected 1.283 (colored)

Move this file to a 2-clause BSD license.

Revision 1.164 / (download) - annotate - [select for diffs], Tue Mar 22 08:39:30 2011 UTC (13 years ago) by tron
Branch: MAIN
CVS Tags: pkgsrc-2011Q1-base, pkgsrc-2011Q1
Changes since 1.163: +6 -6 lines
Diff to previous 1.163 (colored) to selected 1.283 (colored)

Use "-n" instead of "! -z".

Revision 1.163 / (download) - annotate - [select for diffs], Sun Jan 23 19:07:25 2011 UTC (13 years, 2 months ago) by agc
Branch: MAIN
Changes since 1.162: +30 -1 lines
Diff to previous 1.162 (colored) to selected 1.283 (colored)

Add support for MirBSD to pkgsrc.  Patches from Benny Siegert and
Thorsten Glaser.

Revision 1.162 / (download) - annotate - [select for diffs], Sun Dec 26 11:24:21 2010 UTC (13 years, 3 months ago) by adam
Branch: MAIN
CVS Tags: pkgsrc-2010Q4-base, pkgsrc-2010Q4
Changes since 1.161: +2 -2 lines
Diff to previous 1.161 (colored) to selected 1.283 (colored)

Allow to provide CC on Darwin

Revision 1.161 / (download) - annotate - [select for diffs], Sat Nov 20 00:49:33 2010 UTC (13 years, 4 months ago) by obache
Branch: MAIN
Changes since 1.160: +3 -7 lines
Diff to previous 1.160 (colored) to selected 1.283 (colored)

Revert r1.159, adding WRKOBJDIR to mk.conf from --workdir.
PR#44117.

Revision 1.160 / (download) - annotate - [select for diffs], Sat Nov 13 21:43:39 2010 UTC (13 years, 4 months ago) by joerg
Branch: MAIN
Changes since 1.159: +10 -1 lines
Diff to previous 1.159 (colored) to selected 1.283 (colored)

Bailout if the SH override is not a full path.

Revision 1.159 / (download) - annotate - [select for diffs], Mon Aug 30 06:21:49 2010 UTC (13 years, 7 months ago) by obache
Branch: MAIN
CVS Tags: pkgsrc-2010Q3-base, pkgsrc-2010Q3
Changes since 1.158: +7 -3 lines
Diff to previous 1.158 (colored) to selected 1.283 (colored)

Set WRKOBJDIR=${workdir}/pkgsrc to target mk.conf if --workdir is specified.

Revision 1.158 / (download) - annotate - [select for diffs], Fri Aug 13 18:57:36 2010 UTC (13 years, 7 months ago) by joerg
Branch: MAIN
Changes since 1.157: +2 -1 lines
Diff to previous 1.157 (colored) to selected 1.283 (colored)

Don't allow a prefix or other directory ending in /. Adresses PR 43754.

Revision 1.157 / (download) - annotate - [select for diffs], Fri Mar 19 14:11:11 2010 UTC (14 years ago) by seanb
Branch: MAIN
CVS Tags: pkgsrc-2010Q2-base, pkgsrc-2010Q2, pkgsrc-2010Q1-base, pkgsrc-2010Q1
Changes since 1.156: +3 -1 lines
Diff to previous 1.156 (colored) to selected 1.283 (colored)

- Update QNX.

Revision 1.156 / (download) - annotate - [select for diffs], Sat Feb 6 10:28:54 2010 UTC (14 years, 1 month ago) by obache
Branch: MAIN
Changes since 1.155: +24 -1 lines
Diff to previous 1.155 (colored) to selected 1.283 (colored)

Add Haiku support.

Revision 1.155 / (download) - annotate - [select for diffs], Sat Feb 6 05:54:17 2010 UTC (14 years, 1 month ago) by obache
Branch: MAIN
Changes since 1.154: +2 -2 lines
Diff to previous 1.154 (colored) to selected 1.283 (colored)

remove redundant period in message, part of PR#41130.

Revision 1.154 / (download) - annotate - [select for diffs], Sat Feb 6 05:51:50 2010 UTC (14 years, 1 month ago) by obache
Branch: MAIN
Changes since 1.153: +7 -4 lines
Diff to previous 1.153 (colored) to selected 1.283 (colored)

Honor LIBS environment variable, part of PR#41130.

Revision 1.153 / (download) - annotate - [select for diffs], Sat Feb 6 04:30:49 2010 UTC (14 years, 1 month ago) by obache
Branch: MAIN
Changes since 1.152: +63 -63 lines
Diff to previous 1.152 (colored) to selected 1.283 (colored)

Sort $opsys case alphabetically.
part of PR#41130.

Revision 1.152 / (download) - annotate - [select for diffs], Sat Jan 16 02:16:35 2010 UTC (14 years, 2 months ago) by obache
Branch: MAIN
Changes since 1.151: +5 -4 lines
Diff to previous 1.151 (colored) to selected 1.283 (colored)

Add support of SSD/Linux.
 * ROOT_GROUP=wheel, fixes PR#42073.
 * LOWER_VENDOR=ssd
 * adjust paths for some tools

Revision 1.151 / (download) - annotate - [select for diffs], Sun Dec 13 08:35:22 2009 UTC (14 years, 3 months ago) by obache
Branch: MAIN
CVS Tags: pkgsrc-2009Q4-base, pkgsrc-2009Q4
Changes since 1.150: +17 -6 lines
Diff to previous 1.150 (colored) to selected 1.283 (colored)

No need to use pkgsrc bsd_install, awk, sed and xargs for SUA 6.0 on bootstrap.
XXX: If someone confirmed SUA 5.2 also so, please adjust "3.* | 5.*)" to "3.*)".

Revision 1.150 / (download) - annotate - [select for diffs], Sat Aug 1 20:19:37 2009 UTC (14 years, 7 months ago) by dholland
Branch: MAIN
CVS Tags: pkgsrc-2009Q3-base, pkgsrc-2009Q3
Changes since 1.149: +4 -1 lines
Diff to previous 1.149 (colored) to selected 1.283 (colored)

Add /usr/bsd to $overpath for IRIX as per PR 38802. I'm going to leave
/usr/bsd/bin there for now (unless someone wants to confirm it's never
existed in *any* IRIX version) because it should ordinarily be harmless.

Revision 1.149 / (download) - annotate - [select for diffs], Sun Jul 5 12:35:13 2009 UTC (14 years, 8 months ago) by ahoka
Branch: MAIN
CVS Tags: pkgsrc-2009Q2-base, pkgsrc-2009Q2
Changes since 1.148: +1 -2 lines
Diff to previous 1.148 (colored) to selected 1.283 (colored)

Rollback my previous commit: pdksh doesnt solve the problem I wanted to.

Revision 1.148 / (download) - annotate - [select for diffs], Sat Jun 27 22:30:50 2009 UTC (14 years, 9 months ago) by ahoka
Branch: MAIN
Changes since 1.147: +2 -1 lines
Diff to previous 1.147 (colored) to selected 1.283 (colored)

Require ksh on HP-UX: /bin/sh dumps core during install on certain systems.

Revision 1.147 / (download) - annotate - [select for diffs], Mon Jun 15 17:02:14 2009 UTC (14 years, 9 months ago) by joerg
Branch: MAIN
Changes since 1.146: +6 -1 lines
Diff to previous 1.146 (colored) to selected 1.283 (colored)

Bail out before doing anything if PKG_PATH is set.

Revision 1.146 / (download) - annotate - [select for diffs], Fri May 29 15:58:37 2009 UTC (14 years, 10 months ago) by rillig
Branch: MAIN
Changes since 1.145: +9 -4 lines
Diff to previous 1.145 (colored) to selected 1.283 (colored)

Fixed the infinite recursion as suggested in PR 41446. Thanks for the
patch.

Revision 1.145 / (download) - annotate - [select for diffs], Thu May 28 20:25:35 2009 UTC (14 years, 10 months ago) by rillig
Branch: MAIN
Changes since 1.144: +5 -9 lines
Diff to previous 1.144 (colored) to selected 1.283 (colored)

Replaced the weird-looking and probably wrong code in mkdir_p_early with
much simpler code. This works around an endless recursion (and a
segmentation fault when using bash) when ./bootstrap is run in a
read-only directory.

Revision 1.144 / (download) - annotate - [select for diffs], Thu Apr 23 00:15:53 2009 UTC (14 years, 11 months ago) by minskim
Branch: MAIN
Changes since 1.143: +2 -2 lines
Diff to previous 1.143 (colored) to selected 1.283 (colored)

Fix a square bracket mismatch.

Revision 1.143 / (download) - annotate - [select for diffs], Tue Apr 21 14:21:10 2009 UTC (14 years, 11 months ago) by joerg
Branch: MAIN
Changes since 1.142: +13 -8 lines
Diff to previous 1.142 (colored) to selected 1.283 (colored)

Provide a better mkdir -p replacement for the early build for platforms
that don't have it.
Explicitly bail out if the work directory exists already.

Revision 1.142 / (download) - annotate - [select for diffs], Mon Apr 6 14:21:05 2009 UTC (14 years, 11 months ago) by joerg
Branch: MAIN
Changes since 1.141: +1 -8 lines
Diff to previous 1.141 (colored) to selected 1.283 (colored)

Don't install ftp -- it is no longer a dependency of bootstrap
components, so it doesn't need the special threatment.

Revision 1.141 / (download) - annotate - [select for diffs], Thu Feb 5 18:53:03 2009 UTC (15 years, 1 month ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2009Q1-base, pkgsrc-2009Q1
Changes since 1.140: +2 -2 lines
Diff to previous 1.140 (colored) to selected 1.283 (colored)

Remove LIBNBCOMPAT_STYLE for nbsed, it is not used anywhere.

Revision 1.140 / (download) - annotate - [select for diffs], Wed Feb 4 07:44:58 2009 UTC (15 years, 1 month ago) by joerg
Branch: MAIN
Changes since 1.139: +2 -2 lines
Diff to previous 1.139 (colored) to selected 1.283 (colored)

Make life easier and pull in bdb and getopt for the initial build during
the bootstrap as well. Fixes the remainining part of PR 40544.

Revision 1.139 / (download) - annotate - [select for diffs], Mon Feb 2 13:01:29 2009 UTC (15 years, 1 month ago) by joerg
Branch: MAIN
Changes since 1.138: +1 -50 lines
Diff to previous 1.138 (colored) to selected 1.283 (colored)

- retire fnmatch magic
- drop tnftp and pax from bootstrap, they can be installed as normal
dependencies now that pkg_install doesn't need them.

Revision 1.138 / (download) - annotate - [select for diffs], Wed Jan 21 00:07:40 2009 UTC (15 years, 2 months ago) by sketch
Branch: MAIN
Changes since 1.137: +8 -1 lines
Diff to previous 1.137 (colored) to selected 1.283 (colored)

Add default CC, CXX and CPP to mk.conf for Sun Studio.  Ideally none of
these would have to be set here and instead default in mk/compiler but
the legacy share/*.mk stuff won't allow that yet.

Revision 1.137 / (download) - annotate - [select for diffs], Wed Nov 19 16:35:23 2008 UTC (15 years, 4 months ago) by sketch
Branch: MAIN
CVS Tags: pkgsrc-2008Q4-base, pkgsrc-2008Q4
Changes since 1.136: +2 -2 lines
Diff to previous 1.136 (colored) to selected 1.283 (colored)

/usr/ucb/install cannot handle a Solaris zone with a read-only /usr but
writeable /usr/pkg, so use install-sh on Solaris instead.

Revision 1.136 / (download) - annotate - [select for diffs], Tue Oct 14 22:50:54 2008 UTC (15 years, 5 months ago) by joerg
Branch: MAIN
Changes since 1.135: +11 -11 lines
Diff to previous 1.135 (colored) to selected 1.283 (colored)

bmake is supposed to be standalone and we don't document a requirement
of make, so build libnbcompat after bmake using bmake.

Revision 1.135 / (download) - annotate - [select for diffs], Thu Jul 31 13:42:57 2008 UTC (15 years, 8 months ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2008Q3-base, pkgsrc-2008Q3, cube-native-xorg-base, cube-native-xorg
Changes since 1.134: +3 -2 lines
Diff to previous 1.134 (colored) to selected 1.283 (colored)

Use /usr/xpg4/bin/id on Solaris to get user id and group id.
Reported by David H. Gutter and based on the suggestion from salo
in PR 39235.

Revision 1.134 / (download) - annotate - [select for diffs], Sun Jul 20 23:57:36 2008 UTC (15 years, 8 months ago) by dbj
Branch: MAIN
Changes since 1.133: +1 -1 lines
Diff to previous 1.133 (colored) to selected 1.283 (colored)

previous commit also accidentally added default fetch_cmd=/usr/bin/ftp on darwin.

Revision 1.133 / (download) - annotate - [select for diffs], Sun Jul 20 23:54:48 2008 UTC (15 years, 8 months ago) by dbj
Branch: MAIN
Changes since 1.132: +6 -5 lines
Diff to previous 1.132 (colored) to selected 1.283 (colored)

support NBPAX_PROGRAM_PREFIX variable in TOOLS_PLATFORM.{pax,tar}
leave default value unset to preserve existing behavior.
you can now set NBPAX_PROGRAM_PREFIX=nb (for example) in your mk.conf
to have the bootstrap install and use nbpax/nbtar/nbcpio which don't conflict
with system provided tools.

Revision 1.132 / (download) - annotate - [select for diffs], Thu Jun 19 18:36:51 2008 UTC (15 years, 9 months ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2008Q2-base, pkgsrc-2008Q2, cwrapper
Changes since 1.131: +5 -1 lines
Diff to previous 1.131 (colored) to selected 1.283 (colored)

Add a marker for bootstrap packages to allow special cases them during
bulk builds.

Revision 1.131 / (download) - annotate - [select for diffs], Tue Jun 17 12:11:59 2008 UTC (15 years, 9 months ago) by sketch
Branch: MAIN
Changes since 1.130: +6 -1 lines
Diff to previous 1.130 (colored) to selected 1.283 (colored)

Bail out if passed --abi on a platform for which we do special-case handling.

Revision 1.130 / (download) - annotate - [select for diffs], Tue Jun 17 11:50:45 2008 UTC (15 years, 9 months ago) by sketch
Branch: MAIN
Changes since 1.129: +5 -1 lines
Diff to previous 1.129 (colored) to selected 1.283 (colored)

Save SUNWSPROBASE if provided.

Revision 1.129 / (download) - annotate - [select for diffs], Tue Jun 17 11:38:52 2008 UTC (15 years, 9 months ago) by sketch
Branch: MAIN
Changes since 1.128: +4 -1 lines
Diff to previous 1.128 (colored) to selected 1.283 (colored)

Add --abi to set $ABI correctly, avoids the need for CFLAGS hacks.

Revision 1.128 / (download) - annotate - [select for diffs], Wed Jun 11 12:47:07 2008 UTC (15 years, 9 months ago) by sketch
Branch: MAIN
Changes since 1.127: +3 -1 lines
Diff to previous 1.127 (colored) to selected 1.283 (colored)

If $need_ksh, set TOOLS_PLATFORM.ksh too, else packages with USE_TOOLS+=ksh
overwrite the installed dependancy, breaking bulk builds.

Revision 1.127 / (download) - annotate - [select for diffs], Sat May 24 13:38:33 2008 UTC (15 years, 10 months ago) by tnn
Branch: MAIN
Changes since 1.126: +4 -4 lines
Diff to previous 1.126 (colored) to selected 1.283 (colored)

Build install-sh a bit earlier, so it's available before pdksh.

Revision 1.126 / (download) - annotate - [select for diffs], Fri May 23 18:06:44 2008 UTC (15 years, 10 months ago) by tnn
Branch: MAIN
Changes since 1.125: +2 -4 lines
Diff to previous 1.125 (colored) to selected 1.283 (colored)

Set need_ksh=yes for SunOS as well. Asked by joerg@

Revision 1.125 / (download) - annotate - [select for diffs], Fri May 23 17:49:52 2008 UTC (15 years, 10 months ago) by tnn
Branch: MAIN
Changes since 1.124: +29 -5 lines
Diff to previous 1.124 (colored) to selected 1.283 (colored)

- Update bootstrap stuff to build shells/pdksh if need_ksh=yes
- set need_ksh=yes for OSF1
- rebootstrap the early bmake after having built ksh, so it's more
  likely to have a working shell for later use.

Revision 1.124 / (download) - annotate - [select for diffs], Fri May 9 18:35:35 2008 UTC (15 years, 10 months ago) by agc
Branch: MAIN
Changes since 1.123: +2 -2 lines
Diff to previous 1.123 (colored) to selected 1.283 (colored)

It's been possible to use case-insensitive file systems for Mac OS X for
about a year now. In celebration of this, remove the check and error message
when ensuring a case- sensitive filesystem on Mac OS X.

Keep the check for Interix.

Revision 1.123 / (download) - annotate - [select for diffs], Wed Apr 30 03:14:55 2008 UTC (15 years, 11 months ago) by minskim
Branch: MAIN
Changes since 1.122: +12 -1 lines
Diff to previous 1.122 (colored) to selected 1.283 (colored)

Set packagemaker so that the .pkg is built on Darwin.

This functionality disappeared when mkbinarykit was merged into bootstrap.
Still need to revive support for universal binary.

Revision 1.122 / (download) - annotate - [select for diffs], Tue Apr 29 22:03:19 2008 UTC (15 years, 11 months ago) by minskim
Branch: MAIN
Changes since 1.121: +4 -2 lines
Diff to previous 1.121 (colored) to selected 1.283 (colored)

Make the --binary-macpkg option compatible with the other binary-kit options.

Revision 1.121 / (download) - annotate - [select for diffs], Thu Mar 6 04:45:58 2008 UTC (16 years ago) by jlam
Branch: MAIN
CVS Tags: pkgsrc-2008Q1-base
Branch point for: pkgsrc-2008Q1
Changes since 1.120: +3 -3 lines
Diff to previous 1.120 (colored) to selected 1.283 (colored)

+ Remove pkgtools/pax and pkgtools/tnftp as they are no longer different
  from archivers/pax and net/tnftp, respectively.  In the past, the
  pkgtools version of these packages installed into ${PKG_TOOLS_BIN},
  but this was changed in:

	pkgtools/pax/Makefile:1.15
	pkgtools/tnftp/Makefile:1.3

+ Get rid of archivers/pax/Makefile.common and net/tnftp/Makefile.common
  by merging them into their respective Makefiles.  The Makefile.common
  files existed solely for inclusion by the pkgtools versions of these
  packages, but with the removal of those packages, these files are
  now unnecessary.

+ Add full DESTDIR support to archivers/pax and net/tnftp.

+ Modify the bootstrap to build archivers/pax and net/tnftp instead of
  the pkgtools versions of these packages.

Revision 1.120 / (download) - annotate - [select for diffs], Wed Jan 30 22:57:31 2008 UTC (16 years, 2 months ago) by tron
Branch: MAIN
Changes since 1.119: +2 -1 lines
Diff to previous 1.119 (colored) to selected 1.283 (colored)

Try to fix PR pkg/26143 with caution:
- Set "CC" to "gcc -isystem /usr/include" during bootstrap.
- Add "-isystem /usr/include" to the Darwin specific "CPPFLAGS".

Revision 1.119 / (download) - annotate - [select for diffs], Thu Jan 24 14:48:02 2008 UTC (16 years, 2 months ago) by joerg
Branch: MAIN
Changes since 1.118: +7 -6 lines
Diff to previous 1.118 (colored) to selected 1.283 (colored)

Change default pathes to more sane values:
- /var as varbase is only used for privileged builds without prefix
  or when prefix is explicitly set to /usr/pkg
- if prefix is set to a non-standard value, derive varbase from it
- derive pkgdbdir from varbase

Based on the discussion in PR 37796 and with jlam@.

Revision 1.118 / (download) - annotate - [select for diffs], Wed Jan 23 21:12:41 2008 UTC (16 years, 2 months ago) by joerg
Branch: MAIN
Changes since 1.117: +55 -1 lines
Diff to previous 1.117 (colored) to selected 1.283 (colored)

Add --binary-kit, --gzip-binary-kit and --binary-macpkg to bootstrap
and retire mkbinarkit. The options take the desired output name as
argument.

Revision 1.117 / (download) - annotate - [select for diffs], Sun Jan 20 19:55:29 2008 UTC (16 years, 2 months ago) by rillig
Branch: MAIN
Changes since 1.116: +2 -2 lines
Diff to previous 1.116 (colored) to selected 1.283 (colored)

Make sure that the files found by check_prog are really regular files
and nothing else. This prevents bootstrap from exiting just because
there is a subdirectory named "awk" (or another tool) in one of the PATH
directories.

Fixes PR 37806.

Revision 1.116 / (download) - annotate - [select for diffs], Thu Nov 1 23:18:54 2007 UTC (16 years, 4 months ago) by rillig
Branch: MAIN
CVS Tags: pkgsrc-2007Q4-base, pkgsrc-2007Q4
Changes since 1.115: +6 -6 lines
Diff to previous 1.115 (colored) to selected 1.283 (colored)

Renamed the ignoreusercheck variable to unprivileged, since it does more
than just checking whether the bootstrap is run by root. No other
visible changes.

Revision 1.115 / (download) - annotate - [select for diffs], Wed Oct 17 02:45:42 2007 UTC (16 years, 5 months ago) by rillig
Branch: MAIN
Changes since 1.114: +28 -1 lines
Diff to previous 1.114 (colored) to selected 1.283 (colored)

Added some very basic sanity checks for the arguments to bootstrap. This
code should have been here since the very beginning of bootstrap.
Additionally, the paths are checked that they only contain characters
from the "Portable Filename Character Set" (IEEE 2003.1, definition 3.276).

Motivated by http://mail-index.netbsd.org/pkgsrc-users/2007/10/17/0000.html

Revision 1.114 / (download) - annotate - [select for diffs], Tue Oct 9 01:10:19 2007 UTC (16 years, 5 months ago) by rillig
Branch: MAIN
CVS Tags: pkgsrc-2007Q3-base, pkgsrc-2007Q3
Changes since 1.113: +2 -2 lines
Diff to previous 1.113 (colored) to selected 1.283 (colored)

Fixed a typo in the bootstrap program. Now it is possible to specify an
alternative fetch_cmd.

Patch provided by Pierre Bourgin in PR 37081.

Revision 1.113 / (download) - annotate - [select for diffs], Sat Sep 29 15:50:16 2007 UTC (16 years, 6 months ago) by rillig
Branch: MAIN
Changes since 1.112: +2 -2 lines
Diff to previous 1.112 (colored) to selected 1.283 (colored)

Mention --unprivileged, since pkgsrc runs (almost) great as unprivileged
user.

Revision 1.112 / (download) - annotate - [select for diffs], Sat Sep 8 09:58:14 2007 UTC (16 years, 6 months ago) by rillig
Branch: MAIN
Changes since 1.111: +1 -5 lines
Diff to previous 1.111 (colored) to selected 1.283 (colored)

Removed the warning about pkg_add or pkg_delete "not running as root"
completely. It only made the code more bloated, and a user trying to add
or delete packages would get lots of "Permission denied" warnings
anyway.

Revision 1.111 / (download) - annotate - [select for diffs], Fri Sep 7 15:45:14 2007 UTC (16 years, 6 months ago) by rillig
Branch: MAIN
Changes since 1.110: +5 -1 lines
Diff to previous 1.110 (colored) to selected 1.283 (colored)

In unprivileged builds, the user running pkg_add and pkg_delete is
almost always an unprivileged user. So there's no point in printing a
warning in that case.

Revision 1.110 / (download) - annotate - [select for diffs], Thu Sep 6 20:13:44 2007 UTC (16 years, 6 months ago) by joerg
Branch: MAIN
Changes since 1.109: +11 -1 lines
Diff to previous 1.109 (colored) to selected 1.283 (colored)

Add QNX configuration. From Sean Boudreau.

Revision 1.109 / (download) - annotate - [select for diffs], Thu Sep 6 19:23:25 2007 UTC (16 years, 6 months ago) by joerg
Branch: MAIN
Changes since 1.108: +4 -1 lines
Diff to previous 1.108 (colored) to selected 1.283 (colored)

Try to force a proper shell on Solaris by extending bmake to
expect full path names. Use the default locations in /bin unless
overriden explicitly. Bump revision of bmake.

On Solaris, use /usr/xpg4/bin/sh if it exists.

Revision 1.108 / (download) - annotate - [select for diffs], Sat Aug 18 11:01:28 2007 UTC (16 years, 7 months ago) by schwarz
Branch: MAIN
Changes since 1.107: +2 -5 lines
Diff to previous 1.107 (colored) to selected 1.283 (colored)

do not add preset CFLAGS, CPPFLAGS or LDFLAGS to BOOTSTRAP_MKCONF since on
bootstrap time these variables are already set as shell variables. As a
result, they were doubled for bootstrap compiling.
An alternative solution to that issue would be to explicitly empty those
shell variables once they have been added to BOOTSTRAP_MKCONF, but that
approach would use more lines of shell code :-)

Revision 1.107 / (download) - annotate - [select for diffs], Tue Aug 14 00:26:58 2007 UTC (16 years, 7 months ago) by rillig
Branch: MAIN
Changes since 1.106: +19 -8 lines
Diff to previous 1.106 (colored) to selected 1.283 (colored)

Replaced the hard-coded /bin/bash with an environment variable.

Revision 1.106 / (download) - annotate - [select for diffs], Mon Aug 13 22:48:59 2007 UTC (16 years, 7 months ago) by rillig
Branch: MAIN
Changes since 1.105: +2 -2 lines
Diff to previous 1.105 (colored) to selected 1.283 (colored)

s/POSIX/BSD/ for echo(1).

Revision 1.105 / (download) - annotate - [select for diffs], Sun Aug 5 16:12:15 2007 UTC (16 years, 7 months ago) by tnn
Branch: MAIN
Changes since 1.104: +2 -2 lines
Diff to previous 1.104 (colored) to selected 1.283 (colored)

Interix: Install xargs script in $wrkdir, not $prefix, for bootstrapping.

Revision 1.104 / (download) - annotate - [select for diffs], Fri Aug 3 11:54:31 2007 UTC (16 years, 7 months ago) by joerg
Branch: MAIN
Changes since 1.103: +3 -3 lines
Diff to previous 1.103 (colored) to selected 1.283 (colored)

In preparation for the libarchivification of pkg_create, pass down
--enable-bootstrap to pkg_install's configure for the first build phase.

Revision 1.103 / (download) - annotate - [select for diffs], Tue Jul 31 14:31:27 2007 UTC (16 years, 8 months ago) by joerg
Branch: MAIN
Changes since 1.102: +4 -2 lines
Diff to previous 1.102 (colored) to selected 1.283 (colored)

Only write FETCH_CMD to mk.conf, if it is set already.

Revision 1.102 / (download) - annotate - [select for diffs], Sun Jul 29 17:09:47 2007 UTC (16 years, 8 months ago) by joerg
Branch: MAIN
Changes since 1.101: +11 -1 lines
Diff to previous 1.101 (colored) to selected 1.283 (colored)

Add --mk-fragment option to bootstrap. This allows including a fragment
after the automatic options and makes it simpler to rebuild the bootstrap
automatically from pbulk.

Revision 1.101 / (download) - annotate - [select for diffs], Fri Jul 27 10:43:24 2007 UTC (16 years, 8 months ago) by joerg
Branch: MAIN
Changes since 1.100: +178 -154 lines
Diff to previous 1.100 (colored) to selected 1.283 (colored)

Split bootstrap into two phases:
- phase one builds the essential tools in the bare minimal version
  needed by the infrastructure to run "make install".
- phase two runs "make install" for all the bootstrap packages.

Set WRKOBJDIR for the second phase, we never want to leave garbage
around.

This increases the time for running bootstrap, but gives more
deterministic results. It also means that e.g. configuration files
in pkg_install can be handled normally. It is a prerequirement to
sanely allow pkg_install some more extended work like building
its own libarchive without having to worry too much about limitations
on some platforms.

This fixes the expansion of @gzcat@ in the download-vulnerability-list
script.

Tested by tnn@ on Interix and myself on DragonFly.

Revision 1.100 / (download) - annotate - [select for diffs], Mon Jul 2 14:59:19 2007 UTC (16 years, 9 months ago) by joerg
Branch: MAIN
Changes since 1.99: +1 -35 lines
Diff to previous 1.99 (colored) to selected 1.283 (colored)

mtree is no longer needed or used by the pkgsrc infrastructure.

Revision 1.99 / (download) - annotate - [select for diffs], Sun Jul 1 23:27:43 2007 UTC (16 years, 9 months ago) by tnn
Branch: MAIN
Changes since 1.98: +9 -1 lines
Diff to previous 1.98 (colored) to selected 1.283 (colored)

xargs(1) on Interix is broken. It executes the utility on the command line
even if standard input is the empty string. Install a wrapper script
bundled with pkgtools/bootstrap-extras to deal with this. This is an
attempt at a permanent workaround for the problem described in PR pkg/25777
which has regressed since it was initially fixed.

We can now bootstrap again on Interix 3.5.

Revision 1.98 / (download) - annotate - [select for diffs], Wed May 30 01:42:59 2007 UTC (16 years, 10 months ago) by schmonz
Branch: MAIN
CVS Tags: pkgsrc-2007Q2-base
Branch point for: pkgsrc-2007Q2
Changes since 1.97: +3 -3 lines
Diff to previous 1.97 (colored) to selected 1.283 (colored)

We no longer need to check $pkgsrcdir for case-sensitivity.

XXX Is it time we stopped checking $prefix, too? IMO, yes.

Revision 1.97 / (download) - annotate - [select for diffs], Wed May 23 04:20:36 2007 UTC (16 years, 10 months ago) by schmonz
Branch: MAIN
Changes since 1.96: +2 -2 lines
Diff to previous 1.96 (colored) to selected 1.283 (colored)

tnftp means to link with its own libedit, but on OS X the linker's
search order means that the system libedit gets found first. This
hasn't been much of a problem until now, but the system libedit
lacks support for Apple's 64-bit architectures, which breaks the
Universal build. Therefore, force linking with tnftp's internal
libedit by replacing "-ledit" in ${LIBS} with "../libedit/libedit.a".
Workaround suggested by tls.

Revision 1.96 / (download) - annotate - [select for diffs], Wed Apr 25 13:24:24 2007 UTC (16 years, 11 months ago) by tnn
Branch: MAIN
Changes since 1.95: +2 -1 lines
Diff to previous 1.95 (colored) to selected 1.283 (colored)

hpux: machine_arch is hppa, not 9000.

Revision 1.95 / (download) - annotate - [select for diffs], Sat Apr 14 14:17:49 2007 UTC (16 years, 11 months ago) by tnn
Branch: MAIN
Changes since 1.94: +5 -5 lines
Diff to previous 1.94 (colored) to selected 1.283 (colored)

Teach pkgsrc about HP-UX.

Revision 1.94 / (download) - annotate - [select for diffs], Thu Apr 12 20:31:04 2007 UTC (16 years, 11 months ago) by joerg
Branch: MAIN
Changes since 1.93: +2 -1 lines
Diff to previous 1.93 (colored) to selected 1.283 (colored)

Change bootstrap to register bmake as package. Change bmake to
use inplace libnbcompat like the direct build from bootstrap
does. Fix a long-standing bug in mkbinarykit. The default work
directory was "work" (relative) and therefore MAKECONF=work/...
was passed down, effectively making it a nop. That resulted in
digest being incorrectly installed during the bootstrap.

Tested on DragonFly by myself and on OSF by tnn@, discussed with jlam@

Revision 1.93 / (download) - annotate - [select for diffs], Thu Apr 12 14:36:40 2007 UTC (16 years, 11 months ago) by joerg
Branch: MAIN
Changes since 1.92: +3 -3 lines
Diff to previous 1.92 (colored) to selected 1.283 (colored)

When calling bootstrap-register from the bootstrap script for the
various packages, pass down PKG_PRESERVE. Remove the default setting of
PKG_PRESERVE, it makes perfect sense to install e.g. pkgtools/mtree
and be able to remove it again, if it is not an essientiel tool.

OK jlam@

Revision 1.92 / (download) - annotate - [select for diffs], Fri Mar 2 16:48:48 2007 UTC (17 years, 1 month ago) by wiz
Branch: MAIN
CVS Tags: pkgsrc-2007Q1-base, pkgsrc-2007Q1
Changes since 1.91: +2 -6 lines
Diff to previous 1.91 (colored) to selected 1.283 (colored)

Remove references to pkgmanpages package and packages(7). Noted by reed@.

Revision 1.91 / (download) - annotate - [select for diffs], Thu Feb 22 23:29:02 2007 UTC (17 years, 1 month ago) by rillig
Branch: MAIN
Changes since 1.90: +6 -1 lines
Diff to previous 1.90 (colored) to selected 1.283 (colored)

In the bootstrap script, MAKECONF must be overridden, so that the
settings from there don't influence the bootstrap process.

Fixes PR 33188.

Revision 1.90 / (download) - annotate - [select for diffs], Fri Jan 26 15:48:42 2007 UTC (17 years, 2 months ago) by rillig
Branch: MAIN
Changes since 1.89: +8 -1 lines
Diff to previous 1.89 (colored) to selected 1.283 (colored)

Added a fix for the case when /bin/sh is a (symlink to) dash.

Revision 1.89 / (download) - annotate - [select for diffs], Fri Jan 26 07:57:04 2007 UTC (17 years, 2 months ago) by rillig
Branch: MAIN
Changes since 1.88: +19 -3 lines
Diff to previous 1.88 (colored) to selected 1.283 (colored)

The example mk.conf is installed automatically if there isn't already a
mk.conf. This makes using pkgsrc a bit easier.

Revision 1.88 / (download) - annotate - [select for diffs], Mon Nov 6 21:08:42 2006 UTC (17 years, 4 months ago) by tv
Branch: MAIN
CVS Tags: pkgsrc-2006Q4-base, pkgsrc-2006Q4
Changes since 1.87: +3 -3 lines
Diff to previous 1.87 (colored) to selected 1.283 (colored)

Add lang/nawk and sysutils/install-sh to the "don't blow away" package
list for bulk builds.  (Revert previous on bootstrap; the PKG_PRESERVE
hack didn't work as expected.)

Revision 1.87 / (download) - annotate - [select for diffs], Mon Nov 6 21:01:42 2006 UTC (17 years, 4 months ago) by tv
Branch: MAIN
Changes since 1.86: +4 -4 lines
Diff to previous 1.86 (colored) to selected 1.283 (colored)

Set PKG_PRESERVE on install-sh, nbsed, nawk if installed for the current
platform as a bootstrap tool.  These cannot be nuked as part of the bulk
build clean cycles, or else parts of the .mk infrastructure won't work.

Revision 1.86 / (download) - annotate - [select for diffs], Fri Oct 13 19:09:53 2006 UTC (17 years, 5 months ago) by rillig
Branch: MAIN
Changes since 1.85: +4 -3 lines
Diff to previous 1.85 (colored) to selected 1.283 (colored)

Added --unprivileged as an alias for --ignore-user-check, aligning with
the wording in many other places. Also added --quiet to the usage text,
which I had forgotten before.

Revision 1.85 / (download) - annotate - [select for diffs], Mon Oct 2 16:26:54 2006 UTC (17 years, 5 months ago) by rillig
Branch: MAIN
Changes since 1.84: +46 -20 lines
Diff to previous 1.84 (colored) to selected 1.283 (colored)

Added the --quiet option.

Made the code simpler by defining a register_package function.

Revision 1.84 / (download) - annotate - [select for diffs], Mon Sep 18 12:35:44 2006 UTC (17 years, 6 months ago) by rillig
Branch: MAIN
CVS Tags: pkgsrc-2006Q3-base, pkgsrc-2006Q3
Changes since 1.83: +6 -3 lines
Diff to previous 1.83 (colored) to selected 1.283 (colored)

Fixed a bug that prevented the definition of ${ID} to be written into
the example mk.conf.

The explanation for setting DBG to the empty value is written to the
mk.conf file to inform the uninitiated pkgsrc user about its purpose.

Revision 1.83 / (download) - annotate - [select for diffs], Sun Sep 10 20:14:43 2006 UTC (17 years, 6 months ago) by schwarz
Branch: MAIN
Changes since 1.82: +1 -6 lines
Diff to previous 1.82 (colored) to selected 1.283 (colored)


${X11BASE} can now be set to /usr, so just do so for IRIX and OSF1. No need
for any artificial symlinking any more in bootstrap.

Revision 1.82 / (download) - annotate - [select for diffs], Sat Sep 2 11:14:48 2006 UTC (17 years, 6 months ago) by schwarz
Branch: MAIN
Changes since 1.81: +2 -2 lines
Diff to previous 1.81 (colored) to selected 1.283 (colored)


make sure that no default optimizer flags are set via DBG if CFLAGS is
specified

Revision 1.81 / (download) - annotate - [select for diffs], Sat Aug 26 15:42:27 2006 UTC (17 years, 7 months ago) by schwarz
Branch: MAIN
Changes since 1.80: +31 -10 lines
Diff to previous 1.80 (colored) to selected 1.283 (colored)


* bootstrap no longer needs regex.h
* support environment variables CP, GREP, ID, MKDIR, TEST, TOUCH, XARGS to
  allow specification on non-standard tools (needed on IRIX 5)
* preserve compiler/linker flags if set

Revision 1.80 / (download) - annotate - [select for diffs], Sun Aug 20 14:25:22 2006 UTC (17 years, 7 months ago) by schwarz
Branch: MAIN
Changes since 1.79: +10 -5 lines
Diff to previous 1.79 (colored) to selected 1.283 (colored)


* use the pkgsrc mkdir_p script on IRIX 5
* default to cc for CC with mipspro, ido, and sunpro
* make sure CFLAGS and CPPFLAGS are used when set by the user

Revision 1.79 / (download) - annotate - [select for diffs], Wed Aug 2 23:43:47 2006 UTC (17 years, 7 months ago) by rillig
Branch: MAIN
Changes since 1.78: +13 -5 lines
Diff to previous 1.78 (colored) to selected 1.283 (colored)

Added an option --compiler, which can be used to override the automatic
compiler detection. This is needed for Solaris with SunPro at least,
since bootstrap tried to install gcc>=2.95.3 during the registration of
the bootstrap packages.

Revision 1.78 / (download) - annotate - [select for diffs], Mon Jul 24 07:57:45 2006 UTC (17 years, 8 months ago) by rillig
Branch: MAIN
Changes since 1.77: +28 -27 lines
Diff to previous 1.77 (colored) to selected 1.283 (colored)

Allow the bootstrap command to be run from any directory, not just
pkgsrcdir.

Revision 1.77 / (download) - annotate - [select for diffs], Fri Jul 21 19:08:56 2006 UTC (17 years, 8 months ago) by jlam
Branch: MAIN
Changes since 1.76: +2 -2 lines
Diff to previous 1.76 (colored) to selected 1.283 (colored)

In the post-bootstrap message, tell the user the correct manpage directory
to add to MANPATH.

Revision 1.76 / (download) - annotate - [select for diffs], Fri Jul 21 18:58:03 2006 UTC (17 years, 8 months ago) by jlam
Branch: MAIN
Changes since 1.75: +17 -1 lines
Diff to previous 1.75 (colored) to selected 1.283 (colored)

Add a new option "--full" that implies all of the platform-independent
bootstrap software will be installed, regardless of platform.

Revision 1.75 / (download) - annotate - [select for diffs], Fri Jul 21 18:46:52 2006 UTC (17 years, 8 months ago) by jlam
Branch: MAIN
Changes since 1.74: +2 -2 lines
Diff to previous 1.74 (colored) to selected 1.283 (colored)

Don't create the "work" symlink when building and installing software.

Revision 1.74 / (download) - annotate - [select for diffs], Fri Jul 21 16:31:49 2006 UTC (17 years, 8 months ago) by jlam
Branch: MAIN
Changes since 1.73: +3 -3 lines
Diff to previous 1.73 (colored) to selected 1.283 (colored)

Add back $pkg_install_args when invoking the pkg_install configure
script.  It was lost in revision 1.55.  This fixes the path to the
various pax, mtree, ftp commands used by pkg_install.  Bump the version
number of the bootstrap script.

Revision 1.73 / (download) - annotate - [select for diffs], Fri Jul 21 15:30:30 2006 UTC (17 years, 8 months ago) by jlam
Branch: MAIN
Changes since 1.72: +2 -2 lines
Diff to previous 1.72 (colored) to selected 1.283 (colored)

Since bootstrap happens quite early and it's hard to get good debugging
output for bug reports, build with PKG_VERBOSE defined.

Revision 1.72 / (download) - annotate - [select for diffs], Fri Jul 21 15:16:39 2006 UTC (17 years, 8 months ago) by jlam
Branch: MAIN
Changes since 1.71: +2 -2 lines
Diff to previous 1.71 (colored) to selected 1.283 (colored)

Ensure $wrkdir is an absolute path so that $wrkobjdir is too.  Avoids
creating empty "work" directories in the pkgsrc tree due to the
bootstrap script setting WRKOBJDIR=$wrkobjdir.

Revision 1.71 / (download) - annotate - [select for diffs], Thu Jul 20 19:28:42 2006 UTC (17 years, 8 months ago) by jlam
Branch: MAIN
Changes since 1.70: +2 -2 lines
Diff to previous 1.70 (colored) to selected 1.283 (colored)

Fix a reversed test -- if the user specifies "CC" in the environment,
then he really doesn't want to always use CC=gcc.  This has no effect
if you were previously setting CC=gcc anyway.  Noted by Stuart Shelton.

Revision 1.70 / (download) - annotate - [select for diffs], Thu Jul 20 15:13:10 2006 UTC (17 years, 8 months ago) by jlam
Branch: MAIN
Changes since 1.69: +2 -2 lines
Diff to previous 1.69 (colored) to selected 1.283 (colored)

Fix location of install-sh script in the bootstrap work directory.
Problem noted by OBATA Akio on pkgsrc-users@.

Revision 1.69 / (download) - annotate - [select for diffs], Wed Jul 19 15:27:37 2006 UTC (17 years, 8 months ago) by jlam
Branch: MAIN
Changes since 1.68: +3 -2 lines
Diff to previous 1.68 (colored) to selected 1.283 (colored)

Explicitly set the compiler used to build nawk.  The Makefile was
explicitly setting CC=cc, so override it on the bmake command line.
We use the CC taken from the environment first, and default to "gcc"
if CC is not set.

Revision 1.68 / (download) - annotate - [select for diffs], Wed Jul 19 15:01:23 2006 UTC (17 years, 8 months ago) by jlam
Branch: MAIN
Changes since 1.67: +2 -2 lines
Diff to previous 1.67 (colored) to selected 1.283 (colored)

Ensure that "Makefile" and not "makefile" is used when building nawk.
The former contains fixes for the latter to avoid make errors.

Revision 1.67 / (download) - annotate - [select for diffs], Mon Jul 17 14:30:05 2006 UTC (17 years, 8 months ago) by jlam
Branch: MAIN
Changes since 1.66: +34 -23 lines
Diff to previous 1.66 (colored) to selected 1.283 (colored)

* Move the "extra" scripts installed by bootstrap for certain platforms
  into a separate package pkgtools/bootstrap-extras.  Teach the bootstrap
  script to look for those scripts from the bootstrap-extras package.

* When registering the installed software, set WRKOBJDIR to the bootstrap
  work directory to protect against a read-only pkgsrc tree.

Revision 1.66 / (download) - annotate - [select for diffs], Fri Jul 14 23:19:15 2006 UTC (17 years, 8 months ago) by jlam
Branch: MAIN
Changes since 1.65: +16 -32 lines
Diff to previous 1.65 (colored) to selected 1.283 (colored)

Copy the *.mk files from the pkgtools/bootstrap-mk-files package for
installation.  Garbage-collect the unused bmake and mods directories.
Register the *.mk files at the end of the bootstrap process.

Revision 1.65 / (download) - annotate - [select for diffs], Fri Jul 14 22:17:09 2006 UTC (17 years, 8 months ago) by jlam
Branch: MAIN
Changes since 1.64: +5 -5 lines
Diff to previous 1.64 (colored) to selected 1.283 (colored)

Use the pkgtools/pkgmanpages package instead of keeping our own copy of
the packages.7 man/catman page.

Revision 1.64 / (download) - annotate - [select for diffs], Fri Jul 14 21:41:42 2006 UTC (17 years, 8 months ago) by jlam
Branch: MAIN
Changes since 1.63: +5 -5 lines
Diff to previous 1.63 (colored) to selected 1.283 (colored)

Create a separate pkgtools/tnftp package that is installed as part of
the bootstrap process and which may be needed by pkg_install.  This
is distinct from the net/tnftp package that is now a "normal" package.

Modify the bootstrap script to use pkgtools/tnftp instead, and clean up
some of the registration code.

Revision 1.63 / (download) - annotate - [select for diffs], Fri Jul 14 19:40:26 2006 UTC (17 years, 8 months ago) by jlam
Branch: MAIN
Changes since 1.62: +2 -2 lines
Diff to previous 1.62 (colored) to selected 1.283 (colored)

Use pkgtools/pax when registering the bootstrap pax.

Revision 1.62 / (download) - annotate - [select for diffs], Fri Jul 14 17:55:56 2006 UTC (17 years, 8 months ago) by jlam
Branch: MAIN
Changes since 1.61: +4 -4 lines
Diff to previous 1.61 (colored) to selected 1.283 (colored)

Back out part of revision 1.60 that I didn't mean to commit.

Revision 1.61 / (download) - annotate - [select for diffs], Fri Jul 14 17:51:13 2006 UTC (17 years, 8 months ago) by jlam
Branch: MAIN
Changes since 1.60: +29 -3 lines
Diff to previous 1.60 (colored) to selected 1.283 (colored)

Register the files that installed by the bootstrap script into the
package database.

XXX There are still some files not registered, e.g. share/mk and any
XXX mkdir/install/strip/ldd replacements needed by some platforms.
XXX These will probably get moved into pkgsrc proper.

Revision 1.60 / (download) - annotate - [select for diffs], Fri Jul 14 15:58:43 2006 UTC (17 years, 8 months ago) by jlam
Branch: MAIN
Changes since 1.59: +5 -5 lines
Diff to previous 1.59 (colored) to selected 1.283 (colored)

Fix path to the bmake.1 man page in the work directory.

Revision 1.59 / (download) - annotate - [select for diffs], Fri Jul 14 15:21:05 2006 UTC (17 years, 8 months ago) by jlam
Branch: MAIN
Changes since 1.58: +2 -2 lines
Diff to previous 1.58 (colored) to selected 1.283 (colored)

Install the bmake man page now that we properly handle PKGMANDIR in
bootstrap.

Revision 1.58 / (download) - annotate - [select for diffs], Fri Jul 14 14:30:21 2006 UTC (17 years, 8 months ago) by jlam
Branch: MAIN
Changes since 1.57: +2 -2 lines
Diff to previous 1.57 (colored) to selected 1.283 (colored)

Fix TOOLS_PLATFORM.tar definition (cut and paste bug).

Revision 1.57 / (download) - annotate - [select for diffs], Fri Jul 14 14:27:00 2006 UTC (17 years, 8 months ago) by jlam
Branch: MAIN
Changes since 1.56: +38 -12 lines
Diff to previous 1.56 (colored) to selected 1.283 (colored)

Add nawk as a bootstrap tool.  Reorder the builds so that nawk and sed
are built just after bmake so that they may be used in the configure
scripts for later bootstrap tools.

Revision 1.56 / (download) - annotate - [select for diffs], Thu Jul 13 21:37:30 2006 UTC (17 years, 8 months ago) by jlam
Branch: MAIN
Changes since 1.55: +6 -6 lines
Diff to previous 1.55 (colored) to selected 1.283 (colored)

Pass the computed mandir down to all the configure script invocations.

Revision 1.55 / (download) - annotate - [select for diffs], Thu Jul 13 21:27:06 2006 UTC (17 years, 8 months ago) by jlam
Branch: MAIN
Changes since 1.54: +18 -12 lines
Diff to previous 1.54 (colored) to selected 1.283 (colored)

Allow the user to specify --pkgmandir to control where man pages go.

Revision 1.54 / (download) - annotate - [select for diffs], Thu Jul 13 14:54:00 2006 UTC (17 years, 8 months ago) by jlam
Branch: MAIN
Changes since 1.53: +3 -18 lines
Diff to previous 1.53 (colored) to selected 1.283 (colored)

* Set PKG_TOOLS_BIN to the location of the bootstrapped pkg_* tools
  in the example mk.conf file.

* Don't install digest anymore.  It's not needed by binary package users
  and it's handled within pkgsrc/mk now via BOOTSTRAP_DEPENDS.

Revision 1.53 / (download) - annotate - [select for diffs], Tue Jul 11 18:04:08 2006 UTC (17 years, 8 months ago) by jlam
Branch: MAIN
Changes since 1.52: +9 -7 lines
Diff to previous 1.52 (colored) to selected 1.283 (colored)

After building bmake, use it exclusively to build everything else that
needs "make".

Revision 1.52 / (download) - annotate - [select for diffs], Tue Jul 11 17:29:20 2006 UTC (17 years, 8 months ago) by jlam
Branch: MAIN
Changes since 1.51: +20 -16 lines
Diff to previous 1.51 (colored) to selected 1.283 (colored)

Generate the proper TOOLS_PLATFORM.* lines for bootstrap binaries to
tell the tools framework which binaries to use.  Also add some whitespace
so the example mk.conf looks more like a "real" mk.conf.

Revision 1.51 / (download) - annotate - [select for diffs], Fri Apr 14 20:37:08 2006 UTC (17 years, 11 months ago) by schwarz
Branch: MAIN
CVS Tags: pkgsrc-2006Q2-base, pkgsrc-2006Q2
Changes since 1.50: +2 -2 lines
Diff to previous 1.50 (colored) to selected 1.283 (colored)


re-introduce a modification from 1.48 that had erroneously been removed
with the modification for 1.49.

Revision 1.50 / (download) - annotate - [select for diffs], Tue Apr 11 14:35:48 2006 UTC (17 years, 11 months ago) by joerg
Branch: MAIN
Changes since 1.49: +5 -2 lines
Diff to previous 1.49 (colored) to selected 1.283 (colored)

Don't use the carat (^) in class matches, as it is not supported by
some shells. Use precendency order instead.

Should fix PR 33236.

Revision 1.49 / (download) - annotate - [select for diffs], Mon Apr 10 18:29:24 2006 UTC (17 years, 11 months ago) by joerg
Branch: MAIN
Changes since 1.48: +27 -13 lines
Diff to previous 1.48 (colored) to selected 1.283 (colored)

Allow overriding of the default FETCH_CMD with --fetch-cmd
for both bootstrap and mkbinarykit. When this is done or the
platform fragment of bootstrap specifies an explicit fetch_cmd,
tnftp is not built.

Use /usr/bin/ftp by default on DragonFly 1.4 and later.

Revision 1.48 / (download) - annotate - [select for diffs], Mon Apr 10 13:29:38 2006 UTC (17 years, 11 months ago) by schwarz
Branch: MAIN
Changes since 1.47: +50 -15 lines
Diff to previous 1.47 (colored) to selected 1.283 (colored)


added bootstrap support for IRIX 5.3 (finally :-))

Revision 1.47 / (download) - annotate - [select for diffs], Sat Dec 17 17:51:40 2005 UTC (18 years, 3 months ago) by jschauma
Branch: MAIN
CVS Tags: pkgsrc-2006Q1-base, pkgsrc-2006Q1, pkgsrc-2005Q4-base, pkgsrc-2005Q4
Changes since 1.46: +4 -3 lines
Diff to previous 1.46 (colored) to selected 1.283 (colored)

Apply parts of a patch from Georg Schwarz to allow IRIX 6.x to bootstrap
again.

Revision 1.46 / (download) - annotate - [select for diffs], Thu Dec 1 03:03:51 2005 UTC (18 years, 4 months ago) by minskim
Branch: MAIN
Changes since 1.45: +2 -2 lines
Diff to previous 1.45 (colored) to selected 1.283 (colored)

Bump BOOTSTRAP_VERSION due to the update of archivers/pax.

Revision 1.45 / (download) - annotate - [select for diffs], Wed Nov 16 13:53:51 2005 UTC (18 years, 4 months ago) by joerg
Branch: MAIN
Changes since 1.44: +2 -2 lines
Diff to previous 1.44 (colored) to selected 1.283 (colored)

sysMkPath should be ${PREFIX}/share/mk by default and only that.
Including e.g. /usr/share/mk results in sys.mk read from there
as well. On DragonFly this adds X11BASE and results in obscure
breakages. Since the mk files are supposed to be self-contained,
it doesn't make much sense to look in other directories anyway.
Bump revision to annotate this.

Discussed-with: reed@.
Reported-by: Aggelos Economopoulos <aoiko AT cc DOT ece DOT ntua DOT gr>

Revision 1.44 / (download) - annotate - [select for diffs], Thu Nov 10 00:10:35 2005 UTC (18 years, 4 months ago) by reed
Branch: MAIN
Changes since 1.43: +2 -2 lines
Diff to previous 1.43 (colored) to selected 1.283 (colored)

Add "--mksrc none" to the boot-strap arguments for building "bmake".

Revision 1.43 / (download) - annotate - [select for diffs], Wed Nov 2 00:34:23 2005 UTC (18 years, 4 months ago) by reed
Branch: MAIN
Changes since 1.42: +1 -6 lines
Diff to previous 1.42 (colored) to selected 1.283 (colored)

Remove the NetBSD specific Makefile.in for bmake. It was not used anyways
since yesterday's update (since it overwrites it).

Revision 1.42 / (download) - annotate - [select for diffs], Tue Nov 1 01:06:02 2005 UTC (18 years, 5 months ago) by reed
Branch: MAIN
Changes since 1.41: +9 -6 lines
Diff to previous 1.41 (colored) to selected 1.283 (colored)

bootstrap script uses source files from pkgsrc/devel/bmake/files
for "bmake".

Remove all of bmake source from this bootstrap.
Keep bootstrap/bmake/mk -- copy to files-mk (so the
bmake "boot-strap" doesn't notice the mk*).

This was tested on DragonFly, NetBSD and some on Linux.

Hopefully all the fixes to boostrap's bmake are included in
devel/bmake/files.

Note that the "mk" files is still not using devel/mk-files.

Revision 1.41 / (download) - annotate - [select for diffs], Mon Oct 31 23:05:24 2005 UTC (18 years, 5 months ago) by reed
Branch: MAIN
Changes since 1.40: +3 -5 lines
Diff to previous 1.40 (colored) to selected 1.283 (colored)

Do not define sysconfdir when --prefix is set. This causes
sysconfdir to be reset if --prefix is later on command line.

Revision 1.40 / (download) - annotate - [select for diffs], Mon May 30 19:03:29 2005 UTC (18 years, 10 months ago) by jmmv
Branch: MAIN
CVS Tags: pkgsrc-2005Q3-base, pkgsrc-2005Q3, pkgsrc-2005Q2-base, pkgsrc-2005Q2
Changes since 1.39: +2 -1 lines
Diff to previous 1.39 (colored) to selected 1.283 (colored)

Allow --varbase=something (note the '=').  Pointed out by rillig@.

Revision 1.39 / (download) - annotate - [select for diffs], Sun May 29 17:15:25 2005 UTC (18 years, 10 months ago) by jmmv
Branch: MAIN
Changes since 1.38: +30 -6 lines
Diff to previous 1.38 (colored) to selected 1.283 (colored)

Simplify usage as non-root.  When given the --ignore-user-check, change
default installation paths to be inside ~/pkg and define UNPRIVILEGED=yes
in the generated mk.conf.  This lets regular users to simply bootstrap by
doing './bootstrap --ignore-user-check'.

Revision 1.38 / (download) - annotate - [select for diffs], Wed May 25 07:06:54 2005 UTC (18 years, 10 months ago) by rillig
Branch: MAIN
Changes since 1.37: +10 -5 lines
Diff to previous 1.37 (colored) to selected 1.283 (colored)

Added a function get_optarg that avoids code duplication in the option
parsing code. For maximum portability it uses the expr(1) command
instead of sed(1), the same way as it is done in the core of the latest
GNU configure scripts.

Revision 1.37 / (download) - annotate - [select for diffs], Sat May 14 02:12:48 2005 UTC (18 years, 10 months ago) by rillig
Branch: MAIN
Changes since 1.36: +6 -1 lines
Diff to previous 1.36 (colored) to selected 1.283 (colored)

Allow the user to type --prefix=foo instead of requiring a whitespace
between the --prefix and the directory. This makes life easier for users
that often run GNU ./configure scripts manually.

Revision 1.36 / (download) - annotate - [select for diffs], Sat May 7 22:19:16 2005 UTC (18 years, 10 months ago) by wiz
Branch: MAIN
Changes since 1.35: +2 -2 lines
Diff to previous 1.35 (colored) to selected 1.283 (colored)

Refer doc/pkgsrc.txt instead of Packages.txt.

Revision 1.35 / (download) - annotate - [select for diffs], Tue Apr 19 18:24:17 2005 UTC (18 years, 11 months ago) by minskim
Branch: MAIN
Changes since 1.34: +2 -2 lines
Diff to previous 1.34 (colored) to selected 1.283 (colored)

Define TMACDIR and CATDEPS appropriately on Linux.

Bump BOOTSTRAP_VERSION.

Revision 1.34 / (download) - annotate - [select for diffs], Mon Apr 11 21:03:21 2005 UTC (18 years, 11 months ago) by jschauma
Branch: MAIN
Changes since 1.33: +2 -1 lines
Diff to previous 1.33 (colored) to selected 1.283 (colored)

If need_bsd_install=yes, then also set INSTALL accordingly in the sample
mk.conf

Revision 1.33 / (download) - annotate - [select for diffs], Sun Apr 10 21:54:13 2005 UTC (18 years, 11 months ago) by jschauma
Branch: MAIN
Changes since 1.32: +75 -24 lines
Diff to previous 1.32 (colored) to selected 1.283 (colored)

Implement changes suggested on tech-pkg some time ago:

(1) rework how command-line arguments are parsed:
instead of --command=<arg>, use --command <arg>

This allows us to not rely on certain commands for which we first need
to figure out where they are to parse the arguments, which in turn
allows us to

(2) add the command-line option

--preserve-path

to prevent bootstrap from munging the PATH (as it does on some platforms)
and look in places that are not currently in the PATH

Finally,

(3) add a check to see if we're using gcc, and set and add the
PKGSRC_COMPILER=<compiler>
flag to the sample mk.conf.  This is particularly useful (and actually
necessary) under IRIX.

Bump BOOTSTRAP_VERSION.

Revision 1.32 / (download) - annotate - [select for diffs], Tue Mar 8 15:43:10 2005 UTC (19 years ago) by tv
Branch: MAIN
CVS Tags: pkgsrc-2005Q1-base, pkgsrc-2005Q1
Changes since 1.31: +3 -4 lines
Diff to previous 1.31 (colored) to selected 1.283 (colored)

Were the overrides in mods/mk ever tested?

Fix the override logic for $opsys.bsd.{lib,man}.mk to install the files
in the correct place -- this was previously all kinds of b0rken.  Now it's
possible to build shlibs properly on Interix using <bsd.lib.mk>, and may
be possible on Darwin as well.

Revision 1.31 / (download) - annotate - [select for diffs], Sat Feb 19 04:07:31 2005 UTC (19 years, 1 month ago) by grant
Branch: MAIN
Changes since 1.30: +12 -1 lines
Diff to previous 1.30 (colored) to selected 1.283 (colored)

set MACHINE_ARCH correctly on AIX.

Revision 1.30 / (download) - annotate - [select for diffs], Tue Feb 15 08:48:34 2005 UTC (19 years, 1 month ago) by grant
Branch: MAIN
Changes since 1.29: +6 -6 lines
Diff to previous 1.29 (colored) to selected 1.283 (colored)

don't override the CPPFLAGS and LDFLAGS environment variables, add to
them instead.

Revision 1.29 / (download) - annotate - [select for diffs], Thu Jan 20 22:36:06 2005 UTC (19 years, 2 months ago) by agc
Branch: MAIN
Changes since 1.28: +2 -3 lines
Diff to previous 1.28 (colored) to selected 1.283 (colored)

DragonFly's pax(1) has different options to those in NetBSD.

Re-bootstrapping with pax fixes the situation.

Fix from Todd Willey.

Revision 1.28 / (download) - annotate - [select for diffs], Sun Jan 16 02:56:24 2005 UTC (19 years, 2 months ago) by grant
Branch: MAIN
Changes since 1.27: +2 -2 lines
Diff to previous 1.27 (colored) to selected 1.283 (colored)

append, not prepend, /usr/ccs/bin to the $PATH (where it exists).
Solaris is happy with it being tacked onto the end, and it unbreaks
the build on HP-UX with the native compiler.

from Andrey Zakharchenko.

Revision 1.27 / (download) - annotate - [select for diffs], Wed Jan 12 16:42:13 2005 UTC (19 years, 2 months ago) by jschauma
Branch: MAIN
Changes since 1.26: +2 -1 lines
Diff to previous 1.26 (colored) to selected 1.283 (colored)

Set machine_arch=mipseb on IRIX, so that binary packages don't complain
about a mismatch.

Revision 1.26 / (download) - annotate - [select for diffs], Wed Jan 12 11:30:37 2005 UTC (19 years, 2 months ago) by agc
Branch: MAIN
Changes since 1.25: +4 -1 lines
Diff to previous 1.25 (colored) to selected 1.283 (colored)

Apply fixes to set TARPROG definition properly for DragonFlyBSD from
Todd Willey in PR 28941.

Revision 1.25 / (download) - annotate - [select for diffs], Wed Jan 5 21:51:19 2005 UTC (19 years, 2 months ago) by tv
Branch: MAIN
Changes since 1.24: +2 -2 lines
Diff to previous 1.24 (colored) to selected 1.283 (colored)

No need to "cp -p" here.

Revision 1.24 / (download) - annotate - [select for diffs], Sat Nov 20 04:31:35 2004 UTC (19 years, 4 months ago) by grant
Branch: MAIN
CVS Tags: pkgsrc-2004Q4-base, pkgsrc-2004Q4
Changes since 1.23: +14 -1 lines
Diff to previous 1.23 (colored) to selected 1.283 (colored)

add support for Tru64, patches provided by Tobias Nygren
<tnn at netilium dot org> with minor changes by me.

tested on Tru64 5.0 and 5.1B.

Revision 1.23 / (download) - annotate - [select for diffs], Sun Oct 31 22:04:26 2004 UTC (19 years, 5 months ago) by wiz
Branch: MAIN
Changes since 1.22: +10 -1 lines
Diff to previous 1.22 (colored) to selected 1.283 (colored)

Add DragonFlyBSD recognition defaults, provided by Todd Willey on tech-pkg.

Revision 1.22 / (download) - annotate - [select for diffs], Fri Oct 8 17:29:00 2004 UTC (19 years, 5 months ago) by tv
Branch: MAIN
Changes since 1.21: +2 -2 lines
Diff to previous 1.21 (colored) to selected 1.283 (colored)

Bump BOOTSTRAP_VERSION for previous.

Revision 1.21 / (download) - annotate - [select for diffs], Fri Oct 8 17:26:45 2004 UTC (19 years, 5 months ago) by tv
Branch: MAIN
Changes since 1.20: +4 -4 lines
Diff to previous 1.20 (colored) to selected 1.283 (colored)

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.

Revision 1.20 / (download) - annotate - [select for diffs], Fri Aug 27 06:48:58 2004 UTC (19 years, 7 months ago) by jlam
Branch: MAIN
CVS Tags: pkgsrc-2004Q3-base, pkgsrc-2004Q3
Changes since 1.19: +2 -2 lines
Diff to previous 1.19 (colored) to selected 1.283 (colored)

Catch up with textproc/nbsed needing to be configured with
--program-transform-name="s,sed,nbsed," to be installed with the correct
name.

Revision 1.19 / (download) - annotate - [select for diffs], Mon Aug 23 03:44:34 2004 UTC (19 years, 7 months ago) by jlam
Branch: MAIN
Changes since 1.18: +13 -12 lines
Diff to previous 1.18 (colored) to selected 1.283 (colored)

* 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.

Revision 1.18 / (download) - annotate - [select for diffs], Tue May 11 02:07:19 2004 UTC (19 years, 10 months ago) by schmonz
Branch: MAIN
CVS Tags: pkgsrc-2004Q2-base, pkgsrc-2004Q2
Changes since 1.17: +2 -4 lines
Diff to previous 1.17 (colored) to selected 1.283 (colored)

Retire the bootstrap script's --pkgsrcdir argument. Now that we're
part of pkgsrc, we don't need to be told where it is.

Revision 1.17 / (download) - annotate - [select for diffs], Wed May 5 14:39:45 2004 UTC (19 years, 10 months ago) by tv
Branch: MAIN
Changes since 1.16: +6 -4 lines
Diff to previous 1.16 (colored) to selected 1.283 (colored)

Use numeric uid/gid instead of Administrator/+Administrators, as native
language non-English versions of Windows name these accounts differently.

Revision 1.16 / (download) - annotate - [select for diffs], Sat Apr 24 19:17:09 2004 UTC (19 years, 11 months ago) by danw
Branch: MAIN
Changes since 1.15: +5 -1 lines
Diff to previous 1.15 (colored) to selected 1.283 (colored)

make sure /sbin and /usr/sbin are in $PATH. pkg/24010

Revision 1.15 / (download) - annotate - [select for diffs], Fri Apr 23 02:03:18 2004 UTC (19 years, 11 months ago) by tv
Branch: MAIN
Changes since 1.14: +13 -6 lines
Diff to previous 1.14 (colored) to selected 1.283 (colored)

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).

Revision 1.14 / (download) - annotate - [select for diffs], Wed Apr 21 20:35:18 2004 UTC (19 years, 11 months ago) by tv
Branch: MAIN
Changes since 1.13: +4 -1 lines
Diff to previous 1.13 (colored) to selected 1.283 (colored)

For Interix, use "mkdir -p" after all so that the umask can take effect.

Revision 1.13 / (download) - annotate - [select for diffs], Fri Apr 16 23:47:02 2004 UTC (19 years, 11 months ago) by heinz
Branch: MAIN
Changes since 1.12: +3 -3 lines
Diff to previous 1.12 (colored) to selected 1.283 (colored)

Use 'mkdir-sh' instead of 'mkdir-p.sh' (similar to 'install-sh').

Revision 1.12 / (download) - annotate - [select for diffs], Sun Apr 11 03:17:12 2004 UTC (19 years, 11 months ago) by heinz
Branch: MAIN
Changes since 1.11: +18 -1 lines
Diff to previous 1.11 (colored) to selected 1.283 (colored)

Add support for UnixWare

Revision 1.11 / (download) - annotate - [select for diffs], Wed Apr 7 12:05:37 2004 UTC (19 years, 11 months ago) by jmmv
Branch: MAIN
Changes since 1.10: +21 -14 lines
Diff to previous 1.10 (colored) to selected 1.283 (colored)

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).

Revision 1.10 / (download) - annotate - [select for diffs], Mon Mar 29 02:20:04 2004 UTC (20 years ago) by tv
Branch: MAIN
Changes since 1.9: +5 -3 lines
Diff to previous 1.9 (colored) to selected 1.283 (colored)

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.

Revision 1.9 / (download) - annotate - [select for diffs], Sun Mar 28 01:55:17 2004 UTC (20 years ago) by grant
Branch: MAIN
CVS Tags: pkgsrc-2004Q1-base, pkgsrc-2004Q1
Changes since 1.8: +59 -36 lines
Diff to previous 1.8 (colored) to selected 1.283 (colored)

apply patch from Klaus Heinz to support bootstrapping from a read-only
pkgsrc with the --workdir argument.

Revision 1.8 / (download) - annotate - [select for diffs], Sun Mar 21 01:06:37 2004 UTC (20 years ago) by grant
Branch: MAIN
Changes since 1.7: +2 -2 lines
Diff to previous 1.7 (colored) to selected 1.283 (colored)

MACHINE_ARCH should be derived from `uname -m` on OpenBSD.

from Philip Reynolds on tech-pkg.

Revision 1.7 / (download) - annotate - [select for diffs], Thu Mar 11 20:49:09 2004 UTC (20 years ago) by tv
Branch: MAIN
Changes since 1.6: +4 -2 lines
Diff to previous 1.6 (colored) to selected 1.283 (colored)

In mkdir_p, iterate the directory names.  (install-sh doesn't.)

Revision 1.6 / (download) - annotate - [select for diffs], Thu Mar 11 20:47:56 2004 UTC (20 years ago) by tv
Branch: MAIN
Changes since 1.5: +3 -3 lines
Diff to previous 1.5 (colored) to selected 1.283 (colored)

Interix has the possibility of case-insensitive filesystems too.  Add the
same check used for Darwin, and a doc fragment to README.Interix.

Revision 1.5 / (download) - annotate - [select for diffs], Thu Mar 11 19:45:09 2004 UTC (20 years ago) by tv
Branch: MAIN
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored) to selected 1.283 (colored)

Interix needs pax too.  <grumble>

Revision 1.4 / (download) - annotate - [select for diffs], Thu Mar 11 17:47:18 2004 UTC (20 years ago) by sketch
Branch: MAIN
Changes since 1.3: +14 -8 lines
Diff to previous 1.3 (colored) to selected 1.283 (colored)

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

Revision 1.3 / (download) - annotate - [select for diffs], Thu Mar 11 17:29:11 2004 UTC (20 years ago) by tv
Branch: MAIN
Changes since 1.2: +16 -5 lines
Diff to previous 1.2 (colored) to selected 1.283 (colored)

Parameterize the root user, and provide an alternative implementation
of the is_root() function for Interix only.

Revision 1.2 / (download) - annotate - [select for diffs], Thu Mar 11 13:08:06 2004 UTC (20 years ago) by grant
Branch: MAIN
Changes since 1.1: +32 -12 lines
Diff to previous 1.1 (colored) to selected 1.283 (colored)

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).

Revision 1.1 / (download) - annotate - [select for diffs], Thu Mar 11 13:03:58 2004 UTC (20 years ago) by grant
Branch: MAIN
Diff to selected 1.283 (colored)

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>