Package Details: openvisualtraceroute 2.0.0-2

Git Clone URL: https://aur.archlinux.org/openvisualtraceroute.git (read-only, click to copy)
Package Base: openvisualtraceroute
Description: Open source cross-platform Java Visual Traceroute
Upstream URL: https://sourceforge.net/projects/openvisualtrace
Licenses: LGPLv3
Submitter: bchretien
Maintainer: Emeric
Last Packager: Emeric
Votes: 15
Popularity: 0.013341
First Submitted: 2015-02-01 16:19 (UTC)
Last Updated: 2022-09-15 15:45 (UTC)

Dependencies (2)

Required by (0)

Sources (3)

Latest Comments

1 2 Next › Last »

Emeric commented on 2022-09-15 15:46 (UTC)

Your right, it's done. Thanks.

Fijxu commented on 2022-07-24 21:51 (UTC)

Hellooooo, i suggest remove the line that mentions it is a packet sniffer in ovtr.desktop because the main developer said this in the changelog: "Starting version 2.0.0, I decided to deprecate the sniffer feature and refocus the tool on its original purpose: a visual traceroute."

Emeric commented on 2022-04-02 09:35 (UTC)

Sure, I've updated the package. But In the future who knows...

tuxayo commented on 2022-04-02 00:20 (UTC)

@Emeric are you up for taking maintenance of this package?

Emeric commented on 2022-02-02 11:10 (UTC) (edited on 2022-02-02 11:13 (UTC) by Emeric)

Updating this package to 2.0 is easy. I've set the java-11 environment in the ovtr file, so it doesn't conflict with the one set on the system. The libpcap link and root seems to be useless in the 2.0, the packet sniffer has been removed.

#!/bin/sh
cd /usr/share/OpenVisualTraceRoute
export PATH="/usr/lib/jvm/java-11-openjdk/bin/:$PATH"
java -Xmx512m -Djava.awt.headless=false -jar org.leo.traceroute.jar
pkgname=openvisualtraceroute
_short_pkgname=ovtr
pkgver=2.0.0
pkgrel=1
pkgdesc="Open source cross-platform Java Visual Traceroute"
arch=('i686' 'x86_64')
license=('LGPLv3')
url="http://sourceforge.net/projects/openvisualtrace"
depends=('java-runtime=11' 'traceroute')
source=("http://downloads.sourceforge.net/project/openvisualtrace/${pkgver}/OpenVisualTraceRoute${pkgver}.zip"
        "ovtr"
        "ovtr.desktop")
sha256sums=('f72fedce4d9b5c2cf152e8808a3072a9a2197bb7fb8104ebf7f8f1e8e427d4ac'
            'a0e7609d3ea053e87c789dc1e24c522fb458daa7fdb26410c00bf0af11bbffe6'
            'af0cef38105d65182c261067577f8ff68bf50e71d4d2f4fc7fe8e0ba4472d22f')

if [ "$CARCH" = "i686" ]; then
  _arch="x86"
elif [ "$CARCH" = "x86_64" ]; then
  _arch="x64"
fi

package() {
  cd "${srcdir}/OpenVisualTraceRoute${pkgver}"

  install -d -m755 "${pkgdir}/usr/bin"
  install -d -m755 "${pkgdir}/usr/share/OpenVisualTraceRoute"
  install -d -m755 "${pkgdir}/usr/share/OpenVisualTraceRoute/"{lib,native/linux/${_arch},resources}

  cp -rPf "resources/"* "${pkgdir}/usr/share/OpenVisualTraceRoute/resources"
  cp -rPf "lib/"*.jar "${pkgdir}/usr/share/OpenVisualTraceRoute/lib"

  install -m755 "${srcdir}/${_short_pkgname}" "${pkgdir}/usr/bin/${_short_pkgname}"
  install -m755 "org.leo.traceroute.jar" "${pkgdir}/usr/share/OpenVisualTraceRoute/"

  install -D -m644 "${srcdir}/${_short_pkgname}.desktop" "${pkgdir}/usr/share/applications/${_short_pkgname}.desktop"
  install -D -m644 "resources/icon.png" "$pkgdir/usr/share/pixmaps/${_short_pkgname}.png"
}

Lemy commented on 2021-11-03 10:08 (UTC) (edited on 2021-11-03 10:21 (UTC) by Lemy)

@kusky: Got the same Error, solution was on the cmdline :

archlinux-java status
Available Java environments:
  java-17-openjdk (default)
  java-8-openjdk/jre
sudo archlinux-java set java-8-openjdk/jre

kusky commented on 2020-11-18 15:11 (UTC) (edited on 2020-11-18 15:13 (UTC) by kusky)

fails on startup: org.leo.traceroute.install.EnvException: java.lang.NoSuchFieldException: usr_paths

Jake commented on 2020-10-29 17:30 (UTC)

@UtopianShoe: Okay, I see. The script contains stuff that we don't need anyway, so I have removed it now and start the jar directly from the ovtr script.

UtopianShoe commented on 2020-10-29 16:52 (UTC) (edited on 2020-10-29 17:05 (UTC) by UtopianShoe)

@Jake: It seems to be related to the script ./ovtr_run_as_root.sh

./ovtr_run_as_root.sh: line 4: xhost: command not found
set symbolic link /usr/lib64/libpcap.so.0.8 => /usr/lib/libpcap.so.1
ln: failed to create symbolic link '/usr/lib64/libpcap.so.0.8': File exists
starting OpenVisualTraceroute...
12:41:22.687 [main] INFO  org.leo.traceroute.Main - Open Visual Traceroute 1.7.1 
12:41:22.769 [main] INFO  org.leo.traceroute.install.Env - Java run-time version: 1.8.0_261
12:41:22.770 [main] INFO  org.leo.traceroute.install.Env - NASA World Wind Java v2.1.0
12:41:22.770 [main] INFO  org.leo.traceroute.install.Env - /usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
12:41:22.780 [main] INFO  org.leo.traceroute.install.Env - OS:Linux / arch:amd64
Locale en_GB
12:41:24.201 [SwingWorker-pool-1-thread-1] INFO  o.leo.traceroute.core.geo.GeoService - Use geoip db /home/utopianshoe/ovtr/GeoLite2-City.mmdb which is 18564 day(s) old
12:41:24.203 [SwingWorker-pool-1-thread-1] INFO  o.leo.traceroute.core.geo.GeoService - Downloading GeoIP database to /home/utopianshoe/ovtr/GeoLite2-City.mmdb...
12:41:28.762 [AWT-EventQueue-0] INFO  org.leo.traceroute.Main - Startup completed in 6083ms
12:41:30.344 [Shutdown] INFO  o.leo.traceroute.core.geo.GeoService - DNS LOC records saved to /home/utopianshoe/ovtr/dns.loc
12:41:30.359 [Shutdown] INFO  org.leo.traceroute.install.Env - Preferences saved.
12:41:30.360 [Shutdown] INFO  o.leo.traceroute.ui.TraceRouteFrame - Application exited.
./ovtr_run_as_root.sh: line 20: xhost: command not found

The program can now launch as long as I change the line in $HOME/ovtr/ovtr.properties from is.3D=true to is.3D=false. I presumably lack the necessary package installed for the 3D rendering.

Jake commented on 2020-10-29 16:13 (UTC)

@UtopianShoe: I don't have that installed and it runs fine. Seems strange to me, why should Xhost be required for this tool?