diff options
author | kim <kim@pkgsrc.org> | 2003-07-02 20:37:34 +0000 |
---|---|---|
committer | kim <kim@pkgsrc.org> | 2003-07-02 20:37:34 +0000 |
commit | aaa01e2f867567f2a56791047b372d2d67977fd9 (patch) | |
tree | cd1a249f2068f692b4ccb07073e73a9c160d2aa9 /comms/kermit/patches | |
parent | c7198a6446e94be5eadb5f9fbff84a1e34293268 (diff) | |
download | pkgsrc-aaa01e2f867567f2a56791047b372d2d67977fd9.tar.gz |
Enable OpenSSL by default to get SSL/TLS support (e.g. in TELNET and FTP).
Install the manual page again.
Diffstat (limited to 'comms/kermit/patches')
-rw-r--r-- | comms/kermit/patches/patch-aa | 32 | ||||
-rw-r--r-- | comms/kermit/patches/patch-ab | 20 |
2 files changed, 52 insertions, 0 deletions
diff --git a/comms/kermit/patches/patch-aa b/comms/kermit/patches/patch-aa new file mode 100644 index 00000000000..c22149fa3f0 --- /dev/null +++ b/comms/kermit/patches/patch-aa @@ -0,0 +1,32 @@ +$NetBSD: patch-aa,v 1.6 2003/07/02 20:37:35 kim Exp $ + +--- makefile.orig 2003-03-30 17:04:31.000000000 -0500 ++++ makefile 2003-07-02 15:55:44.000000000 -0400 +@@ -735,8 +735,8 @@ + K5INC=-I/usr/kerberos/include + SRPLIB=-L/usr/local/lib + SRPINC=-I/usr/local/include +-SSLLIB=-L/usr/local/ssl/lib +-SSLINC=-I/usr/local/ssl/include ++#SSLLIB=-L/usr/local/ssl/lib ++#SSLINC=-I/usr/local/ssl/include + # + # aix41+krb5+krb4: IBM AIX 4.1 with Kerberos IV and V + # aix43gcc+krb5+krb4: IBM AIX 4.3 built with gcc, ditto +@@ -1773,6 +1773,16 @@ + -DCK_DTRCD -DCK_DTRCTS -DTPUTSARGTYPE=int -DFNFLOAT $(KFLAGS) -O" \ + "LIBS= -lcurses -lcrypt -lm $(LIBS)" + ++# For NetBSD 1.6 and later OpenSSL is included ++netbsd+openssl: ++ @echo Making C-Kermit $(CKVER) for NetBSD with curses... ++ $(MAKE) xermit KTARGET=$${KTARGET:-$(@)} \ ++ "CFLAGS= -DBSD44 -DCK_CURSES -DTCPSOCKET -DUSE_STRERROR \ ++ -DNETBSD15 -DNETBSD16 \ ++ -DCK_AUTHENTICATION -DCK_SSL $(SSLINC) -DZLIB \ ++ -DCK_DTRCD -DCK_DTRCTS -DTPUTSARGTYPE=int -DFNFLOAT $(KFLAGS) -O" \ ++ "LIBS= -lcurses -lcrypt $(SSLLIB) -lssl -lcrypto -lm $(LIBS)" ++ + #NetBSD 1.5.x in which the return type of the function pointer that is the + #third argument of tputs() was changed from void to int... The regular NetBSD + #target builds OK here but this one eliminates the (harmless) warning. diff --git a/comms/kermit/patches/patch-ab b/comms/kermit/patches/patch-ab new file mode 100644 index 00000000000..8c6fb7eb747 --- /dev/null +++ b/comms/kermit/patches/patch-ab @@ -0,0 +1,20 @@ +$NetBSD: patch-ab,v 1.4 2003/07/02 20:37:35 kim Exp $ + +--- ck_ssl.c.orig 2003-03-14 09:37:28.000000000 -0500 ++++ ck_ssl.c 2003-07-02 15:43:07.000000000 -0400 +@@ -2728,6 +2728,7 @@ + #ifndef HPUX1100 + #ifndef SCO_OSR505 + #ifndef OpenBSD ++#ifndef __NetBSD__ + #ifndef FREEBSD4 + #ifndef LINUX + #ifndef AIX41 +@@ -2764,6 +2765,7 @@ + #endif /* AIX41 */ + #endif /* LINUX */ + #endif /* FREEBSD4 */ ++#endif /* __NetBSD__ */ + #endif /* OpenBSD */ + #endif /* SCO_OSR505 */ + #endif /* HPUX1100 */ |