openbsd-ports/net/jnettop/patches/patch-jnettop_8
sthen 4882538c63 - move SUBST_CMD into do-install (with the necessary s/PREFIX/TRUE&/),
suggested by aja@, saves a Makefile target and avoids subst'ing files in
WRKSRC which simplifies patch handling

- add missing SUBST_CMD for the dot.jnettop file
2012-03-13 09:57:37 +00:00

22 lines
997 B
Plaintext

$OpenBSD: patch-jnettop_8,v 1.2 2012/03/13 09:57:37 sthen Exp $
--- jnettop.8.orig Sat Apr 8 12:50:09 2006
+++ jnettop.8 Mon Mar 12 22:15:20 2012
@@ -50,7 +50,7 @@ disable content filtering
write debug information into file
.TP
.B \-f, \-\-config-file filename
-reads configuration from filename. defaults to ~/.jnettop. an example can be found at /usr/share/doc/jnettop/dot.jnettop.
+reads configuration from filename. defaults to ~/.jnettop. an example can be found at ${TRUEPREFIX}/share/doc/jnettop/dot.jnettop.
or in .jnettop file from original distribution package.
.TP
.B \-i, \-\-interface name
@@ -125,7 +125,7 @@ is not found, next rule is examined. If jnettop runs o
.PP
resolve_rule "192.168.0.0" "255.255.255.0" normal
.br
-resolve_rule "192.168.0.0" "255.255.255.0" external "/usr/share/jnettop/jnettop-lookup-nbm"
+resolve_rule "192.168.0.0" "255.255.255.0" external "${TRUEPREFIX}/share/jnettop/jnettop-lookup-nbm"
.RE
.TP
\fBrule "<rule_name>" "<rule_definition>"\fR