aboutsummaryrefslogtreecommitdiffstats
path: root/dns/sshfp/Makefile
blob: b3a17cae9806a862a93a2e138fafb0f14c43ca11 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# New ports collection makefile for:    sshfp
# Date created:             5 Oct 2006
# Whom:                 Emanuel Haupt <ehaupt@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   sshfp
PORTVERSION=    1.1.6
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+

LICENSE=    GPLv2

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>