svn commit: r315456 - in head: Tools/scripts ports-mgmt/dialog4ports
Bryan Drewery
bdrewery at FreeBSD.org
Thu Mar 28 11:05:29 UTC 2013
Author: bdrewery
Date: Thu Mar 28 11:05:28 2013
New Revision: 315456
URL: http://svnweb.freebsd.org/changeset/ports/315456
Log:
- Update to 0.1.3 which only brings a -v option to allow
supporting older versions for the stdout/stderr switching
Approved by: Ilya A. Arkhipov <rum1cro at yandex.ru> (maintainer)
With hat: portmgr
Modified:
head/Tools/scripts/dialog4ports.sh
head/ports-mgmt/dialog4ports/Makefile
head/ports-mgmt/dialog4ports/distinfo
Modified: head/Tools/scripts/dialog4ports.sh
==============================================================================
--- head/Tools/scripts/dialog4ports.sh Thu Mar 28 10:23:59 2013 (r315455)
+++ head/Tools/scripts/dialog4ports.sh Thu Mar 28 11:05:28 2013 (r315456)
@@ -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
Modified: head/ports-mgmt/dialog4ports/Makefile
==============================================================================
--- head/ports-mgmt/dialog4ports/Makefile Thu Mar 28 10:23:59 2013 (r315455)
+++ head/ports-mgmt/dialog4ports/Makefile Thu Mar 28 11:05:28 2013 (r315456)
@@ -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/ \
Modified: head/ports-mgmt/dialog4ports/distinfo
==============================================================================
--- head/ports-mgmt/dialog4ports/distinfo Thu Mar 28 10:23:59 2013 (r315455)
+++ head/ports-mgmt/dialog4ports/distinfo Thu Mar 28 11:05:28 2013 (r315456)
@@ -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
More information about the svn-ports-all
mailing list