openbsd-ports/infrastructure
sthen 712ca2520a Set PERL_USE_UNSAFE_INC=1 in CONFIGURE_ENV and TEST_ENV for cpan ports,
as is now done upstream by cpan tools. This is currently unused but in
perl 5.26+ adds "." to the module include path (@INC) as a large number
of cpan ports currently rely on this at build time.

espie@ agrees that this is sane.
2019-02-04 20:53:09 +00:00
..
bin more precise error message as suggested by Kurt Mosiejczuk. 2019-01-22 14:52:49 +00:00
db add deb.debian.org to MASTER_SITE_DEBIAN. ok sthen 2019-01-24 20:56:52 +00:00
fetch
lib Avoidharmless trace when user forcefully disconnects from the unix socket 2019-01-31 17:05:18 +00:00
mk Set PERL_USE_UNSAFE_INC=1 in CONFIGURE_ENV and TEST_ENV for cpan ports, 2019-02-04 20:53:09 +00:00
package also moved to bin 2018-09-07 09:05:56 +00:00
templates FULLPKGNAME -> PKGSTEM 2018-09-04 13:40:26 +00:00
README

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

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.