From: Joe C. <jo...@sw...> - 2003-05-18 01:55:48
|
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. ;-) Thanks! -- Joe Cooper <jo...@sw...> Web caching appliances and support. http://www.swelltech.com |
From: Jamie C. <jca...@we...> - 2003-05-18 02:12:14
|
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> . - Jamie |
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 |
From: Jamie C. <jca...@we...> - 2003-05-18 02:59:06
|
Joe Cooper wrote: > 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. Actually, I just noticed that it is already on the devel page under http://www.webmin.com/modules.html#wbm :-) - Jamie |
From: Joe C. <jo...@sw...> - 2003-05-19 00:06:13
|
Jamie Cameron wrote: > Joe Cooper wrote: >> 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. > > > Actually, I just noticed that it is already on the devel page under > http://www.webmin.com/modules.html#wbm > :-) Perfect! I've been reading the page so long I'm blind to what's on it. ;-) -- Joe Cooper <jo...@sw...> Web caching appliances and support. http://www.swelltech.com |