summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--comms/kermit/Makefile5
-rw-r--r--comms/kermit/files/patch-ck__crp.c14
2 files changed, 17 insertions, 2 deletions
diff --git a/comms/kermit/Makefile b/comms/kermit/Makefile
index 1ce7efd..ea7515d 100644
--- a/comms/kermit/Makefile
+++ b/comms/kermit/Makefile
@@ -26,9 +26,10 @@ MAKE_ARGS= KTARGET=freebsd CC="${CC}" CC2="${CC}" \
-DBSD44 -DCK_NCURSES -DCK_NEWTERM \
-DTCPSOCKET -DNOCOTFMC -DFREEBSD4 -DUSE_UU_LOCK -DFNFLOAT \
-funsigned-char -DTPUTSARGTYPE=int -DUSE_STRERROR -DCKHTTP \
- -DCK_SSL -DCK_AUTHENTICATION -DCK_ENCRYPTION -DCK_DES" \
+ -DCK_SSL -DCK_AUTHENTICATION -DCK_ENCRYPTION -DCK_DES \
+ -DOPENSSL_DES_LIBDES_COMPATIBILITY -DOPENSSL_097" \
LIBS="-L${OPENSSLLIB} \
- -lssl -lcrypto -ldes -lncurses -lcrypt -lutil -lm"
+ -lssl -lcrypto -lncurses -lcrypt -lutil -lm"
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/krbmit ${PREFIX}/bin/kermit
diff --git a/comms/kermit/files/patch-ck__crp.c b/comms/kermit/files/patch-ck__crp.c
new file mode 100644
index 0000000..2c06018
--- /dev/null
+++ b/comms/kermit/files/patch-ck__crp.c
@@ -0,0 +1,14 @@
+
+$FreeBSD$
+
+--- ck_crp.c.orig Tue Jun 25 17:53:02 2002
++++ ck_crp.c Tue Mar 4 15:14:45 2003
+@@ -396,7 +396,7 @@
+ des_new_random_key(Block B)
+ {
+ int rc=0;
+- rc = des_random_key(B);
++ des_random_key(B);
+ return(rc);
+ }
+
OpenPOWER on IntegriCloud