OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 19.7 Legacy Series »
  • Plugins and repos
« previous next »
  • Print
Pages: [1]

Author Topic: Plugins and repos  (Read 2630 times)

barrahome

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
    • View Profile
Plugins and repos
« on: December 04, 2019, 04:32:23 pm »
There is a way to load my github as a plugin repo? If so, steps to do it?

I want to test what i'm developing and i need something like this to work. I made a simple hello world plugin based on the examples provided by the docs.
Logged

mimugmail

  • Hero Member
  • *****
  • Posts: 6767
  • Karma: 494
    • View Profile
Re: Plugins and repos
« Reply #1 on: December 04, 2019, 04:58:34 pm »
Better on the test machine:

git clone https://github.com/youruser/plugins
cd plugins/xx/xx
make upgrade

When you do some updates on GH the just a git pull && make upgrade in directory
Logged
WWW: www.routerperformance.net
Support plans: https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German): https://opnsense.max-it.de/

barrahome

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
    • View Profile
Re: Plugins and repos
« Reply #2 on: December 04, 2019, 05:26:04 pm »
I want to bundle it with the iso... Or having an option to pull from my server
Logged

mimugmail

  • Hero Member
  • *****
  • Posts: 6767
  • Karma: 494
    • View Profile
Re: Plugins and repos
« Reply #3 on: December 04, 2019, 08:01:02 pm »
Then just edit the configs in tools.git
Logged
WWW: www.routerperformance.net
Support plans: https://www.max-it.de/en/it-services/opnsense/
Commercial Plugins (German): https://opnsense.max-it.de/

barrahome

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
    • View Profile
Re: Plugins and repos
« Reply #4 on: December 05, 2019, 01:00:39 am »
I tried to add it using ADDITIONS="package_name" and renamed the normal hello world and didn't work.
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 19.7 Legacy Series »
  • Plugins and repos
 

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