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

FreeBSD packages on 2.3RC

General pfSense Questions
18
29
20.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.
  • K
    Koenig
    last edited by Apr 7, 2016, 5:48 PM

    Maybe wrong place / too early to ask, but I'll take my chances.

    I would like to install ZNC on my pfSense setup and was looking in the wiki but the ways that are described there seems to not apply to 2.3.

    ZNC has an "up to date" port to FreeBSD (latest update was 5 weeks ago).

    How would one do to install FreeBSD packages on 2.3?

    1 Reply Last reply Reply Quote 0
    • P
      paftdunk
      last edited by Apr 8, 2016, 12:18 AM

      [2.2.6-RELEASE][admin@pfsense]/root: pkg install znc
      Updating FreeBSD repository catalogue...
      FreeBSD repository is up-to-date.
      All repositories are up-to-date.
      The following 1 package(s) will be affected (of 0 checked):
      
      New packages to be INSTALLED:
      	znc: 1.6.3
      
      The process will require 8 MiB more space.
      2 MiB to be downloaded.
      
      Proceed with this action? [y/N]:
      
      1 Reply Last reply Reply Quote 0
      • Z
        zythra
        last edited by Apr 8, 2016, 3:54 AM

        Paftdunk, Koenig was asking about 2.3, your snippet is from 2.2.6.

        I'm new to pfSense, but I am playing with 2.3-RC and the FreeBSD repo does not seem to be available (at least in my install).  I only have the pfSense repo…perhaps this is what Koenig is running into as well.

        
        [2.3-RC][admin@pfSense.localdomain]/root: pkg install znc
        Updating pfSense-core repository catalogue...
        pfSense-core repository is up-to-date.
        Updating pfSense repository catalogue...
        pfSense repository is up-to-date.
        All repositories are up-to-date.
        pkg: No packages available to install matching 'znc' have been found in the repositories
        
        
        1 Reply Last reply Reply Quote 0
        • C
          cmb
          last edited by Apr 8, 2016, 4:00 AM

          In 2.2.x, pkg pulled from stock FreeBSD's package repo. In 2.3, that's not enabled because the entire system's based on pkg. You could end up with the wrong package and break things, where stock FreeBSD doesn't have the same options. We might add to what's available via 'pkg install' post-release.

          1 Reply Last reply Reply Quote 0
          • P
            paftdunk
            last edited by Apr 8, 2016, 4:34 AM

            Ah, okay. I didn't expect that getting $CURRENT would end up being a step backward for a time on being normal bsd. Makes sense why.

            1 Reply Last reply Reply Quote 0
            • K
              Koenig
              last edited by Apr 8, 2016, 5:56 AM

              @cmb:

              In 2.2.x, pkg pulled from stock FreeBSD's package repo. In 2.3, that's not enabled because the entire system's based on pkg. You could end up with the wrong package and break things, where stock FreeBSD doesn't have the same options. We might add to what's available via 'pkg install' post-release.

              Makes sense, thank you very much for the answer.

              1 Reply Last reply Reply Quote 0
              • P
                PiBa
                last edited by Apr 8, 2016, 8:03 PM

                You can stil install FreeBSD packages if really needed, be aware they might not work as intended or cause issues at a later date, i dont really know..

                [2.3-RC][root@pfSense.localdomain]/root: pkg add http://pkg.freebsd.org/freebsd:10:x86:64/release_3/All/znc-1.6.1_1.txz
                Fetching znc-1.6.1_1.txz: 100%    2 MiB   2.0MB/s    00:01
                Installing znc-1.6.1_1...
                Extracting znc-1.6.1_1: 100%
                Message from znc-1.6.1_1:
                *****************************************************************************
                
                If you are upgrading znc from a version prior to 1.0, please be aware that
                znc will modify your configuration file to incorporate support for new
                functionality.
                
                Please visit the following URL for more information:
                
                http://wiki.znc.in/ChangeLog/1.0
                
                *****************************************************************************
                
                
                1 Reply Last reply Reply Quote 0
                • K
                  Koenig
                  last edited by Apr 8, 2016, 10:00 PM

                  @PiBa:

                  You can stil install FreeBSD packages if really needed, be aware they might not work as intended or cause issues at a later date, i dont really know..

                  [2.3-RC][root@pfSense.localdomain]/root: pkg add http://pkg.freebsd.org/freebsd:10:x86:64/release_3/All/znc-1.6.1_1.txz
                  Fetching znc-1.6.1_1.txz: 100%    2 MiB   2.0MB/s    00:01
                  Installing znc-1.6.1_1...
                  Extracting znc-1.6.1_1: 100%
                  Message from znc-1.6.1_1:
                  *****************************************************************************
                  
                  If you are upgrading znc from a version prior to 1.0, please be aware that
                  znc will modify your configuration file to incorporate support for new
                  functionality.
                  
                  Please visit the following URL for more information:
                  
                  http://wiki.znc.in/ChangeLog/1.0
                  
                  *****************************************************************************
                  
                  

                  I thank you sir!

                  A follow question: Some of the required packages to get ZNC working are missing in the pfsense installation so I guess I would have install them as well, the same way?
                  Boiled it down to: gettext-tools, gmake, lua52, pkgconf and swig30

                  1 Reply Last reply Reply Quote 0
                  • P
                    PiBa
                    last edited by Apr 8, 2016, 10:11 PM

                    Hm i didnt run into that when i tried znc, possibly due to that ive been using this testbox for a while and have a dozen packages installed on it.. But yes 'requirements' should be able to be installed that same way.

                    1 Reply Last reply Reply Quote 0
                    • K
                      Koenig
                      last edited by Apr 8, 2016, 11:30 PM

                      @PiBa:

                      Hm i didnt run into that when i tried znc, possibly due to that ive been using this testbox for a while and have a dozen packages installed on it.. But yes 'requirements' should be able to be installed that same way.

                      I sincerely thank you sir!

                      All needed packages installed and ZNC is up and running.

                      Now there just are some other things I have to figure out/ask about ( a hundred or so…  ;D).

                      Thanks again!

                      1 Reply Last reply Reply Quote 0
                      • C
                        cmb
                        last edited by Apr 9, 2016, 9:49 PM

                        @PiBa:

                        You can stil install FreeBSD packages if really needed, be aware they might not work as intended or cause issues at a later date, i dont really know..

                        [2.3-RC][root@pfSense.localdomain]/root: pkg add http://pkg.freebsd.org/freebsd:10:x86:64/release_3/All/znc-1.6.1_1.txz
                        

                        Dependency complications aside (having to manually fetch them), this is the safest way to add such packages right now. If you add FreeBSD's repo to your pkg config, you can end up with problems. Doing it that way greatly limits the possibilities for breaking things.

                        1 Reply Last reply Reply Quote 0
                        • I
                          ioiioi
                          last edited by Apr 24, 2016, 7:16 AM

                          @cmb

                          does it means that pfsense 2.3+ will abandon the official freebsd's repo.
                          we have to install freebsd's package manually?

                          1 Reply Last reply Reply Quote 0
                          • C
                            cmb
                            last edited by Apr 27, 2016, 5:03 AM

                            I've been adding packages to our pkg repo as people request them. I added znc today.

                            1 Reply Last reply Reply Quote 0
                            • I
                              Inq
                              last edited by Apr 27, 2016, 1:05 PM

                              As far as i can tell there is no DNS server package in 2.3 (bind was removed). I suggest adding bind and NSD in pkg repo. I've been running NSD without a problem in 2.3 since launch.

                              The problem with making something idiot proof is that the world keeps making better idiots.

                              1 Reply Last reply Reply Quote 0
                              • F
                                fohdeesha
                                last edited by Apr 27, 2016, 4:25 PM

                                Could you please add xe-guest-utilities to the repo (it also has a couple dependencies, I take it they get added too)? This is the first thing we all go to install when we install in xen/xenserver, would be a big help and would take four steps out of my "installing pfsense in xenserver" guide!

                                Will these track the main packages in the main freebsd repo when they are updated/changed?

                                Thanks!

                                1 Reply Last reply Reply Quote 0
                                • C
                                  cmb
                                  last edited by May 1, 2016, 6:14 AM

                                  @fohdeesha:

                                  Could you please add xe-guest-utilities to the repo (it also has a couple dependencies, I take it they get added too)? This is the first thing we all go to install when we install in xen/xenserver, would be a big help and would take four steps out of my "installing pfsense in xenserver" guide!

                                  Will these track the main packages in the main freebsd repo when they are updated/changed?

                                  Thanks!

                                  Done. The dependencies are automatically handled by poudriere. When the FreeBSD port is updated, it's automatically synced and a new package pushed. It should be there in an hour or so.

                                  1 Reply Last reply Reply Quote 0
                                  • C
                                    cmb
                                    last edited by May 1, 2016, 6:17 AM

                                    @Inq:

                                    As far as i can tell there is no DNS server package in 2.3 (bind was removed). I suggest adding bind and NSD in pkg repo. I've been running NSD without a problem in 2.3 since launch.

                                    BIND I'm hesitant to add because if people configure it manually and then the GUI package returns, they'll conflict. Also those who run services like that often want them integrated into the config, and that won't happen with packages added via 'pkg install'. Maybe if it looks like the GUI package won't return (though there are no plans for us to update its GUI, maybe an outside contributor will).

                                    1 Reply Last reply Reply Quote 0
                                    • F
                                      fohdeesha
                                      last edited by May 1, 2016, 6:59 AM

                                      Awesome, thanks so much!

                                      1 Reply Last reply Reply Quote 0
                                      • D
                                        Danixu86
                                        last edited by May 5, 2016, 8:41 AM

                                        Hi,

                                        Please, add nrpe2 to that repository. Is very usefull to monitor the server state.

                                        Thanks!!

                                        1 Reply Last reply Reply Quote 0
                                        • R
                                          rootless
                                          last edited by May 25, 2016, 4:48 AM

                                          First, thank you for your great work. pfSense is really amazing.

                                          Packages needed/package request for 2.3.x:

                                          Stunnel
                                          http://svnweb.freebsd.org/ports/head/security/stunnel/
                                          http://pkg.freebsd.org/freebsd:10:x86:64/release_3/All/stunnel-5.28,1.txz

                                          Anyone running pfSense behind the GFW of China can't maintain a VPN connection without stunnel or ssh tunneling. This packages was available in 2.2, but dropped off for 2.3

                                          while possible to do: pkg add http://pkg.freebsd.org/freebsd:10:x86:64/release_3/All/stunnel-5.28,1.txz

                                          As explained repeatedly in the forums, this is less than ideal.
                                          To get things working I had to use:
                                          https://airvpn.info/topic/12800-setting-up-pfsense-22-beta-x64-as-vpn-client-with-stunnel/
                                          and
                                          https://airvpn.info/topic/17444-how-to-set-up-pfsense-23-for-airvpn/

                                          there is still the openssl library mismatch (compiled with p running with s), but it works.

                                          thanks!

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