0e89359ef4
If LOCK_CMD, UNLOCK_CMD and LOCK_DIR are defined, those are used to perform `big-lock' style locking on top-level targets, such as extract, patch, build. The internals of the ports tree do not use any finer grained locking. Those top-level targets now redirect to _internal-targets, without any behavioral change. Any dependency computation will recurse to another directory, and invoke a top-level target, thus triggering the locking of the dependency. All locking is done using FULLPKGNAME, except for fetch with uses the DISTFILES names for independent files. If no locking is desired, the top-level targets simply redirect to the _internal-targets. The cost is close to zero: make just needs to handle an extra ~20 phony targets. Much testing and approval by brad@, naddy@, pval@, fries@ and other people. Thanks to niklas@ for some useful discussion. |
||
---|---|---|
.. | ||
build | ||
db | ||
fetch | ||
install | ||
mk | ||
package | ||
patches | ||
plist | ||
templates | ||
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 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 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 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 build/outdated-perl-ports compare perl ports INDEX entries with the latest module versions available from CPAN