[arch-commits] Commit in nrpe/repos/community-x86_64 (6 files)

Jonathan Steel jsteel at archlinux.org
Sat Mar 21 13:24:48 UTC 2020


    Date: Saturday, March 21, 2020 @ 13:24:47
  Author: jsteel
Revision: 602585

archrelease: copy trunk to community-x86_64

Added:
  nrpe/repos/community-x86_64/PKGBUILD
    (from rev 602584, nrpe/trunk/PKGBUILD)
  nrpe/repos/community-x86_64/nrpe.install
    (from rev 602584, nrpe/trunk/nrpe.install)
  nrpe/repos/community-x86_64/nrpe.sysusers
    (from rev 602584, 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      |  130 ++++++++++++++++++++++++++++----------------------------
 nrpe.install  |   28 ++++++------
 nrpe.sysusers |    2 
 3 files changed, 80 insertions(+), 80 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-03-21 13:24:37 UTC (rev 602584)
+++ PKGBUILD	2020-03-21 13:24:47 UTC (rev 602585)
@@ -1,65 +0,0 @@
-# Maintainer: Jonathan Steel <jsteel at archlinux.org>
-# Contributor: Phillip Smith <fukawi2 at NO-SPAM.gmail.com>
-# Contributor: Dale Blount <dale at archlinux.org>
-
-pkgname=nrpe
-pkgver=4.0.0
-pkgrel=1
-pkgdesc="Nagios Remote Plugin Executor"
-arch=('x86_64')
-license=('GPL')
-depends=('openssl-1.0')
-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=('e4cee2daed0ccdadb09693c55c4837d1'
-         '079d1f8c06598303be95151a8985927b')
-
-build() {
-  cd $pkgname-$pkgver
-
-  export PKG_CONFIG_PATH=/usr/lib/openssl-1.0/pkgconfig
-  export sslbin=/usr/bin/openssl-1.0
-  export ssl_inc_dir=/usr/include/openssl-1.0/openssl
-
-  ./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 602584, nrpe/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-03-21 13:24:47 UTC (rev 602585)
@@ -0,0 +1,65 @@
+# Maintainer: Jonathan Steel <jsteel at archlinux.org>
+# Contributor: Phillip Smith <fukawi2 at NO-SPAM.gmail.com>
+# Contributor: Dale Blount <dale at archlinux.org>
+
+pkgname=nrpe
+pkgver=4.0.2
+pkgrel=1
+pkgdesc="Nagios Remote Plugin Executor"
+arch=('x86_64')
+license=('GPL')
+depends=('openssl-1.0')
+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=('37b9e23b3e8d75308f8b31f3b61ee8a4'
+         '079d1f8c06598303be95151a8985927b')
+
+build() {
+  cd $pkgname-$pkgver
+
+  export PKG_CONFIG_PATH=/usr/lib/openssl-1.0/pkgconfig
+  export sslbin=/usr/bin/openssl-1.0
+  export ssl_inc_dir=/usr/include/openssl-1.0/openssl
+
+  ./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	2020-03-21 13:24:37 UTC (rev 602584)
+++ nrpe.install	2020-03-21 13:24:47 UTC (rev 602585)
@@ -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 602584, nrpe/trunk/nrpe.install)
===================================================================
--- nrpe.install	                        (rev 0)
+++ nrpe.install	2020-03-21 13:24:47 UTC (rev 602585)
@@ -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	2020-03-21 13:24:37 UTC (rev 602584)
+++ nrpe.sysusers	2020-03-21 13:24:47 UTC (rev 602585)
@@ -1 +0,0 @@
-u nrpe 31 "NRPE" -

Copied: nrpe/repos/community-x86_64/nrpe.sysusers (from rev 602584, nrpe/trunk/nrpe.sysusers)
===================================================================
--- nrpe.sysusers	                        (rev 0)
+++ nrpe.sysusers	2020-03-21 13:24:47 UTC (rev 602585)
@@ -0,0 +1 @@
+u nrpe 31 "NRPE" -



More information about the arch-commits mailing list