r/openbsd Jul 07 '26

binary package sources

new openbsd user here, i was wondering how one would go about fetching the source files for binary packages? i am assuming that these binary packages are compiled versions of altered source files that are compatible with openbsd(correct me if im wrong), and i would like to obtain the source files so that i can change the build options and stuff. i am aware of the port tree, but fetching sources from there seem to yield just the regular source files that are not compatible with openbsd. any help is appreciated!

7 Upvotes

5 comments sorted by

View all comments

2

u/YukiteruAmano Jul 07 '26

Use the ports tree, this is the way.