spec file glitches for 3.0.3.14

Phillip Deneault deneault at WPI.EDU
Fri Jul 16 09:18:03 EDT 2010


On 7/14/2010 4:23 PM, Carter Bullard wrote:
> Hey Phil,
> I've made the changes to the spec file in argus-clients-3.0.3.15 which
> I'll put up later tonight.  Seems to work on one of my older RHEL machines.
> If you have any problems, don't hesitate!!!

Sounds good.

> Those three files are perl scripts that are distributed in the argus/bin
> directory, so they don't need to be compiled.  These programs
> are really optional, they probably shouldn't be included in the rpm?

Ah ok, I see.  Then, in the 'make-it-go' category of solutions, I submit
the following updates to the spec file.

--- lib/argus.spec	2010-07-06 18:17:24.000000000 -0400
+++ ../../SPECS/argus303	2010-07-16 09:06:08.000000000 -0400
@@ -67,6 +67,9 @@
 %{argussbin}/argus
 %{argusbin}/argusbug
 %{argusbin}/argusarchive
+%{argusbin}/ralsof
+%{argusbin}/rasnmp
+%{argusbin}/ravms

 %doc %{argusdocs}
 %{argusman}/man5/argus.conf.5

I misinterpreted the files as ra* client utilities, which was a little
confusing for me since they were in the wrong package if that was the case.

> I could put them in a ./events subdirectory and install them from    >
there? Is the ./bin directory special?

In the 'should-they-be-there' category of solutions, it might be worth a
little thought and discussion about how they are supported or handled.
I don't think there is anything special about bin, but since they are
not ra* clients and more utility scripts for certain scenarios, it might
be confusing for the uninitiated.

Maybe pitching them into the 'contrib' directory is a good idea?  Maybe
renaming them to something like 'eventaction-lsof', 'eventaction-vms',
etc?  I don't really have an opinion, I'm just throwing out ideas.

Thanks,
Phil





More information about the argus mailing list