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

    Working with Packages on 2.3 and Converting to Bootstrap

    Scheduled Pinned Locked Moved pfSense Packages
    41 Posts 19 Posters 26.3k 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.
    • D
      doktornotor Banned
      last edited by

      @jimp:

      I don't think we should have any code in the .inc files or elsewhere to manually make users any longer, if one isn't in the above list we should add it in and also tweak the pfSense package Makefile appropriately.

      OK, sounds good. Junk nuked. :)

      1 Reply Last reply Reply Quote 0
      • J
        jmurphyau
        last edited by

        I had a bit of a look at this task and didn't notice any mention of anything relating to REST..

        I noticed the pfSense blog post about converting to REST in 3.0 (https://blog.pfsense.org/?p=1588) - its quite old though.. Is this still the plan?

        While in there changing the PHP pages it could be good if people were taking this into account as much as possible..

        Something like:

        • Split functional code out into a [file]_rest.php that returns JSON

        • Change HTML page to make REST HTTP requests to execute their functions

        Doing this now could get the process of converting to REST early (unless 3 is the next release directly after 2.3?).

        I was taking a look at the sipproxd and it seems relatively small and thinking - depending on the time frame that packages need to be converted in - I might be able to take a look at converting that one in this manner? Could give a basic template to start moving to the REST structure..

        I'm primary a web developer and work a lot with REST APIs (built in Django) and web front ends (the Ember JavaScript framework)

        1 Reply Last reply Reply Quote 0
        • jimpJ
          jimp Rebel Alliance Developer Netgate
          last edited by

          REST will be for 3.0 only and some time off (we haven't even began drafting the API) – Seems like overkill to start all that now when we haven't decided on what we'll be using for any of that.

          We'll be on 2.3 for a while, most likely there will even be a 2.4, that blog post is long-term goals.

          Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

          Need help fast? Netgate Global Support!

          Do not Chat/PM for help!

          1 Reply Last reply Reply Quote 0
          • jdillardJ
            jdillard
            last edited by

            @jmurphyau:

            I had a bit of a look at this task and didn't notice any mention of anything relating to REST..

            I noticed the pfSense blog post about converting to REST in 3.0 (https://blog.pfsense.org/?p=1588) - its quite old though.. Is this still the plan?

            While in there changing the PHP pages it could be good if people were taking this into account as much as possible..

            Something like:

            • Split functional code out into a [file]_rest.php that returns JSON

            • Change HTML page to make REST HTTP requests to execute their functions

            Doing this now could get the process of converting to REST early (unless 3 is the next release directly after 2.3?).

            I was taking a look at the sipproxd and it seems relatively small and thinking - depending on the time frame that packages need to be converted in - I might be able to take a look at converting that one in this manner? Could give a basic template to start moving to the REST structure..

            I'm primary a web developer and work a lot with REST APIs (built in Django) and web front ends (the Ember JavaScript framework)

            I agree with Jimp, we should focus on getting 2.3 out to prevent what could be massive scope creep. Not saying it isn't important though. I was actually looking at make graph.php utilize an API over the weekend so that I could convert the traffic graphs to d3.j3 using JSON for the datasource. If you want to take a stab at converting various small data points to JSON APIs and need someone to bounce ideas off of let me know. I could probably squeeze a little bit of time in the week to hack on stuff like that.

            1 Reply Last reply Reply Quote 0
            • dennypageD
              dennypage
              last edited by

              NUT?

              @jimp:

              Let me know if anything seems to be missing or if there are any specific topics missed that need covered.

              1 Reply Last reply Reply Quote 0
              • jimpJ
                jimp Rebel Alliance Developer Netgate
                last edited by

                Not addressing missing packages yet. The ones we have listed must all be complete first before we can consider expanding that list.

                Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                Need help fast? Netgate Global Support!

                Do not Chat/PM for help!

                1 Reply Last reply Reply Quote 0
                • dennypageD
                  dennypage
                  last edited by

                  Okay, thanks Jim.

                  @jimp:

                  Not addressing missing packages yet. The ones we have listed must all be complete first before we can consider expanding that list.

                  1 Reply Last reply Reply Quote 0
                  • marcellocM
                    marcelloc
                    last edited by

                    @jimp:

                    Overview of the new pfSense Package port directory structure:
                    https://doc.pfsense.org/index.php/Package_Port_Directory_Structure

                    Looks great!!!

                    I've send the first pull request to postfix package. Structure looks extremely easier to port packages to pfsense. Excelent work!!!!!!

                    Treinamentos de Elite: http://sys-squad.com

                    Help a community developer! ;D

                    1 Reply Last reply Reply Quote 0
                    • B
                      biggsy
                      last edited by

                      @marcelloc:

                      I've send the first pull request to postfix package.

                      Still not showing up under Available Packages

                      1 Reply Last reply Reply Quote 0
                      • G
                        grandrivers
                        last edited by

                        @biggsy:

                        @marcelloc:

                        I've send the first pull request to postfix package.

                        Still not showing up under Available Packages

                        it hasn't been merged yet

                        pfsense plus 25.03 super micro A1SRM-2558F
                        C2558 32gig ECC  60gig SSD

                        1 Reply Last reply Reply Quote 0
                        • J
                          jwt Netgate
                          last edited by

                          @jimp:

                          REST will be for 3.0 only and some time off (we haven't even began drafting the API) – Seems like overkill to start all that now when we haven't decided on what we'll be using for any of that.

                          We'll be on 2.3 for a while, most likely there will even be a 2.4, that blog post is long-term goals.

                          Maybe a year to an initial release, but yeah.

                          1 Reply Last reply Reply Quote 0
                          • U
                            ulcha
                            last edited by

                            Bind package is needed too..

                            1 Reply Last reply Reply Quote 0
                            • BismarckB
                              Bismarck
                              last edited by

                              Dear marcelloc and doktornotor, please consider making a independent ClamAV package with default clamav permissions. Its a hell of a ride to make SquidClamAV and Mailscanner run side by side and after each pfSense update all modifications are gone and needs fixing again.

                              At the moment, I've a working 2.2.6 system with:

                              Postfix + latest Mailscanner (SA with all modules, DCC pyzor etc.) + SPF marking + ClamD 0.99 (all via pkg install)
                              Squid + SquidGuard + Squidclamav + c-icap + ClamD 0.99

                              ClamD is running fine, both Squidclamav and Mailscanner use it at the same time without conflicts.

                              1 Reply Last reply Reply Quote 0
                              • jimpJ
                                jimp Rebel Alliance Developer Netgate
                                last edited by

                                I updated another batch of packages, testing is appreciated:

                                • Backup
                                • siproxd (status page only)
                                • FreeRADIUS2 (just needed the config viewer)
                                • LADVD (status page only)
                                • OpenBGPD (raw config and status pages)

                                Of those the most significant one that needs testing is OpenBGPD since I don't have an active BGP connection to test against. Some of the status fields are empty but I'm not certain if it's my lack of working setup or a problem on the page. Feedback is definitely appreciated for that one, and all the rest as well.

                                Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                                Need help fast? Netgate Global Support!

                                Do not Chat/PM for help!

                                1 Reply Last reply Reply Quote 0
                                • jimpJ
                                  jimp Rebel Alliance Developer Netgate
                                  last edited by

                                  I pushed updates for Squid, squidGuard, Lightsquid, and some associated fixes in the base system that should at least make things functional for most people. I'll start a fresh thread for those, though.

                                  Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                                  Need help fast? Netgate Global Support!

                                  Do not Chat/PM for help!

                                  1 Reply Last reply Reply Quote 0
                                  • MikeV7896M
                                    MikeV7896
                                    last edited by

                                    I noticed that ntopng is in the Google Docs list of packages, but when I check on my 2.3 box, it doesn't appear in the list. Just wondering if there's a reason why this is, or if it's just an oversight somewhere.

                                    Thanks! :)

                                    The S in IOT stands for Security

                                    1 Reply Last reply Reply Quote 0
                                    • jimpJ
                                      jimp Rebel Alliance Developer Netgate
                                      last edited by

                                      @virgiliomi:

                                      I noticed that ntopng is in the Google Docs list of packages, but when I check on my 2.3 box, it doesn't appear in the list. Just wondering if there's a reason why this is, or if it's just an oversight somewhere.

                                      It's a work in progress. In order to accommodate ntopng we have to upgrade to rrdtool 1.4, but to get to that point in the base system we need to revamp our RRD code to work without the graph option so that we can avoid adding a couple hundred MB in dependencies. Once the base system RRD code is reworked then we can add ntopng to the packages.

                                      Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                                      Need help fast? Netgate Global Support!

                                      Do not Chat/PM for help!

                                      1 Reply Last reply Reply Quote 0
                                      • B
                                        biggsy
                                        last edited by

                                        I know that the more popular packages deserve priority but is there actually a defined process for reviewing and making packages available for install through the GUI?  If that process exists, is it something that can be published?

                                        My reason for asking is that I'm very much a fan of the postfix package and eager to test it out on 2.3.  It would be nice to know its current progress through the process.

                                        A package readiness spreadsheet, like the one that was available for 2.2 (I think), would be really useful.  Maybe even shared with and editable by package developers/maintainers, so they could say where they're up to.

                                        1 Reply Last reply Reply Quote 0
                                        • P
                                          phil.davis
                                          last edited by

                                          Look at the ToDo issue in GitHub https://redmine.pfsense.org/issues/5568
                                          Then you can find the issue for any package that is in the process of conversion (or done).
                                          As people progress on each conversion those issues should be kept up-to-date.

                                          As the Greek philosopher Isosceles used to say, "There are 3 sides to every triangle."
                                          If I helped you, then help someone else - buy someone a gift from the INF catalog http://secure.inf.org/gifts/usd/

                                          1 Reply Last reply Reply Quote 0
                                          • jimpJ
                                            jimp Rebel Alliance Developer Netgate
                                            last edited by

                                            @biggsy:

                                            I know that the more popular packages deserve priority but is there actually a defined process for reviewing and making packages available for install through the GUI?  If that process exists, is it something that can be published?

                                            We haven't defined that process yet.

                                            @biggsy:

                                            A package readiness spreadsheet, like the one that was available for 2.2 (I think), would be really useful.  Maybe even shared with and editable by package developers/maintainers, so they could say where they're up to.

                                            See the first post in this thread, it already has a link to the sheet for 2.3.

                                            Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                                            Need help fast? Netgate Global Support!

                                            Do not Chat/PM for help!

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