ZKT DNSSEC toolkit

This commit is contained in:
jakob 2008-01-08 10:51:21 +00:00
parent 8d57735e9f
commit a7cb22841f
7 changed files with 110 additions and 0 deletions

32
security/zkt/Makefile Normal file
View File

@ -0,0 +1,32 @@
# $OpenBSD: Makefile,v 1.1.1.1 2008/01/08 10:51:21 jakob Exp $
COMMENT= "DNSsec Zone Key Tool"
DISTNAME= zkt-0.94
PKGNAME= ${DISTNAME}
CATEGORIES= security
HOMEPAGE= http://www.hznet.de/dns/zkt/
MAINTAINER= Jakob Schlyter <jakob@openbsd.org>
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c
MASTER_SITES= ${HOMEPAGE}
EXTRACT_SUFX= .tar
WRKDIST= ${WRKDIR}
do-install:
${INSTALL_PROGRAM} ${WRKBUILD}/dnssec-signer ${PREFIX}/sbin
${INSTALL_PROGRAM} ${WRKBUILD}/dnssec-zkt ${PREFIX}/sbin
${INSTALL_PROGRAM} ${WRKBUILD}/dnssec-soaserial ${PREFIX}/sbin
${INSTALL_MAN} ${WRKBUILD}/dnssec-signer.8 ${PREFIX}/man/man8
${INSTALL_MAN} ${WRKBUILD}/dnssec-zkt.8 ${PREFIX}/man/man8
.include <bsd.port.mk>

5
security/zkt/distinfo Normal file
View File

@ -0,0 +1,5 @@
MD5 (zkt-0.94.tar) = HBenrhrJYP0O1QpPEmdNhw==
RMD160 (zkt-0.94.tar) = bUm3e6kpQiBK8BV3qR4fqiQkML8=
SHA1 (zkt-0.94.tar) = +GHtkez/Bqzt6L3sRNAGyPQ3VY8=
SHA256 (zkt-0.94.tar) = ewWJ0lCRJrinDQgEq8PwlxlgtsbSAN7nsa807DnOm9M=
SIZE (zkt-0.94.tar) = 440320

View File

@ -0,0 +1,17 @@
$OpenBSD: patch-config_h,v 1.1.1.1 2008/01/08 10:51:21 jakob Exp $
--- config.h.orig Wed Oct 31 13:15:11 2007
+++ config.h Tue Jan 8 10:27:32 2008
@@ -47,11 +47,11 @@
#endif
#ifndef BIND_UTIL_PATH
-# define BIND_UTIL_PATH "/usr/local/sbin/"
+# define BIND_UTIL_PATH "/usr/sbin/"
#endif
#ifndef CONFIG_PATH
-# define CONFIG_PATH "/var/named/"
+# define CONFIG_PATH "/var/named/etc/"
#endif
#ifndef ZKT_VERSION

View File

@ -0,0 +1,30 @@
$OpenBSD: patch-dnssec-signer_8,v 1.1.1.1 2008/01/08 10:51:21 jakob Exp $
--- dnssec-signer.8.orig Wed Nov 21 14:31:22 2007
+++ dnssec-signer.8 Tue Jan 8 10:29:35 2008
@@ -178,7 +178,7 @@ Print out the online help.
.SH SAMPLE USAGE
.TP
.fam C
-.B "dnssec-signer \-N /var/named/named.conf \-r \-v \-v
+.B "dnssec-signer \-N /var/named/etc/named.conf \-r \-v \-v
.fam T
Sign all secure zones found in the named.conf file and, if necessary,
trigger a reload of the zone.
@@ -325,7 +325,7 @@ Specifies the name of the default global
.SH FILES
.TP
-.I /var/named/dnssec.conf
+.I /var/named/etc/dnssec.conf
Built-in default global configuration file.
The name of the default global config file is settable via
the environment variable ZKT_CONFFILE.
@@ -335,7 +335,7 @@ with option
.B \-Z
to create an initial config file.
.TP
-.I /var/named/dnssec-<view>.conf
+.I /var/named/etc/dnssec-<view>.conf
View specific global configuration file.
.TP
.I ./dnssec.conf

View File

@ -0,0 +1,18 @@
$OpenBSD: patch-dnssec-zkt_8,v 1.1.1.1 2008/01/08 10:51:21 jakob Exp $
--- dnssec-zkt.8.orig Wed Nov 21 14:31:38 2007
+++ dnssec-zkt.8 Tue Jan 8 10:30:11 2008
@@ -424,12 +424,12 @@ Specifies the name of the default global
.SH FILES
.TP
-.I /var/named/dnssec.conf
+.I /var/named/etc/dnssec.conf
Built-in default global configuration file.
The name of the default global config file is settable via
the environment variable ZKT_CONFFILE.
.TP
-.I /var/named/dnssec-<view>.conf
+.I /var/named/etc/dnssec-<view>.conf
View specific global configuration file.
.TP
.I ./dnssec.conf

2
security/zkt/pkg/DESCR Normal file
View File

@ -0,0 +1,2 @@
The dnssec-zkt command is a wrapper around dnssec-keygen(8) to assist in
DNSSEC zone key management.

6
security/zkt/pkg/PLIST Normal file
View File

@ -0,0 +1,6 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2008/01/08 10:51:21 jakob Exp $
@man man/man8/dnssec-signer.8
@man man/man8/dnssec-zkt.8
sbin/dnssec-signer
sbin/dnssec-soaserial
sbin/dnssec-zkt