From: Joe C. <jo...@sw...> - 2003-05-18 02:51:58
|
Jamie Cameron wrote: > Joe Cooper wrote: > >> Hey Jamie and all, >> >> I know I've seen you mention this somewhere before, but I can't recall >> the specifics. >> >> What naming convention is Webmin looking for when installing a module >> from RPM using the Webmin Modules module? I'm rebuilding all of my >> module RPMs for Red Hat 9, and would like to get it right this time. ;-) > > > They have to be named wbm-<modulename> , such as wbm-ppp-client . I have > a script that can construct such an RPM from a module directory if you > are planning on building a few.. The %post script of the RPM has to > follow certain standards, like adding themselves to the > /etc/webmin/webmin.acl file and copying config files to > /etc/webmin/<modulename> . I have quite a few custom modules that I package, and I have a template spec file that I use, but it does leave a few installation steps out, so I have to finish up manually (mainly just making the module visible to those users who need to see it). So, a script to auto-generate would be cool. But perhaps rather than sending via email, you should post it to the devel page? I guess I'm not the only one making RPMs of custom modules on a regular basis. Thanks for the quick reply. -- Joe Cooper <jo...@sw...> Web caching appliances and support. http://www.swelltech.com |