From 2ad4cf6f1c26555690b6359f8f833a362dec0e3d Mon Sep 17 00:00:00 2001 From: patvdv Date: Tue, 26 Mar 2019 11:50:55 +0100 Subject: [PATCH] Update build files for new git tree --- build/exadata/SPECS/hc-exadata-platform.spec | 18 ++-- build/hpux/hc_display_csv/hc_display_csv.psf | 2 +- .../hpux/hc_display_init/hc_display_init.psf | 2 +- .../hpux/hc_display_json/hc_display_json.psf | 2 +- .../hc_display_terse/hc_display_terse.psf | 2 +- .../hc_display_zenoss/hc_display_zenoss.psf | 2 +- build/hpux/hc_hpux/hc_hpux.psf | 38 +++---- .../hc_hpux_platform/hc_hpux_platform.psf | 6 +- build/hpux/hc_notify_eif/hc_notify_eif.psf | 4 +- build/hpux/hc_notify_sms/hc_notify_sms.psf | 4 +- build/linux/SPECS/hc-display-csv.spec | 8 +- build/linux/SPECS/hc-display-init.spec | 8 +- build/linux/SPECS/hc-display-json.spec | 8 +- build/linux/SPECS/hc-display-terse.spec | 8 +- build/linux/SPECS/hc-display-zenoss.spec | 8 +- build/linux/SPECS/hc-linux-platform.spec | 102 +++++++++--------- build/linux/SPECS/hc-linux-security.spec | 8 +- build/linux/SPECS/hc-linux.spec | 28 ++--- build/linux/SPECS/hc-notify-eif.spec | 10 +- build/linux/SPECS/hc-notify-sms.spec | 10 +- 20 files changed, 150 insertions(+), 128 deletions(-) diff --git a/build/exadata/SPECS/hc-exadata-platform.spec b/build/exadata/SPECS/hc-exadata-platform.spec index a40d503..b2097bd 100644 --- a/build/exadata/SPECS/hc-exadata-platform.spec +++ b/build/exadata/SPECS/hc-exadata-platform.spec @@ -27,16 +27,16 @@ rm -rf $RPM_BUILD_ROOT install -d -m 755 $RPM_BUILD_ROOT/opt/hc/lib install -d -m 755 $RPM_BUILD_ROOT/opt/hc/lib/platform install -d -m 755 $RPM_BUILD_ROOT/opt/hc/lib/platform/exadata -cp ../SOURCES/lib/platform/exadata/check_exadata_zfs_logs.sh $RPM_BUILD_ROOT/opt/hc/lib/platform/exadata/check_exadata_zfs_logs.sh -cp ../SOURCES/lib/platform/exadata/check_exadata_zfs_services.sh $RPM_BUILD_ROOT/opt/hc/lib/platform/exadata/check_exadata_zfs_services.sh -cp ../SOURCES/lib/platform/exadata/check_exadata_zfs_share_replication.sh $RPM_BUILD_ROOT/opt/hc/lib/platform/exadata/check_exadata_zfs_share_replication.sh -cp ../SOURCES/lib/platform/exadata/check_exadata_zfs_share_usage.sh $RPM_BUILD_ROOT/opt/hc/lib/platform/exadata/check_exadata_zfs_share_usage.sh +cp ../SOURCES/opt/hc/lib/platform/exadata/check_exadata_zfs_logs.sh $RPM_BUILD_ROOT/opt/hc/lib/platform/exadata/check_exadata_zfs_logs.sh +cp ../SOURCES/opt/hc/lib/platform/exadata/check_exadata_zfs_services.sh $RPM_BUILD_ROOT/opt/hc/lib/platform/exadata/check_exadata_zfs_services.sh +cp ../SOURCES/opt/hc/lib/platform/exadata/check_exadata_zfs_share_replication.sh $RPM_BUILD_ROOT/opt/hc/lib/platform/exadata/check_exadata_zfs_share_replication.sh +cp ../SOURCES/opt/hc/lib/platform/exadata/check_exadata_zfs_share_usage.sh $RPM_BUILD_ROOT/opt/hc/lib/platform/exadata/check_exadata_zfs_share_usage.sh install -d -m 755 $RPM_BUILD_ROOT/etc/opt/hc -cp ../SOURCES/etc/check_exadata_zfs_logs.conf.dist $RPM_BUILD_ROOT/etc/opt/hc/check_exadata_zfs_logs.conf.dist -cp ../SOURCES/etc/check_exadata_zfs_services.conf.dist $RPM_BUILD_ROOT/etc/opt/hc/check_exadata_zfs_services.conf.dist -cp ../SOURCES/etc/check_exadata_zfs_share_replication.conf.dist $RPM_BUILD_ROOT/etc/opt/hc/check_exadata_zfs_share_replication.conf.dist -cp ../SOURCES/etc/check_exadata_zfs_share_usage.conf.dist $RPM_BUILD_ROOT/etc/opt/hc/check_exadata_zfs_share_usage.conf.dist +cp ../SOURCES/etc/opt/hc/check_exadata_zfs_logs.conf.dist $RPM_BUILD_ROOT/etc/opt/hc/check_exadata_zfs_logs.conf.dist +cp ../SOURCES/etc/opt/hc/check_exadata_zfs_services.conf.dist $RPM_BUILD_ROOT/etc/opt/hc/check_exadata_zfs_services.conf.dist +cp ../SOURCES/etc/opt/hc/check_exadata_zfs_share_replication.conf.dist $RPM_BUILD_ROOT/etc/opt/hc/check_exadata_zfs_share_replication.conf.dist +cp ../SOURCES/etc/opt/hc/check_exadata_zfs_share_usage.conf.dist $RPM_BUILD_ROOT/etc/opt/hc/check_exadata_zfs_share_usage.conf.dist %post @@ -86,5 +86,7 @@ echo "INFO: finished post-uninstall script" %changelog +* Tue Mar 26 2019 - 0.1.0 +- New git tree organization * Mon Feb 18 2019 - 0.0.1 - Initial build diff --git a/build/hpux/hc_display_csv/hc_display_csv.psf b/build/hpux/hc_display_csv/hc_display_csv.psf index eb546fc..36ac0a3 100644 --- a/build/hpux/hc_display_csv/hc_display_csv.psf +++ b/build/hpux/hc_display_csv/hc_display_csv.psf @@ -58,7 +58,7 @@ This is the core CSV display plugin package" file_permissions -u 0222 -o root -g sys - directory ../../sources/lib/core=/opt/hc/lib/core + directory ../../opt/hc/lib/core=/opt/hc/lib/core file -m 755 display_csv.sh end end diff --git a/build/hpux/hc_display_init/hc_display_init.psf b/build/hpux/hc_display_init/hc_display_init.psf index 683a03d..5964a88 100644 --- a/build/hpux/hc_display_init/hc_display_init.psf +++ b/build/hpux/hc_display_init/hc_display_init.psf @@ -58,7 +58,7 @@ This is the core INIT display plugin package" file_permissions -u 0222 -o root -g sys - directory ../../sources/lib/core=/opt/hc/lib/core + directory ../../opt/hc/lib/core=/opt/hc/lib/core file -m 755 display_init.sh end end diff --git a/build/hpux/hc_display_json/hc_display_json.psf b/build/hpux/hc_display_json/hc_display_json.psf index 5852c53..29f873b 100644 --- a/build/hpux/hc_display_json/hc_display_json.psf +++ b/build/hpux/hc_display_json/hc_display_json.psf @@ -58,7 +58,7 @@ This is the core JSON display plugin package" file_permissions -u 0222 -o root -g sys - directory ../../sources/lib/core=/opt/hc/lib/core + directory ../../opt/hc/lib/core=/opt/hc/lib/core file -m 755 display_json.sh end end diff --git a/build/hpux/hc_display_terse/hc_display_terse.psf b/build/hpux/hc_display_terse/hc_display_terse.psf index 5e5cbb0..cefda54 100644 --- a/build/hpux/hc_display_terse/hc_display_terse.psf +++ b/build/hpux/hc_display_terse/hc_display_terse.psf @@ -58,7 +58,7 @@ This is the core TERSE display plugin package" file_permissions -u 0222 -o root -g sys - directory ../../sources/lib/core=/opt/hc/lib/core + directory ../../opt/hc/lib/core=/opt/hc/lib/core file -m 755 display_terse.sh end end diff --git a/build/hpux/hc_display_zenoss/hc_display_zenoss.psf b/build/hpux/hc_display_zenoss/hc_display_zenoss.psf index 37a3f88..6374399 100644 --- a/build/hpux/hc_display_zenoss/hc_display_zenoss.psf +++ b/build/hpux/hc_display_zenoss/hc_display_zenoss.psf @@ -58,7 +58,7 @@ This is the core ZENOSS display plugin package" file_permissions -u 0222 -o root -g sys - directory ../../sources/lib/core=/opt/hc/lib/core + directory ../../opt/hc/lib/core=/opt/hc/lib/core file -m 755 display_zenoss.sh end end diff --git a/build/hpux/hc_hpux/hc_hpux.psf b/build/hpux/hc_hpux/hc_hpux.psf index 8c8bdb9..f219099 100644 --- a/build/hpux/hc_hpux/hc_hpux.psf +++ b/build/hpux/hc_hpux/hc_hpux.psf @@ -4,7 +4,7 @@ depot # Vendor definition: vendor - tag KUDOS + tag KUDOS title "KUDOS BVBA - http://www.kudos.be" end @@ -28,9 +28,9 @@ product category_title Tools title "The Health Checker (HC) for UNIX" description "The Health Checker is collection of scripts (plugins) -designed to perform regular - but not intensive - health checks on -UNIX/Linux systems. It provides plugins for AIX, HP-UX and Linux as -well customer specific checks. Checks may include topics such file +designed to perform regular - but not intensive - health checks on +UNIX/Linux systems. It provides plugins for AIX, HP-UX and Linux as +well customer specific checks. Checks may include topics such file system mounts, process checks, file consistency etc." architecture S700/S800_HP-UX_10/HP-UX_11/IA64_HP-UX_11 machine_type 9000/7*|9000/8*|ia64* @@ -43,7 +43,7 @@ system mounts, process checks, file consistency etc." postinstall scripts/hc_hpux.postinstall postremove scripts/hc_hpux.postremove - + # Fileset definitions: fileset tag scripts @@ -55,10 +55,10 @@ system mounts, process checks, file consistency etc." is_patch false file_permissions -u 0222 -o root -g sys - - directory ../../sources/bin=/opt/hc/bin + + directory ../../opt/hc/bin=/opt/hc/bin file -m 755 check_health.sh - directory ../../sources/lib/core=/opt/hc/lib/core + directory ../../opt/hc/lib/core=/opt/hc/lib/core file -m 755 include_core.sh file -m 755 include_data.sh file -m 755 include_os.sh @@ -74,12 +74,12 @@ system mounts, process checks, file consistency etc." is_patch false file_permissions -u 0222 -o root -g sys - - directory ../../sources/lib/core=/opt/hc/lib/core + + directory ../../opt/hc/lib/core=/opt/hc/lib/core file -m 755 notify_mail.sh file -m 755 report_std.sh end - + fileset tag config title UX Health Checker (configuration) @@ -88,16 +88,16 @@ system mounts, process checks, file consistency etc." is_reboot false is_sparse false is_patch false - prerequisite HC-HPUX-MAIN.scripts + prerequisite HC-HPUX-MAIN.scripts file_permissions -u 0222 -o root -g sys - - directory ../../configs/etc/core=/etc/opt/hc/core + + directory ../../etc/opt/hc/core=/etc/opt/hc/core file -m 644 check_health.conf.dist - directory ../../configs/etc=/etc/opt/hc + directory ../../etc/opt/hc=/etc/opt/hc file -m 644 check_host.conf.dist end - + fileset tag templates title UX Health Checker (templates) @@ -106,11 +106,11 @@ system mounts, process checks, file consistency etc." is_reboot false is_sparse false is_patch false - prerequisite HC-HPUX-MAIN.scripts + prerequisite HC-HPUX-MAIN.scripts file_permissions -u 0222 -o root -g sys - - directory ../../configs/etc/core/templates=/etc/opt/hc/core/templates + + directory ../../etc/opt/hc/core/templates=/etc/opt/hc/core/templates file -m 644 mail_info.tpl file -m 644 mail_header.tpl file -m 644 mail_body.tpl diff --git a/build/hpux/hc_hpux_platform/hc_hpux_platform.psf b/build/hpux/hc_hpux_platform/hc_hpux_platform.psf index abc0696..5759cb2 100644 --- a/build/hpux/hc_hpux_platform/hc_hpux_platform.psf +++ b/build/hpux/hc_hpux_platform/hc_hpux_platform.psf @@ -58,7 +58,7 @@ This is the OS/platform plugin package" file_permissions -u 0222 -o root -g sys - directory ../../sources/lib/platform/hp-ux=/opt/hc/lib/platform/hp-ux + directory ../../opt/hc/lib/platform/hp-ux=/opt/hc/lib/platform/hp-ux file -m 755 check_hpux_autopath.sh file -m 755 check_hpux_cdsf_cluster.sh file -m 755 check_hpux_cron_status.sh @@ -106,7 +106,7 @@ This is the OS/platform plugin package" file_permissions -u 0222 -o root -g sys - directory ../../configs/etc/=/etc/opt/hc + directory ../../etc/opt/hc/=/etc/opt/hc file -m 644 check_hpux_drd_status.conf.dist file -m 644 check_hpux_file_age.conf.dist file -m 644 check_hpux_file_change.conf.dist @@ -141,7 +141,7 @@ This is the OS/platform plugin package" file_permissions -u 0222 -o root -g sys - directory ../../configs/etc/core/templates=/etc/opt/hc/core/templates + directory ../../etc/opt/hc/core/templates=/etc/opt/hc/core/templates file -m 644 mail_body.tpl-check_hpux_fs_mounts_options file -m 644 mail_body.tpl-check_hpux_ioscan file -m 644 mail_body.tpl-check_hpux_ovpa_status diff --git a/build/hpux/hc_notify_eif/hc_notify_eif.psf b/build/hpux/hc_notify_eif/hc_notify_eif.psf index 6009c20..d517271 100644 --- a/build/hpux/hc_notify_eif/hc_notify_eif.psf +++ b/build/hpux/hc_notify_eif/hc_notify_eif.psf @@ -58,7 +58,7 @@ This is the core EIF plugin package" file_permissions -u 0222 -o root -g sys - directory ../../sources/lib/core=/opt/hc/lib/core + directory ../../opt/hc/lib/core=/opt/hc/lib/core file -m 755 notify_eif.sh end @@ -74,7 +74,7 @@ This is the core EIF plugin package" file_permissions -u 0222 -o root -g sys - directory ../../configs/etc/core/providers=/etc/opt/hc/core/providers + directory ../../etc/opt/hc/core/providers=/etc/opt/hc/core/providers file -m 644 notify_eif.conf.dist end end diff --git a/build/hpux/hc_notify_sms/hc_notify_sms.psf b/build/hpux/hc_notify_sms/hc_notify_sms.psf index 1171dc6..2704f44 100644 --- a/build/hpux/hc_notify_sms/hc_notify_sms.psf +++ b/build/hpux/hc_notify_sms/hc_notify_sms.psf @@ -58,7 +58,7 @@ This is the core SMS plugin package" file_permissions -u 0222 -o root -g sys - directory ../../sources/lib/core=/opt/hc/lib/core + directory ../../opt/hc/lib/core=/opt/hc/lib/core file -m 755 notify_sms.sh end @@ -74,7 +74,7 @@ This is the core SMS plugin package" file_permissions -u 0222 -o root -g sys - directory ../../configs/etc/core/providers=/etc/opt/hc/core/providers + directory ../../etc/opt/hc/core/providers=/etc/opt/hc/core/providers file -m 644 notify_sms.conf.dist end end diff --git a/build/linux/SPECS/hc-display-csv.spec b/build/linux/SPECS/hc-display-csv.spec index 6ff4aeb..094fc71 100644 --- a/build/linux/SPECS/hc-display-csv.spec +++ b/build/linux/SPECS/hc-display-csv.spec @@ -13,8 +13,8 @@ URL: http://www.kudos.be Requires: ksh,hc-linux BuildArch: noarch BuildRoot: %{_topdir}/%{name}-%{version}-root - -%description + +%description The Health Checker is collection of scripts (plugins) designed to perform regular - but not intensive - health checks on UNIX/Linux systems. It provides plugins for AIX, HP-UX and Linux as well customer specific checks. Checks may include topics such file system mounts, process checks, file consistency etc. This package contains core plugins (display). @@ -26,7 +26,7 @@ This package contains core plugins (display). rm -rf $RPM_BUILD_ROOT install -d -m 755 $RPM_BUILD_ROOT/opt/hc/lib install -d -m 755 $RPM_BUILD_ROOT/opt/hc/lib/core -cp ../SOURCES/lib/core/display_csv.sh $RPM_BUILD_ROOT/opt/hc/lib/core/display_csv.sh +cp ../SOURCES/opt/hc/lib/core/display_csv.sh $RPM_BUILD_ROOT/opt/hc/lib/core/display_csv.sh %post # ------------------------- CONFIGURATION starts here ------------------------- @@ -65,5 +65,7 @@ echo "INFO: finished post-uninstall script" %attr(755, root, root) /opt/hc/lib/core/display_csv.sh %changelog +* Tue Mar 26 2019 - 0.1.0 +- New git tree organization * Sat May 06 2017 - 0.0.1 - Initial build diff --git a/build/linux/SPECS/hc-display-init.spec b/build/linux/SPECS/hc-display-init.spec index 61e0548..d75025d 100644 --- a/build/linux/SPECS/hc-display-init.spec +++ b/build/linux/SPECS/hc-display-init.spec @@ -13,8 +13,8 @@ URL: http://www.kudos.be Requires: ksh,hc-linux BuildArch: noarch BuildRoot: %{_topdir}/%{name}-%{version}-root - -%description + +%description The Health Checker is collection of scripts (plugins) designed to perform regular - but not intensive - health checks on UNIX/Linux systems. It provides plugins for AIX, HP-UX and Linux as well customer specific checks. Checks may include topics such file system mounts, process checks, file consistency etc. This package contains core plugins (display). @@ -26,7 +26,7 @@ This package contains core plugins (display). rm -rf $RPM_BUILD_ROOT install -d -m 755 $RPM_BUILD_ROOT/opt/hc/lib install -d -m 755 $RPM_BUILD_ROOT/opt/hc/lib/core -cp ../SOURCES/lib/core/display_init.sh $RPM_BUILD_ROOT/opt/hc/lib/core/display_init.sh +cp ../SOURCES/opt/hc/lib/core/display_init.sh $RPM_BUILD_ROOT/opt/hc/lib/core/display_init.sh %post # ------------------------- CONFIGURATION starts here ------------------------- @@ -65,5 +65,7 @@ echo "INFO: finished post-uninstall script" %attr(755, root, root) /opt/hc/lib/core/display_init.sh %changelog +* Tue Mar 26 2019 - 0.1.0 +- New git tree organization * Mon May 08 2017 - 0.0.1 - Initial build diff --git a/build/linux/SPECS/hc-display-json.spec b/build/linux/SPECS/hc-display-json.spec index b8faf96..d353a89 100644 --- a/build/linux/SPECS/hc-display-json.spec +++ b/build/linux/SPECS/hc-display-json.spec @@ -13,8 +13,8 @@ URL: http://www.kudos.be Requires: ksh,hc-linux BuildArch: noarch BuildRoot: %{_topdir}/%{name}-%{version}-root - -%description + +%description The Health Checker is collection of scripts (plugins) designed to perform regular - but not intensive - health checks on UNIX/Linux systems. It provides plugins for AIX, HP-UX and Linux as well customer specific checks. Checks may include topics such file system mounts, process checks, file consistency etc. This package contains core plugins (display). @@ -26,7 +26,7 @@ This package contains core plugins (display). rm -rf $RPM_BUILD_ROOT install -d -m 755 $RPM_BUILD_ROOT/opt/hc/lib install -d -m 755 $RPM_BUILD_ROOT/opt/hc/lib/core -cp ../SOURCES/lib/core/display_json.sh $RPM_BUILD_ROOT/opt/hc/lib/core/display_json.sh +cp ../SOURCES/opt/hc/lib/core/display_json.sh $RPM_BUILD_ROOT/opt/hc/lib/core/display_json.sh %post # ------------------------- CONFIGURATION starts here ------------------------- @@ -65,5 +65,7 @@ echo "INFO: finished post-uninstall script" %attr(755, root, root) /opt/hc/lib/core/display_json.sh %changelog +* Tue Mar 26 2019 - 0.1.0 +- New git tree organization * Sun May 20 2018 - 0.0.1 - Initial build diff --git a/build/linux/SPECS/hc-display-terse.spec b/build/linux/SPECS/hc-display-terse.spec index 1cae32c..740dd23 100644 --- a/build/linux/SPECS/hc-display-terse.spec +++ b/build/linux/SPECS/hc-display-terse.spec @@ -13,8 +13,8 @@ URL: http://www.kudos.be Requires: ksh,hc-linux BuildArch: noarch BuildRoot: %{_topdir}/%{name}-%{version}-root - -%description + +%description The Health Checker is collection of scripts (plugins) designed to perform regular - but not intensive - health checks on UNIX/Linux systems. It provides plugins for AIX, HP-UX and Linux as well customer specific checks. Checks may include topics such file system mounts, process checks, file consistency etc. This package contains core plugins (display). @@ -26,7 +26,7 @@ This package contains core plugins (display). rm -rf $RPM_BUILD_ROOT install -d -m 755 $RPM_BUILD_ROOT/opt/hc/lib install -d -m 755 $RPM_BUILD_ROOT/opt/hc/lib/core -cp ../SOURCES/lib/core/display_terse.sh $RPM_BUILD_ROOT/opt/hc/lib/core/display_terse.sh +cp ../SOURCES/opt/hc/lib/core/display_terse.sh $RPM_BUILD_ROOT/opt/hc/lib/core/display_terse.sh %post # ------------------------- CONFIGURATION starts here ------------------------- @@ -65,5 +65,7 @@ echo "INFO: finished post-uninstall script" %attr(755, root, root) /opt/hc/lib/core/display_terse.sh %changelog +* Tue Mar 26 2019 - 0.1.0 +- New git tree organization * Sat May 06 2017 - 0.0.1 - Initial build diff --git a/build/linux/SPECS/hc-display-zenoss.spec b/build/linux/SPECS/hc-display-zenoss.spec index c62d9ba..2659540 100644 --- a/build/linux/SPECS/hc-display-zenoss.spec +++ b/build/linux/SPECS/hc-display-zenoss.spec @@ -13,8 +13,8 @@ URL: http://www.kudos.be Requires: ksh,hc-linux BuildArch: noarch BuildRoot: %{_topdir}/%{name}-%{version}-root - -%description + +%description The Health Checker is collection of scripts (plugins) designed to perform regular - but not intensive - health checks on UNIX/Linux systems. It provides plugins for AIX, HP-UX and Linux as well customer specific checks. Checks may include topics such file system mounts, process checks, file consistency etc. This package contains core plugins (display). @@ -26,7 +26,7 @@ This package contains core plugins (display). rm -rf $RPM_BUILD_ROOT install -d -m 755 $RPM_BUILD_ROOT/opt/hc/lib install -d -m 755 $RPM_BUILD_ROOT/opt/hc/lib/core -cp ../SOURCES/lib/core/display_zenoss.sh $RPM_BUILD_ROOT/opt/hc/lib/core/display_zenoss.sh +cp ../SOURCES/opt/hc/lib/core/display_zenoss.sh $RPM_BUILD_ROOT/opt/hc/lib/core/display_zenoss.sh %post # ------------------------- CONFIGURATION starts here ------------------------- @@ -65,5 +65,7 @@ echo "INFO: finished post-uninstall script" %attr(755, root, root) /opt/hc/lib/core/display_zenoss.sh %changelog +* Tue Mar 26 2019 - 0.1.0 +- New git tree organization * Tue Dec 19 2017 - 0.0.1 - Initial build diff --git a/build/linux/SPECS/hc-linux-platform.spec b/build/linux/SPECS/hc-linux-platform.spec index 6e61ee3..c8ced4d 100644 --- a/build/linux/SPECS/hc-linux-platform.spec +++ b/build/linux/SPECS/hc-linux-platform.spec @@ -27,59 +27,59 @@ rm -rf $RPM_BUILD_ROOT install -d -m 755 $RPM_BUILD_ROOT/opt/hc/lib install -d -m 755 $RPM_BUILD_ROOT/opt/hc/lib/platform install -d -m 755 $RPM_BUILD_ROOT/opt/hc/lib/platform/linux -cp ../SOURCES/lib/platform/linux/check_linux_burp_backup.sh $RPM_BUILD_ROOT/opt/hc/lib/platform/linux/check_linux_burp_backup.sh -cp ../SOURCES/lib/platform/linux/check_linux_burp_status.sh $RPM_BUILD_ROOT/opt/hc/lib/platform/linux/check_linux_burp_status.sh -cp ../SOURCES/lib/platform/linux/check_linux_es_status.sh $RPM_BUILD_ROOT/opt/hc/lib/platform/linux/check_linux_es_status.sh -cp ../SOURCES/lib/platform/linux/check_linux_file_age.sh $RPM_BUILD_ROOT/opt/hc/lib/platform/linux/check_linux_file_age.sh -cp ../SOURCES/lib/platform/linux/check_linux_file_change.sh $RPM_BUILD_ROOT/opt/hc/lib/platform/linux/check_linux_file_change.sh -cp ../SOURCES/lib/platform/linux/check_linux_fs_mounts.sh $RPM_BUILD_ROOT/opt/hc/lib/platform/linux/check_linux_fs_mounts.sh -cp ../SOURCES/lib/platform/linux/check_linux_fs_usage.sh $RPM_BUILD_ROOT/opt/hc/lib/platform/linux/check_linux_fs_usage.sh -cp ../SOURCES/lib/platform/linux/check_linux_httpd_status.sh $RPM_BUILD_ROOT/opt/hc/lib/platform/linux/check_linux_httpd_status.sh -cp ../SOURCES/lib/platform/linux/check_linux_mysqld_status.sh $RPM_BUILD_ROOT/opt/hc/lib/platform/linux/check_linux_mysqld_status.sh -cp ../SOURCES/lib/platform/linux/check_linux_named_status.sh $RPM_BUILD_ROOT/opt/hc/lib/platform/linux/check_linux_named_status.sh -cp ../SOURCES/lib/platform/linux/check_linux_ntp_status.sh $RPM_BUILD_ROOT/opt/hc/lib/platform/linux/check_linux_ntp_status.sh -cp ../SOURCES/lib/platform/linux/check_linux_postfix_status.sh $RPM_BUILD_ROOT/opt/hc/lib/platform/linux/check_linux_postfix_status.sh -cp ../SOURCES/lib/platform/linux/check_linux_samba_status.sh $RPM_BUILD_ROOT/opt/hc/lib/platform/linux/check_linux_samba_status.sh -cp ../SOURCES/lib/platform/linux/check_linux_shorewall_status.sh $RPM_BUILD_ROOT/opt/hc/lib/platform/linux/check_linux_shorewall_status.sh -cp ../SOURCES/lib/platform/linux/check_linux_sshd_status.sh $RPM_BUILD_ROOT/opt/hc/lib/platform/linux/check_linux_sshd_status.sh -cp ../SOURCES/lib/platform/linux/check_linux_winbind_status.sh $RPM_BUILD_ROOT/opt/hc/lib/platform/linux/check_linux_winbind_status.sh -cp ../SOURCES/lib/platform/linux/check_linux_hpasmcli.sh $RPM_BUILD_ROOT/opt/hc/lib/platform/linux/check_linux_hpasmcli.sh -cp ../SOURCES/lib/platform/linux/check_linux_hpacucli.sh $RPM_BUILD_ROOT/opt/hc/lib/platform/linux/check_linux_hpacucli.sh -cp ../SOURCES/lib/platform/linux/check_linux_hplog.sh $RPM_BUILD_ROOT/opt/hc/lib/platform/linux/check_linux_hplog.sh -cp ../SOURCES/lib/platform/linux/check_linux_hpssacli.sh $RPM_BUILD_ROOT/opt/hc/lib/platform/linux/check_linux_hpssacli.sh -cp ../SOURCES/lib/platform/linux/check_linux_process_limits.sh $RPM_BUILD_ROOT/opt/hc/lib/platform/linux/check_linux_process_limits.sh -cp ../SOURCES/lib/platform/linux/check_linux_root_crontab.sh $RPM_BUILD_ROOT/opt/hc/lib/platform/linux/check_linux_root_crontab.sh -cp ../SOURCES/lib/platform/linux/check_linux_sg_cluster_config.sh $RPM_BUILD_ROOT/opt/hc/lib/platform/linux/check_linux_sg_cluster_config.sh -cp ../SOURCES/lib/platform/linux/check_linux_sg_cluster_status.sh $RPM_BUILD_ROOT/opt/hc/lib/platform/linux/check_linux_sg_cluster_status.sh -cp ../SOURCES/lib/platform/linux/check_linux_sg_package_config.sh $RPM_BUILD_ROOT/opt/hc/lib/platform/linux/check_linux_sg_package_config.sh -cp ../SOURCES/lib/platform/linux/check_linux_sg_package_status.sh $RPM_BUILD_ROOT/opt/hc/lib/platform/linux/check_linux_sg_package_status.sh -cp ../SOURCES/lib/platform/linux/check_linux_sg_qs_status.sh $RPM_BUILD_ROOT/opt/hc/lib/platform/linux/check_linux_sg_qs_status.sh -cp ../SOURCES/lib/platform/linux/check_linux_vz_ct_counters.sh $RPM_BUILD_ROOT/opt/hc/lib/platform/linux/check_linux_vz_ct_counters.sh -cp ../SOURCES/lib/platform/linux/check_linux_vz_ct_status.sh $RPM_BUILD_ROOT/opt/hc/lib/platform/linux/check_linux_vz_ct_status.sh +cp ../SOURCES/opt/hc/lib/platform/linux/check_linux_burp_backup.sh $RPM_BUILD_ROOT/opt/hc/lib/platform/linux/check_linux_burp_backup.sh +cp ../SOURCES/opt/hc/lib/platform/linux/check_linux_burp_status.sh $RPM_BUILD_ROOT/opt/hc/lib/platform/linux/check_linux_burp_status.sh +cp ../SOURCES/opt/hc/lib/platform/linux/check_linux_es_status.sh $RPM_BUILD_ROOT/opt/hc/lib/platform/linux/check_linux_es_status.sh +cp ../SOURCES/opt/hc/lib/platform/linux/check_linux_file_age.sh $RPM_BUILD_ROOT/opt/hc/lib/platform/linux/check_linux_file_age.sh +cp ../SOURCES/opt/hc/lib/platform/linux/check_linux_file_change.sh $RPM_BUILD_ROOT/opt/hc/lib/platform/linux/check_linux_file_change.sh +cp ../SOURCES/opt/hc/lib/platform/linux/check_linux_fs_mounts.sh $RPM_BUILD_ROOT/opt/hc/lib/platform/linux/check_linux_fs_mounts.sh +cp ../SOURCES/opt/hc/lib/platform/linux/check_linux_fs_usage.sh $RPM_BUILD_ROOT/opt/hc/lib/platform/linux/check_linux_fs_usage.sh +cp ../SOURCES/opt/hc/lib/platform/linux/check_linux_httpd_status.sh $RPM_BUILD_ROOT/opt/hc/lib/platform/linux/check_linux_httpd_status.sh +cp ../SOURCES/opt/hc/lib/platform/linux/check_linux_mysqld_status.sh $RPM_BUILD_ROOT/opt/hc/lib/platform/linux/check_linux_mysqld_status.sh +cp ../SOURCES/opt/hc/lib/platform/linux/check_linux_named_status.sh $RPM_BUILD_ROOT/opt/hc/lib/platform/linux/check_linux_named_status.sh +cp ../SOURCES/opt/hc/lib/platform/linux/check_linux_ntp_status.sh $RPM_BUILD_ROOT/opt/hc/lib/platform/linux/check_linux_ntp_status.sh +cp ../SOURCES/opt/hc/lib/platform/linux/check_linux_postfix_status.sh $RPM_BUILD_ROOT/opt/hc/lib/platform/linux/check_linux_postfix_status.sh +cp ../SOURCES/opt/hc/lib/platform/linux/check_linux_samba_status.sh $RPM_BUILD_ROOT/opt/hc/lib/platform/linux/check_linux_samba_status.sh +cp ../SOURCES/opt/hc/lib/platform/linux/check_linux_shorewall_status.sh $RPM_BUILD_ROOT/opt/hc/lib/platform/linux/check_linux_shorewall_status.sh +cp ../SOURCES/opt/hc/lib/platform/linux/check_linux_sshd_status.sh $RPM_BUILD_ROOT/opt/hc/lib/platform/linux/check_linux_sshd_status.sh +cp ../SOURCES/opt/hc/lib/platform/linux/check_linux_winbind_status.sh $RPM_BUILD_ROOT/opt/hc/lib/platform/linux/check_linux_winbind_status.sh +cp ../SOURCES/opt/hc/lib/platform/linux/check_linux_hpasmcli.sh $RPM_BUILD_ROOT/opt/hc/lib/platform/linux/check_linux_hpasmcli.sh +cp ../SOURCES/opt/hc/lib/platform/linux/check_linux_hpacucli.sh $RPM_BUILD_ROOT/opt/hc/lib/platform/linux/check_linux_hpacucli.sh +cp ../SOURCES/opt/hc/lib/platform/linux/check_linux_hplog.sh $RPM_BUILD_ROOT/opt/hc/lib/platform/linux/check_linux_hplog.sh +cp ../SOURCES/opt/hc/lib/platform/linux/check_linux_hpssacli.sh $RPM_BUILD_ROOT/opt/hc/lib/platform/linux/check_linux_hpssacli.sh +cp ../SOURCES/opt/hc/lib/platform/linux/check_linux_process_limits.sh $RPM_BUILD_ROOT/opt/hc/lib/platform/linux/check_linux_process_limits.sh +cp ../SOURCES/opt/hc/lib/platform/linux/check_linux_root_crontab.sh $RPM_BUILD_ROOT/opt/hc/lib/platform/linux/check_linux_root_crontab.sh +cp ../SOURCES/opt/hc/lib/platform/linux/check_linux_sg_cluster_config.sh $RPM_BUILD_ROOT/opt/hc/lib/platform/linux/check_linux_sg_cluster_config.sh +cp ../SOURCES/opt/hc/lib/platform/linux/check_linux_sg_cluster_status.sh $RPM_BUILD_ROOT/opt/hc/lib/platform/linux/check_linux_sg_cluster_status.sh +cp ../SOURCES/opt/hc/lib/platform/linux/check_linux_sg_package_config.sh $RPM_BUILD_ROOT/opt/hc/lib/platform/linux/check_linux_sg_package_config.sh +cp ../SOURCES/opt/hc/lib/platform/linux/check_linux_sg_package_status.sh $RPM_BUILD_ROOT/opt/hc/lib/platform/linux/check_linux_sg_package_status.sh +cp ../SOURCES/opt/hc/lib/platform/linux/check_linux_sg_qs_status.sh $RPM_BUILD_ROOT/opt/hc/lib/platform/linux/check_linux_sg_qs_status.sh +cp ../SOURCES/opt/hc/lib/platform/linux/check_linux_vz_ct_counters.sh $RPM_BUILD_ROOT/opt/hc/lib/platform/linux/check_linux_vz_ct_counters.sh +cp ../SOURCES/opt/hc/lib/platform/linux/check_linux_vz_ct_status.sh $RPM_BUILD_ROOT/opt/hc/lib/platform/linux/check_linux_vz_ct_status.sh install -d -m 755 $RPM_BUILD_ROOT/etc/opt/hc -cp ../SOURCES/etc/check_linux_burp_backup.conf.dist $RPM_BUILD_ROOT/etc/opt/hc/check_linux_burp_backup.conf.dist -cp ../SOURCES/etc/check_linux_es_status.conf.dist $RPM_BUILD_ROOT/etc/opt/hc/check_linux_es_status.conf.dist -cp ../SOURCES/etc/check_linux_file_age.conf.dist $RPM_BUILD_ROOT/etc/opt/hc/check_linux_file_age.conf.dist -cp ../SOURCES/etc/check_linux_file_change.conf.dist $RPM_BUILD_ROOT/etc/opt/hc/check_linux_file_change.conf.dist -cp ../SOURCES/etc/check_linux_fs_usage.conf.dist $RPM_BUILD_ROOT/etc/opt/hc/check_linux_fs_usage.conf.dist -cp ../SOURCES/etc/check_linux_hpasmcli.conf.dist $RPM_BUILD_ROOT/etc/opt/hc/check_linux_hpasmcli.conf.dist -cp ../SOURCES/etc/check_linux_hpacucli.conf.dist $RPM_BUILD_ROOT/etc/opt/hc/check_linux_hpacucli.conf.dist -cp ../SOURCES/etc/check_linux_hplog.conf.dist $RPM_BUILD_ROOT/etc/opt/hc/check_linux_hplog.conf.dist -cp ../SOURCES/etc/check_linux_hpssacli.conf.dist $RPM_BUILD_ROOT/etc/opt/hc/check_linux_hpssacli.conf.dist -cp ../SOURCES/etc/check_linux_mysqld_status.conf.dist $RPM_BUILD_ROOT/etc/opt/hc/check_linux_mysqld_status.conf.dist -cp ../SOURCES/etc/check_linux_ntp_status.conf.dist $RPM_BUILD_ROOT/etc/opt/hc/check_linux_ntp_status.conf.dist -cp ../SOURCES/etc/check_linux_process_limits.conf.dist $RPM_BUILD_ROOT/etc/opt/hc/check_linux_process_limits.conf.dist -cp ../SOURCES/etc/check_linux_root_crontab.conf.dist $RPM_BUILD_ROOT/etc/opt/hc/check_linux_root_crontab.conf.dist -cp ../SOURCES/etc/check_linux_sg_cluster_config.conf.dist $RPM_BUILD_ROOT/etc/opt/hc/check_linux_sg_cluster_config.conf.dist -cp ../SOURCES/etc/check_linux_sg_cluster_status.conf.dist $RPM_BUILD_ROOT/etc/opt/hc/check_linux_sg_cluster_status.conf.dist -cp ../SOURCES/etc/check_linux_sg_package_config.conf.dist $RPM_BUILD_ROOT/etc/opt/hc/check_linux_sg_package_config.conf.dist -cp ../SOURCES/etc/check_linux_sg_package_status.conf.dist $RPM_BUILD_ROOT/etc/opt/hc/check_linux_sg_package_status.conf.dist -cp ../SOURCES/etc/check_linux_vz_ct_counters.conf.dist $RPM_BUILD_ROOT/etc/opt/hc/check_linux_vz_ct_counters.conf.dist -cp ../SOURCES/etc/check_linux_vz_ct_status.conf.dist $RPM_BUILD_ROOT/etc/opt/hc/check_linux_vz_ct_status.conf.dist +cp ../SOURCES/etc/opt/hc/check_linux_burp_backup.conf.dist $RPM_BUILD_ROOT/etc/opt/hc/check_linux_burp_backup.conf.dist +cp ../SOURCES/etc/opt/hc/check_linux_es_status.conf.dist $RPM_BUILD_ROOT/etc/opt/hc/check_linux_es_status.conf.dist +cp ../SOURCES/etc/opt/hc/check_linux_file_age.conf.dist $RPM_BUILD_ROOT/etc/opt/hc/check_linux_file_age.conf.dist +cp ../SOURCES/etc/opt/hc/check_linux_file_change.conf.dist $RPM_BUILD_ROOT/etc/opt/hc/check_linux_file_change.conf.dist +cp ../SOURCES/etc/opt/hc/check_linux_fs_usage.conf.dist $RPM_BUILD_ROOT/etc/opt/hc/check_linux_fs_usage.conf.dist +cp ../SOURCES/etc/opt/hc/check_linux_hpasmcli.conf.dist $RPM_BUILD_ROOT/etc/opt/hc/check_linux_hpasmcli.conf.dist +cp ../SOURCES/etc/opt/hc/check_linux_hpacucli.conf.dist $RPM_BUILD_ROOT/etc/opt/hc/check_linux_hpacucli.conf.dist +cp ../SOURCES/etc/opt/hc/check_linux_hplog.conf.dist $RPM_BUILD_ROOT/etc/opt/hc/check_linux_hplog.conf.dist +cp ../SOURCES/etc/opt/hc/check_linux_hpssacli.conf.dist $RPM_BUILD_ROOT/etc/opt/hc/check_linux_hpssacli.conf.dist +cp ../SOURCES/etc/opt/hc/check_linux_mysqld_status.conf.dist $RPM_BUILD_ROOT/etc/opt/hc/check_linux_mysqld_status.conf.dist +cp ../SOURCES/etc/opt/hc/check_linux_ntp_status.conf.dist $RPM_BUILD_ROOT/etc/opt/hc/check_linux_ntp_status.conf.dist +cp ../SOURCES/etc/opt/hc/check_linux_process_limits.conf.dist $RPM_BUILD_ROOT/etc/opt/hc/check_linux_process_limits.conf.dist +cp ../SOURCES/etc/opt/hc/check_linux_root_crontab.conf.dist $RPM_BUILD_ROOT/etc/opt/hc/check_linux_root_crontab.conf.dist +cp ../SOURCES/etc/opt/hc/check_linux_sg_cluster_config.conf.dist $RPM_BUILD_ROOT/etc/opt/hc/check_linux_sg_cluster_config.conf.dist +cp ../SOURCES/etc/opt/hc/check_linux_sg_cluster_status.conf.dist $RPM_BUILD_ROOT/etc/opt/hc/check_linux_sg_cluster_status.conf.dist +cp ../SOURCES/etc/opt/hc/check_linux_sg_package_config.conf.dist $RPM_BUILD_ROOT/etc/opt/hc/check_linux_sg_package_config.conf.dist +cp ../SOURCES/etc/opt/hc/check_linux_sg_package_status.conf.dist $RPM_BUILD_ROOT/etc/opt/hc/check_linux_sg_package_status.conf.dist +cp ../SOURCES/etc/opt/hc/check_linux_vz_ct_counters.conf.dist $RPM_BUILD_ROOT/etc/opt/hc/check_linux_vz_ct_counters.conf.dist +cp ../SOURCES/etc/opt/hc/check_linux_vz_ct_status.conf.dist $RPM_BUILD_ROOT/etc/opt/hc/check_linux_vz_ct_status.conf.dist install -d -m 755 $RPM_BUILD_ROOT/etc/opt/hc/core install -d -m 755 $RPM_BUILD_ROOT/etc/opt/hc/core/templates -cp ../SOURCES/etc/core/templates/mail_body.tpl-check_linux_fs_mounts_options $RPM_BUILD_ROOT/etc/opt/hc/core/templates -cp ../SOURCES/etc/core/templates/mail_body.tpl-check_linux_root_crontab $RPM_BUILD_ROOT/etc/opt/hc/core/templates +cp ../SOURCES/etc/opt/hc/core/templates/mail_body.tpl-check_linux_fs_mounts_options $RPM_BUILD_ROOT/etc/opt/hc/core/templates +cp ../SOURCES/etc/opt/hc/core/templates/mail_body.tpl-check_linux_root_crontab $RPM_BUILD_ROOT/etc/opt/hc/core/templates %post # ------------------------- CONFIGURATION starts here ------------------------- @@ -171,6 +171,8 @@ echo "INFO: finished post-uninstall script" %attr(644, root, root) /etc/opt/hc/core/templates/mail_body.tpl-check_linux_root_crontab %changelog +* Tue Mar 26 2019 - 0.2.0 +- New git tree organization * Sat Mar 09 2019 - 0.1.5 - Added check_linux_es_status * Sun Feb 10 2019 - 0.1.4 diff --git a/build/linux/SPECS/hc-linux-security.spec b/build/linux/SPECS/hc-linux-security.spec index fd1efbb..4d39bd1 100644 --- a/build/linux/SPECS/hc-linux-security.spec +++ b/build/linux/SPECS/hc-linux-security.spec @@ -13,8 +13,8 @@ URL: http://www.kudos.be Requires: ksh,hc-linux BuildArch: noarch BuildRoot: %{_topdir}/%{name}-%{version}-root - -%description + +%description The Health Checker is collection of scripts (plugins) designed to perform regular - but not intensive - health checks on UNIX/Linux systems. It provides plugins for AIX, HP-UX and Linux as well customer specific checks. Checks may include topics such file system mounts, process checks, file consistency etc. This package contains security specific plugins. @@ -27,7 +27,7 @@ rm -rf $RPM_BUILD_ROOT install -d -m 755 $RPM_BUILD_ROOT/opt/hc/lib install -d -m 755 $RPM_BUILD_ROOT/opt/hc/lib/security install -d -m 755 $RPM_BUILD_ROOT/opt/hc/lib/security -cp ../SOURCES/lib/security/check_all_ssh_controls.sh $RPM_BUILD_ROOT/opt/hc/lib/security/check_all_ssh_controls.sh +cp ../SOURCES/opt/hc/lib/security/check_all_ssh_controls.sh $RPM_BUILD_ROOT/opt/hc/lib/security/check_all_ssh_controls.sh install -d -m 755 $RPM_BUILD_ROOT/etc/opt/hc/core install -d -m 755 $RPM_BUILD_ROOT/etc/opt/hc/core/templates @@ -68,5 +68,7 @@ echo "INFO: finished post-install script" %attr(755, root, root) /opt/hc/lib/security/check_all_ssh_controls.sh %changelog +* Tue Mar 26 2019 - 0.1.0 +- New git tree organization * Fri Jan 01 2016 - 0.0.1 - Initial build diff --git a/build/linux/SPECS/hc-linux.spec b/build/linux/SPECS/hc-linux.spec index 07f7fe7..35b428e 100644 --- a/build/linux/SPECS/hc-linux.spec +++ b/build/linux/SPECS/hc-linux.spec @@ -25,27 +25,27 @@ The Health Checker is collection of scripts (plugins) designed to perform regula rm -rf $RPM_BUILD_ROOT install -d -m 755 $RPM_BUILD_ROOT/opt/hc install -d -m 755 $RPM_BUILD_ROOT/opt/hc/bin -cp ../SOURCES/bin/check_health.sh $RPM_BUILD_ROOT/opt/hc/bin +cp ../SOURCES/opt/hc/bin/check_health.sh $RPM_BUILD_ROOT/opt/hc/bin install -d -m 755 $RPM_BUILD_ROOT/opt/hc/lib install -d -m 755 $RPM_BUILD_ROOT/opt/hc/lib/core -cp ../SOURCES/lib/core/include_core.sh $RPM_BUILD_ROOT/opt/hc/lib/core -cp ../SOURCES/lib/core/include_data.sh $RPM_BUILD_ROOT/opt/hc/lib/core -cp ../SOURCES/lib/core/include_os.sh $RPM_BUILD_ROOT/opt/hc/lib/core -cp ../SOURCES/lib/core/notify_mail.sh $RPM_BUILD_ROOT/opt/hc/lib/core -cp ../SOURCES/lib/core/report_std.sh $RPM_BUILD_ROOT/opt/hc/lib/core +cp ../SOURCES/opt/hc/lib/core/include_core.sh $RPM_BUILD_ROOT/opt/hc/lib/core +cp ../SOURCES/opt/hc/lib/core/include_data.sh $RPM_BUILD_ROOT/opt/hc/lib/core +cp ../SOURCES/opt/hc/lib/core/include_os.sh $RPM_BUILD_ROOT/opt/hc/lib/core +cp ../SOURCES/opt/hc/lib/core/notify_mail.sh $RPM_BUILD_ROOT/opt/hc/lib/core +cp ../SOURCES/opt/hc/lib/core/report_std.sh $RPM_BUILD_ROOT/opt/hc/lib/core install -d -m 755 $RPM_BUILD_ROOT/etc/opt/hc -cp ../SOURCES/etc/check_host.conf.dist $RPM_BUILD_ROOT/etc/opt/hc +cp ../SOURCES/etc/opt/hc/check_host.conf.dist $RPM_BUILD_ROOT/etc/opt/hc install -d -m 755 $RPM_BUILD_ROOT/etc/opt/hc/core -cp ../SOURCES/etc/core/check_health.conf.dist $RPM_BUILD_ROOT/etc/opt/hc/core +cp ../SOURCES/etc/opt/hc/core/check_health.conf.dist $RPM_BUILD_ROOT/etc/opt/hc/core install -d -m 755 $RPM_BUILD_ROOT/etc/opt/hc/core/providers install -d -m 755 $RPM_BUILD_ROOT/etc/opt/hc/core/templates -cp ../SOURCES/etc/core/templates/mail_info.tpl $RPM_BUILD_ROOT/etc/opt/hc/core/templates -cp ../SOURCES/etc/core/templates/mail_header.tpl $RPM_BUILD_ROOT/etc/opt/hc/core/templates -cp ../SOURCES/etc/core/templates/mail_body.tpl $RPM_BUILD_ROOT/etc/opt/hc/core/templates -cp ../SOURCES/etc/core/templates/mail_footer.tpl $RPM_BUILD_ROOT/etc/opt/hc/core/templates +cp ../SOURCES/etc/opt/hc/core/templates/mail_info.tpl $RPM_BUILD_ROOT/etc/opt/hc/core/templates +cp ../SOURCES/etc/opt/hc/core/templates/mail_header.tpl $RPM_BUILD_ROOT/etc/opt/hc/core/templates +cp ../SOURCES/etc/opt/hc/core/templates/mail_body.tpl $RPM_BUILD_ROOT/etc/opt/hc/core/templates +cp ../SOURCES/etc/opt/hc/core/templates/mail_footer.tpl $RPM_BUILD_ROOT/etc/opt/hc/core/templates install -d -m 755 $RPM_BUILD_ROOT/var/opt/hc install -d -m 755 $RPM_BUILD_ROOT/etc/logrotate.d -cp ../SOURCES/logrotate.d/check_health $RPM_BUILD_ROOT/etc/logrotate.d/check_health +cp ../SOURCES/etc/logrotate.d/check_health $RPM_BUILD_ROOT/etc/logrotate.d/check_health %post # ------------------------- CONFIGURATION starts here ------------------------- @@ -160,6 +160,8 @@ fi %attr(644, root, root) /etc/logrotate.d/check_health %changelog +* Tue Mar 26 2019 - 0.2.0 +- New git tree organization * Sat Nov 10 2018 - 0.1.0 - Added logrotate file * Mon Dec 18 2017 - 0.0.9 diff --git a/build/linux/SPECS/hc-notify-eif.spec b/build/linux/SPECS/hc-notify-eif.spec index 481dd4c..59f4da7 100644 --- a/build/linux/SPECS/hc-notify-eif.spec +++ b/build/linux/SPECS/hc-notify-eif.spec @@ -13,8 +13,8 @@ URL: http://www.kudos.be Requires: ksh,hc-linux BuildArch: noarch BuildRoot: %{_topdir}/%{name}-%{version}-root - -%description + +%description The Health Checker is collection of scripts (plugins) designed to perform regular - but not intensive - health checks on UNIX/Linux systems. It provides plugins for AIX, HP-UX and Linux as well customer specific checks. Checks may include topics such file system mounts, process checks, file consistency etc. This package contains core plugins (notify). @@ -26,11 +26,11 @@ This package contains core plugins (notify). rm -rf $RPM_BUILD_ROOT install -d -m 755 $RPM_BUILD_ROOT/opt/hc/lib install -d -m 755 $RPM_BUILD_ROOT/opt/hc/lib/core -cp ../SOURCES/lib/core/notify_eif.sh $RPM_BUILD_ROOT/opt/hc/lib/core/notify_eif.sh +cp ../SOURCES/opt/hc/lib/core/notify_eif.sh $RPM_BUILD_ROOT/opt/hc/lib/core/notify_eif.sh install -d -m 755 $RPM_BUILD_ROOT/etc/opt/hc install -d -m 755 $RPM_BUILD_ROOT/etc/opt/hc/core/providers install -d -m 755 $RPM_BUILD_ROOT/etc/opt/hc/core/providers -cp ../SOURCES/etc/core/providers/notify_eif.conf.dist $RPM_BUILD_ROOT/etc/opt/hc/core/providers/notify_eif.conf.dist +cp ../SOURCES/etc/opt/hc/core/providers/notify_eif.conf.dist $RPM_BUILD_ROOT/etc/opt/hc/core/providers/notify_eif.conf.dist %post # ------------------------- CONFIGURATION starts here ------------------------- @@ -103,6 +103,8 @@ echo "INFO: finished post-uninstall script" %attr(644, root, root) /etc/opt/hc/core/providers/notify_eif.conf.dist %changelog +* Tue Mar 26 2019 - 0.1.0 +- New git tree organization * Tue Jun 20 2017 - 0.0.2 - Made %postun RPM update aware * Sun Apr 30 2017 - 0.0.1 diff --git a/build/linux/SPECS/hc-notify-sms.spec b/build/linux/SPECS/hc-notify-sms.spec index 0ab4b0a..dcfa256 100644 --- a/build/linux/SPECS/hc-notify-sms.spec +++ b/build/linux/SPECS/hc-notify-sms.spec @@ -13,8 +13,8 @@ URL: http://www.kudos.be Requires: ksh,hc-linux BuildArch: noarch BuildRoot: %{_topdir}/%{name}-%{version}-root - -%description + +%description The Health Checker is collection of scripts (plugins) designed to perform regular - but not intensive - health checks on UNIX/Linux systems. It provides plugins for AIX, HP-UX and Linux as well customer specific checks. Checks may include topics such file system mounts, process checks, file consistency etc. This package contains core plugins (notify). @@ -26,11 +26,11 @@ This package contains core plugins (notify). rm -rf $RPM_BUILD_ROOT install -d -m 755 $RPM_BUILD_ROOT/opt/hc/lib install -d -m 755 $RPM_BUILD_ROOT/opt/hc/lib/core -cp ../SOURCES/lib/core/notify_sms.sh $RPM_BUILD_ROOT/opt/hc/lib/core/notify_sms.sh +cp ../SOURCES/opt/hc/lib/core/notify_sms.sh $RPM_BUILD_ROOT/opt/hc/lib/core/notify_sms.sh install -d -m 755 $RPM_BUILD_ROOT/etc/opt/hc install -d -m 755 $RPM_BUILD_ROOT/etc/opt/hc/core/providers install -d -m 755 $RPM_BUILD_ROOT/etc/opt/hc/core/providers -cp ../SOURCES/etc/core/providers/notify_sms.conf.dist $RPM_BUILD_ROOT/etc/opt/hc/core/providers/notify_sms.conf.dist +cp ../SOURCES/etc/opt/hc/core/providers/notify_sms.conf.dist $RPM_BUILD_ROOT/etc/opt/hc/core/providers/notify_sms.conf.dist %post # ------------------------- CONFIGURATION starts here ------------------------- @@ -103,6 +103,8 @@ echo "INFO: finished post-uninstall script" %attr(644, root, root) /etc/opt/hc/core/providers/notify_sms.conf.dist %changelog +* Tue Mar 26 2019 - 0.1.0 +- New git tree organization * Tue Jun 20 2017 - 0.0.2 - Made %postun RPM update aware * Sun Apr 30 2017 - 0.0.1