summaryrefslogtreecommitdiff
path: root/bootstrap
AgeCommit message (Collapse)AuthorFilesLines
2007-11-03Make mkbinarykit work on Mac OS X 10.5.minskim1-3/+12
2007-11-01Renamed the ignoreusercheck variable to unprivileged, since it does morerillig1-6/+6
than just checking whether the bootstrap is run by root. No other visible changes.
2007-10-17Added some very basic sanity checks for the arguments to bootstrap. Thisrillig1-1/+28
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
2007-10-15We can nowadays bootstrap using the native compiler, so note this.tnn1-28/+15
g/c some obsolete text.
2007-10-09Remove trailing spaces.martti3-8/+8
2007-10-09Fixed a typo in the bootstrap program. Now it is possible to specify anrillig1-2/+2
alternative fetch_cmd. Patch provided by Pierre Bourgin in PR 37081.
2007-10-02Pkgsrc bootstrap installs gzip-base on AIX automatically, thus making itheinz1-4/+1
unnecessary to provide it outside of pkgsrc. This solves PR pkg/37030 by Matthew Clarke.
2007-09-29Mention --unprivileged, since pkgsrc runs (almost) great as unprivilegedrillig1-2/+2
user.
2007-09-08Removed the warning about pkg_add or pkg_delete "not running as root"rillig1-5/+1
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.
2007-09-07In unprivileged builds, the user running pkg_add and pkg_delete isrillig1-1/+5
almost always an unprivileged user. So there's no point in printing a warning in that case.
2007-09-06Add QNX configuration. From Sean Boudreau.joerg1-1/+11
2007-09-06Try to force a proper shell on Solaris by extending bmake tojoerg1-1/+4
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.
2007-08-18do not add preset CFLAGS, CPPFLAGS or LDFLAGS to BOOTSTRAP_MKCONF since onschwarz1-5/+2
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 :-)
2007-08-14Replaced the hard-coded /bin/bash with an environment variable.rillig1-8/+19
2007-08-13s/POSIX/BSD/ for echo(1).rillig1-2/+2
2007-08-05Interix: Install xargs script in $wrkdir, not $prefix, for bootstrapping.tnn1-2/+2
2007-08-03In preparation for the libarchivification of pkg_create, pass downjoerg1-3/+3
--enable-bootstrap to pkg_install's configure for the first build phase.
2007-08-01Allow mkbinarykit to pass down --compiler.joerg1-1/+6
2007-07-31Only write FETCH_CMD to mk.conf, if it is set already.joerg1-2/+4
2007-07-29Add --mk-fragment option to bootstrap. This allows including a fragmentjoerg2-3/+19
after the automatic options and makes it simpler to rebuild the bootstrap automatically from pbulk.
2007-07-27Split bootstrap into two phases:joerg1-154/+178
- 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.
2007-07-02Update URLs for Documentation->docs move.tnn3-7/+7
2007-07-02mtree is no longer needed or used by the pkgsrc infrastructure.joerg1-35/+1
2007-07-01xargs(1) on Interix is broken. It executes the utility on the command linetnn1-1/+9
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.
2007-06-30Improve HP-UX specific documentationtnn1-6/+8
2007-05-30We no longer need to check $pkgsrcdir for case-sensitivity.schmonz1-3/+3
XXX Is it time we stopped checking $prefix, too? IMO, yes.
2007-05-27Mac OS X fixes:schmonz1-17/+21
* Build Universal iff a suitable SDK for the host system is present. From tron. * Handle the case where where PKG_DBDIR is under PREFIX.
2007-05-23Entab.schmonz1-11/+11
2007-05-23Add a --universal switch to enable building Universal binaries onschmonz1-7/+14
Mac OS X (off by default).
2007-05-23Remove no-op variable (doubly so, it's incorrectly spelled) for AIX.schmonz1-2/+1
2007-05-23Find and replace %DATE% in the Mac .pkg. Oh, and build everythingschmonz1-2/+9
as Universal binaries.
2007-05-23Replace hardcoded date with a token for sed to update.schmonz1-3/+3
2007-05-23tnftp means to link with its own libedit, but on OS X the linker'sschmonz1-2/+2
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.
2007-05-22On OS X, build a double-clickable Mac package.schmonz1-8/+45
2007-05-22Add Mac OS X PackageMaker project file for bootstrap tools. Createdschmonz1-0/+652
with /Developer/Applications/Utilities/PackageMaker.app, then converted from blob to the equivalent XML with: $ plutil -convert xml1 macpkg.pmproj mkbinarykit will run this file through a bit of sed, then use the result to generate a double-clickable Mac package.
2007-04-25hpux: machine_arch is hppa, not 9000.tnn1-1/+2
2007-04-21hpux supporttnn1-2/+5
2007-04-20update OSF1 bootstrap documentationtnn1-13/+24
2007-04-14Teach pkgsrc about HP-UX.tnn2-5/+30
2007-04-12Change bootstrap to register bmake as package. Change bmake tojoerg2-13/+9
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@
2007-04-12Remove absolutely useless functionality to build source kits. This isjoerg1-49/+0
unlikely to work with the changes in bootstrap itself anyway.
2007-04-12When calling bootstrap-register from the bootstrap script for thejoerg1-3/+3
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@
2007-03-02Remove references to pkgmanpages package and packages(7). Noted by reed@.wiz2-8/+3
2007-02-22In the bootstrap script, MAKECONF must be overridden, so that therillig1-1/+6
settings from there don't influence the bootstrap process. Fixes PR 33188.
2007-01-28don't assume that tar can compress, instead pipe to gzipjschauma1-2/+2
2007-01-26Added a fix for the case when /bin/sh is a (symlink to) dash.rillig1-1/+8
2007-01-26The example mk.conf is installed automatically if there isn't already arillig1-3/+19
mk.conf. This makes using pkgsrc a bit easier.
2007-01-22Bump suggested disk image size to 1GB.tron1-2/+2
2007-01-11Changed the URL for downloading gcc, since the old one gives a 404.rillig1-2/+2
2006-11-06Add lang/nawk and sysutils/install-sh to the "don't blow away" packagetv1-4/+4
list for bulk builds. (Revert previous on bootstrap; the PKG_PRESERVE hack didn't work as expected.)