Date: Monday, July 11, 2022 @ 20:38:13 Author: eworm Revision: 1249675
archrelease: copy trunk to community-x86_64 Added: nrpe/repos/community-x86_64/PKGBUILD (from rev 1249674, nrpe/trunk/PKGBUILD) nrpe/repos/community-x86_64/nrpe.install (from rev 1249674, nrpe/trunk/nrpe.install) nrpe/repos/community-x86_64/nrpe.sysusers (from rev 1249674, nrpe/trunk/nrpe.sysusers) Deleted: nrpe/repos/community-x86_64/PKGBUILD nrpe/repos/community-x86_64/nrpe.install nrpe/repos/community-x86_64/nrpe.sysusers ---------------+ PKGBUILD | 122 ++++++++++++++++++++++++++++---------------------------- nrpe.install | 28 ++++++------ nrpe.sysusers | 2 3 files changed, 76 insertions(+), 76 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-07-11 20:38:10 UTC (rev 1249674) +++ PKGBUILD 2022-07-11 20:38:13 UTC (rev 1249675) @@ -1,61 +0,0 @@ -# Maintainer: Jonathan Steel <jsteel at archlinux.org> -# Contributor: Phillip Smith <fuka...@no-spam.gmail.com> -# Contributor: Dale Blount <d...@archlinux.org> - -pkgname=nrpe -pkgver=4.0.3 -pkgrel=2 -pkgdesc="Nagios Remote Plugin Executor" -arch=('x86_64') -license=('GPL') -depends=('openssl') -optdepends=("monitoring-plugins: common tools for monitoring using $pkgname") -makedepends=('procps-ng') -install=$pkgname.install -backup=('etc/nrpe/nrpe.cfg' 'etc/xinetd.d/nrpe') -url="https://github.com/NagiosEnterprises/nrpe" -source=(https://github.com/NagiosEnterprises/nrpe/releases/download/$pkgname-$pkgver/$pkgname-$pkgver.tar.gz - nrpe.sysusers) -md5sums=('42252d3c721c87ebb5e38b748f187e8d' - '079d1f8c06598303be95151a8985927b') - -build() { - cd $pkgname-$pkgver - - ./configure \ - --prefix=/usr \ - --sysconfdir=/etc/nrpe \ - --libexecdir=/usr/lib/monitoring-plugins \ - --with-nrpe-user=31 --with-nrpe-group=31 \ - --with-nagios-user=31 --with-nagios-group=31 \ - --with-piddir=/run/nrpe - - make all -} - -package() { - cd $pkgname-$pkgver - - make DESTDIR="$pkgdir" install - - install -Dm644 sample-config/nrpe.cfg "$pkgdir"/etc/nrpe/nrpe.cfg - install -Dm644 startup/default-service "$pkgdir"/usr/lib/systemd/system/nrpe.service - install -Dm644 startup/default-socket "$pkgdir"/usr/lib/systemd/system/nrpe.socket - install -Dm644 startup/default-xinetd "$pkgdir"/etc/xinetd.d/nrpe - install -Dm644 startup/tmpfile.conf "$pkgdir"/usr/lib/tmpfiles.d/nrpe.conf - install -Dm644 "$srcdir"/nrpe.sysusers "$pkgdir"/usr/lib/sysusers.d/nrpe.conf - - install -Dm644 README.md "$pkgdir"/usr/share/doc/$pkgname/README.md - install -Dm644 README.SSL.md "$pkgdir"/usr/share/doc/$pkgname/README.SSL.md - install -Dm644 SECURITY.md "$pkgdir"/usr/share/doc/$pkgname/SECURITY.md - install -Dm644 LEGAL "$pkgdir"/usr/share/licenses/$pkgname/LEGAL - - # FS#52873 - sed -i 's/=31$/=nrpe/g' "$pkgdir"/etc/nrpe/nrpe.cfg "$pkgdir"/usr/lib/systemd/system/nrpe.service - - # Tidy up - chmod -R 755 "$pkgdir"/usr/lib/monitoring-plugins - chown -R root:root "$pkgdir"/usr/lib/monitoring-plugins - rm -f "$pkgdir"/usr/bin/nrpe-uninstall - rm -rf "$pkgdir"/run -} Copied: nrpe/repos/community-x86_64/PKGBUILD (from rev 1249674, nrpe/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-07-11 20:38:13 UTC (rev 1249675) @@ -0,0 +1,61 @@ +# Maintainer: Jonathan Steel <jsteel at archlinux.org> +# Contributor: Phillip Smith <fuka...@no-spam.gmail.com> +# Contributor: Dale Blount <d...@archlinux.org> + +pkgname=nrpe +pkgver=4.0.3 +pkgrel=3 +pkgdesc="Nagios Remote Plugin Executor" +arch=('x86_64') +license=('GPL') +depends=('openssl') +optdepends=("monitoring-plugins: common tools for monitoring using $pkgname") +makedepends=('procps-ng') +install=$pkgname.install +backup=('etc/nrpe/nrpe.cfg' 'etc/xinetd.d/nrpe') +url="https://github.com/NagiosEnterprises/nrpe" +source=(https://github.com/NagiosEnterprises/nrpe/releases/download/$pkgname-$pkgver/$pkgname-$pkgver.tar.gz + nrpe.sysusers) +md5sums=('42252d3c721c87ebb5e38b748f187e8d' + '079d1f8c06598303be95151a8985927b') + +build() { + cd $pkgname-$pkgver + + ./configure \ + --prefix=/usr \ + --sysconfdir=/etc/nrpe \ + --libexecdir=/usr/lib/monitoring-plugins \ + --with-nrpe-user=31 --with-nrpe-group=31 \ + --with-nagios-user=31 --with-nagios-group=31 \ + --with-piddir=/run/nrpe + + make all +} + +package() { + cd $pkgname-$pkgver + + make DESTDIR="$pkgdir" install + + install -Dm644 sample-config/nrpe.cfg "$pkgdir"/etc/nrpe/nrpe.cfg + install -Dm644 startup/default-service "$pkgdir"/usr/lib/systemd/system/nrpe.service + install -Dm644 startup/default-socket "$pkgdir"/usr/lib/systemd/system/nrpe.socket + install -Dm644 startup/default-xinetd "$pkgdir"/etc/xinetd.d/nrpe + install -Dm644 startup/tmpfile.conf "$pkgdir"/usr/lib/tmpfiles.d/nrpe.conf + install -Dm644 "$srcdir"/nrpe.sysusers "$pkgdir"/usr/lib/sysusers.d/nrpe.conf + + install -Dm644 README.md "$pkgdir"/usr/share/doc/$pkgname/README.md + install -Dm644 README.SSL.md "$pkgdir"/usr/share/doc/$pkgname/README.SSL.md + install -Dm644 SECURITY.md "$pkgdir"/usr/share/doc/$pkgname/SECURITY.md + install -Dm644 LEGAL "$pkgdir"/usr/share/licenses/$pkgname/LEGAL + + # FS#52873 + sed -i 's/=31$/=nrpe/g' "$pkgdir"/etc/nrpe/nrpe.cfg "$pkgdir"/usr/lib/systemd/system/nrpe.service + + # Tidy up + chmod -R 755 "$pkgdir"/usr/lib/monitoring-plugins + chown -R root:root "$pkgdir"/usr/lib/monitoring-plugins + rm -f "$pkgdir"/usr/bin/nrpe-uninstall + rm -rf "$pkgdir"/run +} Deleted: nrpe.install =================================================================== --- nrpe.install 2022-07-11 20:38:10 UTC (rev 1249674) +++ nrpe.install 2022-07-11 20:38:13 UTC (rev 1249675) @@ -1,14 +0,0 @@ -post_install() { - grep -Pq '^nrpe\s+' /etc/services || \ - echo "nrpe 5666/tcp" >> /etc/services -} - -post_upgrade() { - post_install $1 -} - -post_remove() { - # remove the line added to /etc/services - sed -e '/nrpe 5666\/tcp/d' \ - -i /etc/services || true -} Copied: nrpe/repos/community-x86_64/nrpe.install (from rev 1249674, nrpe/trunk/nrpe.install) =================================================================== --- nrpe.install (rev 0) +++ nrpe.install 2022-07-11 20:38:13 UTC (rev 1249675) @@ -0,0 +1,14 @@ +post_install() { + grep -Pq '^nrpe\s+' /etc/services || \ + echo "nrpe 5666/tcp" >> /etc/services +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + # remove the line added to /etc/services + sed -e '/nrpe 5666\/tcp/d' \ + -i /etc/services || true +} Deleted: nrpe.sysusers =================================================================== --- nrpe.sysusers 2022-07-11 20:38:10 UTC (rev 1249674) +++ nrpe.sysusers 2022-07-11 20:38:13 UTC (rev 1249675) @@ -1 +0,0 @@ -u nrpe 31 "NRPE" - Copied: nrpe/repos/community-x86_64/nrpe.sysusers (from rev 1249674, nrpe/trunk/nrpe.sysusers) =================================================================== --- nrpe.sysusers (rev 0) +++ nrpe.sysusers 2022-07-11 20:38:13 UTC (rev 1249675) @@ -0,0 +1 @@ +u nrpe 31 "NRPE" -