Date: Thursday, January 12, 2017 @ 13:22:25 Author: jsteel Revision: 206990
archrelease: copy trunk to community-testing-i686, community-testing-x86_64 Added: nrpe/repos/community-testing-i686/PKGBUILD (from rev 206989, nrpe/trunk/PKGBUILD) nrpe/repos/community-testing-i686/nrpe.install (from rev 206989, nrpe/trunk/nrpe.install) nrpe/repos/community-testing-x86_64/PKGBUILD (from rev 206989, nrpe/trunk/PKGBUILD) nrpe/repos/community-testing-x86_64/nrpe.install (from rev 206989, nrpe/trunk/nrpe.install) Deleted: nrpe/repos/community-testing-i686/PKGBUILD nrpe/repos/community-testing-i686/nrpe.install nrpe/repos/community-testing-x86_64/PKGBUILD nrpe/repos/community-testing-x86_64/nrpe.install ---------------------------------------+ /PKGBUILD | 110 ++++++++++++++++++++++++++++++++ /nrpe.install | 42 ++++++++++++ community-testing-i686/PKGBUILD | 55 ---------------- community-testing-i686/nrpe.install | 23 ------ community-testing-x86_64/PKGBUILD | 55 ---------------- community-testing-x86_64/nrpe.install | 23 ------ 6 files changed, 152 insertions(+), 156 deletions(-) Deleted: community-testing-i686/PKGBUILD =================================================================== --- community-testing-i686/PKGBUILD 2017-01-12 13:21:59 UTC (rev 206989) +++ community-testing-i686/PKGBUILD 2017-01-12 13:22:25 UTC (rev 206990) @@ -1,55 +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=3.0.1 -pkgrel=1 -pkgdesc="Nagios Remote Plugin Executor" -arch=('i686' 'x86_64') -license=('GPL') -depends=('openssl') -optdepends=("monitoring-plugins: common tools for monitoring using $pkgname") -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/$pkgver/$pkgname-$pkgver.tar.gz) -md5sums=('8c81f251d9ee0903e5ff0191e99f7981') - -build() { - cd $pkgname-$pkgver - - ./configure \ - --prefix=/usr \ - --sysconfdir=/etc/nrpe \ - --libexecdir=/usr/lib/monitoring-plugins \ - --enable-command-args \ - --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 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 - - # Tidy up - chmod 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-testing-i686/PKGBUILD (from rev 206989, nrpe/trunk/PKGBUILD) =================================================================== --- community-testing-i686/PKGBUILD (rev 0) +++ community-testing-i686/PKGBUILD 2017-01-12 13:22:25 UTC (rev 206990) @@ -0,0 +1,55 @@ +# Maintainer: Jonathan Steel <jsteel at archlinux.org> +# Contributor: Phillip Smith <fuka...@no-spam.gmail.com> +# Contributor: Dale Blount <d...@archlinux.org> + +pkgname=nrpe +pkgver=3.0.1 +pkgrel=2 +pkgdesc="Nagios Remote Plugin Executor" +arch=('i686' 'x86_64') +license=('GPL') +depends=('openssl') +optdepends=("monitoring-plugins: common tools for monitoring using $pkgname") +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/$pkgver/$pkgname-$pkgver.tar.gz) +md5sums=('8c81f251d9ee0903e5ff0191e99f7981') + +build() { + cd $pkgname-$pkgver + + ./configure \ + --prefix=/usr \ + --sysconfdir=/etc/nrpe \ + --libexecdir=/usr/lib/monitoring-plugins \ + --enable-command-args \ + --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 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 + + # Tidy up + chmod 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: community-testing-i686/nrpe.install =================================================================== --- community-testing-i686/nrpe.install 2017-01-12 13:21:59 UTC (rev 206989) +++ community-testing-i686/nrpe.install 2017-01-12 13:22:25 UTC (rev 206990) @@ -1,23 +0,0 @@ -post_install() { - if [ -z "$(getent group nrpe)" ]; then - groupadd -g 31 nrpe - fi - if [ -z "$(getent passwd nrpe)" ]; then - useradd -u 31 -g nrpe -c "NRPE" -d /dev/null -s /usr/bin/nologin nrpe - fi - - grep -Pq '^nrpe\s+' /etc/services || \ - echo "nrpe 5666/tcp" >> /etc/services - - systemd-tmpfiles --create /usr/lib/tmpfiles.d/nrpe.conf -} - -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-testing-i686/nrpe.install (from rev 206989, nrpe/trunk/nrpe.install) =================================================================== --- community-testing-i686/nrpe.install (rev 0) +++ community-testing-i686/nrpe.install 2017-01-12 13:22:25 UTC (rev 206990) @@ -0,0 +1,21 @@ +post_install() { + if [ -z "$(getent group nrpe)" ]; then + groupadd -g 31 nrpe + fi + if [ -z "$(getent passwd nrpe)" ]; then + useradd -u 31 -g nrpe -c "NRPE" -d /dev/null -s /usr/bin/nologin nrpe + fi + + 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: community-testing-x86_64/PKGBUILD =================================================================== --- community-testing-x86_64/PKGBUILD 2017-01-12 13:21:59 UTC (rev 206989) +++ community-testing-x86_64/PKGBUILD 2017-01-12 13:22:25 UTC (rev 206990) @@ -1,55 +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=3.0.1 -pkgrel=1 -pkgdesc="Nagios Remote Plugin Executor" -arch=('i686' 'x86_64') -license=('GPL') -depends=('openssl') -optdepends=("monitoring-plugins: common tools for monitoring using $pkgname") -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/$pkgver/$pkgname-$pkgver.tar.gz) -md5sums=('8c81f251d9ee0903e5ff0191e99f7981') - -build() { - cd $pkgname-$pkgver - - ./configure \ - --prefix=/usr \ - --sysconfdir=/etc/nrpe \ - --libexecdir=/usr/lib/monitoring-plugins \ - --enable-command-args \ - --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 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 - - # Tidy up - chmod 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-testing-x86_64/PKGBUILD (from rev 206989, nrpe/trunk/PKGBUILD) =================================================================== --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2017-01-12 13:22:25 UTC (rev 206990) @@ -0,0 +1,55 @@ +# Maintainer: Jonathan Steel <jsteel at archlinux.org> +# Contributor: Phillip Smith <fuka...@no-spam.gmail.com> +# Contributor: Dale Blount <d...@archlinux.org> + +pkgname=nrpe +pkgver=3.0.1 +pkgrel=2 +pkgdesc="Nagios Remote Plugin Executor" +arch=('i686' 'x86_64') +license=('GPL') +depends=('openssl') +optdepends=("monitoring-plugins: common tools for monitoring using $pkgname") +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/$pkgver/$pkgname-$pkgver.tar.gz) +md5sums=('8c81f251d9ee0903e5ff0191e99f7981') + +build() { + cd $pkgname-$pkgver + + ./configure \ + --prefix=/usr \ + --sysconfdir=/etc/nrpe \ + --libexecdir=/usr/lib/monitoring-plugins \ + --enable-command-args \ + --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 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 + + # Tidy up + chmod 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: community-testing-x86_64/nrpe.install =================================================================== --- community-testing-x86_64/nrpe.install 2017-01-12 13:21:59 UTC (rev 206989) +++ community-testing-x86_64/nrpe.install 2017-01-12 13:22:25 UTC (rev 206990) @@ -1,23 +0,0 @@ -post_install() { - if [ -z "$(getent group nrpe)" ]; then - groupadd -g 31 nrpe - fi - if [ -z "$(getent passwd nrpe)" ]; then - useradd -u 31 -g nrpe -c "NRPE" -d /dev/null -s /usr/bin/nologin nrpe - fi - - grep -Pq '^nrpe\s+' /etc/services || \ - echo "nrpe 5666/tcp" >> /etc/services - - systemd-tmpfiles --create /usr/lib/tmpfiles.d/nrpe.conf -} - -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-testing-x86_64/nrpe.install (from rev 206989, nrpe/trunk/nrpe.install) =================================================================== --- community-testing-x86_64/nrpe.install (rev 0) +++ community-testing-x86_64/nrpe.install 2017-01-12 13:22:25 UTC (rev 206990) @@ -0,0 +1,21 @@ +post_install() { + if [ -z "$(getent group nrpe)" ]; then + groupadd -g 31 nrpe + fi + if [ -z "$(getent passwd nrpe)" ]; then + useradd -u 31 -g nrpe -c "NRPE" -d /dev/null -s /usr/bin/nologin nrpe + fi + + 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 +}