* doiggl@velocitynet.com.au (doiggl@velocitynet.com.au) [20091026 11:50]:
I am trying to compile the cricket from source code. I am using this a guide to try and get it going:- http://cricket.sourceforge.net/support/doc/beginner.html
I need to put the following commands into the spec file
1. Setup cricket userid and group [done]
I'd create a special user to run Cricket as that makes things much easier. In the .spec do something like: %pre /usr/sbin/useradd -r -o -c "Cricket SNMP Monitor" \ -s /bin/false -d %{_libdir}/%{name} %{name} 2> /dev/null || :
step 2. How do I unpack the cricket-1.0.5.tar.gz into the cricket account that has just been created, what commands do I use to do this ?
You don't. I'd install into a directory under /opt and make that direcory and all files below it belong to the user cricket in the spec file.
Another question:- Q. How do I install the following Perl modules ?, what commands do I add to the .specfile ?
Check if openSUSE already provides them. If not, create a new package for each module that's missing. Add all needed modules to Requires: of cricket.spec. cheers Philipp -- Anything whose specification is too complicated to explain easily probably needs to be redesigned. David Abrahams on boost -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org