quickstart df

jrmarino edited this page Jun 21, 2018 · 17 revisions

Quickstart guide for DragonFly testing

Ravenports requires bootstrapping on each supported platform. Currently it has been bootstrapped for DragonFly, FreeBSD64, Linux x86_64 and Solaris/Illumos.

Quickstep 1. Obtain bootstrap pkg(8) for DragonFly

A static version of pkg(8) has been built for DragonFly 5.0 and later. It has been prepackaged along with an initial configuration file to allow for quick installation. To obtain the tarball:

fetch http://www.ravenports.com/repository/raven-dragonfly-bootstrap.tar.gz

Note: There are two reasons the existing pkg(8) isn't used:

The ravenports repository is wildly distinct from the standard DPorts repositories, so having one pkg(8) handling both can easily lead to stock DPorts packages getting removed. The major reason is that Ravenports packages are compressed with the Zstandard algorithm which the stock pkg(8) does not recognize.

Quickstep 2. Extract contents

To extract the contents to /raven:

tar -xzf raven-dragonfly-bootstrap.tar.gz -C /

edit /raven/etc/pkg.conf to add the following line:
ABI = "dragonfly:5.0:x86:64"; (now present in provided pkg.conf)

Quickstep 3. Fetch repository information

/raven/sbin/pkg-static upgrade

Quickstep 4. Install Ravenports metaport

/raven/sbin/pkg-static install -y ravenports-single-dragonfly

Quickstep 5. Configure Ravenadm

/raven/bin/ravenadm configure

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

Quickstep 6. Get latest version of ravenports

/raven/bin/ravenadm update-ports

Quickstep 7. Try building some port

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

That should result in functional Ravenports build system.

Quickset 8. 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:


Additional references:

  1. Current list of available ports
  2. standard command descriptions
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.