summaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authormax <max@FreeBSD.org>1996-09-19 11:33:49 +0000
committermax <max@FreeBSD.org>1996-09-19 11:33:49 +0000
commit84b33e273a2e9b7fa39b11ffd282da1301f29fd1 (patch)
tree0ee28c9605944ccd7f333f0b16da4a1125c5e6e1 /security
parentcc51e05703d27ea8410e2737053041b0d1408417 (diff)
downloadFreeBSD-ports-84b33e273a2e9b7fa39b11ffd282da1301f29fd1.zip
FreeBSD-ports-84b33e273a2e9b7fa39b11ffd282da1301f29fd1.tar.gz
An alternative for S/KEY's key command.
Diffstat (limited to 'security')
-rw-r--r--security/donkey/Makefile22
-rw-r--r--security/donkey/distinfo1
-rw-r--r--security/donkey/files/patch-aa54
-rw-r--r--security/donkey/pkg-comment1
-rw-r--r--security/donkey/pkg-descr48
-rw-r--r--security/donkey/pkg-plist2
6 files changed, 128 insertions, 0 deletions
diff --git a/security/donkey/Makefile b/security/donkey/Makefile
new file mode 100644
index 0000000..92d748d
--- /dev/null
+++ b/security/donkey/Makefile
@@ -0,0 +1,22 @@
+# New ports collection makefile for: donkey
+# Version required: 0.5
+# Date created: 17 Sep 1996
+# Whom: Masafumi NAKANE <max@FreeBSD.ORG>
+#
+# $Id: porting.sgml,v 1.16 1996/03/21 14:15:01 asami Exp $
+#
+
+DISTNAME= donkey-0.5
+CATEGORIES+= security
+MASTER_SITES= ftp://ftp.aist-nara.ac.jp/pub/Security/tool/donkey/
+
+MAINTAINER= max@FreeBSD.ORG
+
+GNU_CONFIGURE= yes
+WRKSRC= ${WRKDIR}/${DISTNAME}/obj/FreeBSD
+PATCH_ARGS= -d ${WRKDIR}/${DISTNAME} --forward --quiet -E ${PATCH_STRIP}
+
+pre-configure:
+ @(cd ${WRKDIR}/${DISTNAME}; ./setup FreeBSD)
+
+.include <bsd.port.mk>
diff --git a/security/donkey/distinfo b/security/donkey/distinfo
new file mode 100644
index 0000000..27795f8
--- /dev/null
+++ b/security/donkey/distinfo
@@ -0,0 +1 @@
+MD5 (donkey-0.5.tar.gz) = dd3ebca4504edbcecdde63896d60b7b6
diff --git a/security/donkey/files/patch-aa b/security/donkey/files/patch-aa
new file mode 100644
index 0000000..14cbf23
--- /dev/null
+++ b/security/donkey/files/patch-aa
@@ -0,0 +1,54 @@
+*** src/Makefile.in.orig Sun Apr 30 14:13:56 1995
+--- src/Makefile.in Thu Sep 19 03:17:50 1996
+***************
+*** 2,8 ****
+ # Makefile for Donkey
+ #
+
+! BINDIR = /usr/local/bin
+
+ SRCS = donkey.c getopt.c passphrase.c btoe.c skey.c md.c md2.c md4.c md5.c
+ OBJS = donkey.o getopt.o passphrase.o btoe.o skey.o md.o md2.o md4.o md5.o
+--- 2,9 ----
+ # Makefile for Donkey
+ #
+
+! PREFIX ?= /usr/local
+! BINDIR = ${PREFIX}/bin
+
+ SRCS = donkey.c getopt.c passphrase.c btoe.c skey.c md.c md2.c md4.c md5.c
+ OBJS = donkey.o getopt.o passphrase.o btoe.o skey.o md.o md2.o md4.o md5.o
+***************
+*** 10,16 ****
+ CMPT = key
+
+ CC = @CC@
+! CFLAGS = @CFLAGS@
+ #CFLAGS = -Aa -D_INCLUDE_POSIX_SOURCE
+ DEFS = @DEFS@
+ #DEFS = -DDefaultMD=MD5
+--- 11,17 ----
+ CMPT = key
+
+ CC = @CC@
+! CFLAGS += @CFLAGS@
+ #CFLAGS = -Aa -D_INCLUDE_POSIX_SOURCE
+ DEFS = @DEFS@
+ #DEFS = -DDefaultMD=MD5
+***************
+*** 25,31 ****
+ $(CC) -o $(PROG) $(CFLAGS) $(OBJS) $(LIBS)
+
+ install:
+! cp $(PROG) $(BINDIR)
+ ln -s $(PROG) $(BINDIR)/$(CMPT)
+
+ clean:
+--- 26,32 ----
+ $(CC) -o $(PROG) $(CFLAGS) $(OBJS) $(LIBS)
+
+ install:
+! install -cs -o bin -g bin -m 755 $(PROG) $(BINDIR)
+ ln -s $(PROG) $(BINDIR)/$(CMPT)
+
+ clean:
diff --git a/security/donkey/pkg-comment b/security/donkey/pkg-comment
new file mode 100644
index 0000000..f018c17
--- /dev/null
+++ b/security/donkey/pkg-comment
@@ -0,0 +1 @@
+An alternative for S/KEY's key command
diff --git a/security/donkey/pkg-descr b/security/donkey/pkg-descr
new file mode 100644
index 0000000..e318e18
--- /dev/null
+++ b/security/donkey/pkg-descr
@@ -0,0 +1,48 @@
+---- From 00readme (slightly modified) ----
+
+<What's Donkey?>
+
+Donkey is an alternative for S/KEY's "key" command. The new feature that
+the original key doesn't have is print an entry for skeykeys as
+follows;
+
+ kazu 0099 al02004 115d83956f1089b6 Apr 26,1995 22:13:27
+
+This means that donkey is also an alternative for "keyinit". Since the
+entry is printed to stdout (not to /etc/skeykeys), you can easily send
+it to remote operator by e-mail (with PGP signature or something). So,
+it is possible to initiate S/KEY without logging in from the console of the
+host.
+
+The name "Donkey" is an acronym of "Don't Key".
+
+
+<How to use Donkey>
+
+(1) Calculate a One-Time-Password.
+
+Execute Donkey with sequence and seed, then input your passphrase.
+
+The -f option allows you to choose hash function from MD2, MD4, and MD5.
+
+The default hash function is MD4 due to the historical reason.
+
+(2) Calculate multiple One-Time-Passwords at once.
+
+Use -n option.
+
+Note that although "Enter passphrase" is printed out to stderr,
+One-Time-Passwords go to stdout. So, you can redirect the output
+safely.
+
+(3) Print skeykeys entry.
+
+Use -i option without argments. Then, enter login name, sequence and
+seed. If you like default value, just type RET. Input your passphrase
+twice to get the entry.
+
+<Copyright>
+
+Donkey conforms GNU GENERAL PUBLIC LICENSE Version 2 and is
+ Copyright (C) 1995 Kazuhiko Yamamoto
+ <kazu@is.aist-nara.ac.jp>
diff --git a/security/donkey/pkg-plist b/security/donkey/pkg-plist
new file mode 100644
index 0000000..0ed1aca
--- /dev/null
+++ b/security/donkey/pkg-plist
@@ -0,0 +1,2 @@
+bin/donkey
+bin/key
OpenPOWER on IntegriCloud