summaryrefslogtreecommitdiff
path: root/security/lsh2
diff options
context:
space:
mode:
authordrochner <drochner@pkgsrc.org>2005-04-30 12:23:42 +0000
committerdrochner <drochner@pkgsrc.org>2005-04-30 12:23:42 +0000
commit0271a0b85b7deb3e2100091354be23cfc6fa79dd (patch)
treea5c8e5dd27ae46a0627f1b3b523c82448aadda64 /security/lsh2
parentb65911e7f3ad567203399d56e8e0a090c01bf0d2 (diff)
downloadpkgsrc-0271a0b85b7deb3e2100091354be23cfc6fa79dd.tar.gz
Move the freshly update lsh-2.0.1 into a separate pkg and leave
security/lsh at 1.4.3. lsh-2.0.1 has interoperability problems with openssh servers (always gets "Invalid server signature" errors). lsh-1.4.3 is not affected by CAN-2003-0826. Add a patch to address CAN-2005-0814 and bump PKGREVISION.
Diffstat (limited to 'security/lsh2')
-rw-r--r--security/lsh2/DESCR1
-rw-r--r--security/lsh2/Makefile26
-rw-r--r--security/lsh2/PLIST75
-rw-r--r--security/lsh2/distinfo7
-rw-r--r--security/lsh2/patches/patch-aa13
-rw-r--r--security/lsh2/patches/patch-ab15
6 files changed, 137 insertions, 0 deletions
diff --git a/security/lsh2/DESCR b/security/lsh2/DESCR
new file mode 100644
index 00000000000..b11cc26a7de
--- /dev/null
+++ b/security/lsh2/DESCR
@@ -0,0 +1 @@
+lsh is an alternative (GNU licensed) ssh2 client/server.
diff --git a/security/lsh2/Makefile b/security/lsh2/Makefile
new file mode 100644
index 00000000000..03d2a4d5236
--- /dev/null
+++ b/security/lsh2/Makefile
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1 2005/04/30 12:23:42 drochner Exp $
+#
+
+DISTNAME= lsh-2.0.1
+CATEGORIES= security
+MASTER_SITES= ftp://ftp.lysator.liu.se/pub/security/lsh/
+
+MAINTAINER= tech-pkg@NetBSD.org
+HOMEPAGE= http://www.lysator.liu.se/~nisse/lsh/
+COMMENT= SSH2 client/server
+
+GNU_CONFIGURE= yes
+USE_GNU_TOOLS+= make
+
+# man/man8/sftp-server.8
+CONFLICTS+= openssh-[0-9]* openssh+gssapi-[0-9]*
+
+# src/nettle/examples/nettle-openssl.c needs des_key*
+USE_OLD_DES_API= yes
+
+INFO_FILES= lsh.info nettle.info
+
+.include "../../devel/gmp/buildlink3.mk"
+.include "../../devel/liboop/buildlink3.mk"
+.include "../../security/openssl/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/security/lsh2/PLIST b/security/lsh2/PLIST
new file mode 100644
index 00000000000..67f6c89a844
--- /dev/null
+++ b/security/lsh2/PLIST
@@ -0,0 +1,75 @@
+@comment $NetBSD: PLIST,v 1.1 2005/04/30 12:23:42 drochner Exp $
+bin/lcp
+bin/lsftp
+bin/lsh
+bin/lsh-authorize
+bin/lsh-decode-key
+bin/lsh-decrypt-key
+bin/lsh-export-key
+bin/lsh-keygen
+bin/lsh-make-seed
+bin/lsh-upgrade
+bin/lsh-upgrade-key
+bin/lsh-writekey
+bin/lshg
+bin/nettle-lfib-stream
+bin/sexp-conv
+bin/srp-gen
+bin/ssh-conv
+include/nettle/aes.h
+include/nettle/arcfour.h
+include/nettle/arctwo.h
+include/nettle/base16.h
+include/nettle/base64.h
+include/nettle/bignum.h
+include/nettle/blowfish.h
+include/nettle/buffer.h
+include/nettle/cast128.h
+include/nettle/cbc.h
+include/nettle/des-compat.h
+include/nettle/des.h
+include/nettle/dsa.h
+include/nettle/hmac.h
+include/nettle/knuth-lfib.h
+include/nettle/macros.h
+include/nettle/md2.h
+include/nettle/md4.h
+include/nettle/md5-compat.h
+include/nettle/md5.h
+include/nettle/memxor.h
+include/nettle/nettle-meta.h
+include/nettle/nettle-types.h
+include/nettle/pgp.h
+include/nettle/pkcs1.h
+include/nettle/realloc.h
+include/nettle/rsa-compat.h
+include/nettle/rsa.h
+include/nettle/serpent.h
+include/nettle/sexp.h
+include/nettle/sha.h
+include/nettle/twofish.h
+include/nettle/yarrow.h
+lib/libnettle.a
+man/man1/lsftp.1
+man/man1/lsh-authorize.1
+man/man1/lsh-decode-key.1
+man/man1/lsh-decrypt-key.1
+man/man1/lsh-export-key.1
+man/man1/lsh-keygen.1
+man/man1/lsh-make-seed.1
+man/man1/lsh-upgrade-key.1
+man/man1/lsh-upgrade.1
+man/man1/lsh-writekey.1
+man/man1/lsh.1
+man/man1/lshg.1
+man/man1/ssh-conv.1
+man/man5/DSA.5
+man/man5/SHA.5
+man/man5/SPKI.5
+man/man5/secsh.5
+man/man8/lshd.8
+man/man8/sftp-server.8
+sbin/lsh-execuv
+sbin/lshd
+sbin/sftp-server
+@dirrm include/nettle
diff --git a/security/lsh2/distinfo b/security/lsh2/distinfo
new file mode 100644
index 00000000000..17caa305fe3
--- /dev/null
+++ b/security/lsh2/distinfo
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2005/04/30 12:23:42 drochner Exp $
+
+SHA1 (lsh-2.0.1.tar.gz) = 58f4829f29b12c1b96463c2b0efcba6d6e553081
+RMD160 (lsh-2.0.1.tar.gz) = 61541e8e8b6fb8f026059eaf0a2dc6f396aaa4cf
+Size (lsh-2.0.1.tar.gz) = 1866063 bytes
+SHA1 (patch-aa) = 08cb6cf3f28ae2281d109e20dc9585111009ea50
+SHA1 (patch-ab) = 179647434ecf7a4b42e301f1ac1c794f217d69d0
diff --git a/security/lsh2/patches/patch-aa b/security/lsh2/patches/patch-aa
new file mode 100644
index 00000000000..0c508d8b9fd
--- /dev/null
+++ b/security/lsh2/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1 2005/04/30 12:23:42 drochner Exp $
+
+--- src/unix_interact.c.orig 2003-10-14 19:12:21.000000000 +0200
++++ src/unix_interact.c 2003-10-14 19:12:36.000000000 +0200
+@@ -261,7 +261,7 @@ do_make_raw(struct terminal_attributes *
+
+ /* Modify VMIN and VTIME, to save some bandwidth and make traffic
+ * analysis of interactive sessions a little harder. */
+- res->ios.c_cc[VMIN] = 4;
++ res->ios.c_cc[VMIN] = 1;
+ /* Inter-character timer, in units of 0.1s */
+ res->ios.c_cc[VTIME] = 1;
+
diff --git a/security/lsh2/patches/patch-ab b/security/lsh2/patches/patch-ab
new file mode 100644
index 00000000000..13a8c704297
--- /dev/null
+++ b/security/lsh2/patches/patch-ab
@@ -0,0 +1,15 @@
+$NetBSD: patch-ab,v 1.1 2005/04/30 12:23:42 drochner Exp $
+
+--- src/Makefile.in.orig 2003-10-14 20:17:54.000000000 +0200
++++ src/Makefile.in 2003-10-14 20:18:14.000000000 +0200
+@@ -1110,10 +1110,6 @@
+
+ # This is GNU make specific
+
+-%.x: % $(srcdir)/scm/gaba.scm $(srcdir)/scm/compiler.scm
+- $(SCHEME) -e main -l $(srcdir)/scm/compiler.scm \
+- -s $(srcdir)/scm/gaba.scm <$< >$@T
+- test -s $@T && mv -f $@T $@
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT: