> I've been working on setting up ports a little bit.  I've finally
> gotten to installing OpenBSD (this time on intel instead of mac68k)
> and it uses ports like the other BSDs.
>
> Ports are really nice - basically you can download the entire ports
> tree, or just one.  Then, you change directory into
> /usr/ports/net/wget (for example) and do a make - then a make install.
>
> The system automatically gets the original file, patches it and
> configures it, and builds it for your system.  In the case of OpenBSD,
> it even creates the package and installs THAT when you do a make
> install.
>
> Considering what this could mean for LEAF, consider this: a
> NFS-enabled LEAF system, with / from a full system mounted somewhere.
> Changing directories to /usr/src/ports/net/wget, do a make (pulls the
> file in, patches, builds, compiles) - and a make install.
>
> After the make install is done, the LEAF system now has /tmp/wget.lrp
> and an installed wget binary.
>
> Another possibility: using that full Linux system again, doing the
> same thing - except this time a make install uses scp and a private
> key to copy the file over to the LEAF system, then uses ssh and a
> private key to install the package on the LEAF system.

You might also want to check out the gentoo linux portage system:
http://www.gentoo.org

I've been wanting to look at their configuration & build system (based on
bsd ports, but supposedly more flexible), and see if it could be conscripted
to serve in our "quasi-embedded" environment.  While we're actaully
cross-compiling, a full-blown desktop system has much more in common with
our target platform than the typical embedded system...if we could specify
things like target processor (ie leave out those P4 cache optimizations, and
compile for a [3|4]86), as well as specifying a custom library environment,
I think something like this would work great as a development environment.

Since the gentoo stuff is intended to basically build itself entirely from
source, I think even if it doesn't truly support flexible library managment,
we could probably work around this by making a chroot directory or
something...similar to the way some are running a debian slink development
environment on a more recent disto.

While the gentoo stuff looks promising, I have yet to play with it...where's
all the time go?  Regardless, if you're wanting to play with a bsd style
ports sytem on linux, Gentoo and portage are AFAIK, the way to go.

Charles Steinkuehler
http://lrp.steinkuehler.net
http://c0wz.steinkuehler.net (lrp.c0wz.com mirror)



_______________________________________________
Leaf-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-devel

Reply via email to