Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
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:
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
Quickstep 4. Install Ravenports metaport
/raven/sbin/pkg-static install -y ravenports-single-dragonfly
Quickstep 5. Configure Ravenadm
The default configuration should be okay. Just hit RETURN key.
Quickstep 6. Get latest version of ravenports
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: