Many years ago I built a xymon package from the spec file. It was relatively straightforward, and it even applied a list of patches automatically. I would start with an SRPM file from Terabithia, which should have everything you need to build an RPM, including spec file and patches that JC deemed useful (either bug fixes that hadn't made it into the source code, or adjustments to work with the OS such as locations of directories, startup scripts).

J

On Wed, 28 Jan 2026, 21:03 Nicola, <canne74@gmail.com> wrote:
I think you can start from an existing .spec file ) it's the "definition" of how RPMs are built: with a bit of luck they wil work untouched.

Nicola

Nicola
Il giorno 27 gennaio 2026, alle ore 21:15, Scot Kreienkamp <xymon@xymon.com> ha scritto:


I’ve been working through the process of creating RPMs of Xymon, what we can and cannot do on GitHub actions.

 

First, the GitHub actions to create the RPMs must run under Ubuntu, as it’s the only Linux version directly available in actions, and it has to be a current version of Ubuntu at that.  They phase out older versions fairly quickly. The RPM building commands are available under Ubuntu, but the file locations and such may differ, which could present a problem.  The other option is I use podman or docker in Ubuntu based GitHub action to run a RedHat or Rocky Linux image to build the packages in.  I might have to go that route to get packaging for older OS versions.  If so, I might as well just use that to generate each OS version’s packages so the only thing I would have to change between major OS versions is the image being used to compile it.  Hopefully.

 

Second, I’m still working through learning how to build the RPMs themselves.  I’m still beginner level on how to do this so it’s not fast progress.

 

 


Scot Kreienkamp | Applications Infrastructure Architect | La-Z-Boy Corporate 
(734) 384-6403 | 1-734-915-1444 | Scot.Kreienkamp@la-z-boy.com
One La-Z-Boy Drive | Monroe, Michigan 48162 | la-z-boy.com
facebook.com/lazboy  | instagram.com/lazboy | youtube.com/lazboy

LaZboy Logo

This message is intended only for the individual or entity to which it is addressed. It may contain privileged, confidential information which is exempt from disclosure under applicable laws. If you are not the intended recipient, you are strictly prohibited from disseminating or distributing this information (other than to the intended recipient) or copying this information. If you have received this communication in error, please notify us immediately by e-mail or by telephone at the above number. Thank you.

_______________________________________________
Xymon mailing list -- xymon@xymon.com
To unsubscribe send an email to xymon-leave@xymon.com