Adding mc to mfsBSD

Apologies if this is the wrong forum, but I wasn't sure which was the appropriate one....

I've recently been looking at mfsBSD http://mfsbsd.vx.sk/ which looks like a really useful package for maintenance purposes and was hoping to incorporate Midnight Commander into the image - ( I'm lost without it).

Has anyone tried to do this? If so could you provide any hints or tips?
 
Where do I find a pkg for mc?

Code:
% pkg search -f mc-4.8.14_1
mc-4.8.14_1
Name           : mc
Version        : 4.8.14_1
Origin         : misc/mc
Architecture   : freebsd:10:x86:64
Prefix         : /usr/local
Repository     : FreeBSD [pkg+http://pkg.FreeBSD.org/FreeBSD:10:amd64/quarterly]
Categories     : shells misc
Licenses       : GPLv3
Maintainer     : woodsb02@gmail.com
WWW            : http://www.midnight-commander.org/
Comment        : Midnight Commander, a free Norton Commander Clone
Options        :
    DOCS           : on
    EDITOR         : on
    ICONV          : on
    NCURSES        : off
    NLS            : on
    SLANG          : on
    SMB            : on
    SUBSHELL       : on
    X11            : on
Shared Libs required:
    libssh2.so.1
    libslang.so.2
    libintl.so.8
    libgmodule-2.0.so.0
    libglib-2.0.so.0
Annotations    :
Flat size      : 6.34MiB
Pkg size       : 1.61MiB
Description    :
GNU Midnight Commander is a user-friendly yet powerful file manager
and visual shell, useful to novice and guru alike. It provides a
clear, user-friendly, and somewhat protected interface to a Unix
system while making many frequent file operations more efficient and
preserving the full power of the command prompt. You will wonder how
you could ever live without it.

WWW: http://www.midnight-commander.org/
See FreeBSD.org pkg mirror site for details.
 
There is pkg-fetch(8) that can be used for downloading pkg packages without installing them:

$ pkg fetch -U -o /tmp misc/mc

Edit: The -U option allows downloading as a normal user.
 
I've just tried building mfsBSD and am having trouble interpreting the instructions...

3. Distribution or custom world and kernel
You may choose to build from a FreeBSD distribution (e.g. CDROM), or by
using make buildworld / buildkernel from your own world and kernel
configuration.

To use a distribution (e.g. FreeBSD cdrom), you need access to it
(e.g. a mounted FreeBSD ISO via mdconfig) and use BASE=/path/to/distribution

To use your own but already built world and kernel, use CUSTOM=1
If you want this script to do make buildworld and make buildkernel for you,
use BUILDWORLD=1 and BUILDKERNEL=1

4. Creating images

You may create three types of output: disc image for use by dd(1),
ISO image or a simple .tar.gz file

Examples:

a) disc image
make BASE=/cdrom/usr/freebsd-dist
make BASE=/cdrom/10.2-RELEASE
make CUSTOM=1 BUILDWORLD=1 BUILDKERNEL=1

That seems straightforward enough... I have already built a distribution which was installed in /pxe, so I presumed that all I needed to do was run
make BASE=/pxe

When I run this I get

Code:
Cannot find directory "/pxe/base"
*** Error code 1

Stop

What am I doing wrong?
 
There is pkg-fetch(8) that can be used for downloading pkg packages without installing them:

$ pkg fetch -U -o /tmp misc/mc

Edit: The -U option allows downloading as a normal user.

I just noticed that there are a lot of dependencies for mc... Is there also a way of downloading them automatically along with mc?
 
Back
Top