[Slackbuilds-users] Question about current package: monit

Bryan Harris bryanlharris at gmail.com
Fri Feb 19 13:53:17 UTC 2016


Hi all,

After installing the SBo monit on Slackware and CentOS, I noticed
CentOS had a /etc/monit.conf but not Slackware.  When I look in the
package list (/var/log/packages/monit...) I don't see it listed.

It's provided by the upstream author, only they call it monitrc.  The
Red Hat people renamed it to /etc/monit.conf but it looks like the
same file.

It is listed in the Makefile, but I don't know enough about Makefiles
to understand why it's not being included.  I manually did the build
steps on my own, and all I got was the executable and the man page in
my DESTDIR, nothing more.

I guess my question is this.  Is it possible to just update one part
of a SBo package?  Since the package already exists I mean.

I have not created a SBo package in years but my best guess would be
to add a line to the current monit.Slackbuild which would copy monitrc
to an appropriate place in the $PKG folder, probably ./etc/monit.conf
like the Red Hat people did, and I guess there is something that needs
to be done to the doinst.sh script.  Can such a change be made to the
current monit on SBo?

Thanks in advance.

V/r,
Bryan


More information about the SlackBuilds-users mailing list