[arch-commits] Commit in netperf/repos (16 files)
seblu at nymeria.archlinux.org
seblu at nymeria.archlinux.org
Thu Jan 24 12:30:52 UTC 2013
Date: Thursday, January 24, 2013 @ 13:30:51
Author: seblu
Revision: 82781
archrelease: copy trunk to community-i686, community-x86_64
Added:
netperf/repos/community-i686/PKGBUILD
(from rev 82780, netperf/trunk/PKGBUILD)
netperf/repos/community-i686/netperf.install
(from rev 82780, netperf/trunk/netperf.install)
netperf/repos/community-i686/netperf.service
(from rev 82780, netperf/trunk/netperf.service)
netperf/repos/community-x86_64/PKGBUILD
(from rev 82780, netperf/trunk/PKGBUILD)
netperf/repos/community-x86_64/netperf.install
(from rev 82780, netperf/trunk/netperf.install)
netperf/repos/community-x86_64/netperf.service
(from rev 82780, netperf/trunk/netperf.service)
Deleted:
netperf/repos/community-i686/PKGBUILD
netperf/repos/community-i686/netperf.conf
netperf/repos/community-i686/netperf.install
netperf/repos/community-i686/netperf.rc
netperf/repos/community-i686/netperf.service
netperf/repos/community-x86_64/PKGBUILD
netperf/repos/community-x86_64/netperf.conf
netperf/repos/community-x86_64/netperf.install
netperf/repos/community-x86_64/netperf.rc
netperf/repos/community-x86_64/netperf.service
----------------------------------+
community-i686/PKGBUILD | 90 +++++++++++++++++--------------------
community-i686/netperf.conf | 3 -
community-i686/netperf.install | 40 ++++++++--------
community-i686/netperf.rc | 41 ----------------
community-i686/netperf.service | 17 +++---
community-x86_64/PKGBUILD | 90 +++++++++++++++++--------------------
community-x86_64/netperf.conf | 3 -
community-x86_64/netperf.install | 40 ++++++++--------
community-x86_64/netperf.rc | 41 ----------------
community-x86_64/netperf.service | 17 +++---
10 files changed, 142 insertions(+), 240 deletions(-)
Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD 2013-01-24 12:30:41 UTC (rev 82780)
+++ community-i686/PKGBUILD 2013-01-24 12:30:51 UTC (rev 82781)
@@ -1,48 +0,0 @@
-# $Id$
-# Maintainer: Sébastien Luttringer <seblu at aur.archlinux.org>
-# Contributor: Kaiting Chen <kaitocracy at gmail.com>
-# Contributor: Tilman Blumenbach <tilman (at) ax86 (dot) net>
-
-pkgname=netperf
-pkgver=2.6.0
-pkgrel=1
-pkgdesc='Benchmarking tool for many different types of networking'
-url='http://www.netperf.org/'
-license=('custom')
-arch=('i686' 'x86_64')
-depends=('glibc' 'libsmbios' 'lksctp-tools')
-install=$pkgname.install
-source=(
- "ftp://ftp.netperf.org/netperf/$pkgname-$pkgver.tar.bz2"
- "$pkgname.rc"
- "$pkgname.conf"
- "$pkgname.service")
-md5sums=('9654ffdfd4c4f2c93ce3733cd9ed9236'
- '4f11bf24fcd7a44c17bbe27cdc7dae01'
- '14836578ba49bbfa9e928feeca8346f1'
- '9a8b47101fb2b0bf8fb9bbfb73ba6486')
-
-build() {
- cd $pkgname-$pkgver
- ./configure \
- --prefix=/usr \
- --enable-demo \
- --enable-unixdomain \
- --enable-dccp \
- --enable-sctp
- make
-}
-
-package() {
- cd $pkgname-$pkgver
- make DESTDIR="$pkgdir" install
- # install license
- install -D -m 644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
- # install initscripts & systemd files
- install -D -m 755 ../$pkgname.rc "$pkgdir/etc/rc.d/$pkgname"
- install -D -m 644 ../$pkgname.conf "$pkgdir/etc/conf.d/$pkgname"
- install -D -m 644 ../$pkgname.service \
- "$pkgdir/usr/lib/systemd/system/$pkgname.service"
-}
-
-# vim:set ts=2 sw=2 ft=sh et:
Copied: netperf/repos/community-i686/PKGBUILD (from rev 82780, netperf/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2013-01-24 12:30:51 UTC (rev 82781)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Sébastien Luttringer <seblu at aur.archlinux.org>
+# Contributor: Kaiting Chen <kaitocracy at gmail.com>
+# Contributor: Tilman Blumenbach <tilman (at) ax86 (dot) net>
+
+pkgname=netperf
+pkgver=2.6.0
+pkgrel=2
+pkgdesc='Benchmarking tool for many different types of networking'
+url='http://www.netperf.org/'
+license=('custom')
+arch=('i686' 'x86_64')
+depends=('glibc' 'libsmbios' 'lksctp-tools')
+install=$pkgname.install
+source=(
+ "ftp://ftp.netperf.org/netperf/$pkgname-$pkgver.tar.bz2"
+ "$pkgname.service")
+md5sums=('9654ffdfd4c4f2c93ce3733cd9ed9236'
+ '7bce5056b2a24d76fcc0c20e4b527416')
+
+build() {
+ cd $pkgname-$pkgver
+ ./configure \
+ --prefix=/usr \
+ --enable-demo \
+ --enable-unixdomain \
+ --enable-dccp \
+ --enable-sctp
+ make
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+ # license
+ install -D -m 644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+ # systemd
+ install -D -m 644 ../$pkgname.service \
+ "$pkgdir/usr/lib/systemd/system/$pkgname.service"
+}
+
+# vim:set ts=2 sw=2 et:
Deleted: community-i686/netperf.conf
===================================================================
--- community-i686/netperf.conf 2013-01-24 12:30:41 UTC (rev 82780)
+++ community-i686/netperf.conf 2013-01-24 12:30:51 UTC (rev 82781)
@@ -1,3 +0,0 @@
-# vim:set ts=2 sw=2 ft=sh noet:
-
-#DAEMON_OPTS='-d'
Deleted: community-i686/netperf.install
===================================================================
--- community-i686/netperf.install 2013-01-24 12:30:41 UTC (rev 82780)
+++ community-i686/netperf.install 2013-01-24 12:30:51 UTC (rev 82781)
@@ -1,20 +0,0 @@
-infodir=/usr/share/info
-filelist=(netperf.info)
-
-post_install() {
- [ -x usr/bin/install-info ] || return 0
- for file in "${filelist[@]}"; do
- install-info $infodir/$file.gz $infodir/dir 2> /dev/null
- done
-}
-
-post_upgrade() {
- post_install $1
-}
-
-pre_remove() {
- [ -x usr/bin/install-info ] || return 0
- for file in "${filelist[@]}"; do
- install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null
- done
-}
Copied: netperf/repos/community-i686/netperf.install (from rev 82780, netperf/trunk/netperf.install)
===================================================================
--- community-i686/netperf.install (rev 0)
+++ community-i686/netperf.install 2013-01-24 12:30:51 UTC (rev 82781)
@@ -0,0 +1,20 @@
+infodir=/usr/share/info
+filelist=(netperf.info)
+
+post_install() {
+ [ -x usr/bin/install-info ] || return 0
+ for file in "${filelist[@]}"; do
+ install-info $infodir/$file.gz $infodir/dir 2> /dev/null
+ done
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+pre_remove() {
+ [ -x usr/bin/install-info ] || return 0
+ for file in "${filelist[@]}"; do
+ install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null
+ done
+}
Deleted: community-i686/netperf.rc
===================================================================
--- community-i686/netperf.rc 2013-01-24 12:30:41 UTC (rev 82780)
+++ community-i686/netperf.rc 2013-01-24 12:30:51 UTC (rev 82781)
@@ -1,41 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-. /etc/conf.d/${0##*/}
-
-DAEMON=/usr/bin/netserver
-PID=$(pidof -o %PPID $DAEMON)
-
-case "$1" in
- start)
- stat_busy "Starting ${0##*/} daemon"
- [[ ! $PID ]] &&
- </dev/null &>/dev/null $DAEMON $DAEMON_OPTS &&
- add_daemon ${0##*/} &&
- stat_done &&
- exit 0
- stat_fail
- ;;
- stop)
- stat_busy "Stopping ${0##*/} daemon"
- [[ $PID ]] &&
- kill $PID &> /dev/null &&
- rm_daemon ${0##*/} &&
- stat_done &&
- exit 0
- stat_fail
- ;;
- restart)
- $0 stop
- $0 start
- exit 0
- ;;
- *)
- echo "usage: ${0##*/} {start|stop|restart}" >&2
- ;;
-esac
-
-exit 1
-
-# vim:set ts=2 sw=2 ft=sh et:
Deleted: community-i686/netperf.service
===================================================================
--- community-i686/netperf.service 2013-01-24 12:30:41 UTC (rev 82780)
+++ community-i686/netperf.service 2013-01-24 12:30:51 UTC (rev 82781)
@@ -1,8 +0,0 @@
-[Unit]
-Description=Netperf Benchmark Server
-
-[Service]
-ExecStart=/usr/bin/netserver -D
-
-[Install]
-WantedBy=multi-user.target
Copied: netperf/repos/community-i686/netperf.service (from rev 82780, netperf/trunk/netperf.service)
===================================================================
--- community-i686/netperf.service (rev 0)
+++ community-i686/netperf.service 2013-01-24 12:30:51 UTC (rev 82781)
@@ -0,0 +1,9 @@
+[Unit]
+Description=Netperf Benchmark Server
+After=network.target
+
+[Service]
+ExecStart=/usr/bin/netserver -D
+
+[Install]
+WantedBy=multi-user.target
Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD 2013-01-24 12:30:41 UTC (rev 82780)
+++ community-x86_64/PKGBUILD 2013-01-24 12:30:51 UTC (rev 82781)
@@ -1,48 +0,0 @@
-# $Id$
-# Maintainer: Sébastien Luttringer <seblu at aur.archlinux.org>
-# Contributor: Kaiting Chen <kaitocracy at gmail.com>
-# Contributor: Tilman Blumenbach <tilman (at) ax86 (dot) net>
-
-pkgname=netperf
-pkgver=2.6.0
-pkgrel=1
-pkgdesc='Benchmarking tool for many different types of networking'
-url='http://www.netperf.org/'
-license=('custom')
-arch=('i686' 'x86_64')
-depends=('glibc' 'libsmbios' 'lksctp-tools')
-install=$pkgname.install
-source=(
- "ftp://ftp.netperf.org/netperf/$pkgname-$pkgver.tar.bz2"
- "$pkgname.rc"
- "$pkgname.conf"
- "$pkgname.service")
-md5sums=('9654ffdfd4c4f2c93ce3733cd9ed9236'
- '4f11bf24fcd7a44c17bbe27cdc7dae01'
- '14836578ba49bbfa9e928feeca8346f1'
- '9a8b47101fb2b0bf8fb9bbfb73ba6486')
-
-build() {
- cd $pkgname-$pkgver
- ./configure \
- --prefix=/usr \
- --enable-demo \
- --enable-unixdomain \
- --enable-dccp \
- --enable-sctp
- make
-}
-
-package() {
- cd $pkgname-$pkgver
- make DESTDIR="$pkgdir" install
- # install license
- install -D -m 644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
- # install initscripts & systemd files
- install -D -m 755 ../$pkgname.rc "$pkgdir/etc/rc.d/$pkgname"
- install -D -m 644 ../$pkgname.conf "$pkgdir/etc/conf.d/$pkgname"
- install -D -m 644 ../$pkgname.service \
- "$pkgdir/usr/lib/systemd/system/$pkgname.service"
-}
-
-# vim:set ts=2 sw=2 ft=sh et:
Copied: netperf/repos/community-x86_64/PKGBUILD (from rev 82780, netperf/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2013-01-24 12:30:51 UTC (rev 82781)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Sébastien Luttringer <seblu at aur.archlinux.org>
+# Contributor: Kaiting Chen <kaitocracy at gmail.com>
+# Contributor: Tilman Blumenbach <tilman (at) ax86 (dot) net>
+
+pkgname=netperf
+pkgver=2.6.0
+pkgrel=2
+pkgdesc='Benchmarking tool for many different types of networking'
+url='http://www.netperf.org/'
+license=('custom')
+arch=('i686' 'x86_64')
+depends=('glibc' 'libsmbios' 'lksctp-tools')
+install=$pkgname.install
+source=(
+ "ftp://ftp.netperf.org/netperf/$pkgname-$pkgver.tar.bz2"
+ "$pkgname.service")
+md5sums=('9654ffdfd4c4f2c93ce3733cd9ed9236'
+ '7bce5056b2a24d76fcc0c20e4b527416')
+
+build() {
+ cd $pkgname-$pkgver
+ ./configure \
+ --prefix=/usr \
+ --enable-demo \
+ --enable-unixdomain \
+ --enable-dccp \
+ --enable-sctp
+ make
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+ # license
+ install -D -m 644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+ # systemd
+ install -D -m 644 ../$pkgname.service \
+ "$pkgdir/usr/lib/systemd/system/$pkgname.service"
+}
+
+# vim:set ts=2 sw=2 et:
Deleted: community-x86_64/netperf.conf
===================================================================
--- community-x86_64/netperf.conf 2013-01-24 12:30:41 UTC (rev 82780)
+++ community-x86_64/netperf.conf 2013-01-24 12:30:51 UTC (rev 82781)
@@ -1,3 +0,0 @@
-# vim:set ts=2 sw=2 ft=sh noet:
-
-#DAEMON_OPTS='-d'
Deleted: community-x86_64/netperf.install
===================================================================
--- community-x86_64/netperf.install 2013-01-24 12:30:41 UTC (rev 82780)
+++ community-x86_64/netperf.install 2013-01-24 12:30:51 UTC (rev 82781)
@@ -1,20 +0,0 @@
-infodir=/usr/share/info
-filelist=(netperf.info)
-
-post_install() {
- [ -x usr/bin/install-info ] || return 0
- for file in "${filelist[@]}"; do
- install-info $infodir/$file.gz $infodir/dir 2> /dev/null
- done
-}
-
-post_upgrade() {
- post_install $1
-}
-
-pre_remove() {
- [ -x usr/bin/install-info ] || return 0
- for file in "${filelist[@]}"; do
- install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null
- done
-}
Copied: netperf/repos/community-x86_64/netperf.install (from rev 82780, netperf/trunk/netperf.install)
===================================================================
--- community-x86_64/netperf.install (rev 0)
+++ community-x86_64/netperf.install 2013-01-24 12:30:51 UTC (rev 82781)
@@ -0,0 +1,20 @@
+infodir=/usr/share/info
+filelist=(netperf.info)
+
+post_install() {
+ [ -x usr/bin/install-info ] || return 0
+ for file in "${filelist[@]}"; do
+ install-info $infodir/$file.gz $infodir/dir 2> /dev/null
+ done
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+pre_remove() {
+ [ -x usr/bin/install-info ] || return 0
+ for file in "${filelist[@]}"; do
+ install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null
+ done
+}
Deleted: community-x86_64/netperf.rc
===================================================================
--- community-x86_64/netperf.rc 2013-01-24 12:30:41 UTC (rev 82780)
+++ community-x86_64/netperf.rc 2013-01-24 12:30:51 UTC (rev 82781)
@@ -1,41 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-. /etc/conf.d/${0##*/}
-
-DAEMON=/usr/bin/netserver
-PID=$(pidof -o %PPID $DAEMON)
-
-case "$1" in
- start)
- stat_busy "Starting ${0##*/} daemon"
- [[ ! $PID ]] &&
- </dev/null &>/dev/null $DAEMON $DAEMON_OPTS &&
- add_daemon ${0##*/} &&
- stat_done &&
- exit 0
- stat_fail
- ;;
- stop)
- stat_busy "Stopping ${0##*/} daemon"
- [[ $PID ]] &&
- kill $PID &> /dev/null &&
- rm_daemon ${0##*/} &&
- stat_done &&
- exit 0
- stat_fail
- ;;
- restart)
- $0 stop
- $0 start
- exit 0
- ;;
- *)
- echo "usage: ${0##*/} {start|stop|restart}" >&2
- ;;
-esac
-
-exit 1
-
-# vim:set ts=2 sw=2 ft=sh et:
Deleted: community-x86_64/netperf.service
===================================================================
--- community-x86_64/netperf.service 2013-01-24 12:30:41 UTC (rev 82780)
+++ community-x86_64/netperf.service 2013-01-24 12:30:51 UTC (rev 82781)
@@ -1,8 +0,0 @@
-[Unit]
-Description=Netperf Benchmark Server
-
-[Service]
-ExecStart=/usr/bin/netserver -D
-
-[Install]
-WantedBy=multi-user.target
Copied: netperf/repos/community-x86_64/netperf.service (from rev 82780, netperf/trunk/netperf.service)
===================================================================
--- community-x86_64/netperf.service (rev 0)
+++ community-x86_64/netperf.service 2013-01-24 12:30:51 UTC (rev 82781)
@@ -0,0 +1,9 @@
+[Unit]
+Description=Netperf Benchmark Server
+After=network.target
+
+[Service]
+ExecStart=/usr/bin/netserver -D
+
+[Install]
+WantedBy=multi-user.target
More information about the arch-commits
mailing list