Inspired by the BeOS, a desktop operating system ahead of its time but where software were still packaged as zip files or click-to-install files distributed manually, Haiku has grown a dozen years this way. But things change, and Haiku made the big leap into modern software packaging, with a new infrastructure that could probably inspire even mainstream GNU/Linux distributions.
Haiku's package management is a radical change from its historical roots, affecting even native software despite existing APIs like find_directory(). Ported software are also impacted by those changes, but also benefit from HaikuPorts which streamlines packaging for Haiku developers and changed their lives literally.
Not unlike other packaging frameworks like Guix, Haiku's package management required changes to the filesystem layout inherited from BeOS, including making parts read-only. It brings many features but also complicates porting sometimes, which will be discussed.