openbsd-ports/infrastructure
espie 821242006f Clean do-fetch target: it can depend on the files it's trying to fetch.
Plays some make trickery to get all details correct.
Numerous benefits:
- make automatically handles badly fetched files,
- possible extension to special-case *each* file fetch,
- can be easily parallelized.

Similar rules for fetch-list soon coming.

Also simplify CDROM handling while we're at it, no need for 10 knobs
when one suffices.
1999-12-24 00:27:58 +00:00
..
build Tweak the packaging slightly 1999-10-07 14:22:36 +00:00
db Add packages by popular and godly demand. 1999-09-28 21:55:25 +00:00
fetch cleaner 1999-05-28 19:21:42 +00:00
install Make it work under YP, and fix an obvious bug in an RE 1999-08-21 20:56:05 +00:00
mk Clean do-fetch target: it can depend on the files it's trying to fetch. 1999-12-24 00:27:58 +00:00
package use tar's q flag for speed 1999-10-26 15:37:42 +00:00
templates Kill USE_EGCC/USE_EGXX, since 2.6 includes both as standard compilers. 1999-12-03 14:24:38 +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