summaryrefslogtreecommitdiff
path: root/bootstrap
AgeCommit message (Collapse)AuthorFilesLines
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.
2017-12-09Define machine_arch for Cygwin, this resolves an issue where MACHINE_ARCH is setsevan1-1/+2
to blank & configure substituation breaks because host type identifier is complete. -pc-cygwin, rather than x86_64-pc-cygwin.
2017-10-22Set cwrappers in bootstrap mk.conf too.bsiegert1-1/+2
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-09-23Rename OS X to macOS to follow Apple's new namingmaya1-26/+24
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-23macOS 10.13 requires nbsed and nbawkmaya1-2/+2
From Eric Brown in PR pkg/52566
2017-09-21bootstrap/MacOSX: explain tools issues for 10.12gdt1-9/+9
2017-06-19Add code for finding machine_arch on OSF1maya1-1/+2
From Naruaki Etomi in PR pkg/52311
2017-04-29Allow bootstrapping without cwrapperskhorben1-6/+7
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.
2017-03-06Add instructions on installing required dependencies on Debian & derivatives tosevan1-1/+8
ensure a smooth process Taken from: https://imil.net/blog/2015/07/05/using-pkgsrc-on-debian-gnulinux/
2017-02-11As macOS Sierra still ships with a broken "awk" and "sed" use thetron1-2/+2
pkgsrc variants as we do under Mac OS X El Capitan.
2017-02-09- With the move to pkgng, it is no longer required to rename binaries on currentsevan1-5/+13
release, state that instructions only apply to legacy release. - State that only the compler in base is currently support. - Update the list of tested releases.
2017-02-01Simplify and optimise previous.jperkin1-8/+6
2017-02-01For POWER8 systems running Linux, set $machine_arch to powerpc64le if machinesevan1-2/+10
hardware name is ppc64le. Automatically default to 64bit ABI for powerpc64le systems.
2017-01-22mention you can prefer pkgsrc at bootstrap, too.maya1-2/+4
pointed out by jperkin, thanks.
2017-01-22Mention in openbsd readme that it is possible to use OpenSSL from pkgsrc,maya1-1/+5
as an alternative to the somewhat controversial patch suggested in PR pkg/51486.
2017-01-10Test for existing $prefix and $pkgdbdir and bail out early if they exist,jperkin1-1/+9
rather than failing with exotic errors later.
2017-01-10Use die()jperkin1-9/+5
2017-01-09Update XQuartz URLsevan1-2/+2
2017-01-03Pass --without-lz4 to libarchive bootstrap, avoids issues on Gentoo wherejperkin1-2/+2
the native lz4 is found.
2016-11-15Change the default PKG_DBDIR to be ${LOCALBASE}/pkgdb. Resolves issues onjperkin7-41/+21
other BSDs which already use /var/db/pkg for the native package manager.
2016-11-01When building cwrappers via bootstrap, either directly via --cwrappers orjperkin1-2/+16
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.