summaryrefslogtreecommitdiffstats
path: root/security/ssh2
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1998-10-08 03:42:23 +0000
committerjkh <jkh@FreeBSD.org>1998-10-08 03:42:23 +0000
commit1b9ea1629994409946116b2a6d244340252166cd (patch)
treea0fdc7738fc093e3a5d4726e00b5cf968980decd /security/ssh2
parent7900e588bf4ed4645985968b0c56a96e0f76c734 (diff)
downloadFreeBSD-ports-1b9ea1629994409946116b2a6d244340252166cd.zip
FreeBSD-ports-1b9ea1629994409946116b2a6d244340252166cd.tar.gz
Properly reference the rsaref sources, which are required during the build
of ssh now. If anyone knows of a way of making the build dependency here less gross, I'm listening! :)
Diffstat (limited to 'security/ssh2')
-rw-r--r--security/ssh2/Makefile4
-rw-r--r--security/ssh2/files/patch-ac13
2 files changed, 10 insertions, 7 deletions
diff --git a/security/ssh2/Makefile b/security/ssh2/Makefile
index c16456e..7bbb0c3 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.65 1998/09/26 04:42:09 dima Exp $
+# $Id: Makefile,v 1.66 1998/10/07 23:03:44 jkh Exp $
#
# Maximal ssh package requires YES values for
# USE_PERL, USE_TCPWRAP
@@ -56,7 +56,7 @@ CONFIGURE_ARGS= --prefix=${PREFIX} --with-etcdir=${PREFIX}/etc
.if defined(USA_RESIDENT) && ${USA_RESIDENT} == YES
CONFIGURE_ARGS+= --with-rsaref
-LIB_DEPENDS+= rsaref.2:${PORTSDIR}/security/rsaref
+BUILD_DEPENDS+= ${PORTSDIR}/security/rsaref/work/.extract_done:${PORTSDIR}/security/rsaref
.endif
.if defined(KRB5_HOME) && exists(${KRB5_HOME})
diff --git a/security/ssh2/files/patch-ac b/security/ssh2/files/patch-ac
index 3897598..63759de 100644
--- a/security/ssh2/files/patch-ac
+++ b/security/ssh2/files/patch-ac
@@ -1,6 +1,6 @@
---- Makefile.in.orig Wed Jul 8 12:40:39 1998
-+++ Makefile.in Sun Sep 13 12:38:43 1998
-@@ -294,12 +294,17 @@
+--- Makefile.in.orig Wed Jul 8 09:40:39 1998
++++ Makefile.in Wed Oct 7 19:11:37 1998
+@@ -294,14 +294,19 @@
SHELL = /bin/sh
GMPDIR = gmp-2.0.2-ssh-2
@@ -20,14 +20,17 @@
+ZLIBDEP = $(ZLIBINCDIR)/libz.a
+ZLIBLIBS = -lz
- RSAREFDIR = rsaref2
+-RSAREFDIR = rsaref2
++RSAREFDIR = ${PORTSDIR}/security/rsaref/work
RSAREFSRCDIR = $(RSAREFDIR)/source
+
+ X_CFLAGS = @X_CFLAGS@
@@ -404,7 +409,7 @@
$(CC) -o rfc-pg rfc-pg.o
.c.o:
- $(CC) -c -I. $(KERBEROS_INCS) -I$(srcdir)/$(GMPDIR) -I$(srcdir)/$(ZLIBDIR) $(DEFS) -DHOST_KEY_FILE=\"$(HOST_KEY_FILE)\" -DHOST_CONFIG_FILE=\"$(HOST_CONFIG_FILE)\" -DSERVER_CONFIG_FILE=\"$(SERVER_CONFIG_FILE)\" -DSSH_PROGRAM=\"$(SSH_PROGRAM)\" -DETCDIR=\"$(etcdir)\" -DPIDDIR=\"$(piddir)\" -DSSH_BINDIR=\"$(bindir)\" -DTIS_MAP_FILE=\"$(TIS_MAP_FILE)\" $(CFLAGS) $(X_CFLAGS) $<
-+ $(CC) -c -I. $(KERBEROS_INCS) -I$(srcdir)/$(GMPINCDIR) -I$(srcdir)/$(ZLIBINCDIR) $(DEFS) -DHOST_KEY_FILE=\"$(HOST_KEY_FILE)\" -DHOST_CONFIG_FILE=\"$(HOST_CONFIG_FILE)\" -DSERVER_CONFIG_FILE=\"$(SERVER_CONFIG_FILE)\" -DSSH_PROGRAM=\"$(SSH_PROGRAM)\" -DETCDIR=\"$(etcdir)\" -DPIDDIR=\"$(piddir)\" -DSSH_BINDIR=\"$(bindir)\" -DTIS_MAP_FILE=\"$(TIS_MAP_FILE)\" $(CFLAGS) $(X_CFLAGS) $<
++ $(CC) -c -I. $(KERBEROS_INCS) -I../../../rsaref/work -I$(srcdir)/$(GMPINCDIR) -I$(srcdir)/$(ZLIBINCDIR) $(DEFS) -DHOST_KEY_FILE=\"$(HOST_KEY_FILE)\" -DHOST_CONFIG_FILE=\"$(HOST_CONFIG_FILE)\" -DSERVER_CONFIG_FILE=\"$(SERVER_CONFIG_FILE)\" -DSSH_PROGRAM=\"$(SSH_PROGRAM)\" -DETCDIR=\"$(etcdir)\" -DPIDDIR=\"$(piddir)\" -DSSH_BINDIR=\"$(bindir)\" -DTIS_MAP_FILE=\"$(TIS_MAP_FILE)\" $(CFLAGS) $(X_CFLAGS) $<
sshd: $(SSHD_OBJS) $(GMPDEP) $(RSAREFDEP) $(ZLIBDEP)
-rm -f sshd
OpenPOWER on IntegriCloud