diff options
Diffstat (limited to 'mail/fetchmail/patches')
-rw-r--r-- | mail/fetchmail/patches/patch-ab | 35 | ||||
-rw-r--r-- | mail/fetchmail/patches/patch-ac | 25 | ||||
-rw-r--r-- | mail/fetchmail/patches/patch-ad | 14 | ||||
-rw-r--r-- | mail/fetchmail/patches/patch-ba | 30 |
4 files changed, 22 insertions, 82 deletions
diff --git a/mail/fetchmail/patches/patch-ab b/mail/fetchmail/patches/patch-ab index 81bbbabc8f5..664a2270075 100644 --- a/mail/fetchmail/patches/patch-ab +++ b/mail/fetchmail/patches/patch-ab @@ -1,35 +1,8 @@ -$NetBSD: patch-ab,v 1.10 1999/10/01 10:49:52 agc Exp $ +$NetBSD: patch-ab,v 1.11 2000/01/10 22:50:17 frueauf Exp $ ---- Makefile.in.orig Wed Sep 22 06:27:27 1999 -+++ Makefile.in Fri Oct 1 11:45:47 1999 -@@ -82,9 +82,16 @@ - ETAGS = etags - CTAGS = ctags - -+OPSYS!= uname -s -+ -+.if ${OPSYS} == "SunOS" -+MD5OBJ= md5c.o -+MD5SRC= ${srcdir}/md5c.c -+.endif -+ - protobjs = rcfile_y.o rcfile_l.o socket.o getpass.o pop2.o pop3.o imap.o \ - etrn.o fetchmail.o env.o options.o daemon.o driver.o sink.o \ -- rfc822.o smtp.o xmalloc.o uid.o mxget.o md5c.o md5ify.o rpa.o \ -+ rfc822.o smtp.o xmalloc.o uid.o mxget.o ${MD5OBJ} md5ify.o rpa.o \ - interface.o netrc.o base64.o error.o unmime.o conf.o checkalias.o \ - smbdes.o smbencrypt.o smbmd4.o smbutil.o - -@@ -96,7 +103,7 @@ - $(srcdir)/options.c $(srcdir)/daemon.c $(srcdir)/driver.c \ - $(srcdir)/sink.c $(srcdir)/rfc822.c $(srcdir)/smtp.c \ - $(srcdir)/xmalloc.c $(srcdir)/uid.c $(srcdir)/mxget.c \ -- $(srcdir)/md5c.c $(srcdir)/md5ify.c $(srcdir)/rpa.c \ -+ ${MD5SRC} $(srcdir)/md5ify.c $(srcdir)/rpa.c \ - $(srcdir)/interface.c $(srcdir)/netrc.c $(srcdir)/base64.c \ - $(srcdir)/error.c $(srcdir)/unmime.c $(srcdir)/conf.c \ - $(srcdir)/checkalias.c $(srcdir)/smbdes.c $(srcdir)/smbencrypt.c \ -@@ -151,7 +158,7 @@ +--- Makefile.in.orig Tue Jan 4 07:58:45 2000 ++++ Makefile.in Mon Jan 10 21:34:27 2000 +@@ -152,7 +152,7 @@ @echo "Installing fetchmail binary..." $(INSTALL_PROGRAM) ./fetchmail $(bindir)/fetchmail @echo "Installing fetchmail configurator..." diff --git a/mail/fetchmail/patches/patch-ac b/mail/fetchmail/patches/patch-ac index 90ef62e860c..0378e3c0897 100644 --- a/mail/fetchmail/patches/patch-ac +++ b/mail/fetchmail/patches/patch-ac @@ -1,25 +1,8 @@ -$NetBSD: patch-ac,v 1.6 1999/11/21 18:37:58 frueauf Exp $ +$NetBSD: patch-ac,v 1.7 2000/01/10 22:50:18 frueauf Exp $ ---- configure.in.orig Sun Nov 7 23:50:31 1999 -+++ configure.in Sun Nov 21 18:21:39 1999 -@@ -287,13 +287,9 @@ - - AC_ARG_ENABLE(inet6, - [ --enable-inet6 support IPv6 (requires the inet6-apps library)], -- [ unset ac_cv_lib_inet6_getaddrinfo; AC_CHECK_LIB(inet6,getaddrinfo,, -- [ unset ac_cv_lib_inet6_getaddrinfo; -- LDFLAGS="$LDFLAGS -L/usr/inet6/lib"; -- AC_CHECK_LIB(inet6, getaddrinfo,, -- [ echo 'configure: cannot find libinet6, which is required for IPv6 support.'; -- exit 1]) ]) ] -- [with_inet6=no]) -+ [ AC_CHECK_FUNCS(getaddrinfo, -+ [AC_DEFINE(INET6, 1)], -+ [echo 'configure: cannot find getaddrinfo which is required for inet6 support.'; exit 1]) ]) - test "$with_inet6" = "yes" && AC_DEFINE(INET6_ENABLE) - - AC_ARG_ENABLE(netsec, -@@ -496,7 +492,7 @@ +--- configure.in.orig Tue Jan 4 07:57:37 2000 ++++ configure.in Mon Jan 10 21:37:25 2000 +@@ -509,7 +509,7 @@ LDEFLAGS="$LDEFLAGS -L$with_hesiod/lib" LIBS="$LIBS -lhesiod" else diff --git a/mail/fetchmail/patches/patch-ad b/mail/fetchmail/patches/patch-ad new file mode 100644 index 00000000000..54a8e440936 --- /dev/null +++ b/mail/fetchmail/patches/patch-ad @@ -0,0 +1,14 @@ +$NetBSD: patch-ad,v 1.6 2000/01/10 22:50:18 frueauf Exp $ + +--- acconfig.h-orig Sun Dec 19 18:17:58 1999 ++++ acconfig.h Mon Jan 10 22:09:15 2000 +@@ -14,6 +14,9 @@ + Leave the following blank line there!! Autoheader needs it. */ + + ++/* Define to 1 if you have MD5 */ ++#undef HAVE_MD5 ++ + /* Define to 1 if NLS is requested. */ + #undef ENABLE_NLS + diff --git a/mail/fetchmail/patches/patch-ba b/mail/fetchmail/patches/patch-ba deleted file mode 100644 index b14d0feec38..00000000000 --- a/mail/fetchmail/patches/patch-ba +++ /dev/null @@ -1,30 +0,0 @@ -$NetBSD: patch-ba,v 1.7 1999/07/07 23:28:13 itojun Exp $ - ---- socket.c.orig Tue Feb 2 18:33:38 1999 -+++ socket.c Mon Jun 7 23:12:27 1999 -@@ -96,6 +96,7 @@ - void *request = NULL; - int requestlen; - #endif /* NET_SECURITY */ -+ int i; - - #ifdef HAVE_SOCKETPAIR - if (plugin) -@@ -122,7 +123,17 @@ - - ret: - #else /* NET_SECURITY */ -+#if 0 - i = inner_connect(ai, NULL, 0, NULL, NULL, "fetchmail", NULL); -+#else -+ i = socket(ai->ai_family, ai->ai_socktype, 0); -+ if (i < 0) -+ return -1; -+ if (connect(i, (struct sockaddr *) ai->ai_addr, ai->ai_addrlen) < 0) { -+ close(i); -+ return -1; -+ } -+#endif - #endif /* NET_SECURITY */ - - freeaddrinfo(ai); |