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

Tobias Powalowski tpowa at archlinux.org
Fri Sep 4 18:49:37 UTC 2015


    Date: Friday, September 4, 2015 @ 20:49:37
  Author: tpowa
Revision: 245304

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

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

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

Copied: iputils/repos/testing-i686/PKGBUILD (from rev 245303, iputils/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2015-09-04 18:49:37 UTC (rev 245304)
@@ -0,0 +1,60 @@
+# $Id$
+# 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=1b5d03a
+pkgver=20150815.${_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 ping.8.gz  ping6.8.gz
+  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 245303, iputils/trunk/iputils.install)
===================================================================
--- testing-i686/iputils.install	                        (rev 0)
+++ testing-i686/iputils.install	2015-09-04 18:49:37 UTC (rev 245304)
@@ -0,0 +1,10 @@
+post_install() {
+  setcap cap_net_raw=ep usr/bin/ping  2>/dev/null || chmod +s usr/bin/ping 
+  setcap cap_net_raw=ep usr/bin/ping6 2>/dev/null || chmod +s usr/bin/ping6
+}
+
+post_upgrade() {
+  post_install "$1"
+}
+
+# vim:set ts=2 sw=2 et:

Copied: iputils/repos/testing-i686/tftp.xinetd (from rev 245303, iputils/trunk/tftp.xinetd)
===================================================================
--- testing-i686/tftp.xinetd	                        (rev 0)
+++ testing-i686/tftp.xinetd	2015-09-04 18:49:37 UTC (rev 245304)
@@ -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 245303, iputils/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2015-09-04 18:49:37 UTC (rev 245304)
@@ -0,0 +1,60 @@
+# $Id$
+# 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=1b5d03a
+pkgver=20150815.${_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 ping.8.gz  ping6.8.gz
+  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 245303, iputils/trunk/iputils.install)
===================================================================
--- testing-x86_64/iputils.install	                        (rev 0)
+++ testing-x86_64/iputils.install	2015-09-04 18:49:37 UTC (rev 245304)
@@ -0,0 +1,10 @@
+post_install() {
+  setcap cap_net_raw=ep usr/bin/ping  2>/dev/null || chmod +s usr/bin/ping 
+  setcap cap_net_raw=ep usr/bin/ping6 2>/dev/null || chmod +s usr/bin/ping6
+}
+
+post_upgrade() {
+  post_install "$1"
+}
+
+# vim:set ts=2 sw=2 et:

Copied: iputils/repos/testing-x86_64/tftp.xinetd (from rev 245303, iputils/trunk/tftp.xinetd)
===================================================================
--- testing-x86_64/tftp.xinetd	                        (rev 0)
+++ testing-x86_64/tftp.xinetd	2015-09-04 18:49:37 UTC (rev 245304)
@@ -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