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

Compiling from Source - Problems with "php-pfSense-module"

Scheduled Pinned Locked Moved Development
4 Posts 2 Posters 509 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.
  • F
    fabricioguzzy
    last edited by Jul 19, 2023, 2:03 PM

    Hello everyone,
    I use to compile pfSense from the sources (using a different brand name) and now I am facing a problem with the php-pfsense-module.
    Till Ver 2.6.0, there was a script to rename the php-pfsense-module to be used with a different brand-name (product_name).
    that script can be found here
    Line: 1584 # PHP module is special
    With the recent changes for php82, the php-module was modified and now the script doesn't match/work the way it should.
    I am not sure which strings & functions must be renamed to match the new name. I am trying to follow the old script but so far I didn't succeed.

    Additionally, there is also another interesting problem happening with a package called "pfSense-repoc" that seems to replace the old-fashion repository update function. The problem is that the package is totally closed-source.
    The package is pointing to an Internal netgate URL and it's not even possible to fetch the code for analysis or vulnerability scans.

    The reason I compile it from the source it's because I enable NIS (to allow me to install winbind) and add the UCHCOM kernel driver (to use with a LCD display based on Arduino)

    Can anyone help with information about these two cases?

    Thanks much,
    Fabricio.

    1 Reply Last reply Reply Quote 0
    • B
      bmeeks
      last edited by Jul 19, 2023, 11:21 PM

      I've noticed the same issue with the pfSense-repoc package.

      You might get better traction reporting the issue via Redmine here: https://redmine.pfsense.org/projects/pfsense.

      It might be some time before the development team notices the post in this subforum.

      F 1 Reply Last reply Jul 20, 2023, 12:45 AM Reply Quote 0
      • F
        fabricioguzzy @bmeeks
        last edited by Jul 20, 2023, 12:45 AM

        @bmeeks Hi Bill, Thanks for the heads up.
        I have created a ticket --> Issue #14593 on redmine.
        Hopefully it will be fixed. Did you open a ticket for the pfsense-repoc ?
        I have noticed that it points to an internal Netgate URL, so it's impossible to compile it.
        Thanks Much,
        Fabricio.

        B 1 Reply Last reply Jul 20, 2023, 2:13 AM Reply Quote 0
        • B
          bmeeks @fabricioguzzy
          last edited by Jul 20, 2023, 2:13 AM

          @fabricioguzzy said in Compiling from Source - Problems with "php-pfSense-module":

          @bmeeks Hi Bill, Thanks for the heads up.
          I have created a ticket --> Issue #14593 on redmine.
          Hopefully it will be fixed. Did you open a ticket for the pfsense-repoc ?
          I have noticed that it points to an internal Netgate URL, so it's impossible to compile it.
          Thanks Much,
          Fabricio.

          No, I had not gotten around to submmitting a ticket. This issue with pointing to the internal Gitlab URL has happened with other packages in the past, and it eventually sorted itself out. Was just still waiting to see if it would get updated when I saw your post about it.

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