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

    Build environment for package development?

    Scheduled Pinned Locked Moved Development
    6 Posts 3 Posters 1.5k 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.
    • R
      razzfazz
      last edited by

      I compiled a more recent miniupnpd on a fully updated 8.3-RELEASE machine, but when I transfer it over to my pfSense box (2.1.2-RELEASE) and try to run it, it immediately fails on the first ioctl to pf ("DIOCGETSTATUS: Operation not supported"). This is apparently indicative of a mismatch between the kernel on the build machine and that on the pfSense box. Is there a recommended build environment for compiling binaries to run on pfSense? FWIW, I get the exact same error when I just compile miniupnpd from the (FreeBSD) ports without any modifications.

      1 Reply Last reply Reply Quote 0
      • R
        razzfazz
        last edited by

        I believe at one point the project used to provide a builder as a VM image; would it be possible to get something like that? Note that I have no commercial interest, and I'm not trying to build a custom pfSense image; I'm just looking for a way to test and debug package changes. Alternatively, if there'd be a way to get a gcc and the (patched, apparently) kernel source onto an actual pfSense box, that would work too.

        1 Reply Last reply Reply Quote 0
        • ?
          Guest
          last edited by

          we've considered it.

          yours is not the first request.

          1 Reply Last reply Reply Quote 0
          • R
            razzfazz
            last edited by

            As in considered and rejected, or is it still under consideration?

            1 Reply Last reply Reply Quote 0
            • ?
              Guest
              last edited by

              under consideration.

              a kind of "pro tools", if you will.

              the question is if we host it for people, or provide the VM for them to download.

              Because, invariably, someone will bugger their builder, and it's easier for us to fix / maintain if we can gain access to it.

              1 Reply Last reply Reply Quote 0
              • T
                tamldt
                last edited by

                Hi razzfazz!

                You can help me to add new module (plugin) on pfsense…! I want but i cann't how to do it...! i cann't found guide...!

                You can for me source code off miniupnpd or some guide to add module when compile to me may try it ...!

                sorry my english  not good!

                Thank razzfazz!

                Le Doan Thanh Tam
                ldtt.s2l@gmail.com

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