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

    [QUESTION] Custom Package Repo, again…

    2.2 Snapshot Feedback and Problems - RETIRED
    1
    3
    1.1k
    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.
    • H
      Hobby-Student
      last edited by

      Hey guys,

      since 2.1 I'm using my own repo. I don't clone the "original", but add extra packages to the XML's and point to my own server. Till now everything went smooth, but I decided to go with 2.2.

      Snapshot: Wed Dec 17 10:56:19 CST 2014

      The webGUI shows me the "alert" that I have a custom repo configured. But installing my own packages, it tries to download from

      
      https://files.pfsense.org/packages/{$rel}/All/
      
      

      So I decided to edit "/etc/inc/pkg-utils.inc" at line 493 from

      
      $priv_url = "https://files.pfsense.org/packages/{$rel}/All/";
      
      

      to

      
      $priv_url = "https://my.own.server/packages/{$rel}/All/";
      
      

      Now it works, but it's hardcoded and changes in the webGUI won't have any effect.
      Had no time to look more in detail, but I would love to see this feature working again :)

      Thanks in advance

      1 Reply Last reply Reply Quote 0
      • H
        Hobby-Student
        last edited by

        ~~It's getting weird… I installed my self created PBI and it was listed as "installed". Did a couple of reboots and it's gone from "installed" Packages, but it does work as it should.

        Available Packages:
        A list of all "default" available packages + my custom squid package

        Installed Packages after install, before reboot:
        mailreport
        my custom squid package

        Installed Packages after install, after reboot:
        mailreport
        no custom squid. it is listed under "available packages" again.

        BUT:
        After installation, custom squid is working as expected. No change to the functions after reboot. Everything runs smooth and squid is installed under "/usr/pbi/squid-amd64/".

        The PBI was created with the pfsense-tools. In 2.1.5 everything worked this way. Is it me or my pfense box? :o~~

        Seems that me is the problem…  ::)
        installed my custom squid again -> pfsense knows that it is a reinstall
        uninstalled it
        reboot
        installed
        reboot
        checked
        reboot
        checked
        reboot
        checked
        everything is fine :)

        will have a look on this on my other pfSense's. If there are similar issues, I will report back.

        The custom repo-URL is not solved. I need it hardcoded in my system.

        1 Reply Last reply Reply Quote 0
        • H
          Hobby-Student
          last edited by

          Could someone please give me a hint where the download actually happens? I can't find the place where

          
          pkg_fetch_recursive
          
          

          is called. It looks like the base_url is not set properly…

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.