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

    How to create .txz in FreeBSD & transfer it to pfSense?

    Scheduled Pinned Locked Moved Development
    15 Posts 5 Posters 3.1k 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.
    • O
      olifka-kun
      last edited by

      Hello everyone!

      Google can't help me with information I need, so I decided to ask here.

      I need to compile squid from source with special parameteres and transfer it to pfSense. I have no idea how to make it in a proper way.

      Google says only about building packages from ports, but not about how to create it from source. "make" -> "make package" doesn't work.

      If you know web-sites with description of this question or you have instruction, please help.

      1 Reply Last reply Reply Quote 0
      • H
        heper
        last edited by

        https://doc.pfsense.org/index.php/Developing_Packages

        
        $ git clone git@github.com:pfsense/FreeBSD-ports.git pfSense-ports
        $ cd pfSense-ports/blah/pfSense-pkg-foo/
        [hack, hack, hack]
        $ make package  (might need sudo)
        $ scp work/pkg/pfSense-pkg-foo* root@myfirewall:.
        
        
        1 Reply Last reply Reply Quote 0
        • O
          olifka-kun
          last edited by

          I've already tryed to do it. It's not gonna work in that way. What do you mean by [hack hack hack]? I need more details about this.

          1 Reply Last reply Reply Quote 0
          • KOMK
            KOM
            last edited by

            [hack hack hack] = do developer stuff here = write your package

            For what it's worth, I think you might be wasting your time.  Even if you managed to cobble something together and somehow integrate it with WebGUI, it would likely be blown away at your next upgrade.

            Why not just build your custom squid on a Linux box and use that as your proxy?

            1 Reply Last reply Reply Quote 0
            • O
              olifka-kun
              last edited by

              Ok, I explain my situation: I have special hardware, wich works only with pfsense. I need squid.conf unbended from WebUI (my idea was to use ./configure –sysconfdir=/etc/squid/...) and have version 4.0.9 (for example).

              I compiled it in FreeBSD, but I have no idea how to transfer all stuff to pfSense.

              I know how to create .deb pack in Debian, or how to do the same in Slack by makepkg. Please tell, is there any way to do the thing I'm asking about in this satanic FreeBSD?

              1 Reply Last reply Reply Quote 0
              • KOMK
                KOM
                last edited by

                I have no knowledge to help you with, sorry.

                1 Reply Last reply Reply Quote 0
                • D
                  doktornotor Banned
                  last edited by

                  If you do not want the webgui, just don't install it.

                  
                  pkg remove pfSense-pkg-squid
                  pkg install squid
                  
                  
                  1 Reply Last reply Reply Quote 0
                  • O
                    olifka-kun
                    last edited by

                    Thank you, doktornotor, good idea, but main question is in the subject.

                    1 Reply Last reply Reply Quote 0
                    • D
                      doktornotor Banned
                      last edited by

                      I cannot help you with that. If you want squid-devel (i.e., 4.0.x) and no GUI, perhaps play with pfSense 2.4 and install squid-devel from FreeBSD repo.

                      1 Reply Last reply Reply Quote 0
                      • O
                        olifka-kun
                        last edited by

                        Anyway, thak you for the answers.

                        1 Reply Last reply Reply Quote 0
                        • R
                          renato.nogueira
                          last edited by

                          @doktornotor:

                          If you do not want the webgui, just don't install it.

                          
                          pkg remove pfSense-pkg-squid
                          pkg install squid
                          
                          

                          Can i remove the gui from 2.1.1?

                          1 Reply Last reply Reply Quote 0
                          • D
                            doktornotor Banned
                            last edited by

                            2.1.1 is what? pfSense version? In that case I'd suggest to use something actually supported.

                            https://doc.pfsense.org/index.php/Versions_of_pfSense_and_FreeBSD

                            1 Reply Last reply Reply Quote 0
                            • R
                              renato.nogueira
                              last edited by

                              @doktornotor:

                              If you do not want the webgui, just don't install it.

                              
                              pkg remove pfSense-pkg-squid
                              pkg install squid
                              
                              

                              sorry, the pfsense is 2.0.1

                              1 Reply Last reply Reply Quote 0
                              • R
                                renato.nogueira
                                last edited by

                                @doktornotor:

                                2.1.1 is what? pfSense version? In that case I'd suggest to use something actually supported.

                                https://doc.pfsense.org/index.php/Versions_of_pfSense_and_FreeBSD

                                I am trying to do squid 3.5.23 to authenticate in pf 2.3.3 but i can´t. There is a site https://pf2ad.mundounix.com.br/pt/index.html that have a script which installs samba and integrate the pfsense in AD to use NTLM_AUTH. but squid 3.5.23 has no wbinfo_group compiled. I tried negotiate_kerberos_auth and negotiate_wrapper_auth but the squid tell it didn´t know the auth types. I am trying get the groups of AD.

                                1 Reply Last reply Reply Quote 0
                                • D
                                  doktornotor Banned
                                  last edited by

                                  @renato.nogueira:

                                  @doktornotor:

                                  If you do not want the webgui, just don't install it.

                                  
                                  pkg remove pfSense-pkg-squid
                                  pkg install squid
                                  
                                  

                                  sorry, the pfsense is 2.0.1

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