openbsd-ports/net/arm/patches/patch-arm
pascal 036956e414 The anonymizing relay monitor (arm) is a terminal status monitor
for Tor, intended for command-line aficionados, ssh connections,
and anyone with a tty terminal. This works much like top does for
system usage, providing real time statistics for:

* bandwidth, cpu, and memory usage
* relay's current configuration
* logged events
* connection details (ip, hostname, fingerprint, and consensus data)
* ... etc

ok gonzalo@
2012-05-03 18:00:51 +00:00

22 lines
617 B
Plaintext

$OpenBSD: patch-arm,v 1.1.1.1 2012/05/03 18:00:51 pascal Exp $
--- arm.orig Thu Sep 29 17:46:08 2011
+++ arm Fri Oct 21 13:57:38 2011
@@ -1,13 +1,13 @@
#!/bin/sh
-if [ "$0" = /usr/bin/arm ]; then
- arm_base=/usr/share/arm/
+if [ "$0" = ${PREFIX}/bin/arm ]; then
+ arm_base=${PREFIX}/share/arm/
else
arm_base=$( dirname "$0" )/src/
fi
-python "${arm_base}prereq.py" $*
+python${MODPY_VERSION} "${arm_base}prereq.py" $*
if [ $? = 0 ]; then
- exec python -W ignore::DeprecationWarning "${arm_base}starter.py" $*
+ exec python${MODPY_VERSION} -W ignore::DeprecationWarning "${arm_base}starter.py" $*
fi