Commit graph

483 commits

Author SHA1 Message Date
gutteridge
76de360641 bootstrap/README: add OmniOS to the SunOS list (it's what I use) 2020-04-24 21:22:40 +00:00
nia
44542b5b3f bootstrap/README: illumos is lowercase 2020-04-24 18:50:06 +00:00
nia
74d22973e6 bootstrap/README: typo fix 2020-04-24 16:19:06 +00:00
gdt
04bfa76541 bootstrap/README: Note that SCO_SV has a user 2020-04-23 19:02:20 +00:00
gdt
57a43971dd bootstrap/README: Note lack of cwrappers on AIX 2020-04-23 14:02:47 +00:00
gdt
8a6e0c4881 bootstrap/README: List platforms in active use
Prompted by discussion of whether IRIX users exist on pkgsrc-users@,
list the pkgsrc platforms (foo, such that mk/platform/foo.mk exists)
according to whether they are actively maintained or not.

NB: This is merely informational, and not a deletion proposal.
2020-04-23 13:51:52 +00:00
gdt
b034206cab bootstrap: Add a NetBSD README 2020-04-09 15:04:03 +00:00
nia
6c8ef55de3 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
2020-03-26 15:30:27 +00:00
rillig
d1232083f8 bootstrap: create the binary packages before the summary message
It's strange to see the summary before all the actual work is done.
2020-03-22 16:40:19 +00:00
rillig
8c8a1eeaba 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.
2020-03-22 16:34:46 +00:00
rillig
9e159c6bfe 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.
2020-02-23 18:32:46 +00:00
sevan
863d545b7b 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.
2019-12-05 22:19:56 +00:00
triaxx
f91c2c26b7 boostrap: need_awk=yes for Arch Linux
Arch uses GNU Awk 5 that breaks some regexps.
2019-11-05 13:58:06 +00:00
rillig
1474c11ffb 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.
2019-09-13 20:10:35 +00:00
rillig
5605d45593 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.
2019-09-13 19:53:03 +00:00
prlw1
eb7fbd02cc trivial typos 2019-07-26 15:41:43 +00:00
rillig
cc59fe8b6b bootstrap/bootstrap: fix bootstrap on Solaris 10
Fixes pkg/54349.
2019-07-21 20:14:06 +00:00
sevan
f99d86c003 libarchive no longer has a without-lzmadec option 2019-07-08 19:44:08 +00:00
rillig
23afdbe9b9 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.
2019-07-02 16:27:04 +00:00
jperkin
7bb25ca970 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.
2019-06-20 09:11:26 +00:00
rillig
cdd45d3d5c bootstrap: fix endless when checking nonexisting directory
./bootstrap --prefix=/nonexisting had run into an endless loop.
2019-05-07 19:54:46 +00:00
gutteridge
8c27af0dda README.MacOSX: fix a little typo 2019-05-04 19:27:49 +00:00
jperkin
fc30af8caa 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.
2019-05-03 13:26:34 +00:00
gdt
725772cb45 bootstrap: Update README.MacOSX
Time has passed, and what was new is now crufty.  Update descriptions,
and remove pointers to bulk builds that are no longer.  Add a brief
explanation of SDK versions and a pointer to the code that
queries/sets them.
2019-05-03 11:52:31 +00:00
rillig
b25f3a40b4 bootstrap: prevent pkgsrcdir, prefix and wrkdir from being symlinks 2019-05-01 18:29:20 +00:00
adam
eae608d908 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
2019-04-10 08:24:03 +00:00
gutteridge
eb6078268f README.Linux: minor tweak to a sentence 2019-04-04 04:20:26 +00:00
triaxx
68e4a61489 set $CC when clang is detected in bootstrap
The commit in pkgsrc-2018Q4 is due to a mistake.

Sorry :(
2019-02-06 17:38:54 +00:00
sevan
07b8418439 Update the root_group for Minix to match the changes to mk files.
Head up by <leot>
2018-11-15 22:08:30 +00:00
rillig
8279aa9744 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.
2018-11-11 19:31:54 +00:00
jperkin
6baaeb9379 bootstrap: Ensure CC is considered for SSP tests. 2018-11-09 13:37:09 +00:00
schmonz
c4f430b744 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.
2018-11-05 19:26:38 +00:00
sevan
f94c4766af Minix 3.4RC6 includes install(1) from NetBSD. 2018-10-30 15:22:53 +00:00
triaxx
2cd43afe22 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)
2018-10-29 17:41:35 +00:00
triaxx
dfba945451 Arch Linux does not provide pax anymore
https://lists.archlinux.org/pipermail/arch-general/2017-April/043604.html
2018-10-29 15:16:32 +00:00
sevan
0a5a21105a 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.
2018-10-28 18:41:41 +00:00
sevan
a26e1226e0 Minix/arm currently ships with GCC but the i386 build ships with clang so check
the compiler.
2018-10-28 16:59:00 +00:00
jperkin
dba7653756 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.
2018-10-17 11:12:46 +00:00
schmonz
2b729d684c On OpenBSD, detect clang and prefer it over gcc. Addresses pkg/53170. 2018-09-09 10:01:26 +00:00
maya
6c25dec844 Remove clauses 3,4 from TNF-only copyright blocks.
This is based on the decision The NetBSD Foundation made in 2008 to
do so, which was already applied to src.

This change has been applied to code which is likely not in other
repositories.

ok board@, reviewed by riastradh@
2018-08-22 20:48:36 +00:00
bsiegert
6d4156bb9d 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.
2018-08-12 08:46:41 +00:00
bsiegert
1072becf9e Document cleaning up with ./cleanup.
Requested in PR pkg/41803.
2018-07-07 13:18:29 +00:00
rillig
19b0bb4391 bootstrap: don't output "Hopefully" when bootstrap finishes
The pkgsrc bootstrap has been used long enough to be more
self-confident.
2018-03-07 07:34:07 +00:00
bsiegert
dd09a279d9 Remove a mis-pasted line. Noticed by jperkin@. 2018-02-03 09:53:03 +00:00
bsiegert
1ad3e0227c 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.
2018-02-02 15:53:44 +00:00
sevan
956f0a6f65 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.
2017-12-09 00:33:36 +00:00
bsiegert
22c455105d 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.
2017-10-22 19:29:20 +00:00
maya
ec10bce9ac Rename OS X to macOS to follow Apple's new naming
Eric Brown: PR pkg/52567: Readme.MacOSX is out of date

Additional changes by me: don't mention that the file isn't README.OSX
due to OS X being a different name, because the new name macOS makes
the filename less confusing.
2017-09-23 05:53:52 +00:00
maya
5e144002c5 macOS 10.13 requires nbsed and nbawk
From Eric Brown in PR pkg/52566
2017-09-23 05:43:51 +00:00
gdt
84bfe7cdd4 bootstrap/MacOSX: explain tools issues for 10.12 2017-09-21 19:42:16 +00:00