pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mail/bulk_mailer Update bulk_mailer to 1.13nb1:
details: https://anonhg.NetBSD.org/pkgsrc/rev/b63ed69cf60d
branches: trunk
changeset: 528215:b63ed69cf60d
user: abs <abs%pkgsrc.org@localhost>
date: Tue Apr 24 22:31:19 2007 +0000
description:
Update bulk_mailer to 1.13nb1:
Apply patch from Todd Kover to avoid strndup() related build issues on
some platforms.
diffstat:
mail/bulk_mailer/Makefile | 3 +-
mail/bulk_mailer/distinfo | 6 +-
mail/bulk_mailer/patches/patch-aa | 22 +-
mail/bulk_mailer/patches/patch-ab | 12 +
mail/bulk_mailer/patches/patch-ac | 5355 +++++++++++++++++++++++++++++++++++++
5 files changed, 5392 insertions(+), 6 deletions(-)
diffs (truncated from 5436 to 300 lines):
diff -r b035414492dd -r b63ed69cf60d mail/bulk_mailer/Makefile
--- a/mail/bulk_mailer/Makefile Tue Apr 24 22:16:38 2007 +0000
+++ b/mail/bulk_mailer/Makefile Tue Apr 24 22:31:19 2007 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.8 2007/01/07 09:13:57 rillig Exp $
+# $NetBSD: Makefile,v 1.9 2007/04/24 22:31:19 abs Exp $
#
DISTNAME= bulk_mailer-1.13
+PKGREVISION= 1
CATEGORIES= mail
MASTER_SITES= ftp://cs.utk.edu/pub/moore/bulk_mailer/
diff -r b035414492dd -r b63ed69cf60d mail/bulk_mailer/distinfo
--- a/mail/bulk_mailer/distinfo Tue Apr 24 22:16:38 2007 +0000
+++ b/mail/bulk_mailer/distinfo Tue Apr 24 22:31:19 2007 +0000
@@ -1,6 +1,8 @@
-$NetBSD: distinfo,v 1.4 2005/02/24 09:59:20 agc Exp $
+$NetBSD: distinfo,v 1.5 2007/04/24 22:31:19 abs Exp $
SHA1 (bulk_mailer-1.13.tar.gz) = 2886641461b6702affc4624456829b5944581a35
RMD160 (bulk_mailer-1.13.tar.gz) = fc4cc57d9d13429311e2d17ca4c51c95003246c4
Size (bulk_mailer-1.13.tar.gz) = 34854 bytes
-SHA1 (patch-aa) = d4f8142c33df51ea0ede408defa039697a4ec10d
+SHA1 (patch-aa) = 8cd168ec716b27b2f608076e50dab3587c618667
+SHA1 (patch-ab) = d23db609f5e11df6352a4e958ae409f7ec8c0143
+SHA1 (patch-ac) = 71328168aa35a3228b6eeaedfe9dfd9c3ae7dc04
diff -r b035414492dd -r b63ed69cf60d mail/bulk_mailer/patches/patch-aa
--- a/mail/bulk_mailer/patches/patch-aa Tue Apr 24 22:16:38 2007 +0000
+++ b/mail/bulk_mailer/patches/patch-aa Tue Apr 24 22:31:19 2007 +0000
@@ -1,7 +1,7 @@
-$NetBSD: patch-aa,v 1.1 2004/06/08 10:57:42 cjep Exp $
+$NetBSD: patch-aa,v 1.2 2007/04/24 22:31:19 abs Exp $
---- bulk_mailer.c.orig 2000-05-24 20:34:33.000000000 +0100
-+++ bulk_mailer.c
+--- bulk_mailer.c.orig 2000-05-24 19:34:33.000000000 +0000
++++ bulk_mailer.c 2007-04-12 13:08:43.000000000 +0000
@@ -101,7 +101,7 @@
#include "patchlevel.h"
@@ -11,3 +11,19 @@
#endif
#ifndef HAVE_STRERROR
+@@ -291,6 +291,7 @@
+ #endif
+
+
++#ifndef HAVE_STRNDUP
+ /*
+ * copy the first 'len' characters of a string into malloc'ed
+ * memory, appending a NUL to the copy.
+@@ -307,6 +308,7 @@
+ result[len] = '\0';
+ return result;
+ }
++#endif
+
+ /*
+ * sort by case-folded reversed domain
diff -r b035414492dd -r b63ed69cf60d mail/bulk_mailer/patches/patch-ab
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/bulk_mailer/patches/patch-ab Tue Apr 24 22:31:19 2007 +0000
@@ -0,0 +1,12 @@
+$NetBSD: patch-ab,v 1.1 2007/04/24 22:31:19 abs Exp $
+
+--- configure.in.orig 1998-01-21 15:41:47.000000000 +0000
++++ configure.in 2007-04-12 13:04:55.000000000 +0000
+@@ -15,6 +15,6 @@
+ AC_STRUCT_TM
+
+ dnl Checks for library functions.
+-AC_CHECK_FUNCS(gethostname strdup strerror)
++AC_CHECK_FUNCS(gethostname strdup strndup strerror)
+
+ AC_OUTPUT(Makefile)
diff -r b035414492dd -r b63ed69cf60d mail/bulk_mailer/patches/patch-ac
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/bulk_mailer/patches/patch-ac Tue Apr 24 22:31:19 2007 +0000
@@ -0,0 +1,5355 @@
+$NetBSD: patch-ac,v 1.1 2007/04/24 22:31:20 abs Exp $
+
+--- configure.orig 1998-01-21 15:41:57.000000000 +0000
++++ configure 2007-04-12 13:05:00.000000000 +0000
+@@ -1,26 +1,687 @@
+ #! /bin/sh
+-
+ # Guess values for system-dependent variables and create Makefiles.
+-# Generated automatically using autoconf version 2.12
+-# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
++# Generated by GNU Autoconf 2.61.
+ #
++# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
++# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
+ # This configure script is free software; the Free Software Foundation
+ # gives unlimited permission to copy, distribute and modify it.
++## --------------------- ##
++## M4sh Initialization. ##
++## --------------------- ##
+
+-# Defaults:
+-ac_help=
++# Be more Bourne compatible
++DUALCASE=1; export DUALCASE # for MKS sh
++if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
++ emulate sh
++ NULLCMD=:
++ # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
++ # is contrary to our usage. Disable this feature.
++ alias -g '${1+"$@"}'='"$@"'
++ setopt NO_GLOB_SUBST
++else
++ case `(set -o) 2>/dev/null` in
++ *posix*) set -o posix ;;
++esac
++
++fi
++
++
++
++
++# PATH needs CR
++# Avoid depending upon Character Ranges.
++as_cr_letters='abcdefghijklmnopqrstuvwxyz'
++as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
++as_cr_Letters=$as_cr_letters$as_cr_LETTERS
++as_cr_digits='0123456789'
++as_cr_alnum=$as_cr_Letters$as_cr_digits
++
++# The user is always right.
++if test "${PATH_SEPARATOR+set}" != set; then
++ echo "#! /bin/sh" >conf$$.sh
++ echo "exit 0" >>conf$$.sh
++ chmod +x conf$$.sh
++ if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
++ PATH_SEPARATOR=';'
++ else
++ PATH_SEPARATOR=:
++ fi
++ rm -f conf$$.sh
++fi
++
++# Support unset when possible.
++if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
++ as_unset=unset
++else
++ as_unset=false
++fi
++
++
++# IFS
++# We need space, tab and new line, in precisely that order. Quoting is
++# there to prevent editors from complaining about space-tab.
++# (If _AS_PATH_WALK were called with IFS unset, it would disable word
++# splitting by setting IFS to empty value.)
++as_nl='
++'
++IFS=" "" $as_nl"
++
++# Find who we are. Look in the path if we contain no directory separator.
++case $0 in
++ *[\\/]* ) as_myself=$0 ;;
++ *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++ IFS=$as_save_IFS
++ test -z "$as_dir" && as_dir=.
++ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
++done
++IFS=$as_save_IFS
++
++ ;;
++esac
++# We did not find ourselves, most probably we were run as `sh COMMAND'
++# in which case we are not to be found in the path.
++if test "x$as_myself" = x; then
++ as_myself=$0
++fi
++if test ! -f "$as_myself"; then
++ echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
++ { (exit 1); exit 1; }
++fi
++
++# Work around bugs in pre-3.0 UWIN ksh.
++for as_var in ENV MAIL MAILPATH
++do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
++done
++PS1='$ '
++PS2='> '
++PS4='+ '
++
++# NLS nuisances.
++for as_var in \
++ LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
++ LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
++ LC_TELEPHONE LC_TIME
++do
++ if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
++ eval $as_var=C; export $as_var
++ else
++ ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
++ fi
++done
++
++# Required to use basename.
++if expr a : '\(a\)' >/dev/null 2>&1 &&
++ test "X`expr 00001 : '.*\(...\)'`" = X001; then
++ as_expr=expr
++else
++ as_expr=false
++fi
++
++if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
++ as_basename=basename
++else
++ as_basename=false
++fi
++
++
++# Name of the executable.
++as_me=`$as_basename -- "$0" ||
++$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
++ X"$0" : 'X\(//\)$' \| \
++ X"$0" : 'X\(/\)' \| . 2>/dev/null ||
++echo X/"$0" |
++ sed '/^.*\/\([^/][^/]*\)\/*$/{
++ s//\1/
++ q
++ }
++ /^X\/\(\/\/\)$/{
++ s//\1/
++ q
++ }
++ /^X\/\(\/\).*/{
++ s//\1/
++ q
++ }
++ s/.*/./; q'`
++
++# CDPATH.
++$as_unset CDPATH
++
++
++if test "x$CONFIG_SHELL" = x; then
++ if (eval ":") 2>/dev/null; then
++ as_have_required=yes
++else
++ as_have_required=no
++fi
++
++ if test $as_have_required = yes && (eval ":
++(as_func_return () {
++ (exit \$1)
++}
++as_func_success () {
++ as_func_return 0
++}
++as_func_failure () {
++ as_func_return 1
++}
++as_func_ret_success () {
++ return 0
++}
++as_func_ret_failure () {
++ return 1
++}
++
++exitcode=0
++if as_func_success; then
++ :
++else
++ exitcode=1
++ echo as_func_success failed.
++fi
++
++if as_func_failure; then
++ exitcode=1
++ echo as_func_failure succeeded.
++fi
++
++if as_func_ret_success; then
++ :
++else
++ exitcode=1
++ echo as_func_ret_success failed.
++fi
++
++if as_func_ret_failure; then
++ exitcode=1
++ echo as_func_ret_failure succeeded.
++fi
++
++if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
++ :
++else
++ exitcode=1
++ echo positional parameters were not saved.
++fi
++
Home |
Main Index |
Thread Index |
Old Index