[Xymon] Xymon 4.3.0 - Build RPMs

Herbert, Francois F.Herbert at massey.ac.nz
Thu Mar 17 21:42:49 CET 2011


Hi

I have built the rpms for rhel5 and rhel6. Had to extract the tar file and rpmbuild using the specfile (rpmbuild -bb) rather than build from tar file as the xymon.spec file gave me some errors.
I ended up doing the following to get it building:

Untar the source file.

1. Edit rpm/xymon.spec:
a. set the version number (Version: @VER@ changed to Version: 4.3.0)
  b. set the Source (Source: xymon- at VER@.tar.gz to Source: xymon-4.3.0.tar.gz)
c. Remove the line (in the files section) %attr(644, root, root) %config /var/lib/xymon/www/menu/xymonmenu.css as this gives an error when building rpm (xymonmenu.css is not found). Not sure what impact this will have on the server rpm as I've only used the resulting xymon-client rpm that was created.

2. Put edited rpm/xymon.spec into /usr/src/redhat/SPECS
3. Copy rpm/xymon-client.default, /rpm/xymon-client.init, rpm/xymon-init.d  and rpm/xymon.logrotate to /usr/src/redhat/SOURCES
4. Copy tar file (xymon-4.3.0.tar.gz) to /usr/src/redhat/SOURCES
5. cd /usr/src/redhat/  and run rpmbuild -bb SPECS/xymon.spec

There might be a better way to do it, but this got it building rpms for me :-)

Hope this helps

Francois Herbert
Systems Engineer
ITS
Massey University
New Zealand

On 18/03/2011, at 6:55 AM, Leonardo Bozi wrote:


 Hi,

The Xymon 4.3.0 was released and has anyone already tried to build RPMs for CentOS 5?

Thanks in advance.

Leonardo Bozi
______________________________________________
leobozi at yahoo.com<mailto:leobozi at yahoo.com>




_______________________________________________
Xymon mailing list
Xymon at xymon.com<mailto:Xymon at xymon.com>
http://lists.xymon.com/mailman/listinfo/xymon




More information about the Xymon mailing list