OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • Development and Code Review (Moderator: fabian) »
  • Patches to a FreeBSD package - local or upstream or ...?
« previous next »
  • Print
Pages: [1]

Author Topic: Patches to a FreeBSD package - local or upstream or ...?  (Read 2422 times)

Patrick M. Hausen

  • Hero Member
  • *****
  • Posts: 6923
  • Karma: 583
    • View Profile
Patches to a FreeBSD package - local or upstream or ...?
« on: July 27, 2020, 10:40:48 am »
Hi all,

Motivation:

iXsystems, the company behind FreeNAS keeps a separate repository of FreeBSD ports. They implemented interesting enhancements to some of the ports. In my case net-mgmt/collectd5 is the one I am interested in.
  • Positive: it's all BSD licensed.
  • Negative: they did not upstream their changes.

Compare:
  • https://svnweb.freebsd.org/ports/head/net-mgmt/collectd5/
  • https://github.com/freenas/ports/tree/freenas/master/net-mgmt/collectd5

My questions:

Does OPNsense keep a private ports tree, too? If yes, should I try to integrate the iXsystems changes into the OPNsense version?

If no, I see two alternatives:
  • Try to get the enhancements into the FreeBSD port
  • Try to integrate them into the OPNsense plugin - which again depends on whether OPNsense uses FreeBSD packages as they come or builds from ports

Advice about the proper direction appreciated.

Thanks,
Patrick
« Last Edit: July 27, 2020, 11:41:49 am by pmhausen »
Logged
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

mimugmail

  • Hero Member
  • *****
  • Posts: 6767
  • Karma: 494
    • View Profile
Re: Patches to a FreeBSD package - local or upstream or ...?
« Reply #1 on: July 27, 2020, 11:30:27 am »
OPNsense syncs them from upstream. It would be possible to manage own ones, but I'm unsure if following freenas ports tree is a good idea. It would be better to force pushing these patches upstream.

Best would be to start a conversation with port mainainer ..
Logged
WWW: www.routerperformance.net
Support plans: https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German): https://opnsense.max-it.de/

Patrick M. Hausen

  • Hero Member
  • *****
  • Posts: 6923
  • Karma: 583
    • View Profile
Re: Patches to a FreeBSD package - local or upstream or ...?
« Reply #2 on: July 27, 2020, 11:40:55 am »
Then I will try that first. I have some routine doing that  ;)

Thanks,
Patrick
Logged
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • English Forums »
  • Development and Code Review (Moderator: fabian) »
  • Patches to a FreeBSD package - local or upstream or ...?
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2