Date: Tue, 08 May 2018 22:08:12 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 228081] www/awstats: missing dep Message-ID: <bug-228081-7788-p191V5m77b@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-228081-7788@https.bugs.freebsd.org/bugzilla/> References: <bug-228081-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D228081 --- Comment #1 from Vidar Karlsen <vidar@karlsen.tech> --- Thanks for spotting this! It might have passed under my radar as for some reason it runs fine without p5-URI (and p5-Encode) in my environments, even= in a minimal test jail with an nginx access log I copied from somewhere else: root@fbsd11-1-portswrk:~ # pkg info awstats-7.7,1 Free real-time logfile analyzer to get advan= ced web statistics p5-Digest-HMAC-1.03_1 Perl5 interface to HMAC Message-Digest Algorithms p5-Net-DNS-1.15,1 Perl5 interface to the DNS resolver, and dyn= amic updates p5-Net-IP-1.26_1 Perl extension for manipulating IPv4/IPv6 addresses p5-Net-XWhois-0.90_5 Whois Client Interface for Perl5 perl5-5.26.2 Practical Extraction and Report Language pkg-1.10.5 Package manager root@fbsd11-1-portswrk:~ # grep ^LoadPlugin /usr/local/etc/awstats/awstats.entropia.no.conf LoadPlugin=3D"decodeutfkeys" root@fbsd11-1-portswrk:~ # /usr/local/www/awstats/cgi-bin/awstats.pl -config=3Dentropia.no Create/Update database for config "/usr/local/etc/awstats/awstats.entropia.no.conf" by AWStats version 7.7 (b= uild 20180105) >From data in log file "/usr/local/etc/awstats/entropia.no.access.log"... Phase 1 : First bypass old records, searching new record... Searching new records from beginning of log file... Phase 2 : Now process new records (Flush history on disk after 20000 hosts)= ... Jumped lines in file: 0 Parsed lines in file: 13877 Found 3077 dropped records, Found 0 comments, Found 0 blank records, Found 4 corrupted records, Found 0 old records, Found 10796 new qualified records. I can't seem to recreate the problem on my end, but the DecodeUTFKeys plugin does say it requires Encode and URI::Escape. These plugins are however not enabled by default, and adding p5-URI as a ru= ndep will only solve it for the DecodeUTFKeys plugin. Looking at the other bundl= ed plugins, I see several more requirements, and I'm thinking of adding them as options with some suitable descriptions (e.g. "p5-URI, required by the DecodeUTFKeys plugin"). Do you have any thoughts on that? Full list of plugins with requirements: $ grep -B2 "REQUIRED MODULES:" /usr/local/www/awstats/cgi-bin/awstats.model.conf # PLUGIN: DecodeUTFKeys # REQUIRED MODULES: Encode and URI::Escape -- # PLUGIN: IPv6 # PARAMETERS: None # REQUIRED MODULES: Net::IP and Net::DNS -- # PLUGIN: HashFiles # REQUIRED MODULES: Storable -- # PLUGIN: HostInfo # REQUIRED MODULES: Net::XWhois -- # PLUGIN: TimeHiRes # REQUIRED MODULES: Time::HiRes (if Perl < 5.8) -- # PLUGIN: TimeZone # REQUIRED MODULES: Time::Local -- # PLUGIN: GeoIPfree # REQUIRED MODULES: Geo::IPfree version 0.2+ (from Graciliano M.P.) -- # PLUGIN: GeoIP # REQUIRED MODULES: Geo::IP or Geo::IP::PurePerl (from Maxmind) -- # PLUGIN: GeoIP6 # REQUIRED MODULES: Geo::IP or Geo::IP::PurePerl (from Maxmind, version >=3D 1.40) -- # PLUGIN: GeoIP_City_Maxmind # REQUIRED MODULES: Geo::IP or Geo::IP::PurePerl (from Maxmind) -- # PLUGIN: GeoIP_ASN_Maxmind # REQUIRED MODULES: Geo::IP or Geo::IP::PurePerl (from Maxmind) -- # PLUGIN: GeoIP_Region_Maxmind # REQUIRED MODULES: Geo::IP or Geo::IP::PurePerl (from Maxmind) -- # PLUGIN: GeoIP_ISP_Maxmind # REQUIRED MODULES: Geo::IP or Geo::IP::PurePerl (from Maxmind) -- # PLUGIN: GeoIP_Org_Maxmind # REQUIRED MODULES: Geo::IP or Geo::IP::PurePerl (from Maxmind) --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-228081-7788-p191V5m77b>