pkgsrc/security/sshfp/Makefile
tron 9d505b5076 Avoid deprecation warnings under Python:
1.) Use "hashlib" instead of "sha" module if possible.
2.) Use "subprocess" module instead of os.popen3().
Both changes tested with Python 2.4 and 2.6.

Pkgsrc-related improvements:
1.) Support "user-destdir" installation (no changes required).
2.) Set license to "gnu-gpl-v2".
3.) Reduce patches by recording the fact that the manual page gets
    compressed automatically (which "pkgsrc" handles fine) instead
    of trying to prevent that.
2009-11-17 12:23:01 +00:00

23 lines
550 B
Makefile

# $NetBSD: Makefile,v 1.4 2009/11/17 12:23:01 tron Exp $
DISTNAME= sshfp-1.1.3
PKGREVISION= 2
CATEGORIES= security net
MASTER_SITES= http://www.xelerance.com/software/sshfp/
MAINTAINER= agc@NetBSD.org
HOMEPAGE= http://www.xelerance.com/
COMMENT= Print ssh host key fingerprint resource records
LICENSE= gnu-gpl-v2
PKG_DESTDIR_SUPPORT= user-destdir
DEPENDS+= ${PYPKGPREFIX}-dns>=1.6.0:../../net/py-dns
MANCOMPRESSED= yes
NO_BUILD= yes
PYTHON_PATCH_SCRIPTS= sshfp
.include "../../lang/python/application.mk"
.include "../../mk/bsd.pkg.mk"