aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMasafumi Max NAKANE <max@FreeBSD.org>1996-09-19 11:33:49 +0000
committerMasafumi Max NAKANE <max@FreeBSD.org>1996-09-19 11:33:49 +0000
commitbbaf199dcbb8d0276ef21724ab989718ce8dac0e (patch)
tree4b8dd1a2ca3c1c5d8061aa9ee1eedeb2824236e2
parent2de7100601ebc4ca7e7b5c0df154837c48d1e26e (diff)
downloadports-bbaf199dcbb8d0276ef21724ab989718ce8dac0e.tar.gz
ports-bbaf199dcbb8d0276ef21724ab989718ce8dac0e.zip
An alternative for S/KEY's key command.
Notes
Notes: svn path=/head/; revision=3817
-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 000000000000..92d748d0c62f
--- /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 000000000000..27795f8cf506
--- /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 000000000000..14cbf2336460
--- /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 000000000000..f018c17c9da7
--- /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 000000000000..e318e18397c6
--- /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 000000000000..0ed1acae461a
--- /dev/null
+++ b/security/donkey/pkg-plist
@@ -0,0 +1,2 @@
+bin/donkey
+bin/key