diff options
author | jschauma <jschauma> | 2003-09-18 02:11:38 +0000 |
---|---|---|
committer | jschauma <jschauma> | 2003-09-18 02:11:38 +0000 |
commit | 77bb4104e95a664cf302838e335de6fcbe92ba9f (patch) | |
tree | 94ff6de457fa56412bb0d15f7096bb7a2991d151 /security/openssh/Makefile | |
parent | 15df9bbbc4f7f3cd9d08ea30072843e1ce1d9e7d (diff) | |
download | pkgsrc-77bb4104e95a664cf302838e335de6fcbe92ba9f.tar.gz |
Ok, so we can make this work on Irix by adding
-DSETEUID_BREAKS_SETUID -DBROKEN_SETREUID -DBROKEN_SETREGID
to the CFLAGS. Wuppi.
Diffstat (limited to 'security/openssh/Makefile')
-rw-r--r-- | security/openssh/Makefile | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/security/openssh/Makefile b/security/openssh/Makefile index 1987bf2ddf3..b5055e8cc68 100644 --- a/security/openssh/Makefile +++ b/security/openssh/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.112 2003/09/17 16:42:01 jschauma Exp $ +# $NetBSD: Makefile,v 1.113 2003/09/18 02:11:38 jschauma Exp $ DISTNAME= openssh-3.7.1p1 PKGNAME= openssh-3.7.1.1 @@ -58,16 +58,6 @@ CONFIGURE_ARGS+= --with-tcp-wrappers=${BUILDLINK_PREFIX.tcp_wrappers} CONFIGURE_ARGS+= --with-privsep-path=${OPENSSH_CHROOT} CONFIGURE_ARGS+= --with-privsep-user=${OPENSSH_USER} -# OpenSSH 3.7x currently does *not* work on IRIX! -# To compile, we would need to remove the extraneous inclusion of the -# ``inet_ntoa.h'' header in openbsd-compat/inet_ntoa.c, but even though -# sshd will not work: It seems the connection is closed by the daemon -# when it tries to spawn off a child to handle the incoming connection -# -# If you need the latest security patches for your openssh, I'm afraid you'll -# have to apply them by hand to the 3.6.1p2 version. -NOT_FOR_PLATFORM= IRIX-*-* - # XXX: PAM authentication causes memory faults, and I haven't tracked down # XXX: why yet. For the moment, disable PAM authentication. # @@ -81,6 +71,8 @@ NOT_FOR_PLATFORM= IRIX-*-* .if ${OPSYS} == "Darwin" || ${OPSYS} == "SunOS" . include "../../security/skey/buildlink2.mk" CONFIGURE_ARGS+= --with-skey=${BUILDLINK_PREFIX.skey} +.elif ${OPSYS} == "IRIX" +CFLAGS+= -DSETEUID_BREAKS_SETUID -DBROKEN_SETREUID -DBROKEN_SETREGID .elif ${OPSYS} == "NetBSD" # XXX: NetBSD has 4 args (4: sslen) to skeychallenge instead of 3 #CONFIGURE_ARGS+= --with-skey=/usr |