aboutsummaryrefslogblamecommitdiffstats
path: root/picobsd/ssh-picobsd/Makefile
blob: 233ec40ab99f38a466848becffb2f82edc03c5f9 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12










                                                                           
                                



























































                                                                             
# New ports collection makefile for:    ssh-picobsd
# Date created:     21 Apr 2001
# Whom:         luigi@FreeBSD.org
#
# $FreeBSD$
#
# A small version of ssh for picobsd. A single binary does ssh,sshd and scp
#

PORTNAME=   ssh
PORTVERSION=    1.2.27 # Note, 1.2.30 is under a more restrictive license
PORTREVISION=   1
CATEGORIES= picobsd security
MASTER_SITES=   ftp://ftp.cs.engr.uky.edu/cs/software/ \
        ftp://ftp.cs.umn.edu/dept/users/rybski/ \
        ftp://ftp.net.ohio-state.edu/disk/d/security/ssh/ \
        ftp://ftp.cronyx.ru/.w2/mirror/ssh/old/ \
        ftp://ftp.nsysu.edu.tw/Unix/Security/ssh/old/ \
        ftp://ftp.tokyonet.ad.jp/.da0/security/ssh/old/ \
        ftp://ftp.comp.hkbu.edu.hk/.6/unix/ \
        ftp://ftp.dei.uc.pt/.disk2/Crypto/SSH/old/

MAINTAINER= luigi@FreeBSD.org

NO_CDROM=   "Picobsd only"
NO_PACKAGE= "This is only useful to build picobsd images"

USE_AUTOCONF=   YES
GNU_CONFIGURE=  YES
USE_PERL5=  YES
CONFIGURE_ENV+= PERL=${PERL5}

CONFIGURE_ARGS+= --with-etcdir=${PREFIX}/etc

# Uncomment if all your users are in their own group and their homedir
# is writeable by that group.  Beware the security implications!
#
#CONFIGURE_ARGS+= --enable-group-writeability

# Uncomment if you want to allow ssh to emulate an unencrypted rsh connection
# over a secure medium (i.e. allow SSH connections without encryption).
# This is normally dangerous since it can lead to the disclosure of keys
# and passwords.
#
#CONFIGURE_ARGS+= --with-none

.if defined(KRB5_HOME) && exists(${KRB5_HOME})
CONFIGURE_ARGS+=--with-kerberos5=${KRB5_HOME} --enable-kerberos-tgt-passing \
    --disable-suid-ssh
.endif

# Include support for the SecureID card
# Warning: untested !
#
.if defined(WITH_SECUREID)
CONFIGURE_ARGS+= --with-secureid
.endif

# Don't use IDEA. IDEA can be freely used for non-commercial use. However,
# commercial use may require a licence in a number of countries. Since SSH
# itself may not be used for commercial purposes without a license, we
# enable IDEA by default since the user would already be getting himself
# into trouble.

pre-patch:
    @${MV} -f ${WRKSRC}/make-ssh-known-hosts.pl \
        ${WRKSRC}/make-ssh-known-hosts.pl.in

.include <bsd.port.pre.mk>

# no IDEA, tcpwrap, IPV6, SOCKS, x11 for picobsd
CONFIGURE_ARGS+= --disable-ipv6  --without-x --without-idea

.include <bsd.port.post.mk>