Date: Wednesday, July 11, 2018 @ 19:48:09
  Author: tpowa
Revision: 328271

archrelease: copy trunk to testing-x86_64

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

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

Copied: iputils/repos/testing-x86_64/PKGBUILD (from rev 328270, 
iputils/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD                             (rev 0)
+++ testing-x86_64/PKGBUILD     2018-07-11 19:48:09 UTC (rev 328271)
@@ -0,0 +1,51 @@
+# $Id$
+# Maintainer: St├ęphane Gaudreault <steph...@archlinux.org>
+# Maintainer: Tobias Powalowski <tp...@archlinux.org>
+# Contributor: Aaron Griffin <aa...@archlinux.org>
+
+pkgname=iputils
+# Commit date + git rev-parse --short origin/master
+_rev=f6aac8d
+pkgver=20180629.${_rev}
+pkgrel=1
+pkgdesc="Network monitoring tools, including ping"
+arch=('x86_64')
+license=('GPL')
+url="http://www.skbuff.net/iputils/";
+groups=('base')
+depends=('openssl' 'sysfsutils' 'libcap' 'libidn2')
+optdepends=('xinetd: for tftpd')
+makedepends=('docbook-utils' 'perl-sgmls' 'git' 'docbook-xsl')
+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() {
+  cd "${srcdir}/${pkgname}"
+
+  make USE_NETTLE=no USE_GNUTLS=no CCOPTOPT="$CFLAGS"
+  # fix perl-sgmls
+  sed -i -e 's#sgmlspl#sgmlspl.pl#g' "${srcdir}/${pkgname}/doc/Makefile"
+  make -C doc man
+}
+
+package() {
+  cd "${srcdir}/${pkgname}"
+
+  install -dm755 "${pkgdir}"/usr/bin
+
+  install -m755 arping clockdiff ping rarpd rdisc tftpd tracepath 
"${pkgdir}"/usr/bin/
+
+  install -dm755 "${pkgdir}"/usr/share/man/man8
+  install -m644 doc/{arping,clockdiff,ping,rarpd,rdisc,tftpd,tracepath}.8 \
+     "${pkgdir}"/usr/share/man/man8/
+
+  # 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 328270, 
iputils/trunk/iputils.install)
===================================================================
--- testing-x86_64/iputils.install                              (rev 0)
+++ testing-x86_64/iputils.install      2018-07-11 19:48:09 UTC (rev 328271)
@@ -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 328270, 
iputils/trunk/tftp.xinetd)
===================================================================
--- testing-x86_64/tftp.xinetd                          (rev 0)
+++ testing-x86_64/tftp.xinetd  2018-07-11 19:48:09 UTC (rev 328271)
@@ -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
+}

Reply via email to