Skip to content
jrmarino edited this page Apr 20, 2023 · 27 revisions

Quickstart guide for DragonFly/FreeBSD/MidnightBSD users

Ravenports requires bootstrapping on each supported platform.

Quickstep 1. Obtain bootstrap ravensw(8) for the platform

> su
> fetch http://www.ravenports.com/repository/ravenports-downloader.sh -o - | /bin/sh

This download script installs the latest ravensw(8) and sets the ravensw.conf to match the platform's release.

Note 2: ravensw(8) is functionally very similar to FreeBSD's and DPort's pkg(8). The former has been modified with different configuration names and different defaults to avoid clashing with the standard pkg and programs with similar names (e.g. on OpenSolaris). Also, ravensw(8) compresses with Zstandard which the stock pkg(8) did not at the time.

Quickstep 2. Fetch repository information

/raven/sbin/ravensw upgrade

Quickstep 3. Install Ravenports metaport

For DragonFly:

/raven/sbin/ravensw install -y ravenports-single-dragonfly

For FreeBSD:

/raven/sbin/ravensw install -y ravenports-single-freebsd_amd64

For MidnightBSD:

/raven/sbin/ravensw install -y ravenports-single-mbsd_amd64

Quickstep 4. Configure Ravenadm

/raven/bin/ravenadm configure

The default configuration should be okay. Just hit RETURN key.

Quickstep 5. Get latest version of ravenports

/raven/bin/ravenadm update-ports

Quickstep 6. Try building some port

/raven/bin/ravenadm build libxml2
/raven/bin/ravenadm build less:color

That should result in functional Ravenports build system.

Quickset 7. Update search paths and rc.conf directories

Set ~/.profile, ~/.cshrc, etc files to add "/raven/sbin" and "/raven/bin" to the PATH environment variable. You may also wish to remove "/usr/pkg/" and even "/usr/local/" paths at the same time.

add the following to /etc/rc.conf file:

local_startup="/raven/etc/rc.d"

Additional references:

  1. Current list of available ports
  2. standard command descriptions