Package Details: sockperf-git 3.8.r328.31ee322-1

Git Clone URL: https://aur.archlinux.org/sockperf-git.git (read-only, click to copy)
Package Base: sockperf-git
Description: A benchmarking utility for measuring network performance (latency and throughput) over socket API, with focus on high performance systems
Upstream URL: https://github.com/mellanox/sockperf
Keywords: sockperf
Licenses: custom
Submitter: dlin
Maintainer: elleryq
Last Packager: elleryq
Votes: 0
Popularity: 0.000000
First Submitted: 2015-06-13 05:26 (UTC)
Last Updated: 2022-03-30 15:05 (UTC)

Latest Comments

Spixmaster commented on 2021-12-31 07:07 (UTC) (edited on 2021-12-31 07:08 (UTC) by Spixmaster)

The package does not build. First, the directory src/repo/doc/ does not contain a Makefile. Second, the file manipulation in package() is completely broken. The files do not exist. Additionally, there are missing quotation marks.

A working PKGBUILD is below. The commented out code should either be removed or corrected if used for this package.

# Maintainer:  Daniel YC Lin <dlin.tw@gmail.com>

pkgname=sockperf-git
pkgver=r316.e92a870
pkgrel=1
pkgdesc='A benchmarking utility for measuring network performance (latency and throughput) over socket API, with focus on high performance systems'
url='https://github.com/mellanox/sockperf'
license=('custom') # BSD-3
arch=('i686' 'x86_64')
source=('repo::git+https://github.com/Mellanox/sockperf.git#branch=sockperf_v2')
md5sums=('SKIP')
depends=('bash' 'gawk')
makedepends=('doxygen')
pkgver() {
  cd repo
  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
  cd repo
  ./autogen.sh
  ./configure --prefix=/usr
  make
}

package() {
  cd repo
  # dirty hack, just forgive the bad 'make install'
  make DESTDIR="$pkgdir" install || true

  # dirty hack2 set to standard path
#   mkdir -p $pkgdir/etc
#   mv $pkgdir/usr/etc/sockperf $pkgdir/etc/sockperf
#   rm -rf $pkgdir/usr/etc $pkgdir/usr/share/sockperf # remove wrong place

  # license
#   install -D -m 644 copying "$pkgdir/usr/share/licenses/$pkgname/COPYING"
#   install -Dm644 doc/man/man/man3/sockperf.3 $pkgdir/usr/share/man/man3/sockperf.3
}

# vim:set ts=2 sw=2 et:

micwoj92 commented on 2021-05-05 03:32 (UTC)

Needs git in makedepends