I'm trying to build a modified NAS4Free 9.0.0.1 image and I have a few questions. I'm following these directives:
- http://wiki.nas4free.org/doku.php?id=do ... om_scratch
Basically I need to add some ports and slightly modify compile options to a few existing ones. So far I can build NAS4Free as long as:
- firefly/fuppes are removed from the ports list (I don't need them anyway)
- lcdproc is patched (see topic here: viewtopic.php?f=69&t=1243)
- transmission-2.61.tar.bz2 is downloaded manually and copied to /usr/ports/distfiles/ (the build script fails as it doesn't find the tarball).
At this point I have 2 questions:
1. what is the best way to change compile options to NAS4Free ports (ex. +FPM to php5)? Should I edit the Makefile? How can I make the options dialog popup?
2. what is the best way to add packages? For example, I can think of installing a port on my FreeBSD system, then pkg_create port, then chroot /usr/local/nas4free/rootfs and pkg_add...
How you, NAS4Free devs, would do this customization? Thanks a lot in advance.
Last point, for NAS4Free to build on amd64, the lib32 distribution must be installed on the FreeBSD platform: I know it is checked by default on the FreeBSD Installer, but many people (like me) are used to install minimal systems

Thanks again for your suggestions.