cpaddons_report.pl
in this file only the cpanel list of addons is displayed to distribute to virtual sites
sub _get_available_hashref {
eval q{require "/usr/local/cpanel/cpaddons/cPAddonsAvailable.pm";};
if ($@) {
print
"<p>Sorry - The list of available addons could not be found or fetched!</p> <!-- $@ -->\n";
%cPAddonsAvailable::list = ();
}
return \%cPAddonsAvailable::list;
}
/usr/local/cpanel/cpaddons/cPAddonsAvailable.pm is hard coded. But in your documentation
http://www.cpanel.net/docs/cpaddons/Distributing_Your_Addons.htm
/usr/local/cpanel/cpaddons/cPAddonsAvailable/Vendor.pm
/usr/local/cpanel/cpaddons/cPAddonsAvailable/*
is the directory for 3rd party scripts. Even if you get the 3rd party script right and the sync server it never shows up in the "Manage cPAddon Scripts" section because of this bug, forcing you to overwrite cPAddonsAvailable.pm and other cPanel configuration files with a 3rd party RPM.
I will have to overwrite the config files with our RPM because of this error to properly install our 3rd party software.
I will possibly have to install an /etc/init.d daemon to make sure cPanel doesn't overwrite the software installed by our rpm.
Please fix this so that I can take less extereme measures in the future. For now I will make an RPM to overwite the cPanel files and a daemon to make sure cPanel never interferes with our software. That's all I can do to insure that our software runs properly in light of this half finished framework.
in this file only the cpanel list of addons is displayed to distribute to virtual sites
sub _get_available_hashref {
eval q{require "/usr/local/cpanel/cpaddons/cPAddonsAvailable.pm";};
if ($@) {
"<p>Sorry - The list of available addons could not be found or fetched!</p> <!-- $@ -->\n";
%cPAddonsAvailable::list = ();
}
return \%cPAddonsAvailable::list;
}
/usr/local/cpanel/cpaddons/cPAddonsAvailable.pm is hard coded. But in your documentation
http://www.cpanel.net/docs/cpaddons/Distributing_Your_Addons.htm
/usr/local/cpanel/cpaddons/cPAddonsAvailable/Vendor.pm
/usr/local/cpanel/cpaddons/cPAddonsAvailable/*
is the directory for 3rd party scripts. Even if you get the 3rd party script right and the sync server it never shows up in the "Manage cPAddon Scripts" section because of this bug, forcing you to overwrite cPAddonsAvailable.pm and other cPanel configuration files with a 3rd party RPM.
I will have to overwrite the config files with our RPM because of this error to properly install our 3rd party software.
I will possibly have to install an /etc/init.d daemon to make sure cPanel doesn't overwrite the software installed by our rpm.
Please fix this so that I can take less extereme measures in the future. For now I will make an RPM to overwite the cPanel files and a daemon to make sure cPanel never interferes with our software. That's all I can do to insure that our software runs properly in light of this half finished framework.
Last edited: