summaryrefslogtreecommitdiff
path: root/security/openssh/Makefile
diff options
context:
space:
mode:
authorjschauma <jschauma>2003-09-18 02:11:38 +0000
committerjschauma <jschauma>2003-09-18 02:11:38 +0000
commita2f420dc03f49a602a6a9525eb74e7726d2a3a20 (patch)
tree94ff6de457fa56412bb0d15f7096bb7a2991d151 /security/openssh/Makefile
parentae65e791bfbc5639b6cb0a0fc745060abea33eec (diff)
downloadpkgsrc-a2f420dc03f49a602a6a9525eb74e7726d2a3a20.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/Makefile14
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