Re: [CentOS] zoneminder-1.24.4-3.el6.x86_64.rpm

2011-09-29 Thread TE Dukes
 

> -Original Message-
> From: centos-boun...@centos.org 
> [mailto:centos-boun...@centos.org] On Behalf Of Lamar Owen
> Sent: Thursday, September 29, 2011 7:19 PM
> To: CentOS mailing list
> Subject: Re: [CentOS] zoneminder-1.24.4-3.el6.x86_64.rpm
> 
> On Tuesday, September 27, 2011 12:28:38 AM Joseph L. Casale wrote:
> > 
> >ftp://ftp.muug.mb.ca/mirror/fedora/linux/updates/testing/15/SRPMS/zon
> > >eminder
> > >-1.24.4-3.fc15.src.rpm
> > 
> > My bad, thought you had to modify the spec...
> > There were some recent changes to a bz I was following that got 
> > resolved which got me thinking now that CentOS 6 is out I 
> should get this done.
> 
> And without a whole lot of effort, this is doable with mock 
> (as installed from EPEL; you can get everything you need by 
> installing fedora-packager).  You need the following packages 
> in a local mock repo, all rebuilt with 'mock --rebuild' from 
> the F15 source RPM's grabbed from an F15 mirror:

This was my first attempt to rebuild a source rpm. It worked, it installed
and I'm stunned it runs. :-)

This weekend, I will pull my video capture card and install it in my new
server. I don't see any reason, at this point, it won't work, unless there
is a problem with this 32 bit PCI card.

What is a fedora-packager? It seems your method may be less time consuming
as it took me several hours to 'look for' and install the dependencies.
 
> perl-PHP-Serialization-0.34-2.el6.noarch.rpm
> perl-Sys-Mmap-0.14-3.el6.x86_64.rpm
> perl-Sys-Mmap-debuginfo-0.14-3.el6.x86_64.rpm

I had to install a lot more than that but it was a fresh CentOS 6 install
that didn't have a lot of perl modules installed.

> 
> (the debuginfo not really required).
> 
> You'll need to use createrepo on the lock mock repo; edit the 
> appropriate /etc/mock config (in my case, 
> /etc/mock/epel-6-x86_64.cfg) to make the local repo have:
> baseurl=file:///path/to/your/local/repo/
> 
> In my case, this was /var/lib/mock/localrepo:
> baseurl=file:///var/lib/mock/localrepo/

I have nothing in /var/lib/mock

> 
> If you want CR included in the buildroot you'll need to add 
> it to the mock config; you'll want to expand out the 
> $releasever and $basearch yourself.
> 
> Also, you need to issue 'mock --install perl-Time-HiRes' 
> since the F15 ZoneMinder package doesn't call that out as a 
> buildrequires, but it is in fact required (F14 at least 
> provides perl(Time::HiRes) in the perl package, but C6 
> provides it in perl-Time-HiRes).  And you need to do the mock 
> rebuild of the zoneminder source RPM with --no-clean after 
> the mock --install...

OK, you just lost me.

> 
> But I was able to get this to build.  I have not yet 
> installed it; that's the next step.

It would be nice to have all the requires built into the .rpm as mailscanner
provides but I'm sure that's some serious stuff I'd never be able to learn
on my own.

Zoneminder is a nice application. I wish the CentOS Community could make it
an 'extra'. Can't tell you the peace of mind I have when I'm out of town and
can check on my furry, four legged children.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] zoneminder-1.24.4-3.el6.x86_64.rpm

2011-09-29 Thread Lamar Owen
On Tuesday, September 27, 2011 12:28:38 AM Joseph L. Casale wrote:
> >ftp://ftp.muug.mb.ca/mirror/fedora/linux/updates/testing/15/SRPMS/zoneminder
> >-1.24.4-3.fc15.src.rpm
> 
> My bad, thought you had to modify the spec...
> There were some recent changes to a bz I was following that got resolved which
> got me thinking now that CentOS 6 is out I should get this done.

And without a whole lot of effort, this is doable with mock (as installed from 
EPEL; you can get everything you need by installing fedora-packager).  You need 
the following packages in a local mock repo, all rebuilt with 'mock --rebuild' 
from the F15 source RPM's grabbed from an F15 mirror:

perl-PHP-Serialization-0.34-2.el6.noarch.rpm
perl-Sys-Mmap-0.14-3.el6.x86_64.rpm
perl-Sys-Mmap-debuginfo-0.14-3.el6.x86_64.rpm

(the debuginfo not really required).

You'll need to use createrepo on the lock mock repo; edit the appropriate 
/etc/mock config (in my case, /etc/mock/epel-6-x86_64.cfg) to make the local 
repo have:
baseurl=file:///path/to/your/local/repo/

In my case, this was /var/lib/mock/localrepo:
baseurl=file:///var/lib/mock/localrepo/

If you want CR included in the buildroot you'll need to add it to the mock 
config; you'll want to expand out the $releasever and $basearch yourself.

Also, you need to issue 'mock --install perl-Time-HiRes' since the F15 
ZoneMinder package doesn't call that out as a buildrequires, but it is in fact 
required (F14 at least provides perl(Time::HiRes) in the perl package, but C6 
provides it in perl-Time-HiRes).  And you need to do the mock rebuild of the 
zoneminder source RPM with --no-clean after the mock --install...

But I was able to get this to build.  I have not yet installed it; that's the 
next step.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] zoneminder-1.24.4-3.el6.x86_64.rpm

2011-09-26 Thread Joseph L. Casale
>ftp://ftp.muug.mb.ca/mirror/fedora/linux/updates/testing/15/SRPMS/zoneminder
>-1.24.4-3.fc15.src.rpm

My bad, thought you had to modify the spec...
There were some recent changes to a bz I was following that got resolved which
got me thinking now that CentOS 6 is out I should get this done.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] zoneminder-1.24.4-3.el6.x86_64.rpm

2011-09-26 Thread TE Dukes
 

> -Original Message-
> From: centos-boun...@centos.org 
> [mailto:centos-boun...@centos.org] On Behalf Of Joseph L. Casale
> Sent: Monday, September 26, 2011 9:51 PM
> To: 'CentOS mailing list'
> Subject: Re: [CentOS] zoneminder-1.24.4-3.el6.x86_64.rpm
> 
> >http://palmettoshopper.com/zoneminder/zoneminder-1.24.4-3.el6
> .x86_64.rp
> >m
> >
> >Ooops, link corrected. Sorry!
> 
> That's on the end of one my last todo lists for a company I 
> work for. I gave it a go a couple times but had hardware 
> issues with the card I was using in CentOS 5. Care to post the srpm?
> 
> Thanks!
> jlc

Here ya go:
ftp://ftp.muug.mb.ca/mirror/fedora/linux/updates/testing/15/SRPMS/zoneminder
-1.24.4-3.fc15.src.rpm

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] zoneminder-1.24.4-3.el6.x86_64.rpm

2011-09-26 Thread Joseph L. Casale
>http://palmettoshopper.com/zoneminder/zoneminder-1.24.4-3.el6.x86_64.rpm
>
>Ooops, link corrected. Sorry!

That's on the end of one my last todo lists for a company I work for. I gave it 
a go a couple times
but had hardware issues with the card I was using in CentOS 5. Care to post the 
srpm?

Thanks!
jlc
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] zoneminder-1.24.4-3.el6.x86_64.rpm

2011-09-26 Thread TE Dukes
 

> -Original Message-
> From: centos-boun...@centos.org 
> [mailto:centos-boun...@centos.org] On Behalf Of Thomas Dukes
> Sent: Monday, September 26, 2011 9:40 PM
> To: 'CentOS mailing list'
> Subject: [CentOS] zoneminder-1.24.4-3.el6.x86_64.rpm
> 
> For all interested, I have rebuilt the src rpm for 
> zoneminder-1.24.4, fedora 15.
> 
> Its up and running on CentOS 6.0. Gonna have to d/l some 
> files. Most of mine came from rpm.pbone.net
> 
> The link is:

http://palmettoshopper.com/zoneminder/zoneminder-1.24.4-3.el6.x86_64.rpm

Ooops, link corrected. Sorry!

> 
> Eddie

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] zoneminder-1.24.4-3.el6.x86_64.rpm

2011-09-26 Thread Thomas Dukes
For all interested, I have rebuilt the src rpm for zoneminder-1.24.4, fedora
15.

Its up and running on CentOS 6.0. Gonna have to d/l some files. Most of mine
came from rpm.pbone.net

The link is:
http://palmettoshopper.com/zoneminder/zonminder-1.24-3.el6.x86_64.rpm

Eddie

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos