summaryrefslogtreecommitdiffstats
path: root/paths.in
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 11:05:42 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 11:05:42 +0000
commit305857535615c13098272b678a72000b021a7fc3 (patch)
tree588d04c9a14561b6bc6d3e5ef09d413692a36771 /paths.in
parentInitial commit. (diff)
downloadnagios-nrpe-305857535615c13098272b678a72000b021a7fc3.tar.xz
nagios-nrpe-305857535615c13098272b678a72000b021a7fc3.zip
Adding upstream version 4.0.3.upstream/4.0.3upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rwxr-xr-xpaths.in85
1 files changed, 85 insertions, 0 deletions
diff --git a/paths.in b/paths.in
new file mode 100755
index 0000000..fa1cc44
--- /dev/null
+++ b/paths.in
@@ -0,0 +1,85 @@
+#!/bin/sh
+
+wrout () {
+ if test "$2" != "N/A"; then printf " %-25s %s\n" "$1" "$2"; fi
+}
+
+echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
+echo "Detected Environment:"
+echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
+wrout "Operating System" "@opsys@"
+wrout "Architecture" "@arch@"
+wrout "Distribution type" "@dist_type@ Version @dist_ver@"
+wrout "Init type" "@init_type@"
+wrout "Inetd type" "@inetd_type@"
+echo
+echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
+echo "Paths are:"
+echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
+wrout "prefix" "@prefix@"
+wrout "exec_prefix" "@prefix@"
+if test "@PKG_NAME@" = "nagios"; then
+ wrout "bindir" "@bindir@"
+fi
+wrout "sbindir" "@sbindir@"
+wrout "sysconfdir" "@sysconfdir@"
+wrout "pkgsysconfdir" "@pkgsysconfdir@"
+if test "@PKG_NAME@" = "nagios"; then
+ wrout "privatesysconfdir" "@privatesysconfdir@"
+fi
+wrout "localstatedir" "@localstatedir@"
+wrout "pkglocalstatedir" "@pkglocalstatedir@"
+wrout "datarootdir" "@datarootdir@"
+wrout "datadir" "@datadir@"
+wrout "webdir" "@webdir@"
+wrout "localedir" "@localedir@"
+wrout "logdir" "@logdir@"
+wrout "piddir" "@piddir@"
+wrout "pipedir" "@pipedir@"
+wrout "spooldir" "@spooldir@"
+wrout "libexecdir" "@libexecdir@"
+wrout "brokersdir" "@brokersdir@"
+wrout "pluginsdir" "@pluginsdir@"
+wrout "cgibindir" "@cgibindir@"
+wrout "initdir" "@initdir@"
+wrout "inetddir" "@inetddir@"
+wrout "subsyslockdir" "@subsyslockdir@"
+echo
+echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
+echo '@PKG_NAME@ files will be installed or created as follows:'
+echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
+wrout "Config file" "@pkgsysconfdir@/@PKG_NAME@.cfg"
+wrout "Object config dir" "@objsysconfdir@"
+wrout "daemon" "@sbindir@/@PKG_NAME@"
+if test "@PKG_NAME@" = "nrpe"; then
+ wrout "check_@PKG_NAME@" "@pluginsdir@/check_@PKG_NAME@"
+fi
+if test "@PKG_NAME@" = "nagios"; then
+ wrout "nagiostats (prog)" "@bindir@/nagiostats"
+ wrout "Website password file" "@pkgsysconfdir@/passwd"
+ wrout "resource.cfg" "@privatesysconfdir@/resource.cfg"
+ wrout "event handlers dir" "@brokersdir@"
+ wrout "cgi program dir" "@cgibindir@"
+ wrout "website file dir" "@webdir@"
+ wrout "status.dat" "@pkglocalstatedir@/status.dat"
+ wrout "retention.dat" "@pkglocalstatedir@/retention.dat"
+ wrout "object cache dir" "@pkglocalstatedir@"
+ wrout "log file" "@logdir@/@PKG_NAME@.log"
+ wrout "log archive dir" "@logdir@/archives"
+ wrout "@PKG_NAME@.configtest" "@logdir@/@PKG_NAME@.configtest"
+ wrout "@PKG_NAME@.cmd" "@pipedir@/@PKG_NAME@.cmd"
+ wrout "@PKG_NAME@.qh" "@pipedir@/@PKG_NAME@.qh"
+ wrout "perfdata file dir" "@spooldir@"
+ wrout "checkresult files" "@spooldir@/checkresults"
+else
+ wrout "inetd config" "@inetddir@/@inetdname@"
+fi
+wrout "init script" "@initdir@/@initname@"
+wrout "@PKG_NAME@.conf (tmpfiles.d)" "@tmpfilesd@"
+wrout "@PKG_NAME@ lock file" "@piddir@/@PKG_NAME@.pid"
+wrout "language files" "@localedir@"
+wrout "init lock file" "@subsyslockfile@"
+wrout "init source file" "@src_init@"
+wrout "inetd source file" "@src_inetd@"
+echo
+echo "To show this list again, type './paths' at the prompt"