diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2011-10-18 22:35:18 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2011-10-18 22:35:18 +0000 |
commit | 0b433dc98e51844477ecb47bf97dddf8f5460c41 (patch) | |
tree | e22879517d8eee92c41be285e862cd4f0b59dd97 /security/unssh | |
parent | 386f7b10aa92b254f22065fc647317458ffb51fa (diff) | |
download | ports-0b433dc98e51844477ecb47bf97dddf8f5460c41.tar.gz ports-0b433dc98e51844477ecb47bf97dddf8f5460c41.zip |
- Update to 1.5
PR: ports/161020
Submitted by: Dax Labrador <semprix@gmx.com> (maintainer)
Notes
Notes:
svn path=/head/; revision=283868
Diffstat (limited to 'security/unssh')
-rw-r--r-- | security/unssh/Makefile | 10 | ||||
-rw-r--r-- | security/unssh/distinfo | 4 | ||||
-rw-r--r-- | security/unssh/files/extra-patch-unssh.sh.in | 26 |
3 files changed, 3 insertions, 37 deletions
diff --git a/security/unssh/Makefile b/security/unssh/Makefile index dd661ace4b0c..4f03d2583b23 100644 --- a/security/unssh/Makefile +++ b/security/unssh/Makefile @@ -6,7 +6,7 @@ # PORTNAME= unssh -PORTVERSION= 1.4 +PORTVERSION= 1.5 CATEGORIES= security MASTER_SITES= http://www.semprixd.com/shares/ports/ @@ -18,14 +18,6 @@ RUN_DEPENDS= bash:${PORTSDIR}/shells/bash NO_BUILD= yes PLIST_FILES= bin/unssh -PATCH_LIST= extra-patch-unssh.sh -EXTRA_PATCHES= ${PATCH_LIST:C|^|${WRKDIR}/|g} - -pre-patch: -.for patch in ${PATCH_LIST} - @${SED} ${_SUB_LIST_TEMP} ${FILESDIR}/${patch}.in > ${WRKDIR}/${patch} -.endfor - do-install: @${INSTALL} -d ${PREFIX}/bin @${CP} ${WRKSRC}/unssh.sh ${PREFIX}/bin/unssh diff --git a/security/unssh/distinfo b/security/unssh/distinfo index 32cbc0376784..ceec62b99667 100644 --- a/security/unssh/distinfo +++ b/security/unssh/distinfo @@ -1,2 +1,2 @@ -SHA256 (unssh-1.4.tar.gz) = 8252d0818d044452241a279031a903634b983cf94e4671e32f4df5a754f686f2 -SIZE (unssh-1.4.tar.gz) = 11381 +SHA256 (unssh-1.5.tar.gz) = 75122a6c264eb690df8464e2aefd64e7b7df8461bcb9525f3a4f27d6593053f6 +SIZE (unssh-1.5.tar.gz) = 11528 diff --git a/security/unssh/files/extra-patch-unssh.sh.in b/security/unssh/files/extra-patch-unssh.sh.in deleted file mode 100644 index 1fa941866a5e..000000000000 --- a/security/unssh/files/extra-patch-unssh.sh.in +++ /dev/null @@ -1,26 +0,0 @@ ---- ./unssh.sh.orig 2009-07-12 19:31:45.000000000 -0400 -+++ ./unssh.sh 2010-01-18 17:57:11.000000000 -0500 -@@ -1,4 +1,4 @@ --#!/bin/bash -+#!%%LOCALBASE%%/bin/bash - # This simple script helps deleting hosts from the user's known_hosts - # file when their pubkey has changed. - # Copyright (C) 2006-2009 by Phil Sutter <phil@nwl.cc> -@@ -52,7 +52,7 @@ - return $1 - } - search_in_sshcnf() { # (expr) -- grep -qi "^host $1$" $SSH_CNF || return 1 -+ grep -qi "^host $1$" $SSH_CNF >/dev/null 2>&1 || return 1 - # the code below calls awk in three steps: - # * filter empty and commented out lines - # * divide content into records containing a single "Host" definition -@@ -107,7 +107,7 @@ - name="$1" - fi - # does a host lookup to get the corresponding IP/hostname -- eval "$(hostx "$name" 2>&1 | \ -+ eval "$(nslookup "$name" 2>&1 | \ - awk '/exist/{exit 1} \ - /Name:/{print "LU_HOST="$2} \ - /Address:/{print "LU_IP="$2} \ |