I have created first mod_geoip custom module for CPanel WHM using CPanel Easy Framework POD.
which will be then install using /scripts/easyapache on command line or Apache Update using WHM on your choice whether to install it or not.
I wroted it in february and published on my site, but after few days CPanel Developer DAN contacted me to enhance with there requirements that it can be added to CPanel Custom Module Listing. I made several changes to first version as suggested by CPanel Developers and alhamdulillah succeeded in it and now its listing in CPanel Custom Module. 🙂 You can install it by using following steps
tar -C /var/cpanel/easy/apache/custom_opt_mods custom_opt_mod-mod_geoip.tar.gz
Thats it, now you can run
Login into WHM and go to EasyApache Update
It will show you the Mod_GeoIP included in it and you can install it by checking the box.