summaryrefslogtreecommitdiff
path: root/bootstrap
AgeCommit message (Collapse)AuthorFilesLines
2020-05-30bootstrap: Fix default target arch on SunOS.jperkin1-3/+5
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.
2020-05-25bootstrap: Consolidate setting of CC if unset.jperkin1-7/+10
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.
2020-05-07Highly silly typo.nia1-2/+2
2020-05-06bootstrap: Use SH for bmake if specified.jperkin1-1/+5
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.
2020-04-29bootstrap: fix PR pkg/55217triaxx1-2/+2
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.
2020-04-24bootstrap/README: add OmniOS to the SunOS list (it's what I use)gutteridge1-2/+2
2020-04-24bootstrap/README: illumos is lowercasenia1-2/+2
2020-04-24bootstrap/README: typo fixnia1-2/+2
2020-04-23bootstrap/README: Note that SCO_SV has a usergdt1-3/+7
2020-04-23bootstrap/README: Note lack of cwrappers on AIXgdt1-3/+4
2020-04-23bootstrap/README: List platforms in active usegdt1-1/+81
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-09bootstrap: Add a NetBSD READMEgdt1-0/+24
2020-03-26bootstrap: Allow overriding EGREP/FGREP.nia1-1/+9
Makes bootstrapping on minimal Linux systems that don't include these binaries in a normal location less broken. from Michael Forney
2020-03-22bootstrap: create the binary packages before the summary messagerillig1-5/+5
It's strange to see the summary before all the actual work is done.
2020-03-22bootstrap: remove unused BOOTSTRAP_VERSION variablerillig1-3/+1
It had not been updated between 2006 and 2019, and there is no apparent benefit of having this version number.
2020-02-23bootstrap: use $* instead of $@ where appropriaterillig1-6/+6
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.
2019-12-05Skip trying to make use of a 64bit ABI on Darwin as the system libraries onsevan1-7/+2
Tiger lack support and it doesn't work out too great on Leopard either, though it's much better than the former release.
2019-11-05boostrap: need_awk=yes for Arch Linuxtriaxx1-5/+6
Arch uses GNU Awk 5 that breaks some regexps.
2019-09-13bootstrap/bootstrap: prevent --wrkdir from being a symlinkrillig1-4/+3
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-13bootstrap/bootstrap: fix word wrapping in symlink error messagerillig1-3/+3
When $2 is expanded, it is longer than 2 characters, which leaded to an ugly line break.
2019-07-26trivial typosprlw11-4/+4
2019-07-21bootstrap/bootstrap: fix bootstrap on Solaris 10rillig1-3/+8
Fixes pkg/54349.
2019-07-08libarchive no longer has a without-lzmadec optionsevan1-2/+2
2019-07-02bootstrap/bootstrap: allow the working directory to be a symlinkrillig1-3/+4
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-06-20bootstrap: Enable sed on Cygwin by default.jperkin1-2/+2
Michael Dexter reported that the native Cygwin sed is unable to correctly build libtool. Switching to nbsed solved the issue.
2019-05-07bootstrap: fix endless when checking nonexisting directoryrillig1-1/+2
./bootstrap --prefix=/nonexisting had run into an endless loop.
2019-05-04README.MacOSX: fix a little typogutteridge1-2/+2
2019-05-03bootstrap: Invert the awk/sed test on Darwin.jperkin1-6/+6
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-03bootstrap: Update README.MacOSXgdt1-24/+31
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-01bootstrap: prevent pkgsrcdir, prefix and wrkdir from being symlinksrillig1-4/+33
2019-04-10libarchive: updated to 3.3.3adam1-2/+2
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-04README.Linux: minor tweak to a sentencegutteridge1-3/+3
2019-02-06set $CC when clang is detected in bootstraptriaxx1-1/+3
The commit in pkgsrc-2018Q4 is due to a mistake. Sorry :(
2018-11-15Update the root_group for Minix to match the changes to mk files.sevan1-2/+2
Head up by <leot>
2018-11-11bootstrap/bootstrap: detect unknown options and print usagerillig1-2/+3
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-09bootstrap: Ensure CC is considered for SSP tests.jperkin1-7/+2
2018-11-05Optionally detect whether the compiler supports "-fstack-protector-strong".schmonz1-1/+30
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-10-30Minix 3.4RC6 includes install(1) from NetBSD.sevan1-2/+2
2018-10-29Fix commit v 1.254triaxx1-4/+4
* 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-29Arch Linux does not provide pax anymoretriaxx1-1/+8
https://lists.archlinux.org/pipermail/arch-general/2017-April/043604.html
2018-10-28libcompat_minix was removed some years back and minlib does not exist as asevan1-2/+1
linkable library in 3.4RC6 so don't try to link against these.
2018-10-28Minix/arm currently ships with GCC but the i386 build ships with clang so checksevan1-1/+2
the compiler.
2018-10-17bootstrap: Set PKGSRC_KEEP_BIN_PKGS=no during bootstrap.jperkin1-3/+3
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-09-09On OpenBSD, detect clang and prefer it over gcc. Addresses pkg/53170.schmonz1-1/+3
2018-08-22Remove clauses 3,4 from TNF-only copyright blocks.maya1-8/+1
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-12On Chrome OS, build nbsed too.bsiegert1-2/+3
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-07-07Document cleaning up with ./cleanup.bsiegert1-1/+7
Requested in PR pkg/41803.
2018-03-07bootstrap: don't output "Hopefully" when bootstrap finishesrillig1-2/+1
The pkgsrc bootstrap has been used long enough to be more self-confident.
2018-02-03Remove a mis-pasted line. Noticed by jperkin@.bsiegert1-2/+1
2018-02-02Use pkgsrc awk on ChromeOS.bsiegert1-1/+4
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.