Commit Graph

287 Commits

Author SHA1 Message Date
Kris Kennaway
ef6266db84 Correct a message 2002-09-15 22:05:54 +00:00
Kris Kennaway
ce8ff4da93 Conditionalize one more thing on i386 2002-09-15 22:04:05 +00:00
Kris Kennaway
a959b8bdac Optimize the html output by putting multiple missing files in the same
table row, instead of making a new row for every single file.  This
cuts down the generated page size drastically, improving rendering times.

Submitted by:	Edwin Groothuis <edwin@mavetju.org>
PR:		ports/40962
2002-09-15 22:02:20 +00:00
Kris Kennaway
2eda2e760e Add a bunch of new failure modes (mostly to do with ports failing on 5.0) 2002-09-15 21:58:46 +00:00
Kris Kennaway
538513b7da Use PKGSUFFIX from buildenv 2002-09-15 21:57:52 +00:00
Kris Kennaway
d50285d854 Add PKG_PATH so packages can be found automatically (not sure what caused
this to break).  Support both .tgz and .tbz packages.
2002-09-15 21:57:05 +00:00
Kris Kennaway
b2abae3101 .tbz packages are now standard 2002-09-15 21:56:08 +00:00
Kris Kennaway
328a27e8b5 * XFREE86_VERSION=4 is now standard
* Add PKGSUFFIX and PKGZIPCMD variables
2002-09-15 21:55:52 +00:00
Kris Kennaway
17048bd504 * Support multiple arches and conditionalize i386-only stuff
* Fetch perl package on -current
2002-09-15 21:55:08 +00:00
Kris Kennaway
ec25ae9a13 * Catch up to .tbz packages
* Hack to use perl package on -current (needs to be done better somehow)
* Use buildenv
2002-09-15 21:53:59 +00:00
Kris Kennaway
8ed01ab91c Check for duplicate entries in INDEX and warn about them.
Submitted by:	Martin Heinen <martin@sumuk.de>
PR:		ports/33196 (based on)
2002-08-31 05:46:25 +00:00
Maxim Sobolev
2151ac0d94 Correct usage example. 2002-07-16 08:13:54 +00:00
Hye-Shik Chang
cd4a3ff133 Add l10n prefix to default module name.
Approved by: will
2002-07-07 00:05:11 +00:00
Kris Kennaway
759c4f8b14 Allow packages to be installed in the build chroot; this is needed
for 5.x package builds since the pnohang script is written in perl,
which was removed from the base OS.
2002-06-06 20:58:52 +00:00
Kris Kennaway
79fb8478c2 Only run ldconfig -aout commands on i386
Correct some build environment variables
Exit with code 255 if the port build failed uncleanly
2002-06-06 20:55:57 +00:00
Will Andrews
46c1ad877a Use correct variable for symlinking src scripts. 2002-06-01 22:44:50 +00:00
Trevor Johnson
27ef913f54 Support PATCH_WRKSRC. See
http://people.freebsd.org/~trevor/ports/update-patches-1.411.diff
for the accompanying patch to bsd.port.mk.

PR:	24292
2002-05-25 15:15:41 +00:00
Will Andrews
94ebfe0c5f Track setup.sh usage. 2002-05-20 08:29:21 +00:00
Will Andrews
032f980d96 Use the right variable name. 2002-05-20 08:16:44 +00:00
Will Andrews
90405e668b Use a RE to find the X dependency instead of hardcoding. 2002-05-20 07:50:16 +00:00
Will Andrews
4230758a38 Streamline instructions a little more. 2002-05-20 07:31:51 +00:00
Will Andrews
13f0dec174 Add this makefile to help people who are performing package splits to
generate the correct environment in which to do them.
2002-05-20 07:19:07 +00:00
Will Andrews
91a4623523 Add CD configs for use by these scripts. 2002-05-20 07:14:42 +00:00
Will Andrews
7fde760081 More useful exit if dir not passed. 2002-05-16 03:24:44 +00:00
Will Andrews
a2d1f26f29 Accept dir as argument instead of hardcoding. 2002-05-16 03:21:44 +00:00
Kris Kennaway
abd2d0f62e - Catch up to buildenv changes.
- Always update UNAME_TARGET with each build
- Populate mtree hierarchies better
2002-05-13 03:43:07 +00:00
Kris Kennaway
7e69da3672 Comment out the kernel building and just link to kernel.GENERIC. 2002-05-13 03:40:20 +00:00
Kris Kennaway
2982df6210 Zap some unused code. Catch up to buildenv changes. 2002-05-13 03:30:21 +00:00
Kris Kennaway
68f5d86cb9 - Switch default to XFree86-4.x for all branches
- buildenv() takes extra argument of the portbuild directory
- Add a todo comment
2002-05-13 03:25:39 +00:00
Maxim Sobolev
76499dccc8 Fix breakage introduced in the previous commit. 2002-05-10 14:16:18 +00:00
Maxim Sobolev
11e6c08814 - Make ${DISTDIR} auto-detection actually working;
- unbroke when either ${PORTSDIR} or ${DISTDIR} is symlink.
2002-05-10 09:14:40 +00:00
Maxim Sobolev
58f55ea1c5 Allow overriding ${PORTSDIR} and respect ${DISTDIR} settings.
Submitted by:	Stijn Hoop <stijn@win.tue.nl>
2002-05-07 14:04:05 +00:00
David E. O'Brien
b7cbdecb27 * Change path directory separator character back to _. The problem is "::"
is it makes patch names longer, and many shells autoexpand it to "\:\:"
which makes them even longer.
* Note that this file uses ts=4.

Approved by:	sobomax
2002-04-18 17:46:42 +00:00
Maxim Sobolev
78e1e7573e Fix breakage introduced in previous commit when EXTRA_PATCHES isn't defined. 2002-04-17 10:58:57 +00:00
Maxim Sobolev
ede6fd9dae Recognise EXTRA_PATCHES. 2002-04-15 21:04:58 +00:00
Steve Price
0b75551a95 Set the $scripts directory to the same as $dir to make these more useful
in their "as committed" layout.
2002-03-27 04:48:14 +00:00
Steve Price
76708c716f This file is nearly a verbatim copy of setup.sh so this one is
redundant.
2002-03-27 04:44:39 +00:00
Will Andrews
f0aedc56a5 Add a missed file which acts as a driver for the others.
Add documentation worked on by Steve and myself for ports freeze and
package split procedure.  Very minimal, very 4.5 specific, needs work.
2002-03-27 00:52:59 +00:00
Will Andrews
a56a8c6935 Add the scripts used to break up the package collections for a release.
Some work/cleanup here would probably be desirable.  I'm committing them
now to give others the ability to reproduce these package splits and help
with making these scripts better.  The README should have some more
documentation in the future.

A better solution to the package set size problem would be to teach
sysinstall to ask for the CD on which a particular package is when it
needs to add it, but for now this will do.

Requested by:	murray
Written by:	steve
Discussed with:	steve, kris (some time ago)
2002-03-27 00:45:47 +00:00
Kris Kennaway
ba656274f6 * Clean up this script a bit
* Add a trap handler to try and clean up the build if it is interrupted
  by a signal (one problem with the previous version is that package builds
  whice are interrupted by ptimeout because they are stuck, leave their
  working files lying around in the chroot).
* Switch to NFS v3 mounts instead of v2
* Autogenerate the version string to report in uname within the chroot,
  based on the version string in the head of the CVS branch being built.
* Copy packages via cp from the NFS mount, not scp.
2002-03-25 00:24:03 +00:00
Kris Kennaway
1b934126ce * Clean up this script a bit
* Require an additional <tmpdir> argument so the client knows where its
  temp directory is.
* Mount the portbuild directory readonly via NFS, and copy files that
  way instead of via scp, which has too much overhead
2002-03-25 00:20:34 +00:00
Kris Kennaway
e1b376a273 Detect a couple more failure modes 2002-03-25 00:18:00 +00:00
Kris Kennaway
3f8e160d36 Add MASTER_SITE_OVERRIDE to the list of variables propagated, so that
the cluster machines preferentially fetch an existing file from ftp-master
2002-03-25 00:16:29 +00:00
Kris Kennaway
8668b4f30b Update OSVERSIONS. This needs to be switched to buildenv. 2002-03-16 05:51:02 +00:00
Kris Kennaway
ad945e95f4 Use buildenv for setting environment variables, and tidy up a bit. Fix
typo s/UNAME_VERSION/UNAME_TARGET/
2002-03-16 05:50:24 +00:00
Kris Kennaway
42b02fbb89 Pull environment variables from buildenv, and tidy up a bit. 2002-03-16 05:48:03 +00:00
Kris Kennaway
6d24580fc9 Collect some more environment variables here and tidy up a bit 2002-03-16 05:46:33 +00:00
Kris Kennaway
5826701f06 Clean up index generation:
* Don't assume the script will be called from the ports directory

* Use buildenv to set environment variables

* Set LOCALBASE and X11BASE to dummy variables to prevent the ports tree
  from picking up packages installed on the host system, and patch up
  the generated index at the end
2002-03-11 11:54:40 +00:00
Kris Kennaway
530ba84e62 Set all of the <bsd.port.mk> control variables to be used in port/package
operations in one central place, instead of doing them piecemeal all over
the place.  This also includes the ability to customize settings per
port branch (e.g. XFREE86_VERSION)

Also, instead of hardcoding values of OSVERSION and OSREL which are going
to get forgotten again, pull them out of the source tree in ${branch}/src
so they track the head of the branch.
2002-03-11 11:52:15 +00:00
Kris Kennaway
909460e7dd Zap support for 2.2 and 3.x 2002-03-11 03:56:20 +00:00