Add sshfp, generate SSHFP DNS records from knownhosts files or ssh-keyscan

This commit is contained in:
Emanuel Haupt
2006-10-05 12:50:47 +00:00
parent 6e64dfcdd3
commit 716f101ac0
4 changed files with 43 additions and 0 deletions

View File

@@ -100,6 +100,7 @@
SUBDIR += skadns
SUBDIR += sleuth
SUBDIR += sqldjbdns
SUBDIR += sshfp
SUBDIR += staticcharge
SUBDIR += tinystats
SUBDIR += totd

33
dns/sshfp/Makefile Normal file
View File

@@ -0,0 +1,33 @@
# New ports collection makefile for: sshfp
# Date created: 5 Oct 2006
# Whom: Emanuel Haupt <ehaupt@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= sshfp
PORTVERSION= 1.1.1
CATEGORIES= dns security
MASTER_SITES= ftp://ftp.xelerance.com/sshfp/ \
http://critical.ch/distfiles/ \
http://energy.critical.ch/distfiles/
MAINTAINER= ehaupt@FreeBSD.org
COMMENT= Generate SSHFP DNS records from knownhosts files or ssh-keyscan
RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/dns/__init__.py:${PORTSDIR}/dns/py-dnspython
NO_BUILD= yes
USE_PYTHON= 2.3+
MAN1= sshfp.1
PLIST_FILES= bin/sshfp
post-patch:
@${REINPLACE_CMD} -e '1s|.*|#!${PYTHON_CMD}|' ${WRKSRC}/${PORTNAME}
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/${MAN1} ${MANPREFIX}/man/man1
.include <bsd.port.mk>

3
dns/sshfp/distinfo Normal file
View File

@@ -0,0 +1,3 @@
MD5 (sshfp-1.1.1.tar.gz) = 5424ed55c50d2038934940737680e8da
SHA256 (sshfp-1.1.1.tar.gz) = 43bbc40ed5e868181f2660cc1fa2640bac5771821198acf69a8dee3c7713ab61
SIZE (sshfp-1.1.1.tar.gz) = 14049

6
dns/sshfp/pkg-descr Normal file
View File

@@ -0,0 +1,6 @@
sshfp generates DNS SSHFP records from SSH public keys. sshfp can take public
keys from a knownhosts file or from scanning the host's sshd daemon. The ssh
client can use these SSHFP records if you set "VerifyHostKeyDNS yes" in the file
/etc/ssh/ssh_config.
WWW: http://freshmeat.net/projects/sshfp/