- Added pach which fixed md5sum to md5

PR:		ports/183766
Submitted by:	Michael Gmelin <freebsd@grem.de>
Approved by:	maintainer
This commit is contained in:
Veniamin Gvozdikov 2013-11-11 15:38:54 +00:00
parent 77110cf25a
commit 52c43e093b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=333514
2 changed files with 12 additions and 1 deletions

View file

@ -3,7 +3,7 @@
PORTNAME= salt
PORTVERSION= 0.17.1
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= sysutils python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}

View file

@ -0,0 +1,11 @@
--- salt/client/ssh/__init__.py.orig 2013-10-17 19:28:12.000000000 +0200
+++ salt/client/ssh/__init__.py 2013-11-07 23:22:40.228990613 +0100
@@ -80,7 +80,7 @@
fi
if [ -f /tmp/.salt/salt-thin.tgz ]
then
- [ $({{2}}sum /tmp/.salt/salt-thin.tgz | cut -f1 -d' ') = {{3}} ] && {{0}} tar xzvf /tmp/.salt/salt-thin.tgz -C /tmp/.salt
+ [ $({{2}} -q /tmp/.salt/salt-thin.tgz) = {{3}} ] && {{0}} tar xzvf /tmp/.salt/salt-thin.tgz -C /tmp/.salt
else
install -m 0700 -d /tmp/.salt
echo "{1}"