openbsd-ports/infrastructure
espie 92531f47ed let build of dependencies that are not 'install' or 'package' happen
inside a subdirectory of the working directory, instead of elsewhere.
Allows packages BULK=Yes to work correctly, and increase reproducibility
of builds.

tested by naddy@ through several incarnations.

Ports that use patch/configure/build dependencies must be adjusted for this.
Pleasingly enough, the adjusted version is often simpler.

The change uses an internal _MASTER variable to recall the list of ports
built during dependencies, for less confusion.
2002-04-24 21:29:26 +00:00
..
build do not consider static libraries if dynamic libraries are around. 2002-03-04 13:39:34 +00:00
db - sync config.guess 2002-03-02 23:59:38 +00:00
fetch Handle cases like lgrind 2000-12-19 15:10:37 +00:00
install move stuff around, so that functions are at beginning of file. 2002-04-20 19:07:25 +00:00
mk let build of dependencies that are not 'install' or 'package' happen 2002-04-24 21:29:26 +00:00
package Register dirrm collisions as well. 2002-03-19 22:20:50 +00:00
patches Update libtool patches so that libtool recognizes vax as a static libs-only 2002-04-03 14:44:14 +00:00
templates remove first 2 dist sites for MASTER_SITE_KDE. 2002-04-07 03:21:34 +00:00
README Document what currently exists 1999-10-26 15:38:06 +00:00

This directory does not hold ports, but rather stuff to help
with building specific ports, or with checking packages.

Better documentation will be written as this progresses.

Quick list of what exists, most useful stuff first

build/bundle-readmes: 
	create README.html files and bundle them as one tar archive.

fetch/check-distfiles
	heuristic to check the whole contents of /usr/ports/distfiles against
	all MD5 files in the ports tree.
	
packages/check-dependencies
	Check dependencies for all packages in the current directory.
	Basically, verifies that the tsort in bsd.port.mk did their job.

build/find-build-order
	used such as cat db/essentials | build/find-build-order
	outputs a list of stuff that actually needs to be built to obtain those
	packges, in a suitable order for removing backward dependencies.

	Optional arg `build' or `run' to take only build or run dependencies
	into account.

	Major defect: tsort is not a stable sort, so find-build-order will
	rearrange the list it gets as input.

build/out-of-date
	compare installed registered  packages with INDEX, try to find out 
	of date ports.

install/make-plist
	perl helper for the make plist target

db/network.conf
	Distfiles configuration. Tweakable by the user

fetch/check-license
	legacy script used by Marco to check the LICENSE files

install/create-user
	simple script to create new users account, based on db/users.db