Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Jul 2002 16:51:34 +0400 (MSD)
From:      "Andrey V. Pevnev" <andrey@mgul.ac.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/40835: Upgrade port: mail/mimedefang from 2.15 to 2.16
Message-ID:  <200207211251.g6LCpY8j016981@ns1.mgul.ac.ru>

next in thread | raw e-mail | index | archive | help

>Number:         40835
>Category:       ports
>Synopsis:       Upgrade port: mail/mimedefang from 2.15 to 2.16
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jul 21 06:00:11 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Andrey V. Pevnev
>Release:        FreeBSD 4.6-RELEASE-p1 i386
>Organization:
Moscow State Forestry University
>Environment:
System: FreeBSD ns1.mgul.ac.ru 4.6-RELEASE-p1 FreeBSD 4.6-RELEASE-p1 #0: Thu Jun 27 13:36:34 MSD 2002 andrey@ns1.mgul.ac.ru:/usr/obj/usr/src/sys/NS1 i386
>Description:
Upgrade port mail/mimedefang from version 2.15 to 2.16

Removed files:	files/patch-configure
		files/patch-mimedefang-multiplexor.c
>How-To-Repeat:
>Fix:
--- mimedefang.diff begins here ---
diff -ruN mimedefang.bak/Makefile mimedefang/Makefile
--- mimedefang.bak/Makefile	Sun Jul 21 16:32:07 2002
+++ mimedefang/Makefile	Sun Jul 21 16:32:55 2002
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	mimedefang
-PORTVERSION=	2.15
+PORTVERSION=	2.16
 CATEGORIES=	mail
 MASTER_SITES=	http://www.roaringpenguin.com/mimedefang/
 
diff -ruN mimedefang.bak/distinfo mimedefang/distinfo
--- mimedefang.bak/distinfo	Sun Jul 21 16:32:07 2002
+++ mimedefang/distinfo	Sun Jul 21 16:33:28 2002
@@ -1 +1 @@
-MD5 (mimedefang-2.15.tar.gz) = 977c25b76b040d66a65757cc88f1746c
+MD5 (mimedefang-2.16.tar.gz) = 8aec387efc5222fa4ab3d989842bff16
diff -ruN mimedefang.bak/files/patch-configure mimedefang/files/patch-configure
--- mimedefang.bak/files/patch-configure	Sun Jul 21 16:32:07 2002
+++ mimedefang/files/patch-configure	Thu Jan  1 03:00:00 1970
@@ -1,132 +0,0 @@
---- configure	Sat Jun 15 18:55:57 2002
-+++ configure	Sat Jun 15 19:02:10 2002
-@@ -2172,80 +2172,6 @@
-   echo "$ac_t""no" 1>&6
- fi
- 
--SMPATH=`echo ../sendmail-*/obj.*/libsmutil`
--# Extract the first word of "libsmutil.a", so it can be a program name with args.
--set dummy libsmutil.a; ac_word=$2
--echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
--echo "configure:2180: checking for $ac_word" >&5
--if eval "test \"`echo '$''{'ac_cv_path_LIBSMUTIL'+set}'`\" = set"; then
--  echo $ac_n "(cached) $ac_c" 1>&6
--else
--  case "$LIBSMUTIL" in
--  /*)
--  ac_cv_path_LIBSMUTIL="$LIBSMUTIL" # Let the user override the test with a path.
--  ;;
--  ?:/*)			 
--  ac_cv_path_LIBSMUTIL="$LIBSMUTIL" # Let the user override the test with a dos path.
--  ;;
--  *)
--  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
--  ac_dummy="$MILTERLIB:$SMPATH:/usr/local/lib:/lib:/usr/lib:/usr/lib/libsmutil:/usr/lib/libmilter"
--  for ac_dir in $ac_dummy; do 
--    test -z "$ac_dir" && ac_dir=.
--    if test -f $ac_dir/$ac_word; then
--      ac_cv_path_LIBSMUTIL="$ac_dir/$ac_word"
--      break
--    fi
--  done
--  IFS="$ac_save_ifs"
--  test -z "$ac_cv_path_LIBSMUTIL" && ac_cv_path_LIBSMUTIL="no"
--  ;;
--esac
--fi
--LIBSMUTIL="$ac_cv_path_LIBSMUTIL"
--if test -n "$LIBSMUTIL"; then
--  echo "$ac_t""$LIBSMUTIL" 1>&6
--else
--  echo "$ac_t""no" 1>&6
--fi
--
--SMPATH=`echo ../sendmail-*/obj.*/libsm`
--# Extract the first word of "libsm.a", so it can be a program name with args.
--set dummy libsm.a; ac_word=$2
--echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
--echo "configure:2217: checking for $ac_word" >&5
--if eval "test \"`echo '$''{'ac_cv_path_LIBSM'+set}'`\" = set"; then
--  echo $ac_n "(cached) $ac_c" 1>&6
--else
--  case "$LIBSM" in
--  /*)
--  ac_cv_path_LIBSM="$LIBSM" # Let the user override the test with a path.
--  ;;
--  ?:/*)			 
--  ac_cv_path_LIBSM="$LIBSM" # Let the user override the test with a dos path.
--  ;;
--  *)
--  IFS="${IFS= 	}"; ac_save_ifs="$IFS"; IFS=":"
--  ac_dummy="$MILTERLIB:$SMPATH:/usr/local/lib:/lib:/usr/lib:/usr/lib/libsm:/usr/lib/libmilter"
--  for ac_dir in $ac_dummy; do 
--    test -z "$ac_dir" && ac_dir=.
--    if test -f $ac_dir/$ac_word; then
--      ac_cv_path_LIBSM="$ac_dir/$ac_word"
--      break
--    fi
--  done
--  IFS="$ac_save_ifs"
--  test -z "$ac_cv_path_LIBSM" && ac_cv_path_LIBSM="no"
--  ;;
--esac
--fi
--LIBSM="$ac_cv_path_LIBSM"
--if test -n "$LIBSM"; then
--  echo "$ac_t""$LIBSM" 1>&6
--else
--  echo "$ac_t""no" 1>&6
--fi
--
- # Extract the first word of "mail", so it can be a program name with args.
- set dummy mail; ac_word=$2
- echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
-@@ -2369,12 +2295,6 @@
- 
- echo ""
- 
--if test "$LIBSMUTIL" = "no" ; then
--    echo "Oops.. I couldn't find libsmutil.a.  Please install Sendmail 8.11"
--    echo "and its libraries."
--    PROBLEM=1
--fi
--
- if test "$LIBMILTER" = "no" ; then
-     echo "Oops.. I couldn't find libmilter.a.  Please install Sendmail 8.11"
-     echo "and its libraries."
-@@ -2389,35 +2309,6 @@
-     else
- 	echo "$ac_t""yes" 1>&6
- 	LIBS="$LIBS -lsfio"
--    fi
--
--    
--    echo $ac_n "checking whether libmilter requires -lsm""... $ac_c" 1>&6
--echo "configure:2397: checking whether libmilter requires -lsm" >&5
--    RESULT=`$NM $LIBMILTER | grep sm_strlcpy`
--    if test -z "$RESULT" ; then
--	echo "$ac_t""no" 1>&6
--	LIBSM=""
--    else
--	echo "$ac_t""yes" 1>&6
--	LIBS="$LIBS"
--	if test "$LIBSM" = "no" ; then
--	    echo "Oops.. I couldn't find libsm.a.  Please install Sendmail 8.12"
--	    echo "and its libraries."
--	    PROBLEM=1
--	else
--	    
--    echo $ac_n "checking whether libsm requires -lldap""... $ac_c" 1>&6
--echo "configure:2412: checking whether libsm requires -lldap" >&5
--    RESULT=`$NM $LIBSM | grep ldap_`
--    if test -z "$RESULT" ; then
--	echo "$ac_t""no" 1>&6
--    else
--	echo "$ac_t""yes" 1>&6
--	LIBS="$LIBS -lldap -llber"
--    fi
--
--	fi
-     fi
- 
- fi
diff -ruN mimedefang.bak/files/patch-mimedefang-multiplexor.c mimedefang/files/patch-mimedefang-multiplexor.c
--- mimedefang.bak/files/patch-mimedefang-multiplexor.c	Sun Jul 21 16:32:07 2002
+++ mimedefang/files/patch-mimedefang-multiplexor.c	Thu Jan  1 03:00:00 1970
@@ -1,44 +0,0 @@
-*** mimedefang-multiplexor.c	Sat Jun 15 01:44:53 2002
---- mimedefang-multiplexor.c	Sat Jun 15 18:42:55 2002
-***************
-*** 13,19 ****
-  ***********************************************************************/
-  
-  static char const RCSID[] =
-! "$Id: mimedefang-multiplexor.c,v 1.71 2002/06/14 17:08:24 dfs Exp $";
-  
-  #include "config.h"
-  #include "event_tcp.h"
---- 13,19 ----
-  ***********************************************************************/
-  
-  static char const RCSID[] =
-! "$Id: mimedefang-multiplexor.c,v 1.72 2002/06/15 01:12:25 dfs Exp $";
-  
-  #include "config.h"
-  #include "event_tcp.h"
-***************
-*** 1989,1999 ****
---- 1989,2010 ----
-  	as *= 1024;
-  	lim.rlim_cur = as;
-  	lim.rlim_max = as;
-+ #ifdef RLIMIT_AS
-  	n = setrlimit(RLIMIT_AS, &lim);
-  	if (n < 0) {
-  	    syslog(LOG_WARNING, "setrlimit(RLIMIT_AS, %lu) failed: %m",
-  		   as);
-  	}
-+ #endif
-+ 
-+ #ifdef RLIMIT_DATA
-+ 	n = setrlimit(RLIMIT_DATA, &lim);
-+ 	if (n < 0) {
-+ 		syslog(LOG_WARNING, "setrlimit(RLIMIT_DATA, %lu) failed: %m",
-+ 		   as);
-+ 	}
-+ #endif
-+ 
-      }
-  }
-  
--- mimedefang.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200207211251.g6LCpY8j016981>