Commit graph

303 commits

Author SHA1 Message Date
Peter Pentchev
77ec5aff0a Add two utilties for listing and stashing away package files obtained
from recursive dependency builds a la:

  make DEPENDS_TARGET='install package clean' all install package clean

The pkg-list script obtains a list of the packages in the dependency
directories; the pkg-stash script moves them away to a predefined
directory, adding a timestamp to the package file name.  This is
convenient for keeping ready-built packages for system rescue
activities.
2003-01-08 15:40:08 +00:00
Alan Eldridge
ee95760eb8 unbroke addport by petef 2002-11-19 14:30:54 +00:00
Kris Kennaway
520ab052d8 Convert this to buildenv to make it actually work properly. 2002-11-18 10:12:47 +00:00
Pete Fritchman
b0ca12cd09 Use 'cvs ci -F ...' instead of setting the log file with EDITOR="cp ...".
This fixes addport for me on -stable (cvs was erroring out), and also
fixes addport when you have the EDITOR environment variable set.

Approved by:	will
2002-11-13 15:00:00 +00:00
Kris Kennaway
115bbb55f9 Fix the html output of this script. There was neither a closing
body tag nor a closing html tag.  In general, browsers work without
these, but Konqueror in particular was displaying some artifacts.

Also make sure empty cells have an nbsp directive; eliminate a bogus
case for Aff.; and change Date build to Build date.

Submitted by:	Mark Linimon <linimon@lonesome.com>
PR:		www/45021
2002-11-10 08:55:33 +00:00
Kris Kennaway
78395efc95 Catch up to lots of changes from bento/beta:
* Update list of quickports to include kde3

* Add ability to restart builds (-restart)

* Change default to build packages for non-cdrom use (associated option name
  inverted from -nocdrom to -cdrom)

* Cope with .tgz or .tbz packages

* Use buildenv framework

* Use cvs update -PdA instead of -Pd when updating ports/docs tree

* Always delete restricted packages after a build run, since they are
  published on the website.

* Minor cosmetic changes
2002-11-08 22:20:48 +00:00
Kris Kennaway
a3be6877e5 Revamp this script:
* generate an interim .logs file containing the data to be presented in
  the html files (also useful for other consumers, like fenner's
  per-maintainer error logs)

* Generate 5 different summaries of the error data, sorted by port name,
  maintainer, category, build error, builddate

* Improve the table html code so it renders faster

* Add a few new failure reasons

Submitted by:	edwin (based on)
PR:		ports/43927
2002-11-03 22:41:40 +00:00
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