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

Antonio Rojas arojas at archlinux.org
Fri Sep 13 19:50:28 UTC 2019


    Date: Friday, September 13, 2019 @ 19:50:27
  Author: arojas
Revision: 362601

archrelease: copy trunk to testing-x86_64

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

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

Copied: iputils/repos/testing-x86_64/PKGBUILD (from rev 362600, iputils/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2019-09-13 19:50:27 UTC (rev 362601)
@@ -0,0 +1,43 @@
+# 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=1
+pkgdesc="Network monitoring tools, including ping"
+arch=('x86_64')
+license=('GPL')
+url="http://www.skbuff.net/iputils/"
+groups=('base')
+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/testing-x86_64/iputils.install (from rev 362600, iputils/trunk/iputils.install)
===================================================================
--- testing-x86_64/iputils.install	                        (rev 0)
+++ testing-x86_64/iputils.install	2019-09-13 19:50:27 UTC (rev 362601)
@@ -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/testing-x86_64/tftp.xinetd (from rev 362600, iputils/trunk/tftp.xinetd)
===================================================================
--- testing-x86_64/tftp.xinetd	                        (rev 0)
+++ testing-x86_64/tftp.xinetd	2019-09-13 19:50:27 UTC (rev 362601)
@@ -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