Bug 2142695 - Please branch and build webalizer in epel9
Summary: Please branch and build webalizer in epel9
Keywords:
Status: NEW
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: webalizer
Version: epel9
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Sergio Basto
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 2262319 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-11-14 22:53 UTC by Simon de Vlieger
Modified: 2025-04-24 00:27 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Simon de Vlieger 2022-11-14 22:53:45 UTC
Please branch and build webalizer in epel9.

If you do not wish to maintain webalizer in epel9,
or do not think you will be able to do this in a timely manner,
I would be happy to be a co-maintainer of the package (FAS supakeen);
please add me through https://src.fedoraproject.org/rpms/webalizer/adduser

(note, this might seem cut and dry, that's because it's a copy/paste from the EPEL Package Request guideline: https://docs.fedoraproject.org/en-US/epel/epel-package-request/)

Comment 1 Quinn Comendant 2023-03-22 20:23:12 UTC
Will you be able to branch and build webalizer in epel9?

Comment 2 Sergio Basto 2023-03-23 12:16:17 UTC
Hi, sorry for the quick message 

opensuse removed libGeoIP-devel [1]

Maybe we can try https://github.com/StoneStepsInc/StoneStepsWebalizer which already supports "MaxMindDB v1.2 or newer" 

what do you suggest ? 

[1]
https://build.opensuse.org/request/show/783487#tab-pane-changes

Comment 3 Sergio Basto 2023-03-23 12:20:16 UTC
forgot to mention, because we don't have libGeoIP in epel 9

Comment 4 Quinn Comendant 2023-03-23 17:04:17 UTC
I would be ok using StoneStepsWebalizer as long as it is 100% backwards compatible with webalizer (and is committed to remaining so). I manage many systems that have pre-build configurations for running webalizer, and any changes in config or command-line options in a new version might break everything. 

If StoneStepsWebalizer has different usage, it should probably be included as a separate package than webalizer (I see the binary already has a different name, `webalizer-stonesteps`).

Comment 5 Sergio Basto 2024-02-01 21:26:16 UTC
*** Bug 2262319 has been marked as a duplicate of this bug. ***

Comment 6 Sergio Basto 2024-02-01 21:34:44 UTC
@comsec , you want build webalizer without GeoIP ? don't we have alternatives ? awstats vs webalizer vs analog https://www.c-amie.co.uk/software/analog/

Comment 7 comsec 2024-02-01 22:52:29 UTC
(In reply to Sergio Basto from comment #6)
> @comsec , you want build webalizer without GeoIP ? don't we have
> alternatives ? awstats vs webalizer vs analog
> https://www.c-amie.co.uk/software/analog/

Well, as said GeoIP is still available for rhel9 from old offline Remi packages, but as reported in 2066787 it was retired in 2022.
https://blog.maxmind.com/2020/06/retirement-of-geoip-legacy-downloadable-databases-in-may-2022/

I'm not able to find GeoIP2 in Fedora or other main repistories, and don't even know if v2 libraries are compatible with v1 and usable without changes in client code.

So I think that in the meantime better a no geoip webalizer that no webalizer at all, since it's still very fast and useful.

By the way epel8 binaries seem to work on rhel9, but it's obviously not a clean solution in the long term, since databases are no more updated an will shortly contain a lot of errors.

Comment 8 comsec 2024-02-01 23:06:10 UTC
(In reply to Sergio Basto from comment #6)
> @comsec , you want build webalizer without GeoIP ? don't we have
> alternatives ? awstats vs webalizer vs analog
> https://www.c-amie.co.uk/software/analog/

Also old webalizer included with rhel6 seems to be build with it's internal IP database, but since it's 10 years old it's for sure largely wrong, much more than geoip v1.

Regards

Comment 9 comsec 2024-02-01 23:14:48 UTC
(In reply to Sergio Basto from comment #6)
> @comsec , you want build webalizer without GeoIP ? don't we have
> alternatives ? awstats vs webalizer vs analog
> https://www.c-amie.co.uk/software/analog/

I also use awstats where I need more flexibility than webalizer, but since it's interpreted code, not binary, it's n times slower.

webalizer is damn simple and fast.

Comment 10 comsec 2024-02-01 23:28:32 UTC
It seems that you can quite easily update the internal DB to at least 2021 from here:

https://github.com/earnolmartin/EHCP-Force-Edition/raw/master/ehcp/fixes/webalizer/webalizer-geodb-latest.tgz


It should also be possible to use the last 2022 DB from maxmind but it seems that some unknown adaption in file format is needed:

https://stackoverflow.com/questions/75583887/webalizer-geoip-dat-updates-mrunix-net-offline

Comment 11 Sergio Basto 2024-07-25 18:27:40 UTC
I found https://github.com/zone-eu/webalizer/commits/master/ 

can you test replace of old GeoIP library with libmaxminddb ?


dnf copr enable sergiomb/webalizer
dnf install webalizer


references 
https://copr.fedorainfracloud.org/coprs/sergiomb/webalizer/

Comment 12 Sergio Basto 2025-04-24 00:27:49 UTC
have anyone test the version on copr ? I don't have a great way to test it yet


Note You need to log in before you can comment on or make changes to this bug.