Date: Thursday, March 10, 2016 @ 16:50:28
  Author: tpowa
Revision: 261285

archrelease: copy trunk to testing-i686, testing-x86_64

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

--------------------------------+
 testing-i686/PKGBUILD          |   59 +++++++++++++++++++++++++++++++++++++++
 testing-i686/iputils.install   |    9 +++++
 testing-i686/tftp.xinetd       |   10 ++++++
 testing-x86_64/PKGBUILD        |   59 +++++++++++++++++++++++++++++++++++++++
 testing-x86_64/iputils.install |    9 +++++
 testing-x86_64/tftp.xinetd     |   10 ++++++
 6 files changed, 156 insertions(+)

Copied: iputils/repos/testing-i686/PKGBUILD (from rev 261284, 
iputils/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD                               (rev 0)
+++ testing-i686/PKGBUILD       2016-03-10 15:50:28 UTC (rev 261285)
@@ -0,0 +1,59 @@
+# $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=0db72a4
+pkgver=20160308.${_rev}
+pkgrel=1
+pkgdesc="Network monitoring tools, including ping"
+arch=('i686' 'x86_64')
+license=('GPL')
+url="http://www.skbuff.net/iputils/";
+groups=('base')
+depends=('openssl' 'sysfsutils' 'libcap')
+optdepends=('xinetd: for tftpd')
+makedepends=('docbook2x' 'opensp' 'git')
+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_GNUTLS=no CCOPTOPT="$CFLAGS"
+
+  cd doc
+  for file in *.sgml; do
+    xf=${file/.sgml/.xml}
+    osx -xlower -xno-nl-in-tag $file > $xf || true
+    sed -i "s|<refname>\(.*\), \(.*\)</refname>|<refname>\1</refname>, 
<refname>\2</refname>|g" $xf
+    docbook2man $xf
+  done
+}
+
+package() {
+  cd "${srcdir}/${pkgname}"
+
+  install -dm755 "${pkgdir}"/usr/bin
+
+  install -m755 arping clockdiff ping rarpd rdisc tftpd tracepath tracepath6 
"${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/
+
+  cd "${pkgdir}"/usr/share/man/man8
+  ln -sf tracepath.8.gz tracepath6.8.gz
+
+  # FS#24768
+  install -dm755 "${pkgdir}"/etc/xinetd.d/
+  install -m644 "${srcdir}"/tftp.xinetd "${pkgdir}"/etc/xinetd.d/tftp
+}

Copied: iputils/repos/testing-i686/iputils.install (from rev 261284, 
iputils/trunk/iputils.install)
===================================================================
--- testing-i686/iputils.install                                (rev 0)
+++ testing-i686/iputils.install        2016-03-10 15:50:28 UTC (rev 261285)
@@ -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-i686/tftp.xinetd (from rev 261284, 
iputils/trunk/tftp.xinetd)
===================================================================
--- testing-i686/tftp.xinetd                            (rev 0)
+++ testing-i686/tftp.xinetd    2016-03-10 15:50:28 UTC (rev 261285)
@@ -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
+}

Copied: iputils/repos/testing-x86_64/PKGBUILD (from rev 261284, 
iputils/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD                             (rev 0)
+++ testing-x86_64/PKGBUILD     2016-03-10 15:50:28 UTC (rev 261285)
@@ -0,0 +1,59 @@
+# $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=0db72a4
+pkgver=20160308.${_rev}
+pkgrel=1
+pkgdesc="Network monitoring tools, including ping"
+arch=('i686' 'x86_64')
+license=('GPL')
+url="http://www.skbuff.net/iputils/";
+groups=('base')
+depends=('openssl' 'sysfsutils' 'libcap')
+optdepends=('xinetd: for tftpd')
+makedepends=('docbook2x' 'opensp' 'git')
+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_GNUTLS=no CCOPTOPT="$CFLAGS"
+
+  cd doc
+  for file in *.sgml; do
+    xf=${file/.sgml/.xml}
+    osx -xlower -xno-nl-in-tag $file > $xf || true
+    sed -i "s|<refname>\(.*\), \(.*\)</refname>|<refname>\1</refname>, 
<refname>\2</refname>|g" $xf
+    docbook2man $xf
+  done
+}
+
+package() {
+  cd "${srcdir}/${pkgname}"
+
+  install -dm755 "${pkgdir}"/usr/bin
+
+  install -m755 arping clockdiff ping rarpd rdisc tftpd tracepath tracepath6 
"${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/
+
+  cd "${pkgdir}"/usr/share/man/man8
+  ln -sf tracepath.8.gz tracepath6.8.gz
+
+  # 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 261284, 
iputils/trunk/iputils.install)
===================================================================
--- testing-x86_64/iputils.install                              (rev 0)
+++ testing-x86_64/iputils.install      2016-03-10 15:50:28 UTC (rev 261285)
@@ -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 261284, 
iputils/trunk/tftp.xinetd)
===================================================================
--- testing-x86_64/tftp.xinetd                          (rev 0)
+++ testing-x86_64/tftp.xinetd  2016-03-10 15:50:28 UTC (rev 261285)
@@ -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