Fedora Core 4 RPM

Support and queries relating to all previous versions of ZoneMinder
Locked
algenon
Posts: 55
Joined: Mon Oct 20, 2003 1:25 am

Fedora Core 4 RPM

Post 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
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post 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
algenon
Posts: 55
Joined: Mon Oct 20, 2003 1:25 am

Post by algenon »

Thanks oodles. I shall have a glass of red for you.

Colin
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post 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
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post 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
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post 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
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post 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
Locked