how can I add samba to my (space starved) flash-based freebsd system ?

user user at dhp.com
Sun Oct 9 20:26:31 PDT 2005


I have a FreeBSD 5.4-RELEASE system installed on a 256M flash card.  I did
not install it in any special way - I just booted off CD and installed
FreeBSD as if it were any other disk drive.

I did not install the ports tree, and I did not install perl.

I have 2.2 Megabytes of free space (although given the 10% pad, I suppose
I really have something like 20 megs ...)

Filesystem    1K-blocks       Used      Avail Capacity  Mounted on
/dev/ad0s1a       237806    216576       2206    99%    /

-----

So I need to install samba.  I thought it would be easy - I went to
another 5.4-RELEASE system, and did a `make package` in the samba ports
directory ... but that did not work.  It needs all sorts of dependencies,
like perl and cups and jpeg and tiff ...

So what do you suggest I do ?

I will not be using the printing capabilities of samba, so I should not
need cups ... and I have no idea why it depends on jpg and tiff ... and I
would like to see if I can even install samba without perl ...

but the most pragmatic approach would be that I need to build a cups-less
(and hopefully tiff/jpeg-less) samba package, and also a perl package, and
install them both ... the problem is space ... and god knows how many
dependencies perl will have ...

suggestions ?



More information about the freebsd-small mailing list