openbsd-ports/infrastructure
bernd 64d1a3eb01 It's possible that the package version we get from the ports tree is
different than expected. Teach handle_dependency() how to cope with that.

Debugged with msf@ some time ago. Fix tested by msf@, sturm@ and steven@.

This also fixes the following error some people have seen:

"Can't use an undefined value as a HASH reference at
/usr/ports/infrastructure/package/check-newlib-depends line 234."

"go for it" espie@
2007-01-11 18:45:18 +00:00
..
build avoid weird error if we run this without patches 2006-11-21 11:18:34 +00:00
db add _gonzui 2007-01-11 15:20:22 +00:00
fetch Failed retrieval of a ports distfiles can leave a file containing 2005-06-04 22:53:03 +00:00
install cache mtrees read from dependencies so that we don't parse the same 2007-01-10 01:41:29 +00:00
mk Fix typo. This unbreaks 'make update'. 2007-01-04 11:34:14 +00:00
package It's possible that the package version we get from the ports tree is 2007-01-11 18:45:18 +00:00
plist add a list of sh packages i use for building; ok pvalchev@ 2007-01-04 13:34:06 +00:00
templates sync packetstorm mirrors with their official mirror list. 2007-01-10 23:19:19 +00:00
README sync a bit with reality.. 2006-10-20 09:45:21 +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.
	
package/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 plist/i386 | build/find-build-order
	outputs a list of stuff that actually needs to be built to obtain those
	packages, 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.

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

db/user.list
	List of users and groups created by the ports (or that are advised
	to be added.

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

build/outdated-perl-ports
	Compare perl ports INDEX entries with the latest module
	versions available from CPAN.

templates/Makefile.template
	Template Makefile that may be of use when making a port.