From jmcoopr@uidaho.edu  Thu Nov 14 13:06:04 2002
Return-Path: <jmcoopr@uidaho.edu>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id AB7C037B401
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 14 Nov 2002 13:06:04 -0800 (PST)
Received: from harrier.csrv.uidaho.edu (harrier.csrv.uidaho.edu [129.101.119.224])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 1C13F43E4A
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 14 Nov 2002 13:06:04 -0800 (PST)
	(envelope-from jmcoopr@uidaho.edu)
Received: from pc016247.reshall.uidaho.edu (PC016247.reshall.uidaho.edu [129.101.136.30])
	by harrier.csrv.uidaho.edu (8.9.3 (PHNE_22672)/) with ESMTP id NAA26005
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 14 Nov 2002 13:05:01 -0800 (PST)
Received: from pc016247.reshall.uidaho.edu (localhost [IPv6:::1])
	by pc016247.reshall.uidaho.edu (8.12.6/8.12.6) with ESMTP id gAEL5WjL033009
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 14 Nov 2002 13:05:52 -0800 (PST)
	(envelope-from jmcoopr@pc016247.reshall.uidaho.edu)
Received: (from root@localhost)
	by pc016247.reshall.uidaho.edu (8.12.6/8.12.6/Submit) id gAEL57A5033004;
	Thu, 14 Nov 2002 13:05:07 -0800 (PST)
	(envelope-from jmcoopr)
Message-Id: <200211142105.gAEL57A5033004@pc016247.reshall.uidaho.edu>
Date: Thu, 14 Nov 2002 13:05:07 -0800 (PST)
From: John Merryweather Cooper <coop9211@uidaho.edu>
Reply-To: John Merryweather Cooper <coop9211@uidaho.edu>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [MAINTAINER-UPDATE] Update libesmtp to 1.0 Release
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         45299
>Category:       ports
>Synopsis:       [MAINTAINER-UPDATE] Update libesmtp to 1.0 Release
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Nov 14 13:10:01 PST 2002
>Closed-Date:    Sat Nov 16 06:17:31 PST 2002
>Last-Modified:  Sat Nov 16 06:17:31 PST 2002
>Originator:     John Merryweather Cooper
>Release:        FreeBSD 4.7-STABLE i386
>Organization:
>Environment:
System: FreeBSD PC016247.reshall.uidaho.edu 4.7-STABLE FreeBSD 4.7-STABLE #61: Sun Nov 10 16:26:10 PST 2002 root@PC016247.reshall.uidaho.edu:/usr/obj/usr/src/sys/JOHNCOOP i386


	
>Description:
	Update libesmtp to 1.0 Release and investigate PR/45276.

	The prerequisites for PR/45276 occur in the release candidate
	but not in this version--at least on -STABLE.  Neither
	_POSIX_C_SOURCE nor _XOPEN_SOURCE are defined in the config.h
	of the Release build on -STABLE.  However, I do not have a
	-CURRENT machine to verify this for -CURRENT.

	The primary difference between RC1 and Release is a change in
	the way memory is freed avoiding a possible attempt to access
	freed memory in certain situations.

	Note that --disable-isoc is necessary for -STABLE or configuration
	will fail early and often.  :)  -CURRENT should be able to build
	without this configuration switch, but I'm unable to verify (it
	results in a -std=c99 switch being passed to the compiler; the
	-STABLE compiler returns an error when this happens in the cc1
	stage).

>How-To-Repeat:
	N/A

>Fix:

--- update-libesmtp-1.0,1 begins here ---
# This is a patch for libesmtp to update it to libesmtp-1.0,1
# 
# To apply this patch:
# STEP 1: Chdir to the source directory.
# STEP 2: Run the 'applypatch' program with this patch file as input.
#
# If you do not have 'applypatch', it is part of the 'makepatch' package
# that you can fetch from the Comprehensive Perl Archive Network:
# http://www.perl.com/CPAN/authors/Johan_Vromans/makepatch-x.y.tar.gz
# In the above URL, 'x' should be 2 or higher.
#
# To apply this patch without the use of 'applypatch':
# STEP 1: Chdir to the source directory.
# STEP 2: Run the 'patch' program with this file as input.
#
#### End of Preamble ####

#### Patch data follows ####
diff -u 'libesmtp/Makefile' 'libesmtp-1.0,1/Makefile'
Index: ./Makefile
--- ./Makefile	Sat Aug 24 21:15:09 2002
+++ ./Makefile	Wed Nov 13 20:47:06 2002
@@ -2,10 +2,11 @@
 # Date created:         Sun Feb 21 2001
 # Whom:                 tobez@tobez.org
 #
-# $FreeBSD: ports/mail/libesmtp/Makefile,v 1.17 2002/08/25 03:12:47 marcus Exp $
+# $FreeBSD$
 
 PORTNAME=	libesmtp
-PORTVERSION=	1.0rc1
+PORTVERSION=	1.0
+PORTEPOCH=	1
 CATEGORIES=	mail
 MASTER_SITES=	http://www.stafford.uklinux.net/libesmtp/ \
 		http://www.tobez.org/download/port-mirrors/mail/libesmtp/ \
@@ -23,14 +24,8 @@
 		PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
 		LIBS="-L${LOCALBASE}/lib"
 
-# require-all-recipients (implied by enable-all) is required for Balsa-1.3.x
-CONFIGURE_ARGS=	--enable-all
-
-pre-configure:
-	@${CP} ${LOCALBASE}/share/libtool/ltconfig ${WRKSRC}
-
-post-configure:
-	@cd ${WRKSRC} && ./ltconfig ./ltmain.sh
+# require-all-recipients (implied by enable-all) is required for Balsa
+CONFIGURE_ARGS=	--enable-all --disable-isoc
 
 post-install:
 .ifndef(NOPORTDOCS)
diff -u 'libesmtp/distinfo' 'libesmtp-1.0,1/distinfo'
Index: ./distinfo
--- ./distinfo	Sat Aug 24 21:15:10 2002
+++ ./distinfo	Wed Nov 13 20:15:03 2002
@@ -1 +1 @@
-MD5 (libesmtp-1.0rc1.tar.bz2) = 20b1c04ce74f40b64f5b3ffb3bd7da06
+MD5 (libesmtp-1.0.tar.bz2) = 6da5742bd8119a48a8385adfad14ea85
#### End of Patch data ####

#### ApplyPatch data follows ####
# Data version        : 1.0
# Date generated      : Thu Nov 14 12:53:15 2002
# Generated by        : makepatch 2.00
# Recurse directories : Yes
# p 'Makefile' 1241 1037249226 0100644
# p 'distinfo' 65 1037247303 0100644
#### End of ApplyPatch data ####

#### End of Patch kit [created: Thu Nov 14 12:53:15 2002] ####
#### Checksum: 72 2397 52337 ####
--- update-libesmtp-1.0,1 ends here ---


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: edwin 
State-Changed-When: Sat Nov 16 06:17:19 PST 2002 
State-Changed-Why:  
Commited, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=45299 
>Unformatted:
