aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Tools/scripts/dialog4ports.sh11
-rw-r--r--ports-mgmt/dialog4ports/Makefile2
-rw-r--r--ports-mgmt/dialog4ports/distinfo4
3 files changed, 13 insertions, 4 deletions
diff --git a/Tools/scripts/dialog4ports.sh b/Tools/scripts/dialog4ports.sh
index 4954650d86f2..18897a267d8e 100644
--- a/Tools/scripts/dialog4ports.sh
+++ b/Tools/scripts/dialog4ports.sh
@@ -36,4 +36,13 @@ if ! [ -e $DIALOG4PORTS ]; then
fi
fi
-exec $DIALOG4PORTS 2> $OPTIONSFILE >&2
+# Backwards compat with older version which used stdout [<= 0.1.1] (or stderr [0.1.2]).
+# Clear environment of PKGNAME or the dialog will show on older versions
+# that do not understand -v.
+if ! env -u PKGNAME ${DIALOG4PORTS} -v > /dev/null 2>&1; then
+ exec $DIALOG4PORTS > $OPTIONSFILE 2>&1
+fi
+
+# Newer versions use stderr to work around a jail issue
+# http://lists.freebsd.org/pipermail/freebsd-ports/2013-March/082383.html
+exec $DIALOG4PORTS 2> $OPTIONSFILE
diff --git a/ports-mgmt/dialog4ports/Makefile b/ports-mgmt/dialog4ports/Makefile
index c6ed47fe229a..aae206fbbd4e 100644
--- a/ports-mgmt/dialog4ports/Makefile
+++ b/ports-mgmt/dialog4ports/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= dialog4ports
-PORTVERSION= 0.1.2
+PORTVERSION= 0.1.3
CATEGORIES= ports-mgmt
MASTER_SITES= http://m1cro.tk/dialog4ports/ \
http://files.etoilebsd.net/dialog4ports/ \
diff --git a/ports-mgmt/dialog4ports/distinfo b/ports-mgmt/dialog4ports/distinfo
index d69b4af9d94b..b81d8c8b669a 100644
--- a/ports-mgmt/dialog4ports/distinfo
+++ b/ports-mgmt/dialog4ports/distinfo
@@ -1,4 +1,4 @@
-SHA256 (dialog4ports-0.1.2.tar.gz) = 407497d8046c2c48c80cf33f81b4fdacc36c11ff72764f1a64e9b449f389ef05
-SIZE (dialog4ports-0.1.2.tar.gz) = 9598
+SHA256 (dialog4ports-0.1.3.tar.gz) = e17c1023ea0a527201d2ba36758cd5a5ba4d794ed813ee65051cd25939db6dfc
+SIZE (dialog4ports-0.1.3.tar.gz) = 9743
SHA256 (dialog-1.1-20120706.tgz) = 305aa1000680aa87bb2148a725f9107ef4cd29dcd6185b44d079cb87cf0ce2f5
SIZE (dialog-1.1-20120706.tgz) = 444554