summaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2006-10-04 01:50:54 +0800
committerahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2006-10-04 01:50:54 +0800
commit322df61c2394fb35cf1f3f4739f62b074b23b429 (patch)
tree9cd5c552af74834693a800f83630d7e30feb8560 /security
parentb9e3b5e9572670855d39af5e91d7f490594b4638 (diff)
downloadmarcuscom-ports-322df61c2394fb35cf1f3f4739f62b074b23b429.tar
marcuscom-ports-322df61c2394fb35cf1f3f4739f62b074b23b429.tar.gz
marcuscom-ports-322df61c2394fb35cf1f3f4739f62b074b23b429.tar.bz2
marcuscom-ports-322df61c2394fb35cf1f3f4739f62b074b23b429.tar.lz
marcuscom-ports-322df61c2394fb35cf1f3f4739f62b074b23b429.tar.xz
marcuscom-ports-322df61c2394fb35cf1f3f4739f62b074b23b429.tar.zst
marcuscom-ports-322df61c2394fb35cf1f3f4739f62b074b23b429.zip
- Chase guile
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@7519 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'security')
-rw-r--r--security/lsh/Makefile68
-rw-r--r--security/lsh/distinfo6
-rw-r--r--security/lsh/files/patch-nettle-openssl.c10
-rw-r--r--security/lsh/pkg-descr14
-rw-r--r--security/lsh/pkg-plist60
5 files changed, 158 insertions, 0 deletions
diff --git a/security/lsh/Makefile b/security/lsh/Makefile
new file mode 100644
index 000000000..e125b617e
--- /dev/null
+++ b/security/lsh/Makefile
@@ -0,0 +1,68 @@
+# New ports collection makefile for: lsh secure shell
+# Date created: 29 MAY 2000
+# Whom: Eric Schwertfeger <eric@cybernut.com>
+#
+# $FreeBSD$
+
+PORTNAME= lsh
+PORTVERSION= 2.0.3
+CATEGORIES= security ipv6
+MASTER_SITES= ${MASTER_SITE_GNUPG} \
+ ftp://ftp.lysator.liu.se/pub/security/%SUBDIR%/
+MASTER_SITE_SUBDIR= lsh lsh/old
+DISTNAME= ${PORTNAME}-${PORTVERSION}
+DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${DISTNAME}${EXTRACT_SUFX}.asc
+EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
+
+MAINTAINER= babak@farrokhi.net
+COMMENT= A secure (encrypted) remote shell compatible with ssh 2.0
+
+BUILD_DEPENDS+= ${LOCALBASE}/include/gmp.h:${PORTSDIR}/math/libgmp4 \
+ ${LOCALBASE}/share/guile/1.6/slibcat:${PORTSDIR}/lang/slib-guile
+LIB_DEPENDS+= oop:${PORTSDIR}/devel/liboop
+
+GNU_CONFIGURE= yes
+USE_GMAKE= yes
+USE_GCC= 3.4+
+INSTALL_TARGET= install
+CONFIGURE_ENV= PREFIX="${PREFIX}" CC="${CC}" CFLAGS="${CFLAGS}"
+CONFIGURE_ARGS+= --with-include-path=${LOCALBASE}/include
+CONFIGURE_ARGS+= --with-lib-path=${LOCALBASE}/lib
+CONFIGURE_ENV+= LDFLAGS="${LDFLAGS}"
+USE_GPG?= yes
+.if defined(KRB5_HOME) && exists(${KRB5_HOME})
+PLIST_SUB+= KRB=""
+.else
+PLIST_SUB+= KRB="@comment "
+.endif
+.if defined(WITH_THREADS) || defined(WITH_LSH_THREADS)
+LDFLAGS+= ${PTHREAD_LIBS}
+CFLAGS+= ${PTHREAD_CFLAGS:S=""==}
+.endif
+MAN1= lsftp.1 ssh-conv.1 lshg.1 lsh.1 lsh-writekey.1 lsh-upgrade.1 \
+ lsh-upgrade-key.1 lsh-make-seed.1 lsh-keygen.1 \
+ lsh-export-key.1 lsh-decrypt-key.1 lsh-decode-key.1 \
+ lsh-authorize.1
+MAN5= secsh.5 SPKI.5 SHA.5 DSA.5
+MAN8= sftp-server.8 lshd.8
+INFO= lsh nettle
+
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 400014
+CONFIGURE_ARGS+= --without-ipv6
+.endif
+
+post-install:
+.for BIN in lsh lsh-keygen lsh-writekey sexp-conv srp-gen lsh-decode-key
+ ${STRIP_CMD} ${PREFIX}/bin/${BIN}
+.endfor
+.for SBIN in lshd
+ ${STRIP_CMD} ${PREFIX}/sbin/${SBIN}
+.endfor
+
+test:
+ (cd ${WRKSRC}/src/testsuite && ${SETENV} ${MAKE_ENV} \
+ ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} check)
+
+.include <bsd.port.post.mk>
diff --git a/security/lsh/distinfo b/security/lsh/distinfo
new file mode 100644
index 000000000..39a42da9d
--- /dev/null
+++ b/security/lsh/distinfo
@@ -0,0 +1,6 @@
+MD5 (lsh-2.0.3.tar.gz) = 2edcb2f48f2b541e757ccdff70387fcb
+SHA256 (lsh-2.0.3.tar.gz) = 37a4f129116aa619c94623173a371e07dbb578be9ff56e0744498e70666167b6
+SIZE (lsh-2.0.3.tar.gz) = 2138136
+MD5 (lsh-2.0.3.tar.gz.asc) = 0e60a8840be4666e3515355af41801db
+SHA256 (lsh-2.0.3.tar.gz.asc) = 8ae42b0e9889e16125825537d50a02a21ba70f5e490ea3f4518fe563d59851a6
+SIZE (lsh-2.0.3.tar.gz.asc) = 189
diff --git a/security/lsh/files/patch-nettle-openssl.c b/security/lsh/files/patch-nettle-openssl.c
new file mode 100644
index 000000000..9c31a80bd
--- /dev/null
+++ b/security/lsh/files/patch-nettle-openssl.c
@@ -0,0 +1,10 @@
+--- src/nettle/examples/nettle-openssl.c.orig Thu Aug 10 13:24:43 2006
++++ src/nettle/examples/nettle-openssl.c Thu Aug 10 13:24:53 2006
+@@ -36,6 +36,7 @@
+ #define OPENSSL_DISABLE_OLD_DES_SUPPORT
+
+ #include <assert.h>
++#include <stddef.h>
+
+ #include <openssl/aes.h>
+ #include <openssl/blowfish.h>
diff --git a/security/lsh/pkg-descr b/security/lsh/pkg-descr
new file mode 100644
index 000000000..df7b7ec69
--- /dev/null
+++ b/security/lsh/pkg-descr
@@ -0,0 +1,14 @@
+lsh is a client that can connect to the corresponding lshd server. It uses
+the SECSH protocol, which means that it is compatible with SSH 2.0, except
+for file transfer, which is not part of SECSH.
+
+SECSH uses compression and encryption algorithms that are unencumbered, and
+lsh itself is GPL.
+
+lsh is not as feature-rich as OpenSSH, as it doesn't currently support
+password-protected keyrings, the SSH 1.X protocols, TCP wrappers, etc.
+On the other hand, it doesn't require OpenSSL, and doesn't take a lot of
+work to avoid patented algorithms.
+
+Port author's notes on usage and common problems can be found at
+WWW: http://gz.geekazoid.com/lsh/
diff --git a/security/lsh/pkg-plist b/security/lsh/pkg-plist
new file mode 100644
index 000000000..7f1e110a2
--- /dev/null
+++ b/security/lsh/pkg-plist
@@ -0,0 +1,60 @@
+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/pkcs1-conv
+bin/sexp-conv
+bin/srp-gen
+bin/ssh-conv
+include/nettle/aes.h
+include/nettle/arcfour.h
+include/nettle/arctwo.h
+include/nettle/asn1.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/ctr.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-stdint.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
+sbin/lsh-execuv
+sbin/lsh-pam-checkpw
+sbin/lshd
+sbin/sftp-server
+@dirrm include/nettle