diff options
author | martti <martti@pkgsrc.org> | 2008-01-10 07:47:29 +0000 |
---|---|---|
committer | martti <martti@pkgsrc.org> | 2008-01-10 07:47:29 +0000 |
commit | 5bd9ea79550db41653f146a4ce5c0b2a511b285a (patch) | |
tree | fda03fe34466ea25faff3714cd37e5d469734aaa /mail/clamsmtp/patches | |
parent | 2941f43e0ba3d58d4de01e6bf17a76d2775e6d8b (diff) | |
download | pkgsrc-5bd9ea79550db41653f146a4ce5c0b2a511b285a.tar.gz |
Updated mail/clamsmtp to 1.9
1.9 [2007-05-28]
- Resolve any DNS name for each connection.
- Use my real name 'Stefan Walter'
See: http://memberwebs.com/nielsen/
Diffstat (limited to 'mail/clamsmtp/patches')
-rw-r--r-- | mail/clamsmtp/patches/patch-ac | 15 | ||||
-rw-r--r-- | mail/clamsmtp/patches/patch-ad | 41 |
2 files changed, 0 insertions, 56 deletions
diff --git a/mail/clamsmtp/patches/patch-ac b/mail/clamsmtp/patches/patch-ac deleted file mode 100644 index 6bdff8259a7..00000000000 --- a/mail/clamsmtp/patches/patch-ac +++ /dev/null @@ -1,15 +0,0 @@ -$NetBSD: patch-ac,v 1.1 2008/01/09 14:10:06 martti Exp $ - -Check for strcasestr. We provide an implementation for it if needed. - ---- configure.in.orig 2007-12-31 12:16:35.544370000 +0200 -+++ configure.in 2007-12-31 12:34:53.195760000 +0200 -@@ -106,7 +106,7 @@ - # Required Functions - AC_CHECK_FUNCS([memset strerror malloc realloc getopt strchr tolower getaddrinfo], , - [echo "ERROR: Required function missing"; exit 1]) --AC_CHECK_FUNCS([strlwr strlcat strlcpy strncat strncpy setenv daemon]) -+AC_CHECK_FUNCS([strlwr strlcat strlcpy strncat strncpy setenv daemon strcasestr]) - AC_CHECK_FUNCS([getline getdelim flockfile]) - - # DMALLOC memory debugging diff --git a/mail/clamsmtp/patches/patch-ad b/mail/clamsmtp/patches/patch-ad deleted file mode 100644 index f40b5dd8c5e..00000000000 --- a/mail/clamsmtp/patches/patch-ad +++ /dev/null @@ -1,41 +0,0 @@ -$NetBSD: patch-ad,v 1.1 2008/01/09 14:10:07 martti Exp $ - -Check for strcasestr. We provide an implementation for it if needed. - ---- common/smtppass.c.orig 2006-08-30 20:45:57.000000000 +0300 -+++ common/smtppass.c 2007-12-31 12:45:35.075661000 +0200 -@@ -206,6 +206,13 @@ - static const char* get_successful_rsp(const char* line, int* cont); - static void do_server_noop(spctx_t* ctx); - -+/*------------------------------------------------------ -+ *Added to support systems without strcasestr -+ */ -+#ifndef HAVE_STRCASESTR -+char *strcasestr(const char *big, const char *little); -+#endif -+ - /* Used externally in some cases */ - int sp_parse_option(const char* name, const char* option); - -@@ -2069,3 +2076,20 @@ - return 0; - } - -+#ifndef HAVE_STRCASESTR -+char *strcasestr(const char *big, const char *little) -+{ -+ int blen; -+ int llen; -+ blen = strlen(big); -+ llen = strlen(little); -+ while (blen >= llen) { -+ if (strncasecmp(big, little, llen) == 0) -+ return (char *)big; -+ big++; -+ blen--; -+ } -+ -+ return NULL; -+} -+#endif |