DragonflyBSD port procedure

Sayed Mohammad Badiezadegan mbzadegan at gmail.com
Tue May 13 23:00:52 PDT 2025


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.

I'm interested in writing a manual like (
https://docs.freebsd.org/en/books/fdp-primer/), but for DragonflyBSD.

I don't want to use Raven ports because I already installed it from the
source.

On Tue, May 13, 2025 at 9:57 PM Zachary Crownover <
zachary.crownover at gmail.com> wrote:

> 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.
>
> El may 13, 2025, a la(s) 20:18, Sayed Mohammad Badiezadegan <
> mbzadegan at gmail.com> escribió:
>
> 
> But why did I install htop on my DragonflyBSD with no problem?
>
> I installed htop version 3.5.0, but your log files are for 3.4.0, due to
> my attached screenshot.
>
> Is there any step-by-step tutorial (like I said) for porting any software
> to DragonflyBSD?
>
> On Tue, May 13, 2025 at 7:59 PM Justin Sherrill <justin at shiningsilence.com>
> wrote:
>
>> 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.
>> >
>>
> <Screenshot 2025-05-13 201626.png>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.dragonflybsd.org/pipermail/users/attachments/20250513/db5d1109/attachment.htm>


More information about the Users mailing list