• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

Deploy self-written package

Scheduled Pinned Locked Moved Development
2 Posts 2 Posters 683 Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B
    barakg
    last edited by Jan 23, 2018, 8:38 PM

    I created a pfSense package by changing an "official" one. But while intalling the official package from the webGUI makes all the background job, i managed to install my package only manually by copy the files to the pfSense server according the official package's structure on GitHub, and by edit manually the config file. I tried to reverse to process as much as i could, i saw a funcion calls "install" that runs while intalling package from the pfSense repository with webGUI, but couldn't understand how it works. i want to find a way to create a file that with one command using the shell i can copy all the files and edit the config with the native functions of pfSense. I believe i need to write this file as well, but how should i do this?
    What type of file the package file should be? (txz file?)
    For the copy of the files, should i use freeBSD commands?
    How i add the package information into the config file with native pfSense commands?
    How i make the webGUI update so i can see the new package on the menu without rebooting (this the only way i could make it work)?
    How i make the package be listed on the "installed packages" list?

    Thanks,

    Barak.

    1 Reply Last reply Reply Quote 0
    • H
      heper
      last edited by Jan 25, 2018, 7:32 AM

      incomplete info can be found here:
      https://doc.pfsense.org/index.php/Developing_Packages

      =)

      1 Reply Last reply Reply Quote 0
      2 out of 2
      • First post
        2/2
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
        This community forum collects and processes your personal information.
        consent.not_received