<div dir="ltr">Thank you for all of your suggestions, but I want to contribute to the DragonflyBSD project. Unfortunately, this is my first project, and I need to know what the steps.<br><br>I'm interested in writing a manual like (<a href="https://docs.freebsd.org/en/books/fdp-primer/">https://docs.freebsd.org/en/books/fdp-primer/</a>), but for DragonflyBSD.<div><br></div><div>I don't want to use Raven ports because I already installed it from the source.</div></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Tue, May 13, 2025 at 9:57 PM Zachary Crownover <<a href="mailto:zachary.crownover@gmail.com">zachary.crownover@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto"><div dir="ltr"></div><div dir="ltr">3.4.0 was the version in FreeBSD when it was snapshot to be ported to DragonFly. The patches we have predate 3.4.0 because they don’t cleanly patch, one of which is a patch to a file which no longer exists. With 3.5.0 cleanly building without patches we might not need patches for it going forward, but it’s not as simple within the existing framework to advance to a version beyond what’s in FreeBSD ports unless installing from RavenPorts.</div><div dir="ltr"><br><blockquote type="cite">El may 13, 2025, a la(s) 20:18, Sayed Mohammad Badiezadegan <<a href="mailto:mbzadegan@gmail.com" target="_blank">mbzadegan@gmail.com</a>> escribió:<br><br></blockquote></div><blockquote type="cite"><div dir="ltr"><div dir="ltr">But why did I install htop on my DragonflyBSD with no problem? <div><br></div><div>I installed htop version 3.5.0, but your log files are for 3.4.0, due to my attached screenshot.</div><div><br></div><div>Is there any step-by-step tutorial (like I said) for porting any software to DragonflyBSD?</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, May 13, 2025 at 7:59 PM Justin Sherrill <<a href="mailto:justin@shiningsilence.com" target="_blank">justin@shiningsilence.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">It already exists in ports/dports. It's not showing up to install<br>
because the build fails on DragonFly. You can see the reason for the<br>
most recent failure by looking it up on the build machine, ironman.<br>
<br>
<a href="https://ironman.dragonflybsd.org/dports/snap-failures/Report/" rel="noreferrer" target="_blank">https://ironman.dragonflybsd.org/dports/snap-failures/Report/</a> (search<br>
for "htop")<br>
<br>
You'll see a link to the logfile of the failure:<br>
<br>
<a href="https://ironman.dragonflybsd.org/dports/snap-failures/sysutils___htop.log" rel="noreferrer" target="_blank">https://ironman.dragonflybsd.org/dports/snap-failures/sysutils___htop.log</a><br>
<br>
It fails when applying some DragonFly-specific patches. My first<br>
guess is that the version of htop changed and so the patches no longer<br>
apply cleanly. You can go through the process on the page you linked<br>
about dports and build the whole toolset so you can duplicate the<br>
error and try to change the patchfiles to get them to work. You could<br>
pull down the patches by themselves (<br>
<a href="https://github.com/DragonFlyBSD/DPorts/tree/master/sysutils/htop" rel="noreferrer" target="_blank">https://github.com/DragonFlyBSD/DPorts/tree/master/sysutils/htop</a> ) and<br>
try applying them as a shortcut, though it may not help anything if<br>
the error isn't obvious.<br>
<br>
On Tue, May 13, 2025 at 5:49 PM Sayed Mohammad Badiezadegan<br>
<<a href="mailto:mbzadegan@gmail.com" target="_blank">mbzadegan@gmail.com</a>> wrote:<br>
><br>
> Hi Everybody,<br>
><br>
> I have a question about porting "htop" to DragonflyBSD Dports.<br>
><br>
> 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"<br>
><br>
> Is there any step-by-step tutorial that I can find on how I port software?<br>
> I can not find out what I should do after reading this page:<br>
> <a href="https://www.dragonflybsd.org/docs/howtos/DPortsContributions/" rel="noreferrer" target="_blank">https://www.dragonflybsd.org/docs/howtos/DPortsContributions/</a><br>
><br>
> Thank you.<br>
><br>
</blockquote></div>
<div><Screenshot 2025-05-13 201626.png></div></div></blockquote></div></blockquote></div>