aboutsummaryrefslogtreecommitdiff
path: root/picobsd/ssh-picobsd/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'picobsd/ssh-picobsd/Makefile')
-rw-r--r--picobsd/ssh-picobsd/Makefile74
1 files changed, 74 insertions, 0 deletions
diff --git a/picobsd/ssh-picobsd/Makefile b/picobsd/ssh-picobsd/Makefile
new file mode 100644
index 000000000000..2b113731dfea
--- /dev/null
+++ b/picobsd/ssh-picobsd/Makefile
@@ -0,0 +1,74 @@
+# 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= security picobsd
+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>