svn commit: r355600 - in head/security/lsh: . files

Johan van Selst johans at FreeBSD.org
Wed May 28 09:14:49 UTC 2014


Author: johans
Date: Wed May 28 09:14:48 2014
New Revision: 355600
URL: http://svnweb.freebsd.org/changeset/ports/355600
QAT: https://qat.redports.org/buildarchive/r355600/

Log:
  - Update to lsh 2.1
  - Stagify
  - Adopt port

Deleted:
  head/security/lsh/files/patch-nettle-openssl.c
Modified:
  head/security/lsh/Makefile
  head/security/lsh/distinfo
  head/security/lsh/pkg-plist

Modified: head/security/lsh/Makefile
==============================================================================
--- head/security/lsh/Makefile	Wed May 28 08:43:37 2014	(r355599)
+++ head/security/lsh/Makefile	Wed May 28 09:14:48 2014	(r355600)
@@ -2,50 +2,31 @@
 # $FreeBSD$
 
 PORTNAME=	lsh
-PORTVERSION=	2.0.4
-PORTREVISION=	6
+PORTVERSION=	2.1
 CATEGORIES=	security ipv6
-MASTER_SITES=	${MASTER_SITE_GNUPG} \
-		ftp://ftp.lysator.liu.se/pub/security/%SUBDIR%/
-MASTER_SITE_SUBDIR=	lsh lsh/old
+MASTER_SITES=	GNU
 
-MAINTAINER=	ports at FreeBSD.org
-COMMENT=	Secure (encrypted) remote shell compatible with ssh 2.0
+MAINTAINER=	johans at FreeBSD.org
+COMMENT=	Secure (encrypted) remote shell compatible with ssh 2
 
-LIB_DEPENDS=	oop:${PORTSDIR}/devel/liboop \
-		gmp.10:${PORTSDIR}/math/gmp
+LIB_DEPENDS=	liboop.so:${PORTSDIR}/devel/liboop \
+		libgmp.so:${PORTSDIR}/math/gmp \
+		libnettle.so:${PORTSDIR}/security/nettle
 
 USE_CSTD=	c89
 GNU_CONFIGURE=	yes
 USE_XORG=	xau
-USES=		gmake
-INSTALL_TARGET=	install
-CONFIGURE_ENV=	PREFIX="${PREFIX}"
-CONFIGURE_ARGS+=	--with-include-path=${LOCALBASE}/include
-CONFIGURE_ARGS+=	--with-lib-path=${LOCALBASE}/lib
-.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
-
-NO_STAGE=	yes
-post-patch:
-	${REINPLACE_CMD} -e "s|M4)|M4) -g|g" ${WRKSRC}/src/nettle/Makefile.in
-
-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
+USES=		gmake shebangfix
+CPPFLAGS+=	-I${LOCALBASE}/include
+LDFLAGS+=	-L${LOCALBASE}/lib
+
+INFO=		lsh
+
+SHEBANG_FILES=	src/lcp
+
+post-configure:
+	${REINPLACE_CMD} 's,^#define WITH_READLINE,// &,' \
+		${WRKSRC}/src/sftp/config.h
 
 test:
 	(cd ${WRKSRC}/src/testsuite && ${SETENV} ${MAKE_ENV} \

Modified: head/security/lsh/distinfo
==============================================================================
--- head/security/lsh/distinfo	Wed May 28 08:43:37 2014	(r355599)
+++ head/security/lsh/distinfo	Wed May 28 09:14:48 2014	(r355600)
@@ -1,2 +1,2 @@
-SHA256 (lsh-2.0.4.tar.gz) = 614b9d63e13ad3e162c82b6405d1f67713fc622a8bc11337e72949d613713091
-SIZE (lsh-2.0.4.tar.gz) = 2183843
+SHA256 (lsh-2.1.tar.gz) = 8bbf94b1aa77a02cac1a10350aac599b7aedda61881db16606debeef7ef212e3
+SIZE (lsh-2.1.tar.gz) = 1540150

Modified: head/security/lsh/pkg-plist
==============================================================================
--- head/security/lsh/pkg-plist	Wed May 28 08:43:37 2014	(r355599)
+++ head/security/lsh/pkg-plist	Wed May 28 09:14:48 2014	(r355600)
@@ -11,51 +11,29 @@ 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
+man/man1/lsftp.1.gz
+man/man1/lsh-authorize.1.gz
+man/man1/lsh-decode-key.1.gz
+man/man1/lsh-decrypt-key.1.gz
+man/man1/lsh-export-key.1.gz
+man/man1/lsh-keygen.1.gz
+man/man1/lsh-make-seed.1.gz
+man/man1/lsh-upgrade-key.1.gz
+man/man1/lsh-upgrade.1.gz
+man/man1/lsh-writekey.1.gz
+man/man1/lsh.1.gz
+man/man1/lshg.1.gz
+man/man1/ssh-conv.1.gz
+man/man5/DSA.5.gz
+man/man5/SHA.5.gz
+man/man5/SPKI.5.gz
+man/man5/secsh.5.gz
+man/man8/lshd.8.gz
+man/man8/sftp-server.8.gz
 sbin/lsh-execuv
 %%KRB%%sbin/lsh-krb-checkpw
 sbin/lsh-pam-checkpw
 sbin/lshd
 sbin/sftp-server
- at dirrm include/nettle


More information about the svn-ports-all mailing list