summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>1995-10-10 17:02:24 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>1995-10-10 17:02:24 +0000
commitc3688a45750a6d36561872c564eeb8c211e6a042 (patch)
treef225e5632eb191bed588b0c4ed6231ae35a040da /security
parentExternal interface was incomplete, tcpd.h was missing, add it (diff)
Fix tcp_wrapper support
Notes
Notes: svn path=/head/; revision=2306
Diffstat (limited to 'security')
-rw-r--r--security/ssh/Makefile9
-rw-r--r--security/ssh2/Makefile9
2 files changed, 10 insertions, 8 deletions
diff --git a/security/ssh/Makefile b/security/ssh/Makefile
index 1f95fb625601..3dc9d363c90a 100644
--- a/security/ssh/Makefile
+++ b/security/ssh/Makefile
@@ -3,7 +3,7 @@
# Date created: 30 Jul 1995
# Whom: torstenb@FreeBSD.ORG
#
-# $Id: Makefile,v 1.1.1.1 1995/10/07 01:19:27 torstenb Exp $
+# $Id: Makefile,v 1.2 1995/10/07 13:08:35 torstenb Exp $
#
DISTNAME= ssh-1.2.10
@@ -40,9 +40,10 @@ CONFIGURE_ARGS+= --with-rsaref
CONFIGURE_ARGS+= --with-socks
.endif
-# Include tcp-wrapper support and identd support
-# Warning: untested !
-.if defined(USE_TCPWRAP_AND_IDENTD) && ${USE_TCPWRAP_AND_IDENTD} == YES
+# Include tcp-wrapper support (call remote identd)
+.if defined(USE_TCPWRAP) && ${USE_TCPWRAP} == YES
+CONFIGURE_ENV= LDFLAGS=-L${PREFIX}/lib CFLAGS="${CFLAGS} -I${PREFIX}/include"
+BUILD_DEPENDS+= safe_finger:${PORTSDIR}/security/tcp_wrapper
CONFIGURE_ARGS+= --with-libwrap
.endif
diff --git a/security/ssh2/Makefile b/security/ssh2/Makefile
index 1f95fb625601..3dc9d363c90a 100644
--- a/security/ssh2/Makefile
+++ b/security/ssh2/Makefile
@@ -3,7 +3,7 @@
# Date created: 30 Jul 1995
# Whom: torstenb@FreeBSD.ORG
#
-# $Id: Makefile,v 1.1.1.1 1995/10/07 01:19:27 torstenb Exp $
+# $Id: Makefile,v 1.2 1995/10/07 13:08:35 torstenb Exp $
#
DISTNAME= ssh-1.2.10
@@ -40,9 +40,10 @@ CONFIGURE_ARGS+= --with-rsaref
CONFIGURE_ARGS+= --with-socks
.endif
-# Include tcp-wrapper support and identd support
-# Warning: untested !
-.if defined(USE_TCPWRAP_AND_IDENTD) && ${USE_TCPWRAP_AND_IDENTD} == YES
+# Include tcp-wrapper support (call remote identd)
+.if defined(USE_TCPWRAP) && ${USE_TCPWRAP} == YES
+CONFIGURE_ENV= LDFLAGS=-L${PREFIX}/lib CFLAGS="${CFLAGS} -I${PREFIX}/include"
+BUILD_DEPENDS+= safe_finger:${PORTSDIR}/security/tcp_wrapper
CONFIGURE_ARGS+= --with-libwrap
.endif