2012-11-22 13:30:39 +01:00
|
|
|
# Created by: Emanuel Haupt <ehaupt@FreeBSD.org>
|
2006-10-05 14:50:47 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= sshfp
|
2012-11-22 13:30:39 +01:00
|
|
|
PORTVERSION= 1.2.2
|
2016-10-29 16:22:49 +02:00
|
|
|
PORTREVISION= 2
|
2006-10-05 14:50:47 +02:00
|
|
|
CATEGORIES= dns security
|
|
|
|
|
|
|
|
MAINTAINER= ehaupt@FreeBSD.org
|
|
|
|
COMMENT= Generate SSHFP DNS records from knownhosts files or ssh-keyscan
|
|
|
|
|
2011-12-27 16:14:23 +01:00
|
|
|
LICENSE= GPLv2
|
|
|
|
|
2016-04-01 16:00:51 +02:00
|
|
|
RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/dns/__init__.py:dns/py-dnspython \
|
|
|
|
${PYTHON_PKGNAMEPREFIX}ipcalc>=0.6:net-mgmt/py-ipcalc \
|
|
|
|
${PYTHON_SITELIBDIR}/ldns.py:dns/py-ldns
|
2006-10-05 14:50:47 +02:00
|
|
|
|
2016-01-21 10:08:28 +01:00
|
|
|
USES= python shebangfix
|
2016-09-10 12:48:56 +02:00
|
|
|
NO_ARCH= yes
|
2006-10-05 14:50:47 +02:00
|
|
|
NO_BUILD= yes
|
2012-11-22 13:30:39 +01:00
|
|
|
USE_GITHUB= yes
|
|
|
|
GH_ACCOUNT= xelerance
|
2006-10-05 14:50:47 +02:00
|
|
|
|
2011-04-16 22:44:14 +02:00
|
|
|
PY_FILES= sshfp dane
|
2016-01-21 10:08:28 +01:00
|
|
|
SHEBANG_FILES= daneldnsx.py ${PY_FILES}
|
2006-10-05 14:50:47 +02:00
|
|
|
|
|
|
|
do-install:
|
2011-04-16 22:44:14 +02:00
|
|
|
.for f in ${PY_FILES}
|
2013-11-13 14:02:56 +01:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/${f} ${STAGEDIR}${PREFIX}/bin
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/${f}.1 ${STAGEDIR}${MANPREFIX}/man/man1
|
2011-04-16 22:44:14 +02:00
|
|
|
.endfor
|
2014-03-18 15:26:57 +01:00
|
|
|
@${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR}
|
2013-11-13 14:02:56 +01:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/daneldnsx.py ${STAGEDIR}${PYTHON_SITELIBDIR}
|
2006-10-05 14:50:47 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|