Package Details: ndt 3.7.0.2-2

Git Clone URL: https://aur.archlinux.org/ndt.git (read-only, click to copy)
Package Base: ndt
Description: The Network Diagnostic Tool (NDT) is a client/server program that provides network configuration and performance testing
Upstream URL: http://www.internet2.edu/performance/ndt/index.html
Licenses: BSD
Submitter: shtrom
Maintainer: sandsmark
Last Packager: shtrom
Votes: 1
Popularity: 0.000000
First Submitted: 2018-06-10 12:23 (UTC)
Last Updated: 2019-04-15 10:22 (UTC)

Latest Comments

Malvineous commented on 2020-02-28 02:54 (UTC) (edited on 2020-02-28 02:54 (UTC) by Malvineous)

FYI for anyone else having any issues with the build failing, adding JAVAC=javac to the make command in PKGBUILD fixed it for me. For some reason one of the compile commands loses the default value of JAVAC.

shtrom commented on 2019-05-20 11:36 (UTC)

Right, fair enough. I'm surprised they don't include it in the source.

All things considered, I haven't been using NDT for ages, so perhaps it's best I dropped maintainership, and let someone more up-to-date (you?) pick it up?

sandsmark commented on 2019-05-17 10:57 (UTC)

And FWIW; just checked, and even if github says m-lab/ndt is missing 6 commits it's just because github doesn't understand merges (the fixes from the "missing" commits in ndt-project/ndt are in m-lab/ndt as well).

sandsmark commented on 2019-05-17 10:53 (UTC)

Sorry, didn't see the notification, but m-lab is afaik the "official" maintainer of ndt at the moment: https://www.measurementlab.net/tests/ndt/, and that URL is what they use to find the right server to connect to in e. g. the web client.

And according to the tor project: «This network performance test was originally developed by The Internet2 Project and is currently maintained by Measurement Lab (M-Lab).» https://ooni.torproject.org/nettest/ndt/

You should probably update the URL as well, I guess. And it seems like they have a new release as well: https://github.com/m-lab/ndt

shtrom commented on 2019-04-15 10:25 (UTC)

Hey, thanks for the heads up, and sorry for the delay in answering.

I have added i2utils to the makedepends, but I have left out the two other changes: the package still builds for me on a fresh-ish Arch machine with JOpenChart I'm not sure the get-mlab-server.sh scripts strictly belongs there, as it hits URLs that seem unrelated to the origin of NDT; perhaps it would be better as a separate package?

sandsmark commented on 2019-02-02 13:36 (UTC)

... sorry for all the noise, but I also added a trivial script to fetch a server from mlab to use: http://ix.io/1zOu

sandsmark commented on 2019-02-02 13:26 (UTC)

I forgot the i2util makedep http://ix.io/1zOl

sandsmark commented on 2019-02-02 13:16 (UTC)

I guess I updated java or something, I had to disable building the java parts completely: http://ix.io/1zOj (basically just make -C src)

shtrom commented on 2018-12-02 06:38 (UTC)

Thanks, patch applied, and acknowledgments added (I explicitly set you as the commit author, I hope that's OK).

sandsmark commented on 2018-11-27 10:19 (UTC) (edited on 2018-11-27 10:20 (UTC) by sandsmark)

this seems to work (I just disabled java and flash)

diff --git PKGBUILD PKGBUILD
  index 117fa0e..2694b4d 100644
  --- PKGBUILD
  +++ PKGBUILD
  @@ -1,32 +1,20 @@
   # Contributor: Olivier Mehani <shtrom-aur@ssji.net>
   # vim:set ts=2 sw=2 et:
   pkgname=ndt
  -pkgver=3.6.4
  +pkgver=3.7.0.2
   pkgrel=1
   pkgdesc="The Network Diagnostic Tool (NDT) is a client/server program that provides network configuration and performance testing"
   arch=('x86_64')
   url="http://www.internet2.edu/performance/ndt/index.html"
   license=('BSD')
  -depends=('web100-utils' 'jopenchart')
  -source=(http://software.internet2.edu/sources/ndt/$pkgname-$pkgver.tar.gz
  -        fix_configure_include_paths.patch
  -        fix_configure_mandir.patch
  -        fix_JAnalyze_Makefile_target.patch
  -        fix_I2util_configure_mandir.patch)
  -
  -prepare() {
  -  cd "$srcdir/$pkgname-$pkgver"
  -
  -  patch -p1 < $srcdir/fix_configure_include_paths.patch
  -  patch -p1 < $srcdir/fix_configure_mandir.patch
  -  patch -p1 < $srcdir/fix_JAnalyze_Makefile_target.patch
  -  patch -p1 < $srcdir/fix_I2util_configure_mandir.patch
  -}
  +depends=('jopenchart' 'openssl' 'jansson' 'zlib')
  +source=(http://software.internet2.edu/sources/ndt/$pkgname-$pkgver.tar.gz)
  +md5sums=('30cddd43f76a2be1b3764904d5a9e0c1')

   build() {
     cd "$srcdir/$pkgname-$pkgver"

  -  ./configure --prefix=/usr
  +  ./configure --prefix=/usr --with-java=no --enable-flash=no --with-flash=no
     # XXX: The CLASSPATH specification looks bodgey...
     make ndtdir="/usr/share/java/ndt" CLASSPATH_ENV="CLASSPATH=/usr/share/java/jopenchart/charting-0.94.jar" || return 1
   }
  @@ -36,16 +24,11 @@ package() {

     make ndtdir="$pkgdir/usr/share/java/ndt" prefix="$pkgdir/usr" install

  -  mv $pkgdir/usr/bin/analyze $pkgdir/usr/bin/ndt-analyze
  -  mv $pkgdir/usr/share/man/man1/analyze.1 $pkgdir/usr/share/man/man1/ndt-analyze.1
  -  sed -i "s/analyze[^r]/ndt-&/" $pkgdir/usr/share/man/man1/ndt-analyze.1
  +  # namcap complains about these
  +  rmdir "$pkgdir/usr/sbin"
  +  rmdir "$pkgdir/usr/share/java/ndt/serverdata"

     mkdir -p $pkgdir/usr/share/doc/$pkgname-$pkgver
     cp AUTHORS ChangeLog DISCUSSION-LIST NEWS README Readme-fakewww Readme-web100srv tcpbw100.template $pkgdir/usr/share/doc/$pkgname-$pkgver
   }

  -md5sums=('098d9d55536b8a0ab07ef13eb15b7fd4'
  -         'ec3e388b9a54094216af62cab7bb07d7'
  -         '69851a12c0927ec28e13b55f80f6d7cc'
  -         '90838b71a45f9e7e8432c4077b0259ca'
  -         '6d36f6e8f81f9f79b6a24bb4958529c9')