DragonflyBSD port procedure

Justin Sherrill justin at shiningsilence.com
Tue May 13 19:59:09 PDT 2025


It already exists in ports/dports.  It's not showing up to install
because the build fails on DragonFly.  You can see the reason for the
most recent failure by looking it up on the build machine, ironman.

https://ironman.dragonflybsd.org/dports/snap-failures/Report/  (search
for "htop")

You'll see a link to the logfile of the failure:

https://ironman.dragonflybsd.org/dports/snap-failures/sysutils___htop.log

It fails when applying some DragonFly-specific patches.  My first
guess is that the version of htop changed and so the patches no longer
apply cleanly.  You can go through the process on the page you linked
about dports and build the whole toolset so you can duplicate the
error and try to change the patchfiles to get them to work.  You could
pull down the patches by themselves (
https://github.com/DragonFlyBSD/DPorts/tree/master/sysutils/htop ) and
try applying them as a shortcut, though it may not help anything if
the error isn't obvious.

On Tue, May 13, 2025 at 5:49 PM Sayed Mohammad Badiezadegan
<mbzadegan at gmail.com> wrote:
>
> Hi Everybody,
>
> I have a question about porting "htop" to DragonflyBSD Dports.
>
> I installed "htop" on my DragonFlyBSD from its source on GitHub. Now, how can I port it to the DragonflyBSD dport repository so that everyone can install it with the command "pkg install htop"
>
> Is there any step-by-step tutorial that I can find on how I port software?
> I can not find out what I should do after reading this page:
> https://www.dragonflybsd.org/docs/howtos/DPortsContributions/
>
> Thank you.
>


More information about the Users mailing list