Date: Tuesday, March 22, 2022 @ 07:17:22 Author: eworm Revision: 440528
archrelease: copy trunk to testing-x86_64 Added: fping/repos/testing-x86_64/ fping/repos/testing-x86_64/PKGBUILD (from rev 440527, fping/trunk/PKGBUILD) fping/repos/testing-x86_64/fping.install (from rev 440527, fping/trunk/fping.install) ---------------+ PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++ fping.install | 9 +++++++++ 2 files changed, 47 insertions(+) Copied: fping/repos/testing-x86_64/PKGBUILD (from rev 440527, fping/trunk/PKGBUILD) =================================================================== --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2022-03-22 07:17:22 UTC (rev 440528) @@ -0,0 +1,38 @@ +# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org> +# Contributor: Giovanni Scafora <giova...@archlinux.org> +# Contributor: Tom Newsom <jeeps...@gmx.co.uk> + +pkgname=fping +pkgver=5.1 +pkgrel=1 +pkgdesc='Utility to ping multiple hosts at once' +url='https://www.fping.org/' +arch=('x86_64') +license=('custom') +depends=('glibc') +install=${pkgname}.install +validpgpkeys=('8D1E89B8FBA920A5A609F2615A11A22BC5A1F734') # David Schweikert <da...@schweikert.ch> +source=(https://www.fping.org/dist/${pkgname}-${pkgver}.tar.gz{,.asc}) +sha512sums=('1a208da8dcd99093d0512af5d85ba5e7b5743ec97993d24c1fe612bb58d93090ac1ba0952f648aa075f16d390a77c4be65e394ae56dbede2a6914e0e8c68e2bd' + 'SKIP') +b2sums=('2fb344e650b5a359fb8780f2c599455d39405ae823edf695ee4385aa2661dc5811e088bafa1b9f53846ee90c0afa959a92832381a03346d1fda048eb4e7ee098' + 'SKIP') + +build() { + cd ${pkgname}-${pkgver} + ./configure \ + --prefix=/usr \ + --sbindir=/usr/bin \ + --mandir=/usr/share/man \ + --enable-ipv4 \ + --enable-ipv6 + make +} + +package() { + cd ${pkgname}-${pkgver} + make DESTDIR="${pkgdir}" install + install -Dm 644 COPYING -t "${pkgdir}/usr/share/licenses/${pkgname}" +} + +# vim: ts=2 sw=2 et: Copied: fping/repos/testing-x86_64/fping.install (from rev 440527, fping/trunk/fping.install) =================================================================== --- testing-x86_64/fping.install (rev 0) +++ testing-x86_64/fping.install 2022-03-22 07:17:22 UTC (rev 440528) @@ -0,0 +1,9 @@ +post_install() { + setcap cap_net_raw=ep usr/bin/fping 2>/dev/null || chmod +s usr/bin/fping +} + +post_upgrade() { + post_install "$1" +} + +# vim:set ts=2 sw=2 et: