16ce58292a
original idea from jsyn@, discussed and first tests at c2k3 Warning! - this commit is different from all patches sent around, please remove them before updating - due to a few bugs in systrace this is currently not ready for the casual porter and several ports will fail to build, you've been warned The idea of this patch is to help a porter when developing a new port. With systrace the configure, build and fake stages are not allowed to open network connections or write outside some well defined directories. This way misbehaving programs will be noticed due to logfile entries in /var/log/messages and the port can be fixed. There is generally no need for endusers to use this, as the checksum ensures that ports in the future will behave the same as they did when porting. :) To activate systrace'd port building, set USE_SYSTRACE=Yes (e.g. in /etc/mk.conf) tested by some people, ok espie@ |
||
---|---|---|
.. | ||
build | ||
db | ||
fetch | ||
install | ||
mk | ||
package | ||
patches | ||
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 db/essentials | build/find-build-order outputs a list of stuff that actually needs to be built to obtain those packges, 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