diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2001-05-29 11:11:52 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2001-05-29 11:11:52 +0000 |
commit | 2436937605f578102ee1a62b817da6ef1177f5bd (patch) | |
tree | c82dee3a9b6eea2e22480c7587c7462b059f6778 /net/stone/files | |
parent | e965c57012681d54659985b577b43f366234bdbb (diff) |
Notes
Diffstat (limited to 'net/stone/files')
-rw-r--r-- | net/stone/files/base.patch | 13 | ||||
-rw-r--r-- | net/stone/files/patch-aa | 11 | ||||
-rw-r--r-- | net/stone/files/patch-ab | 31 | ||||
-rw-r--r-- | net/stone/files/ports.patch | 13 |
4 files changed, 68 insertions, 0 deletions
diff --git a/net/stone/files/base.patch b/net/stone/files/base.patch new file mode 100644 index 000000000000..62e30a371d03 --- /dev/null +++ b/net/stone/files/base.patch @@ -0,0 +1,13 @@ +--- Makefile.orig Thu Apr 26 15:25:03 2001 ++++ Makefile Thu Apr 26 15:23:26 2001 +@@ -15,8 +15,8 @@ + # -DOS2 OS/2 with EMX + # -DWINDOWS Windows95/98/NT + +-SSL_FLAGS= -DUSE_SSL -I/usr/local/ssl/include +-SSL_LIBS= -L/usr/local/ssl/lib -lssl -lcrypto ++SSL_FLAGS= -DUSE_SSL ++SSL_LIBS= -lssl -lcrypto + + POP_FLAGS= -DUSE_POP + POP_LIBS= -lmd diff --git a/net/stone/files/patch-aa b/net/stone/files/patch-aa new file mode 100644 index 000000000000..7baec92625ee --- /dev/null +++ b/net/stone/files/patch-aa @@ -0,0 +1,11 @@ +--- Makefile.orig Thu Apr 26 15:28:17 2001 ++++ Makefile Thu Apr 26 15:28:05 2001 +@@ -19,7 +19,7 @@ + SSL_LIBS= -L/usr/local/ssl/lib -lssl -lcrypto + + POP_FLAGS= -DUSE_POP +-POP_LIBS= md5c.o ++POP_LIBS= -lmd + + all: + @echo "run make with one of the following arguments" diff --git a/net/stone/files/patch-ab b/net/stone/files/patch-ab new file mode 100644 index 000000000000..623260ef3d0b --- /dev/null +++ b/net/stone/files/patch-ab @@ -0,0 +1,31 @@ +--- stone.c.orig Sat Feb 24 17:32:01 2001 ++++ stone.c Tue May 15 14:27:54 2001 +@@ -87,6 +87,7 @@ + #include <ctype.h> + #include <stdarg.h> + #include <signal.h> ++#include <sys/param.h> + typedef void (*FuncPtr)(void*); + + #ifdef WINDOWS +@@ -240,7 +241,6 @@ + char *cipher_list = NULL; + #else + #ifdef USE_POP +-#include "global.h" + #include "md5.h" + #endif + #endif +@@ -2862,10 +2862,10 @@ + + FILE *openconfig() { + int pfd[2]; +- char host[STRMAX]; ++ char host[MAXHOSTNAMELEN]; + #ifdef CPP + if (CppCommand != NULL && *CppCommand != '\0') { +- if (gethostname(host,STRMAX-1) < 0) { ++ if (gethostname(host,MAXHOSTNAMELEN-1) < 0) { + message(LOG_ERR,"gethostname err=%d",errno); + exit(1); + } diff --git a/net/stone/files/ports.patch b/net/stone/files/ports.patch new file mode 100644 index 000000000000..d4cb49435d6f --- /dev/null +++ b/net/stone/files/ports.patch @@ -0,0 +1,13 @@ +--- Makefile.orig Thu Apr 26 15:25:03 2001 ++++ Makefile Thu Apr 26 15:27:36 2001 +@@ -15,8 +15,8 @@ + # -DOS2 OS/2 with EMX + # -DWINDOWS Windows95/98/NT + +-SSL_FLAGS= -DUSE_SSL -I/usr/local/ssl/include +-SSL_LIBS= -L/usr/local/ssl/lib -lssl -lcrypto ++SSL_FLAGS= -DUSE_SSL -I$(PREFIX)/include ++SSL_LIBS= -L$(PREFIX)/lib -lssl -lcrypto + + POP_FLAGS= -DUSE_POP + POP_LIBS= -lmd |