--- munin-2.0.76/Makefile.config.orig 2025-10-08 11:02:15.706748821 -0400 +++ munin-2.0.76/Makefile.config 2025-10-08 11:05:07.412038363 -0400 @@ -17,10 +17,10 @@ # # the base of the Munin installation. # -PREFIX = $(DESTDIR)/opt/munin +PREFIX = $(DESTDIR)/usr # Where Munin keeps its configurations (server.conf, client.conf, ++) -CONFDIR = $(DESTDIR)/etc/opt/munin +CONFDIR = $(DESTDIR)/etc/munin # Server only - where to put munin-cron BINDIR = $(PREFIX)/bin @@ -35,17 +35,17 @@ MANDIR = $(PREFIX)/man # Where to put internal binaries and plugin repository -LIBDIR = $(PREFIX)/lib +LIBDIR = $(PREFIX)/lib/munin # Server only - Output directory HTMLDIR = $(PREFIX)/www/docs CGIDIR = $(PREFIX)/www/cgi # Where to put internal data for master (RRD, internal files, ...) -DBDIR = $(DESTDIR)/var/opt/munin +DBDIR = $(DESTDIR)/var/munin # Where to put internal data for node (plugin state, ...) -DBDIRNODE = $(DESTDIR)/var/opt/munin-node +DBDIRNODE = $(DESTDIR)/var/db/munin-node # Client only - Where the spool files are written. Must be writable by # group "munin", and should be preserved between reboots @@ -56,7 +56,7 @@ PLUGSTATE = $(DBDIRNODE)/plugin-state # Where Munin should place its logs. -LOGDIR = $(PREFIX)/log/munin +LOGDIR = $(DESTDIR)/var/log/munin # Location of PID files and other statefiles. On the server, must be # writable by the user "munin".