Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
OpenBSD Ports - Integrating Third Party Applications [pdf] (jggimi.homeip.net)
43 points by fcambus on July 24, 2016 | hide | past | favorite | 4 comments


This is a nice overview. I've had mixed success in ports contributions. If the app you're packaging is "normal" then the whole thing is pretty reasonable. If the thing you're doing involves 7 bajillion CPAN packages and cross dependencies with something large and complex, you're going to have a bad time.

Overall, I'd say the process of making ports is slightly easier than packaging on some other platforms, except when you encounter exceptions--which can happen with software written with an expectation of Linux.


If the thing you're doing involves 7 bajillion CPAN packages and cross dependencies with something large and complex, you're going to have a bad time.

You might find portgen(1) somewhat useful. For example, try something like this:

  doas portgen p5 Net::Hadoop::YARN


Ah crap--yes, that would have been very useful. Thank you, and I will definitely use this in the future.


There's also the expectation that ports have all been vetted for security issues and the like. That's the tradeoff that ordinary users see -- not as many packages have been ported, but they're safer. I don't always think that this is true, but trying to abide by it makes porting a bit more difficult.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: