keychain: update to 2.8.0.

This commit is contained in:
Juan RP 2015-03-22 07:24:55 +01:00
parent c6c794dc04
commit f99f2e7978
2 changed files with 5 additions and 25 deletions

View file

@ -1,16 +0,0 @@
OpenSSH 6.8 changed fingerprint format to SHA256:base64.
--- keychain.sh.orig 2015-03-18 10:43:15.441403693 +0100
+++ keychain.sh 2015-03-18 10:44:51.825161724 +0100
@@ -666,6 +666,11 @@ extract_fingerprints() {
# 2048 00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00 /home/barney/.ssh/id_rsa.pub
echo "$ef_line" | cut -f3 -d' '
;;
+ *\ SHA256:*)
+ # The new OpenSSH format from 6.8, we hope
+ # 1024 SHA256:[base64] /home/barney/.ssh/id_dsa (RSA)
+ echo "$ef_line"|awk '{print $2}'|cut -f2 -d':'
+ ;;
*\ [0-9a-fA-F][0-9a-fA-F]:[0-9a-fA-F][0-9a-fA-F]:*)
# The more consistent OpenSSH format, we hope
# 1024 00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00 /home/barney/.ssh/id_dsa (DSA)

View file

@ -1,19 +1,15 @@
# Template file for 'keychain'
pkgname=keychain
version=2.7.1
revision=4
noarch="yes"
hostmakedepends="perl"
short_desc="keychain manager for ssh-agent and gpg-agent"
version=2.8.0
revision=1
noarch=yes
short_desc="Keychain manager for ssh-agent and gpg-agent"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.funtoo.org/wiki/Keychain"
license="GPL-2"
distfiles="http://www.funtoo.org/archive/$pkgname/$pkgname-$version.tar.bz2"
checksum=1107fe3f78f6429d4861d64c5666f068f159326d22ab80a8ed0948cb25375191
checksum=411bfe6a3ac9daca1c35f9a56828f03cc8474e8a668e122773397deb8f7a0799
do_build() {
make ${makejobs}
}
do_install() {
vbin keychain
vman keychain.1