yellowman / nsh

OpenBSD networking configuration shell
http://www.nmedia.net/nsh/
Other
174 stars 27 forks source link

Small porting to NetBSD #141

Closed muhammadn closed 1 year ago

muhammadn commented 1 year ago

I started work on porting NSH to NetBSD just to see how it goes. Removed OpenBSD specific guts out to build the base code to build upon.

The final target would be to port it to FreeBSD and hopefully it will make it's way to OPNSense (hopefully).

Thanks for maintaining NSH!

Screenshot 2023-07-17 at 9 35 36 PM
muhammadn commented 1 year ago

Ported the base code to macOS. Just for fun of it.

Screenshot 2023-07-17 at 10 27 17 PM
smytht commented 1 year ago

Hello Muhammad, Thanks for your interest in the project... It is very much appreciated...

you are welcome to subscribe to the mailing list nsh [at] lists.deschutesdigital.com for more information about nsh

On Mon, 17 Jul 2023 at 15:28, Muhammad Nuzaihan Bin Kamal Luddin < @.***> wrote:

Ported the base code to macOS. Just for fun of it. [image: Screenshot 2023-07-17 at 10 27 17 PM] https://user-images.githubusercontent.com/3349747/253973469-fd82fa29-dba4-4db6-b0fe-6e03ebab0152.png

— Reply to this email directly, view it on GitHub https://github.com/yellowman/nsh/issues/141#issuecomment-1638265571, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB2INQAUXTJNL2YH4GOPFN3XQVDZ5ANCNFSM6AAAAAA2M65Y3E . You are receiving this because you are subscribed to this thread.Message ID: @.***>

-- Kindest regards, Tom Smyth.

yellowman commented 1 year ago

Please submit patches to the mailing list and we can look at incorporating it into the base tree

muhammadn commented 1 year ago

I think it's going to be a challenge to support different BSDs from current codebase. Do I need to maintain a separate fork for other BSD or should i start adding support for other BSD (like Net/FreeBSD) on this repo codebase?

Maybe i'll discuss more at the mailing list. There is much to be done for my port because i removed all of OpenBSD platform specific code including the functionality to keep it as basic as possible and start to add FreeBSD's platform specific features there.

Screenshot 2023-07-18 at 2 26 04 PM