[LWN Logo]

Date: Thu, 24 Sep 1998 13:12:15 -0400 (EDT)
From: Jacques Gelinas <jack@solucorp.qc.ca>
To: "Linuxconf Mailing List" <linuxconf@XC.Org>
Subject: [linuxconf] Re: Modules

On Wed, 23 Sep 1998, Jonathan Marsden wrote:

> On 23 Sep 1998, Robert W. Canary writes:
> 
> > How do I start with trying to write my own modules so as I can keep
> > my system the way *I* want it.
> 
> There is a tutorial on writing Linuxconf modules at the Linuxconf web
> site.  Everything under 
> 
>     http://www.solucorp.qc.ca/linuxconf/tech/ 
> 
> is relevant, but I'd suggest starting out with
> 
>     http://www.solucorp.qc.ca/linuxconf/tech/modtutor/
> 
> I've also found that reading the source of other existing Linuxconf
> modules is useful, especially the simple ones like motd, which was
> written mainly as an example for others to learn from.
> 
> Lastly, do share whatever modules you create with the rest of us in
> the Linuxconf user community, so that we all share the benefits of
> your work.

Note that with linuxconf 1.12r4, there is a new package called
linuxconf-devel. The purpose of this package is to let people develop
module outside the linuxconf source tree. All the stuff in the various
document, including modtutor and especially the setupmod.sh script do work
the same (the script is included in linuxconf-devel package).

With 1.12r5 (coming maybe today), the linuxconf-devel package has been
enhanced. Once you have create a working module, you can do

	make buildrpm

and you get a source and binary rpm done. With 1.12r5, I will distribute
one "independant" module (to start) called managerpm. This module is
almost done and is a mix of glint and other rpm utilities (and it work in
html, text and gui :-) ).

So with 1.12r5, linuxconf-devel should be really useable. More doc is
always needed.

Note also that linuxconf-devel will allows one to write standalone
utilities that make use of the linuxconf UI toolkit. Those utilities won't
be module and really independant ones. At some point, I will release
liblinuxconf (part of linuxconf-devel) under the LGPL. I intend to
distribute few utilities built this way btw.

Note also that managerpm will probably be merged in the main linuxconf
distribution (since any rpm user needs it). But the ability to distribute
modules independantly will foster interest for co-developper (they do not
have to grab 2 megs of linuxconf source and compile that to give a try to
the module).

Anyway, this is coming...

--------------------------------------------------------
Jacques Gelinas (jacques@solucorp.qc.ca)
Linuxconf: The ultimate administration system for Linux.
see http://www.solucorp.qc.ca/linuxconf
new developments: remote GUI admin, multiple machines admin, wu-ftpd



---
You are currently subscribed to linuxconf as: [lwn-linuxconf@eklektix.com]
To unsubscribe, forward this message to leave-linuxconf-222304G@XC.Org