Argus SPEC file for RPM building (fwd)
Guilsson Guilsson
guilsson at gmail.com
Sun Nov 1 17:30:48 EST 2009
Thanks for your fast reply.
But no success:
# cd /root/argusstuff
# rpmbuild -ba argus-clients-3.0.2-spec.patch
error: line 1: Unknown tag: diff -ru
argus-clients-3.0.2/lib/argus-clients.spec
argus-clients-3.0.2-chris/lib/argus-clients.spec
Thanks
-Guilsson
2009/11/1 Chris Wilson <chris-argus at qwirx.com>
> Hi Guilsson Guilsson,
>
> Please find attached my patch to the spec file that fixes building the
> argus-clients RPM for me. Please apply to the spec file and build it with
> rpmbuild -ba <patched-specfile> .
>
> Cheers, Chris.
> --
> _ ___ __ _
> / __/ / ,__(_)_ | Chris Wilson <0000 at qwirx.com> - Cambs UK |
> / (_/ ,\/ _/ /_ \ | Security/C/C++/Java/Perl/SQL/HTML Developer |
> \ _/_/_/_//_/___/ | We are GNU-free your mind-and your software |
>
> ---------- Forwarded message ----------
> Date: Sat, 10 Oct 2009 02:35:01 +0100 (BST)
> From: Chris Wilson <chris-argus at qwirx.com>
> To: Carter Bullard <carter at qosient.com>
> Cc: argus-info at lists.andrew.cmu.edu
> Subject: Re: [ARGUS] Argus SPEC file for RPM building
>
> Hi Carter,
>
> On Wed, 7 Oct 2009, Carter Bullard wrote:
>
> I've made changes in the argus.spec file in argus-3.0.2.tar.gz to deal with
>> your issue and refreshed the candidate argus-3.0.2 tarball. Could you give
>> this a try to see if it solves your problem?
>>
>> I had to do something different from your suggested patch, so it may need
>> some little test. If this works for you, I'll make the same type of changes
>> for the clients.
>>
>
> Thanks for that. It does fix the problem with building the server RPM. I've
> attached an updated patch for the client RPM which may be less intrusive
> than the previous one.
>
> Cheers, Chris.
> --
> _____ __ _
> \ __/ / ,__(_)_ | Chris Wilson <chris+sig at qwirx.com<chris%2Bsig at qwirx.com>>
> Cambs UK |
> / (_/ ,\/ _/ /_ \ | Security/C/C++/Java/Ruby/Perl/SQL Developer |
> \__/_/_/_//_/___/ | We are GNU : free your mind & your software |
> I need to install argus on some Fedora 11 machines without C compiler and
> must be in RPM format.
>
> I run these commands in a Fedora 11 with development tools installed.
>
> For ARGUS SERVER worked fine:
>
> # mkdir -p /root/argusstuff
> # cd /root/argusstuff
> # wget ftp://ftp.qosient.com/dev/argus-3.0/argus-3.0.2.tar.gz
> # rm -rf /root/rpmbuild/*
> # rpmbuild -ta argus-3.0.2.tar.gz
> ... snip ...
> # rpm -qlp /root/rpmbuild/RPMS/i386/argus-3.0-2.i386.rpm
> /etc/argus.conf
> /etc/rc.d/init.d/argus
> /usr/local/bin/argusarchive
> /usr/local/bin/argusbug
> /usr/local/sbin/argus
> /usr/local/share/doc/argus-3.0
> /usr/local/share/man/man5/argus.conf.5
> /usr/local/share/man/man8/argus.8
> For ARGUS CLIENTS didn't worked:
>
> # mkdir -p /root/argusstuff
> # cd /root/argusstuff
> # wget ftp://ftp.qosient.com/dev/argus-3.0/argus-clients-3.0.2.tar.gz
> # rm -rf /root/rpmbuild/*
> # rpmbuild -ta argus-clients-3.0.2.tar.gz
> ... snip ...
>
> ----------------------------------------------------------------------------------------------------------------------------------------
> make[1]: Leaving directory
> `/root/rpmbuild/BUILD/argus-clients-3.0.2/radump'
> + mkdir -p /usr/local
> + mkdir -p /usr/local/bin
> + mkdir -p /usr/share/doc/argus-clients-3.0
> + mkdir -p /usr/local/argus
> + mkdir -p /usr/local/argus/lib
> + cp -Rp support /usr/share/doc/argus-clients-3.0
> + cp -Rp doc/CHANGES doc/FAQ doc/HOW-TO doc/README doc/html
> /usr/share/doc/argus-clients-3.0
> + install -m 0555 -o root -g root bin/ra /usr/local/bin
> + install -m 0555 -o root -g root bin/rabins /usr/local/bin
> + install -m 0555 -o root -g root bin/racluster /usr/local/bin
> + install -m 0555 -o root -g root bin/racount /usr/local/bin
> + install -m 0555 -o root -g root bin/radium /usr/local/bin
> install: cannot stat `bin/radium': No such file or directory
> error: Bad exit status from /var/tmp/rpm-tmp.Dg2Wb5 (%build)
> RPM build errors:
> Bad exit status from /var/tmp/rpm-tmp.Dg2Wb5 (%build)
>
> ----------------------------------------------------------------------------------------------------------------------------------------
>
> Any ideas on how to fix ?
>
> -Guilsson
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist1.pair.net/pipermail/argus/attachments/20091101/21929c96/attachment.html>
More information about the argus
mailing list