Commit Graph

296 Commits

Author SHA1 Message Date
Kris Kennaway
7c78297dc2 Add C versions of the pnohang and ptimeout scripts (previously written in
perl).  Thanks to all those who submitted versions of these.

Submitted by:	marcus (based on)
2002-11-03 04:49:39 +00:00
Kris Kennaway
da8d4e6bda Use the correct filename for the FreeBSD version string used by the
uname script.  Mount the docs from the correct location.  Remove the
hack to pkg_add perl into the chroot environment, now that the scripts
no longer rely on it.
2002-11-02 04:04:14 +00:00
Kris Kennaway
78774e2719 Read FTP url from ${ftpurl}. Remove hack to fetch perl package into the
bindist now that it is no longer required.
2002-11-02 04:01:54 +00:00
Kris Kennaway
52918465c1 Support either .tgz or .tbz packages 2002-11-02 04:00:18 +00:00
Kris Kennaway
a76f0d1da4 Add FTP_PASSIVE_MODE. Build tgz packages on 4 and 4-exp, and tbz on 5. 2002-11-02 03:59:45 +00:00
Will Andrews
e9a43d0120 I never thought I'd change this code, but a change was required to make
sure cvs -R is enforced for freefall !=n cvs.  And it's a Bad Thing(TM)
that a piece of code addport depended on wasn't in the CVS tree anyway.
2002-10-14 08:47:42 +00:00
Will Andrews
59a2c2fb8b Modifications to support ncvs.freebsd.org != freefall.freebsd.org. This
actually simplifies some of the code and makes other parts more complicated.

Tested by:	www/mod_filter && (after bugfixes) sysutils/sjog
Noticed by:	ijliao (by way of peter)
2002-10-14 08:45:57 +00:00
Will Andrews
1bd9bb95e8 Add 650MB for the 4th CD since it's all just packages. 2002-10-08 04:23:59 +00:00
Murray Stokely
048d0b8a8e Increase the available space for packages on disc #1 of the package
split.

Approved by:	portmgr (will), re
2002-10-08 04:08:39 +00:00
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