[arch-commits] Commit in iputils/repos (4 files)

Evangelos Foutras foutrelis at archlinux.org
Wed Nov 13 16:15:24 UTC 2019


    Date: Wednesday, November 13, 2019 @ 16:15:24
  Author: foutrelis
Revision: 368182

archrelease: copy trunk to staging-x86_64

Added:
  iputils/repos/staging-x86_64/
  iputils/repos/staging-x86_64/PKGBUILD
    (from rev 368181, iputils/trunk/PKGBUILD)
  iputils/repos/staging-x86_64/iputils.install
    (from rev 368181, iputils/trunk/iputils.install)
  iputils/repos/staging-x86_64/tftp.xinetd
    (from rev 368181, iputils/trunk/tftp.xinetd)

-----------------+
 PKGBUILD        |   42 ++++++++++++++++++++++++++++++++++++++++++
 iputils.install |    9 +++++++++
 tftp.xinetd     |   10 ++++++++++
 3 files changed, 61 insertions(+)

Copied: iputils/repos/staging-x86_64/PKGBUILD (from rev 368181, iputils/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2019-11-13 16:15:24 UTC (rev 368182)
@@ -0,0 +1,42 @@
+# Maintainer: Stéphane Gaudreault <stephane at archlinux.org>
+# Maintainer: Tobias Powalowski <tpowa at archlinux.org>
+# Contributor: Aaron Griffin <aaron at archlinux.org>
+
+pkgname=iputils
+# Commit date + git rev-parse --short origin/master
+_rev=13e0084
+pkgver=20190709
+pkgrel=2
+pkgdesc="Network monitoring tools, including ping"
+arch=('x86_64')
+license=('GPL')
+url="http://www.skbuff.net/iputils/"
+depends=('openssl' 'libcap' 'libidn2')
+optdepends=('xinetd: for tftpd')
+makedepends=('perl-sgmls' 'git' 'docbook-xsl' 'meson')
+conflicts=('netkit-base' 'arping' 'netkit-tftpd')
+replaces=('netkit-base')
+backup=(etc/xinetd.d/tftp)
+install=${pkgname}.install
+source=("git+https://github.com/iputils/iputils.git#commit=${_rev}"
+        tftp.xinetd)
+sha1sums=('SKIP'
+          'fc2ae26f5609725e3f4aeaf4ab82dfa6d2e378fd')
+
+build() {
+  mkdir -p build
+  cd build
+
+  arch-meson ../$pkgname -DBUILD_RARPD=true
+  ninja
+}
+
+package() {
+  cd build
+
+  DESTDIR="$pkgdir" ninja install
+
+  # FS#24768
+  install -dm755 "${pkgdir}"/etc/xinetd.d/
+  install -m644 "${srcdir}"/tftp.xinetd "${pkgdir}"/etc/xinetd.d/tftp
+}

Copied: iputils/repos/staging-x86_64/iputils.install (from rev 368181, iputils/trunk/iputils.install)
===================================================================
--- staging-x86_64/iputils.install	                        (rev 0)
+++ staging-x86_64/iputils.install	2019-11-13 16:15:24 UTC (rev 368182)
@@ -0,0 +1,9 @@
+post_install() {
+  setcap cap_net_raw=ep usr/bin/ping  2>/dev/null || chmod +s usr/bin/ping 
+}
+
+post_upgrade() {
+  post_install "$1"
+}
+
+# vim:set ts=2 sw=2 et:

Copied: iputils/repos/staging-x86_64/tftp.xinetd (from rev 368181, iputils/trunk/tftp.xinetd)
===================================================================
--- staging-x86_64/tftp.xinetd	                        (rev 0)
+++ staging-x86_64/tftp.xinetd	2019-11-13 16:15:24 UTC (rev 368182)
@@ -0,0 +1,10 @@
+service tftp
+{
+	socket_type	= dgram
+	protocol	= udp
+	wait		= yes
+	user		= nobody
+	server		= /usr/sbin/tftpd
+	server_args	= /var/tftpboot
+	disable		= yes
+}



More information about the arch-commits mailing list