Lightsquid fix *unsupported*



  • I figured out a way to get lightsquid working on 2.2. This is not supported until someone fixes the pbi package. So please use at your own risk.

    Log into the console to run the below commands:

    create missing symbiotic links:

    
    amd64
    ln -s /usr/pbi/lightsquid-amd64/local/www/lightsquid /usr/local/www/lightsquid
    ln -s /usr/pbi/lightsquid-amd64/local/etc/lightsquid /usr/local/etc/lightsquid
    
    i386
    ln -s /usr/pbi/lightsquid-i386/local/www/lightsquid /usr/local/www/lightsquid
    ln -s /usr/pbi/lightsquid-i386/local/etc/lightsquid /usr/local/etc/lightsquid
    
    

    perl is out of wack, so I installed it manually. Probably a way to do it via symbiotic links but this is working for me

    
    [2.2-RC][root@pfSense.localdomain]/root: pkg install perl5
    Updating FreeBSD repository catalogue...
    FreeBSD repository is up-to-date.
    All repositories are up-to-date.
    The following 1 packages will be affected (of 0 checked):
    
    New packages to be INSTALLED:
            perl5: 5.18.4_11
    
    The process will require 49 MB more space.
    13 MB to be downloaded.
    
    Proceed with this action? [y/N]: y
    Fetching perl5-5.18.4_11.txz: 100%   13 MB   1.5M/s    00:09
    Checking integrity... done (0 conflicting)
    [1/1] Installing perl5-5.18.4_11...
    [1/1] Extracting perl5-5.18.4_11: 100%
    makewhatis: not found
    makewhatis: not found
    pkg: POST-INSTALL script failed
    
    

    the post install fails but perl5 is installed

    If this pops up when you run pkg install perl5, enter Y

    
    The package management tool is not yet installed on your system.
    Do you want to fetch and install it now? [y/N]: y
    Bootstrapping pkg from pkg+http://pkg.FreeBSD.org/freebsd:10:x86:64/latest, please wait...
    Verifying signature with trusted certificate pkg.freebsd.org.2013102301... done
    Installing pkg-1.4.4...
    Extracting pkg-1.4.4: 100%
    Message for pkg-1.4.4:
     If you are upgrading from the old package format, first run:
    
      # pkg2ng
    Updating FreeBSD repository catalogue...
    Fetching meta.txz: 100%   944 B   0.9k/s    00:01
    Fetching packagesite.txz: 100%    5 MB   2.6M/s    00:02
    Processing entries: 100%
    FreeBSD repository update completed. 23812 packages processed
    Updating database digests format: 100%
    
    

    run this to generate your first report

    
    amd64
    /usr/bin/perl /usr/pbi/lightsquid-amd64/www/lightsquid/lightparser.pl today
    
    i386
    /usr/bin/perl /usr/pbi/lightsquid-i386/www/lightsquid/lightparser.pl today
    
    

    edit: bug report
    https://redmine.pfsense.org/issues/4198


Log in to reply