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 | |
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/
-rw-r--r-- | mail/clamsmtp/Makefile | 13 | ||||
-rw-r--r-- | mail/clamsmtp/distinfo | 10 | ||||
-rw-r--r-- | mail/clamsmtp/patches/patch-ac | 15 | ||||
-rw-r--r-- | mail/clamsmtp/patches/patch-ad | 41 |
4 files changed, 7 insertions, 72 deletions
diff --git a/mail/clamsmtp/Makefile b/mail/clamsmtp/Makefile index c87dc71b950..2cee88ae1bd 100644 --- a/mail/clamsmtp/Makefile +++ b/mail/clamsmtp/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.37 2008/01/09 14:10:06 martti Exp $ +# $NetBSD: Makefile,v 1.38 2008/01/10 07:47:29 martti Exp $ -DISTNAME= clamsmtp-1.8 -PKGREVISION= 3 +DISTNAME= clamsmtp-1.9 +#PKGREVISION= 1 CATEGORIES= mail MASTER_SITES= http://memberwebs.com/stef/software/clamsmtp/ @@ -12,7 +12,6 @@ COMMENT= SMTP filter that allows you to check for viruses PKG_INSTALLATION_TYPES= overwrite pkgviews -USE_TOOLS+= aclocal autoconf autoheader automake GNU_CONFIGURE= yes RCD_SCRIPTS= clamsmtpd @@ -30,12 +29,6 @@ INSTALLATION_DIRS= share/examples/${PKGBASE} PKG_USERS_VARS= CLAMAV_USER -pre-configure: - cd ${WRKSRC} && aclocal - cd ${WRKSRC} && autoheader - cd ${WRKSRC} && automake -a --foreign -i - cd ${WRKSRC} && autoconf - post-install: ${INSTALL_DATA} ${WRKSRC}/doc/clamsmtpd.conf ${EGDIR} ${INSTALL_SCRIPT} ${WRKSRC}/scripts/virus_action.sh ${EGDIR} diff --git a/mail/clamsmtp/distinfo b/mail/clamsmtp/distinfo index 927ec3f39c8..015a71c2e82 100644 --- a/mail/clamsmtp/distinfo +++ b/mail/clamsmtp/distinfo @@ -1,9 +1,7 @@ -$NetBSD: distinfo,v 1.21 2008/01/09 14:10:06 martti Exp $ +$NetBSD: distinfo,v 1.22 2008/01/10 07:47:29 martti Exp $ -SHA1 (clamsmtp-1.8.tar.gz) = ad12dce1355f5e57a7e2a216795287145a5e566a -RMD160 (clamsmtp-1.8.tar.gz) = f80745af5628f8058d591f7f1636ae2f0a88c2f0 -Size (clamsmtp-1.8.tar.gz) = 184285 bytes +SHA1 (clamsmtp-1.9.tar.gz) = 0fb5519c9c65c03fe273502d9b17b59030b8d9dc +RMD160 (clamsmtp-1.9.tar.gz) = 0ef830eb319b79383c8cd901c85c989245002aaf +Size (clamsmtp-1.9.tar.gz) = 187753 bytes SHA1 (patch-aa) = f2ae4507b333816591b0c7f49c5e4ed16e4e4f95 SHA1 (patch-ab) = 489aae100fb380e83809a9896a36265de9a09ef9 -SHA1 (patch-ac) = 7c367fd8a2bbbc86a2c11feec31d56ae615d036a -SHA1 (patch-ad) = cfc10685789ae19f90e3611c1492e5c8d35668db 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 |