[arch-commits] Commit in fping/repos (3 files)
Christian Hesse
eworm at archlinux.org
Wed Sep 9 07:45:45 UTC 2020
Date: Wednesday, September 9, 2020 @ 07:45:45
Author: eworm
Revision: 395595
archrelease: copy trunk to testing-x86_64
Added:
fping/repos/testing-x86_64/
fping/repos/testing-x86_64/PKGBUILD
(from rev 395594, fping/trunk/PKGBUILD)
fping/repos/testing-x86_64/fping.install
(from rev 395594, fping/trunk/fping.install)
---------------+
PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++
fping.install | 9 +++++++++
2 files changed, 47 insertions(+)
Copied: fping/repos/testing-x86_64/PKGBUILD (from rev 395594, fping/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2020-09-09 07:45:45 UTC (rev 395595)
@@ -0,0 +1,38 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Giovanni Scafora <giovanni at archlinux.org>
+# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
+
+pkgname=fping
+pkgver=4.4
+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
+source=(https://www.fping.org/dist/${pkgname}-${pkgver}.tar.gz{,.asc})
+sha512sums=('8c9ff78edee10ce8e02a0d6189d4a2d91cc60954740c15730f8f1a17d037ee9f565828fa0dcd47a06f2746328063125704d467939d6280b44d5ac98a65e5acd0'
+ 'SKIP')
+b2sums=('ddf84d5576170f0279e1d801fbb4afe491c698e5fba3ef4ac6fe25b2dc9b72605c23b6d33559d04170a885ed9ab423cbc1b853110dba93d5d250b6008b0c2a3e'
+ 'SKIP')
+validpgpkeys=('8D1E89B8FBA920A5A609F2615A11A22BC5A1F734') # David Schweikert <david at schweikert.ch>
+
+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 395594, fping/trunk/fping.install)
===================================================================
--- testing-x86_64/fping.install (rev 0)
+++ testing-x86_64/fping.install 2020-09-09 07:45:45 UTC (rev 395595)
@@ -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:
More information about the arch-commits
mailing list