diff options
author | pav <pav@FreeBSD.org> | 2011-10-19 06:35:18 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2011-10-19 06:35:18 +0800 |
commit | 217c776b1c45016b23cb344551e817033f156685 (patch) | |
tree | 5d98e5a481c9a6ea88599271407a8554e7207d86 /security | |
parent | 9f355a75f07904a83df85bfd966ee08f3da712d2 (diff) | |
download | freebsd-ports-gnome-217c776b1c45016b23cb344551e817033f156685.tar.gz freebsd-ports-gnome-217c776b1c45016b23cb344551e817033f156685.tar.zst freebsd-ports-gnome-217c776b1c45016b23cb344551e817033f156685.zip |
- Update to 1.5
PR: ports/161020
Submitted by: Dax Labrador <semprix@gmx.com> (maintainer)
Diffstat (limited to 'security')
-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} \ |