How to build only restricted packages?

Volker Stolz stolz at i2.informatik.rwth-aachen.de
Wed Aug 6 00:38:51 PDT 2003


Am 06. Aug 2003 um 07:15 CEST schrieb Pedro F. Giffuni:
> One "feature" I'd like to have is to build only packages that the FreeBSD
> distribution cannot burn on the CDs and keep them for my personal use. Is there
> an easy way to do this?

find /usr/ports/ -name Makefile -maxdepth 3 | xargs egrep -l '^RESTRICTED'

might be a good approximation, yielding 160 hits, so you might want to do
some post-processing on the list, e.g. by comparing them against your list
of actually installed packages.

Volker
-- 
http://www-i2.informatik.rwth-aachen.de/stolz/ *** PGP *** S/MIME
rage against the finite state machine 


More information about the freebsd-ports mailing list