[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] making a package raq3



> Hello ,
> I have been thinking that the only way we can get services telnet - ftp
running
> on our raq3 might be through the install software panel.
>
> the services cgi has mysteriously blown up and telnet and ftp stopped?/
>
> can anyone tell me if a .pkg file has to have a rpm in it ?
>
> am learning about pkg files but dont know about what to put in a rpm.
>
> Or does anyone know of an example of a simple programme and makefile that
i
> could use to learn off. to make an rpm from
>
> Basically i just want to install a working upload.cgi - in perl (my
existing
> ones chmod files 666 so i cant upload anything that runs)
> Then make the upload.cgi and a suitable makefile? into an rpm
>
> does this sound workable
>
> best wishes Gerald

Hi,

Yes, PKGs do have to have at least one RPM in them, but you can create a
"null RPM" - ie a fake one - that will fool the GUI into accepting the PKG.
In the past, when I've had to do this, I've created a PKG and then used the
install script, upgrade_me to run the commands - just put the necessary
commands into this as if it was a standard shell script.  Of course, you'll
need to find out exactly what the problem is before you write the PKG - it
has to be aimed very specifically, or could cause more problems than it
would solve.

For full info on creating the PKG, and instructions for creating null RPMs,
search the knowledge base for "creating PKGs".

Cheers,
               Dave Rowlands

Verio UK