mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-17 03:25:46 +00:00
60 lines
1.6 KiB
Makefile
60 lines
1.6 KiB
Makefile
# New ports collection makefile for: lsh secure shell
|
|
# Date created: 29 MAY 2000
|
|
# Whom: Eric Schwertfeger <eric@cybernut.com>
|
|
#
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= lsh
|
|
PORTVERSION= 1.5
|
|
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}
|
|
|
|
MAINTAINER= dinoex@FreeBSD.org
|
|
COMMENT= A secure (encrypted) remote shell compatible with ssh 2.0
|
|
|
|
BUILD_DEPENDS+= ${LOCALBASE}/include/gmp.h:${PORTSDIR}/math/libgmp4
|
|
LIB_DEPENDS+= oop:${PORTSDIR}/devel/liboop
|
|
|
|
RESTRICTED= "Crypto; export-controlled"
|
|
GNU_CONFIGURE= yes
|
|
USE_GMAKE= yes
|
|
INSTALL_TARGET= install
|
|
MAN1= lsh_writekey.1 lsh_keygen.1 lsh.1
|
|
MAN5= DSA.5 secsh.5 SHA.5 SPKI.5
|
|
MAN8= lshd.8
|
|
CONFIGURE_ARGS+= --with-include-path=${LOCALBASE}/include
|
|
CONFIGURE_ARGS+= --with-lib-path=${LOCALBASE}/lib
|
|
LDFLAGS+= ${PTHREAD_LIBS}
|
|
CFLAGS+= ${PTHREAD_CFLAGS:S=""==}
|
|
CONFIGURE_ENV+= LDFLAGS="${LDFLAGS}"
|
|
FIXME= src/nettle/x86/aes.asm
|
|
.if defined(KRB5_HOME) && exists(${KRB5_HOME})
|
|
PLIST_SUB+= KRB=""
|
|
.else
|
|
PLIST_SUB+= KRB="@comment "
|
|
.endif
|
|
|
|
.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 ${PREFIX}/bin/${BIN}
|
|
.endfor
|
|
.for SBIN in lshd lsh_proxy
|
|
strip ${PREFIX}/sbin/${SBIN}
|
|
.endfor
|
|
.if !defined(NOPORTDOCS)
|
|
install-info --section="Miscellaneous" \
|
|
--entry="* LSH: (lsh). lsh secure remote shell documentation." \
|
|
${PREFIX}/info/lsh.info ${PREFIX}/info/dir
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|