[Bsdrp-devel] package-recursive
Router distribution based on FreeBSD with FFRouting and Bird
Brought to you by:
cochard
From: Emre G. <em...@gu...> - 2014-09-28 21:31:29
|
Is there any reason why 'package-recursive' target is not used to automatically generate port dependencies in the 'add_port' command? Since this approach may introduce a number of ports that are not necessary for run-time system, those could then be removed by 'pkg autoremove' in the 'cleanup_ports' function... I tested it a few times with something like 'databases/rrdtool' that has a notoriously long dependency list. It seems to work, although I have no idea if 'package-recursive' could be relied upon for all the ports that are out there. For instance, 'security/bro' has an optional dependency 'ftp/curl', which is normally pulled in during buildworld. But when disk image is generated, 'ftp/curl' is not added automatically (needs a redundant add_port "ftp/curl"). There is a comment in the nano file referring to a broken system, but I don't know if it still applies to the FreeBSD 10 release cycle. Regards, Emre. |