summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>2008-07-31 10:21:21 +0000
committeragc <agc@pkgsrc.org>2008-07-31 10:21:21 +0000
commita1e0ba2e59ad6888b03c552cd0276416c1e8dc11 (patch)
tree4f709ff99dbf69920798a88601b387f5c5151601 /security
parentf1e0efd23c20ff22bcf0576f83a28396dd7a3008 (diff)
downloadpkgsrc-a1e0ba2e59ad6888b03c552cd0276416c1e8dc11.tar.gz
Initial import of sshfp-1.1.3 into the Packages Collection.
sshfp is a small utility that generates RFC4255 SSHFP DNS records based on the public keys stored in a known_hosts file or obtained by using ssh-keyscan. If the nameserver of the domain allows zone tranfers (AXFR), an entire domain can be processed for all its A records. These can then be easilly added to a zone, and then secured by DNSSEC.
Diffstat (limited to 'security')
-rw-r--r--security/sshfp/DESCR6
-rw-r--r--security/sshfp/Makefile19
-rw-r--r--security/sshfp/PLIST3
-rw-r--r--security/sshfp/distinfo6
-rw-r--r--security/sshfp/patches/patch-aa23
5 files changed, 57 insertions, 0 deletions
diff --git a/security/sshfp/DESCR b/security/sshfp/DESCR
new file mode 100644
index 00000000000..62ce0bd0f4a
--- /dev/null
+++ b/security/sshfp/DESCR
@@ -0,0 +1,6 @@
+sshfp is a small utility that generates RFC4255 SSHFP DNS records
+based on the public keys stored in a known_hosts file or obtained by
+using ssh-keyscan. If the nameserver of the domain allows zone
+tranfers (AXFR), an entire domain can be processed for all its A
+records. These can then be easilly added to a zone, and then secured
+by DNSSEC.
diff --git a/security/sshfp/Makefile b/security/sshfp/Makefile
new file mode 100644
index 00000000000..3587515b65c
--- /dev/null
+++ b/security/sshfp/Makefile
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1.1.1 2008/07/31 10:21:21 agc Exp $
+
+DISTNAME= sshfp-1.1.3
+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
+
+DEPENDS+= ${PYPKGPREFIX}-dns>=1.6.0:../../net/py-dns
+
+NO_BUILD= yes
+PYTHON_VERSIONS_ACCEPTED= 25 24
+PYTHON_PATCH_SCRIPTS= sshfp
+
+.include "../../lang/python/application.mk"
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/security/sshfp/PLIST b/security/sshfp/PLIST
new file mode 100644
index 00000000000..759a6384aeb
--- /dev/null
+++ b/security/sshfp/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2008/07/31 10:21:21 agc Exp $
+bin/sshfp
+${PKGMANDIR}/man1/sshfp.1.gz
diff --git a/security/sshfp/distinfo b/security/sshfp/distinfo
new file mode 100644
index 00000000000..893cd26c58a
--- /dev/null
+++ b/security/sshfp/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2008/07/31 10:21:21 agc Exp $
+
+SHA1 (sshfp-1.1.3.tar.gz) = bf42c956a992ac9442e9bbaa4af8f5599f321c2b
+RMD160 (sshfp-1.1.3.tar.gz) = 9b325ed30e75e0f485eea11676a420932f5c9b1e
+Size (sshfp-1.1.3.tar.gz) = 15477 bytes
+SHA1 (patch-aa) = 020c5799cf883a7de7d3ba345a2b413f10c16be1
diff --git a/security/sshfp/patches/patch-aa b/security/sshfp/patches/patch-aa
new file mode 100644
index 00000000000..f2b8f155652
--- /dev/null
+++ b/security/sshfp/patches/patch-aa
@@ -0,0 +1,23 @@
+$NetBSD: patch-aa,v 1.1.1.1 2008/07/31 10:21:21 agc Exp $
+
+--- Makefile 2008/07/31 09:38:52 1.1
++++ Makefile 2008/07/31 09:37:43
+@@ -4,8 +4,8 @@
+ #
+ #
+
+-BIN = $(DESTDIR)/usr/bin
+-MAN = $(DESTDIR)/usr/share/man/man1
++BIN = $(DESTDIR)${PREFIX}/bin
++MAN = $(DESTDIR)${PREFIX}/${PKGMANDIR}/man1
+
+ all: man-page
+
+@@ -14,7 +14,6 @@
+ install -m 0755 sshfp $(BIN)
+ install -d 0755 $(MAN)
+ install -m 0644 sshfp.1 $(MAN)
+- gzip $(MAN)/sshfp.1
+
+ man-page:
+ nroff -man sshfp.1 > sshfp.1.txt