From b644cfe9163f2e4231688727bcc2eabe486edae7 Mon Sep 17 00:00:00 2001 From: jim-p Date: Tue, 17 Feb 2015 14:18:32 -0500 Subject: Fix lightsquid graphs --- config/lightsquid/lightsquid.inc | 3 +++ config/lightsquid/lightsquid.xml | 2 +- pkg_config.10.xml | 2 +- pkg_config.8.xml | 2 +- pkg_config.8.xml.amd64 | 2 +- 5 files changed, 7 insertions(+), 4 deletions(-) diff --git a/config/lightsquid/lightsquid.inc b/config/lightsquid/lightsquid.inc index 399e0572..054713a1 100644 --- a/config/lightsquid/lightsquid.inc +++ b/config/lightsquid/lightsquid.inc @@ -175,6 +175,9 @@ function lightsquid_resync() { if (!file_exists("/usr/bin/perl")) mwexec("ln -s /usr/local/bin/perl /usr/bin/perl"); + // Fixup library path so GD can find its libraries for graphs. + mwexec("/sbin/ldconfig -m " . LIGHTSQUID_BASE . "/lib/"); + // create lightsquid report catalog if (!file_exists(LS_REPORTPATH)) { update_log("lightsquid_install: Create report dir " . LS_REPORTPATH); diff --git a/config/lightsquid/lightsquid.xml b/config/lightsquid/lightsquid.xml index 0f6baf37..63eaabe4 100644 --- a/config/lightsquid/lightsquid.xml +++ b/config/lightsquid/lightsquid.xml @@ -46,7 +46,7 @@ Describe your package requirements here Currently there are no FAQ items provided. lightsquid - 1.8.2 pkg v.2.34 + 1.8.2 pkg v.2.35 Services: Proxy Reports (LightSquid, SQStat) -> Settings Status /usr/local/pkg/lightsquid.inc diff --git a/pkg_config.10.xml b/pkg_config.10.xml index 29fa878b..7656cd69 100644 --- a/pkg_config.10.xml +++ b/pkg_config.10.xml @@ -490,7 +490,7 @@ High performance web proxy report (LightSquid). Proxy realtime stat (SQStat). Requires squid HTTP proxy. http://lightsquid.sf.net/ Network Report - 1.8.2 pkg v.2.34 + 1.8.2 pkg v.2.35 dv_serg@mail.ru lightsquid-1.8_2-##ARCH##.pbi diff --git a/pkg_config.8.xml b/pkg_config.8.xml index 78df6eae..d6587606 100644 --- a/pkg_config.8.xml +++ b/pkg_config.8.xml @@ -641,7 +641,7 @@ High performance web proxy report (LightSquid). Proxy realtime stat (SQStat). Requires squid HTTP proxy. http://lightsquid.sf.net/ Network Report - 1.8.2 pkg v.2.33 + 1.8.2 pkg v.2.35 dv_serg@mail.ru https://files.pfsense.org/packages/8/All/ lightsquid-1.8_2.tbz diff --git a/pkg_config.8.xml.amd64 b/pkg_config.8.xml.amd64 index ee0c60ee..33f1a27f 100644 --- a/pkg_config.8.xml.amd64 +++ b/pkg_config.8.xml.amd64 @@ -628,7 +628,7 @@ High performance web proxy report (LightSquid). Proxy realtime stat (SQStat). Requires squid HTTP proxy. http://lightsquid.sf.net/ Network Report - 1.8.2 pkg v.2.33 + 1.8.2 pkg v.2.35 dv_serg@mail.ru https://files.pfsense.org/packages/amd64/8/All/ lightsquid-1.8_2.tbz -- cgit v1.2.3