diff options
Diffstat (limited to '.github')
| -rw-r--r-- | .github/monitoring-plugins.spec | 28 | ||||
| -rw-r--r-- | .github/os_detect.sh | 7 | ||||
| -rw-r--r-- | .github/workflows/test-next.yml | 2 | ||||
| -rw-r--r-- | .github/workflows/test.yml | 2 |
4 files changed, 9 insertions, 30 deletions
diff --git a/.github/monitoring-plugins.spec b/.github/monitoring-plugins.spec index 5cae3e59..10799128 100644 --- a/.github/monitoring-plugins.spec +++ b/.github/monitoring-plugins.spec | |||
| @@ -191,9 +191,7 @@ Requires: %{name}-nt | |||
| 191 | Requires: %{name}-ntp | 191 | Requires: %{name}-ntp |
| 192 | Requires: %{name}-ntp_peer | 192 | Requires: %{name}-ntp_peer |
| 193 | Requires: %{name}-ntp_time | 193 | Requires: %{name}-ntp_time |
| 194 | Requires: %{name}-nwstat | ||
| 195 | Requires: %{name}-oracle | 194 | Requires: %{name}-oracle |
| 196 | Requires: %{name}-overcr | ||
| 197 | Requires: %{name}-pgsql | 195 | Requires: %{name}-pgsql |
| 198 | Requires: %{name}-ping | 196 | Requires: %{name}-ping |
| 199 | Requires: %{name}-procs | 197 | Requires: %{name}-procs |
| @@ -703,19 +701,6 @@ Provides check_ntp_time of the Monitoring Plugins. | |||
| 703 | 701 | ||
| 704 | 702 | ||
| 705 | 703 | ||
| 706 | # check_nwstat | ||
| 707 | %package nwstat | ||
| 708 | Summary: Monitoring Plugins - check_nwstat | ||
| 709 | Requires: %{name} = %{version}-%{release} | ||
| 710 | |||
| 711 | %description nwstat | ||
| 712 | Provides check_nwstat of the Monitoring Plugins. | ||
| 713 | |||
| 714 | %files nwstat | ||
| 715 | %{plugindir}/check_nwstat | ||
| 716 | |||
| 717 | |||
| 718 | |||
| 719 | # check_oracle | 704 | # check_oracle |
| 720 | %package oracle | 705 | %package oracle |
| 721 | Summary: Monitoring Plugins - check_oracle | 706 | Summary: Monitoring Plugins - check_oracle |
| @@ -729,19 +714,6 @@ Provides check_oracle of the Monitoring Plugins. | |||
| 729 | 714 | ||
| 730 | 715 | ||
| 731 | 716 | ||
| 732 | # check_overcr | ||
| 733 | %package overcr | ||
| 734 | Summary: Monitoring Plugins - check_overcr | ||
| 735 | Requires: %{name} = %{version}-%{release} | ||
| 736 | |||
| 737 | %description overcr | ||
| 738 | Provides check_overcr of the Monitoring Plugins. | ||
| 739 | |||
| 740 | %files overcr | ||
| 741 | %{plugindir}/check_overcr | ||
| 742 | |||
| 743 | |||
| 744 | |||
| 745 | # check_pgsql | 717 | # check_pgsql |
| 746 | %package pgsql | 718 | %package pgsql |
| 747 | Summary: Monitoring Plugins - check_pgsql | 719 | Summary: Monitoring Plugins - check_pgsql |
diff --git a/.github/os_detect.sh b/.github/os_detect.sh index ee9c145d..47c762d3 100644 --- a/.github/os_detect.sh +++ b/.github/os_detect.sh | |||
| @@ -1,10 +1,17 @@ | |||
| 1 | #!/bin/sh -e | 1 | #!/bin/sh -e |
| 2 | |||
| 3 | . /etc/os-release | ||
| 4 | |||
| 2 | # workaround for really bare-bones Archlinux containers: | 5 | # workaround for really bare-bones Archlinux containers: |
| 3 | if [ -x "$(command -v pacman)" ]; then | 6 | if [ -x "$(command -v pacman)" ]; then |
| 4 | pacman --noconfirm -Sy | 7 | pacman --noconfirm -Sy |
| 5 | pacman --noconfirm -S grep gawk sed | 8 | pacman --noconfirm -S grep gawk sed |
| 6 | fi | 9 | fi |
| 7 | 10 | ||
| 11 | if [ ${ID} == "fedora" -a ${VERSION_ID} -gt 41 ]; then | ||
| 12 | dnf install -y gawk | ||
| 13 | fi | ||
| 14 | |||
| 8 | os_release_file= | 15 | os_release_file= |
| 9 | if [ -s "/etc/os-release" ]; then | 16 | if [ -s "/etc/os-release" ]; then |
| 10 | os_release_file="/etc/os-release" | 17 | os_release_file="/etc/os-release" |
diff --git a/.github/workflows/test-next.yml b/.github/workflows/test-next.yml index 81240759..fd59e85d 100644 --- a/.github/workflows/test-next.yml +++ b/.github/workflows/test-next.yml | |||
| @@ -38,7 +38,7 @@ jobs: | |||
| 38 | ${{ matrix.distro }} \ | 38 | ${{ matrix.distro }} \ |
| 39 | /bin/sh -c '${{ matrix.prepare }} && \ | 39 | /bin/sh -c '${{ matrix.prepare }} && \ |
| 40 | tools/setup && \ | 40 | tools/setup && \ |
| 41 | ./configure --enable-libtap --with-ipv6=no && \ | 41 | ./configure --enable-libtap && \ |
| 42 | make && \ | 42 | make && \ |
| 43 | make test && \ | 43 | make test && \ |
| 44 | make dist && \ | 44 | make dist && \ |
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 77ca6585..ce0ec547 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml | |||
| @@ -35,7 +35,7 @@ jobs: | |||
| 35 | ${{ matrix.distro }} \ | 35 | ${{ matrix.distro }} \ |
| 36 | /bin/sh -c '${{ matrix.prepare }} && \ | 36 | /bin/sh -c '${{ matrix.prepare }} && \ |
| 37 | tools/setup && \ | 37 | tools/setup && \ |
| 38 | ./configure --enable-libtap --with-ipv6=no && \ | 38 | ./configure --enable-libtap && \ |
| 39 | make && \ | 39 | make && \ |
| 40 | make test && \ | 40 | make test && \ |
| 41 | make dist && \ | 41 | make dist && \ |
