FreeBSD packages on 2.3RC



  • 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?



  • [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]:
    


  • 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
    
    


  • 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.



  • 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.



  • @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.



  • 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
    
    *****************************************************************************
    
    


  • @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



  • 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.



  • @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!



  • @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.



  • @cmb

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



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



  • 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.



  • 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!



  • @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.



  • @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).



  • Awesome, thanks so much!



  • Hi,

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

    Thanks!!



  • 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!





  • Please could you add:

    mysql56-server
    compat9x-amd64
    php56-mysql

    This is for installing Ozy's captive portal.

    Many thanks



  • Hi, this is killing me. :P

    I need to install python and apache in order to use qlproxy for web filtering. Can those be added as well to repo? Can we help?

    Actually specifically diladele requests

    python
    py27-sqlite3
    py27-ldap
    py27-django16
    apache24
    ap24-mod_wsgi4
    openldap-client
    sudo
    ca_root_nss


    If I change FreeBSD: { enabled: no } to enabled:yes would I know if I was doing something potentially breaking?
    I have to install the items above.



  • Hi,

    we would like to have puppet4 on our pfSense boxes.

    TIA
    bfr



  • can someone please also add Softether (it is on the FreeBSD ports page): pkg.freebsd.org/freebsd:10:x86:64/latest/All/

    I posted a how-to manually add it here: https://forum.pfsense.org/index.php?topic=117626.0

    Also, the whereis command provides an error when you use it since we do not have any man pages installed by default on pfSense:

    [2.3.3-DEVELOPMENT][root@pfSense.pf.lan]/root: whereis iftop
    manpath: not found
    whereis: error processing manpath results: No such file or directory
    
    


  • Could you please also add telegraf?

    Very useful for monitoring & data gathering.

    http://pkg.freebsd.org/freebsd:9:x86:64/latest/All/telegraf-1.0.0.r1.txz

    https://github.com/influxdata/telegraf



  • @whorfin:

    ngrep and socat, please

    Just grabbing these did seem to work:
    http://pkg.freebsd.org/freebsd:10:x86:64/release_3/All/ngrep-1.45_3.txz
    http://pkg.freebsd.org/freebsd:10:x86:64/release_3/All/socat-1.7.3.1.txz

    Please add tcpflow; this is particularly relevant as the version on freebsd.org requires cairo, which is a dealbreaker in embedded context.



  • can u please add murmur package… small mumble voice server... thanks


  • Rebel Alliance Developer Netgate

    @whorfin:

    @whorfin:

    ngrep and socat, please

    Just grabbing these did seem to work:
    http://pkg.freebsd.org/freebsd:10:x86:64/release_3/All/ngrep-1.45_3.txz
    http://pkg.freebsd.org/freebsd:10:x86:64/release_3/All/socat-1.7.3.1.txz

    Please add tcpflow; this is particularly relevant as the version on freebsd.org requires cairo, which is a dealbreaker in embedded context.

    There is no option on the port to compile it without cairo. If we added it, it would also use cairo. The FreeBSD port maintainer should add an option to the port to disable cairo ("–enable-cairo=false" when running configure) and then we could set it to build without cairo in our repo. I liked tcpflow before it gained the cairo bloat. I haven't used it in years though.

    @s0rcier:

    can u please add murmur package… small mumble voice server... thanks

    I don't see us adding anything like that. That sort of service does not belong on a firewall.


Log in to reply