[arch-commits] Commit in iperf/repos/community-x86_64 (8 files)

Sébastien Luttringer seblu at archlinux.org
Sun Aug 19 19:01:07 UTC 2018


    Date: Sunday, August 19, 2018 @ 19:01:07
  Author: seblu
Revision: 372803

archrelease: copy trunk to community-x86_64

Added:
  iperf/repos/community-x86_64/PKGBUILD
    (from rev 372802, iperf/trunk/PKGBUILD)
  iperf/repos/community-x86_64/iperf-tcp.service
    (from rev 372802, iperf/trunk/iperf-tcp.service)
  iperf/repos/community-x86_64/iperf-udp.service
    (from rev 372802, iperf/trunk/iperf-udp.service)
  iperf/repos/community-x86_64/iperf.install
    (from rev 372802, iperf/trunk/iperf.install)
Deleted:
  iperf/repos/community-x86_64/PKGBUILD
  iperf/repos/community-x86_64/iperf-tcp.service
  iperf/repos/community-x86_64/iperf-udp.service
  iperf/repos/community-x86_64/iperf.install

-------------------+
 PKGBUILD          |  106 ++++++++++++++++++++++++++--------------------------
 iperf-tcp.service |   18 ++++----
 iperf-udp.service |   18 ++++----
 iperf.install     |   22 +++++-----
 4 files changed, 82 insertions(+), 82 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-08-19 19:01:00 UTC (rev 372802)
+++ PKGBUILD	2018-08-19 19:01:07 UTC (rev 372803)
@@ -1,53 +0,0 @@
-# $Id$
-# Maintainer: Sébastien Luttringer <seblu at archlinux.org>
-# Contributor: Giovanni Scafora <giovanni at archlinux.org>
-# Contributor: Dale Blount <dale at archlinux.org>
-
-pkgname=iperf
-pkgver=2.0.11
-pkgrel=1
-pkgdesc='A tool to measure maximum TCP bandwidth'
-arch=('x86_64')
-license=('custom')
-url='https://sourceforge.net/projects/iperf2/'
-depends=('gcc-libs')
-install=iperf.install
-source=("https://downloads.sourceforge.net/iperf2/iperf-$pkgver.tar.gz"
-        'iperf-tcp.service'
-        'iperf-udp.service')
-md5sums=('c63766d275b4537f419db096b9dfe4dc'
-         '1d8660b540aa0db2e627d3d400cb8de4'
-         'a27a8d27b1585bc999a04a2f082e2726')
-prepare() {
-  cd $pkgname-$pkgver
-  # apply patch from the source array (should be a pacman feature)
-  local filename
-  for filename in "${source[@]}"; do
-    if [[ "$filename" =~ \.patch$ ]]; then
-      msg2 "Applying patch ${filename##*/}"
-      patch -p1 -N -i "$srcdir/${filename##*/}"
-    fi
-  done
-  :
-}
-
-build() {
-  cd $pkgname-$pkgver
-  ./configure --prefix=/usr \
-              --enable-ipv6 \
-              --enable-multicast \
-              --enable-threads
-  make
-}
-
-package() {
-  pushd $pkgname-$pkgver
-  make DESTDIR="$pkgdir" install
-  install -Dm644 COPYING "$pkgdir/usr/share/licenses/iperf/LICENSE"
-  popd
-  # systemd
-  install -Dm644 iperf-tcp.service "$pkgdir/usr/lib/systemd/system/iperf-tcp.service"
-  install -Dm644 iperf-udp.service "$pkgdir/usr/lib/systemd/system/iperf-udp.service"
-}
-
-# vim:set ts=2 sw=2 et:

Copied: iperf/repos/community-x86_64/PKGBUILD (from rev 372802, iperf/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-08-19 19:01:07 UTC (rev 372803)
@@ -0,0 +1,53 @@
+# $Id$
+# Maintainer: Sébastien Luttringer <seblu at archlinux.org>
+# Contributor: Giovanni Scafora <giovanni at archlinux.org>
+# Contributor: Dale Blount <dale at archlinux.org>
+
+pkgname=iperf
+pkgver=2.0.12
+pkgrel=1
+pkgdesc='A tool to measure maximum TCP bandwidth'
+arch=('x86_64')
+license=('custom')
+url='https://sourceforge.net/projects/iperf2/'
+depends=('gcc-libs')
+install=iperf.install
+source=("https://downloads.sourceforge.net/iperf2/iperf-$pkgver.tar.gz"
+        'iperf-tcp.service'
+        'iperf-udp.service')
+md5sums=('e501e26b9289097086ce0c44a42b10bc'
+         '1d8660b540aa0db2e627d3d400cb8de4'
+         'a27a8d27b1585bc999a04a2f082e2726')
+prepare() {
+  cd $pkgname-$pkgver
+  # apply patch from the source array (should be a pacman feature)
+  local filename
+  for filename in "${source[@]}"; do
+    if [[ "$filename" =~ \.patch$ ]]; then
+      msg2 "Applying patch ${filename##*/}"
+      patch -p1 -N -i "$srcdir/${filename##*/}"
+    fi
+  done
+  :
+}
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure --prefix=/usr \
+              --enable-ipv6 \
+              --enable-multicast \
+              --enable-threads
+  make
+}
+
+package() {
+  pushd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+  install -Dm644 COPYING "$pkgdir/usr/share/licenses/iperf/LICENSE"
+  popd
+  # systemd
+  install -Dm644 iperf-tcp.service "$pkgdir/usr/lib/systemd/system/iperf-tcp.service"
+  install -Dm644 iperf-udp.service "$pkgdir/usr/lib/systemd/system/iperf-udp.service"
+}
+
+# vim:set ts=2 sw=2 et:

Deleted: iperf-tcp.service
===================================================================
--- iperf-tcp.service	2018-08-19 19:01:00 UTC (rev 372802)
+++ iperf-tcp.service	2018-08-19 19:01:07 UTC (rev 372803)
@@ -1,9 +0,0 @@
-[Unit]
-Description=Iperf TCP Server
-After=network.target
-
-[Service]
-ExecStart=/usr/bin/iperf -s -V
-
-[Install]
-WantedBy=multi-user.target

Copied: iperf/repos/community-x86_64/iperf-tcp.service (from rev 372802, iperf/trunk/iperf-tcp.service)
===================================================================
--- iperf-tcp.service	                        (rev 0)
+++ iperf-tcp.service	2018-08-19 19:01:07 UTC (rev 372803)
@@ -0,0 +1,9 @@
+[Unit]
+Description=Iperf TCP Server
+After=network.target
+
+[Service]
+ExecStart=/usr/bin/iperf -s -V
+
+[Install]
+WantedBy=multi-user.target

Deleted: iperf-udp.service
===================================================================
--- iperf-udp.service	2018-08-19 19:01:00 UTC (rev 372802)
+++ iperf-udp.service	2018-08-19 19:01:07 UTC (rev 372803)
@@ -1,9 +0,0 @@
-[Unit]
-Description=Iperf UDP Server
-After=network.target
-
-[Service]
-ExecStart=/usr/bin/iperf -u -s -V
-
-[Install]
-WantedBy=multi-user.target

Copied: iperf/repos/community-x86_64/iperf-udp.service (from rev 372802, iperf/trunk/iperf-udp.service)
===================================================================
--- iperf-udp.service	                        (rev 0)
+++ iperf-udp.service	2018-08-19 19:01:07 UTC (rev 372803)
@@ -0,0 +1,9 @@
+[Unit]
+Description=Iperf UDP Server
+After=network.target
+
+[Service]
+ExecStart=/usr/bin/iperf -u -s -V
+
+[Install]
+WantedBy=multi-user.target

Deleted: iperf.install
===================================================================
--- iperf.install	2018-08-19 19:01:00 UTC (rev 372802)
+++ iperf.install	2018-08-19 19:01:07 UTC (rev 372803)
@@ -1,11 +0,0 @@
-# arg 1:  the new package version
-# arg 2:  the old package version
-post_upgrade() {
-  if [ "$(vercmp $2 2.0.5-6)" -lt 0 ]; then
-    cat << EOF
-===> iperf.service unit has been moved to iperf-udp.service and iperf-tcp.service.
-EOF
-    fi
-}
-
-# vim:set ts=2 sw=2 ft=sh et:

Copied: iperf/repos/community-x86_64/iperf.install (from rev 372802, iperf/trunk/iperf.install)
===================================================================
--- iperf.install	                        (rev 0)
+++ iperf.install	2018-08-19 19:01:07 UTC (rev 372803)
@@ -0,0 +1,11 @@
+# arg 1:  the new package version
+# arg 2:  the old package version
+post_upgrade() {
+  if [ "$(vercmp $2 2.0.5-6)" -lt 0 ]; then
+    cat << EOF
+===> iperf.service unit has been moved to iperf-udp.service and iperf-tcp.service.
+EOF
+    fi
+}
+
+# vim:set ts=2 sw=2 ft=sh et:



More information about the arch-commits mailing list