openbsd-ports/infrastructure
espie 191af91368 revisit old codes, rewrite DISTFILES handling using
.for v1 v2 in list
techniques, which make it clearer.

Add new syntax to distfiles, which is not painful to do now, and support it
for dpb fetch as well: a distfile can now be file{url} to specify a different
result from the url (this allows really weird naming scheme on http sites
to give us consistent files, which has become a nagging problem).

This still doesn't mean you shouldn't encourage upstream to do the right thing
and provide nice archive urls.

extend the fetch process in bsd.port.mk to work more like dpb does, namely
download to intermediate "part" files that don't vanish and use -C if
necessary.

Both those mean that FETCH_CMD has to work like ftp, including the -C and
-o support...

discussed with various people.
2013-05-08 08:38:36 +00:00
..
bin add basic mode support for pkg_subst, ok espie@. example use: 2013-04-27 15:43:42 +00:00
db As found by dhill, a commonly used autoconf fragment is buggy and only 2013-04-16 12:09:36 +00:00
fetch
lib revisit old codes, rewrite DISTFILES handling using 2013-05-08 08:38:36 +00:00
man/man1 add ! to ports that prevent junk from happening, so that you know why it 2013-04-30 10:22:36 +00:00
mk revisit old codes, rewrite DISTFILES handling using 2013-05-08 08:38:36 +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.3 CD packages 2013-04-02 14:27:59 +00:00
templates MASTER_SITE_KDE 2013-04-06 19:57:48 +00:00
README zap a bundle-readmes mention 2012-08-27 12:30:20 +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

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.