Creating port from pre-built package

Chris portmaster at bsdforge.com
Thu Feb 11 17:02:49 UTC 2021


On 2021-02-11 08:26, Shawn Webb wrote:
> Hey all,
> 
> The Splunk universal forwarder for FreeBSD is distributed as a package
> tarball that you can use `pkg add` on. I'm in a position where I'd
> like to create a port of the package so that I can automate certain
> tasks.
Reverse engineer a package? I think that will violate the NDA you
signed. ;-)

Really. Unless the package is simply a wrapper of a binary blob. You'll
need to *build* the port, as part of the package creation process.
That is, unless I've *completely* misunderstood your intent here. :-)

> 
> Being a ports newb, I'm not sure how to properly create a port from a
> pre-built package. Does anyone have any non-xkcd pointers[1]?
> 
> [1]: https://xkcd.com/138/
> 
> Thanks,
--Chris


More information about the freebsd-ports mailing list