Page 1 of 1

Fedora Core 4 RPM

Posted: Mon Jan 02, 2006 5:48 am
by algenon
Hi all,

My old RH9 box shat itself recently and I'm in the process of setting up a new FC4 machine.
So has any kind soul created a ZM RPM for FC4, ordo I do it the old way?

Kind regards and Happy New Year to all.

Colin

Posted: Mon Jan 02, 2006 6:09 am
by cordel
It will be a bit before a new RPM comes out. I've started work on it but I have to work out the database stuff since zmconfig.pl is no longer used to preform that function. I also have to figure out what else might be affected by other changes. This is basicly starting from scratch so for the release canidate you'll most likely have to build it. I should have everything sorted by the time the actual release is ready.

Regards,
Corey

Posted: Mon Jan 02, 2006 6:16 am
by algenon
Thanks oodles. I shall have a glass of red for you.

Colin

Posted: Mon Jan 02, 2006 11:04 am
by cordel
Just an FYI,
Everything so far is going good with the new RPM generation and the database stuff I got straitened out allot quicker than I had thought. I do how ever have some more work to do.

Phil, What all is affected by zm.conf in the build process?
I'll need to eliminate any dependency on it in the build process.

Regards,
Corey

Posted: Mon Jan 02, 2006 11:42 am
by zoneminder
There is no dependency on zm.conf in the build. It is purely runtime only.

Getting rid of zmconfig etc was intended to make building and packaging rpms easier so hopefully it hasn't had the opposite effect :lol:

Phil

Posted: Mon Jan 02, 2006 11:58 am
by cordel
Okay, Perfect...
The only thing I have found is that I just have to strip the create and use from the sql file so no problem there ;)

The only thing I haven't yet looked into is, and I don't know if this was an over site but your instructions mention nothing of loading the database. I assume that this stays the same as before?
At least thats how I'm treating it in the spec file and I'm sure the question will arise soon anyway for a new user 8)
I'll be reworking the rest of the scripts after I go get some sleep. All else is going good and should be testing tomorrow :D

Regards,
Corey

Posted: Mon Jan 02, 2006 2:07 pm
by zoneminder
For a new install the database is loaded from the zm_create.sql script. This now contains all the configuration etc.

For an upgrade, the zmupgrade.pl script updates configuration as well as any other database changes.

Phil