mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-30 01:15:52 +00:00
1b1b29c5e6
Note: Python 2.3 is't longer supported and have a lot of security issues. Convert 2.3+ to yes/or 2.4/5+ With hat: portmgr
33 lines
742 B
Makefile
33 lines
742 B
Makefile
# New ports collection makefile for: sshfp
|
|
# Date created: 5 Oct 2006
|
|
# Whom: Emanuel Haupt <ehaupt@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= sshfp
|
|
PORTVERSION= 1.1.3
|
|
CATEGORIES= dns security
|
|
MASTER_SITES= ftp://ftp.xelerance.com/sshfp/ \
|
|
CRITICAL
|
|
|
|
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.4+
|
|
|
|
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>
|