minskim
16eae2fdc0
Fix a square bracket mismatch.
2009-04-23 00:15:53 +00:00
joerg
c802ed4e34
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.
2009-04-21 14:21:10 +00:00
joerg
d4f61b3a35
Don't install ftp -- it is no longer a dependency of bootstrap
...
components, so it doesn't need the special threatment.
2009-04-06 14:21:05 +00:00
joerg
abd77ea1ca
Remove LIBNBCOMPAT_STYLE for nbsed, it is not used anywhere.
2009-02-05 18:53:03 +00:00
joerg
60f2e49122
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.
2009-02-04 07:44:58 +00:00
joerg
c8381772dc
- retire fnmatch magic
...
- drop tnftp and pax from bootstrap, they can be installed as normal
dependencies now that pkg_install doesn't need them.
2009-02-02 13:01:29 +00:00
sketch
7ff985072a
tyop
2009-01-26 10:02:19 +00:00
sketch
2d44a8903e
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.
2009-01-21 00:07:40 +00:00
adrianp
b0a5bee584
+sendmail
2009-01-19 20:34:33 +00:00
adrianp
3fcbff5331
We need printf too
2009-01-17 21:56:13 +00:00
adrianp
51d191d616
Add a note about additional packages required if bootstrap is in a Solaris
...
Zone.
2009-01-17 21:32:12 +00:00
sketch
6c43cf49d5
/usr/ucb/install cannot handle a Solaris zone with a read-only /usr but
...
writeable /usr/pkg, so use install-sh on Solaris instead.
2008-11-19 16:35:23 +00:00
joerg
8d0d604bc5
bmake is supposed to be standalone and we don't document a requirement
...
of make, so build libnbcompat after bmake using bmake.
2008-10-14 22:50:54 +00:00
joerg
6e80035f26
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.
2008-07-31 13:42:57 +00:00
dbj
079359e425
previous commit also accidentally added default fetch_cmd=/usr/bin/ftp on darwin.
2008-07-20 23:57:36 +00:00
dbj
ddd4c9aaf3
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.
2008-07-20 23:54:48 +00:00
reed
f2dfdebea7
Mention that if the default mk.conf doesn't already exist, the example is
...
copied into place.
2008-06-23 21:12:16 +00:00
reed
b7e90fd789
Remove old note about mk.conf.example file.
2008-06-23 21:11:39 +00:00
joerg
da712f263e
Add a marker for bootstrap packages to allow special cases them during
...
bulk builds.
2008-06-19 18:36:51 +00:00
dmcmahill
fa85ed5bcc
Document the issue and workaround for missing /lib/libattr.la on some RHEL
...
systems.
2008-06-18 21:37:31 +00:00
sketch
045e6bc85b
Bail out if passed --abi on a platform for which we do special-case handling.
2008-06-17 12:11:59 +00:00
sketch
8bb95ad74e
Update notes for using Sun's compiler and 64-bit support.
2008-06-17 11:59:08 +00:00
sketch
8bb177563e
Save SUNWSPROBASE if provided.
2008-06-17 11:50:45 +00:00
sketch
7465f6ce76
Add --abi to set $ABI correctly, avoids the need for CFLAGS hacks.
2008-06-17 11:38:52 +00:00
sketch
eeaed4ba57
If $need_ksh, set TOOLS_PLATFORM.ksh too, else packages with USE_TOOLS+=ksh
...
overwrite the installed dependancy, breaking bulk builds.
2008-06-11 12:47:07 +00:00
tnn
d510667ede
Build install-sh a bit earlier, so it's available before pdksh.
2008-05-24 13:38:33 +00:00
tnn
2be145ec3b
Set need_ksh=yes for SunOS as well. Asked by joerg@
2008-05-23 18:06:44 +00:00
tnn
499593f589
- 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.
2008-05-23 17:49:52 +00:00
agc
23ee2f813b
Remove the text which warns against using a case-insensitive file system
...
on Mac OS X - that hasn't been true for about a year.
2008-05-09 18:39:54 +00:00
agc
f3b1199e8a
Remove the text which asserts that pkgsrc cannot be used on
...
case-insensitive file systems - it hasn't been true for about a year.
2008-05-09 18:37:54 +00:00
agc
8dd14e552e
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.
2008-05-09 18:35:35 +00:00
minskim
6952c62e96
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.
2008-04-30 03:14:55 +00:00
minskim
a82566f9af
Make the --binary-macpkg option compatible with the other binary-kit options.
2008-04-29 22:03:19 +00:00
rtr
9c42693d00
note that if you intend to use gcc 4 on Tiger that you need to download
...
the xcode 2.5 development package. gcc4 that comes with xcode 2.0 builds
broken pkg_install tools.
2008-04-20 02:58:51 +00:00
jlam
84fa8ca684
+ 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.
2008-03-06 04:45:58 +00:00
tron
5acb5cbde8
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".
2008-01-30 22:57:31 +00:00
joerg
e5ec1e7ace
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@.
2008-01-24 14:48:02 +00:00
joerg
1d688ef264
Add --binary-kit, --gzip-binary-kit and --binary-macpkg to bootstrap
...
and retire mkbinarkit. The options take the desired output name as
argument.
2008-01-23 21:12:41 +00:00
rillig
cb7ca2f08d
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.
2008-01-20 19:55:29 +00:00
tnn
41c4b93e60
Update URL for GCC toolchain kit.
2008-01-14 21:32:29 +00:00
minskim
1f53f80860
Make mkbinarykit work on Mac OS X 10.5.
2007-11-03 17:51:08 +00:00
rillig
d2ef0e68c4
Renamed the ignoreusercheck variable to unprivileged, since it does more
...
than just checking whether the bootstrap is run by root. No other
visible changes.
2007-11-01 23:18:54 +00:00
rillig
30bae8ae69
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
2007-10-17 02:45:42 +00:00
tnn
31a9294f62
We can nowadays bootstrap using the native compiler, so note this.
...
g/c some obsolete text.
2007-10-15 22:32:56 +00:00
martti
bd986edbc7
Remove trailing spaces.
2007-10-09 19:19:08 +00:00
rillig
b1ef808a1a
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.
2007-10-09 01:10:19 +00:00
heinz
218b20f444
Pkgsrc bootstrap installs gzip-base on AIX automatically, thus making it
...
unnecessary to provide it outside of pkgsrc.
This solves PR pkg/37030 by Matthew Clarke.
2007-10-02 18:29:55 +00:00
rillig
711951595a
Mention --unprivileged, since pkgsrc runs (almost) great as unprivileged
...
user.
2007-09-29 15:50:16 +00:00
rillig
470ab0a92f
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.
2007-09-08 09:58:14 +00:00
rillig
716ddb1f45
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.
2007-09-07 15:45:14 +00:00