openbsd-ports/infrastructure
espie 9938b28564 allow the fetcher part to work as a "true" mirror maker:
- keep a cache of checked checksums as ${DISTDIR}/distinfo
- read existing cache on startup, don't need to recheck those files.
- split checksum_task: update the cache after the checksum is done
- create the by_cipher/sha256/... entries
- in fetch_only mode, do a "long" checksum on existing files not in the cache.

If you ever have doubts on the integrity of already checked files, just
rm ${DISTDIR}/distinfo.
2011-12-31 11:20:00 +00:00
..
bin on SIGINFO, dump T/B hashes into info.log (and mark the display for refresh, 2011-12-10 14:48:40 +00:00
db Update systrace.filter to allow rthreads to work. 2011-12-28 09:39:20 +00:00
fetch
lib allow the fetcher part to work as a "true" mirror maker: 2011-12-31 11:20:00 +00:00
man/man1 turn -J into an option taking a number. 2011-12-05 16:10:00 +00:00
mk In MAKE_ENV, quote PICFLAG as it may contain spaces. Other variables might 2011-12-21 05:16:04 +00:00
package devel/quirks is important, enforce adding it to the plists in check-plist 2011-11-28 12:59:50 +00:00
plist 5.0 CD packages 2011-08-18 19:14:26 +00:00
templates Remove MODULE from .poison; it's too generic and breaks at least 2011-12-04 16:31:52 +00:00
README - move to bin and adjust paths where needed, manpages will follown soon 2011-11-28 10:30:22 +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

bin/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.

bin/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.

bin/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.

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.

bin/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.