Skip site navigation (1)Skip section navigation (2)
Date:      Wed,  7 Nov 2001 20:49:30 -0800 (PST)
From:      John Merryweather Cooper <john_m_cooper@yahoo.com>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        tobez@freebsd.org
Subject:   ports/31847: [MAINTAINER UPDATE] Update libesmtp to libesmtp-0.8.7
Message-ID:  <20011108044930.6E2CD15503@johncoop.MSHOME>

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

>Number:         31847
>Category:       ports
>Synopsis:       [MAINTAINER UPDATE] Update libesmtp to libesmtp-0.8.7
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Nov 07 20:50:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     John Merryweather Cooper
>Release:        FreeBSD 4.4-STABLE i386
>Organization:
>Environment:
System: FreeBSD johncoop.MSHOME 4.4-STABLE FreeBSD 4.4-STABLE #43: Mon Nov 5 00:03:41 PST 2001 jmcoopr@johncoop.MSHOME:/usr/obj/usr/src/sys/JOHNCOOP i386


	
>Description:
	Update libesmtp to libestmp-0.8.7.

	The POSIX thread detection logic is now more friendly to FreeBSD,
	so use it.

	The patch to header.c has been incorporated--obsoleting it.

	The configure script, as supplied by the author still won't run.

>How-To-Repeat:
	N/A

>Fix:

	makepatch -nomanifest -diff "diff -u" libesmtp libesmtp.new
	follows (a fancy diff -ruN--see textproc/makepatch):

# This is a patch for libesmtp to update it to libesmtp.new
# 
# 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.
# If you have a decent Bourne-type shell:
# STEP 2: Run the shell with this file as input.
# If you don't have such a shell, you may need to manually delete
# the files as shown below.
# STEP 3: Run the 'patch' program with this file as input.
#
# These are the commands needed to create/delete files/directories:
#
rm -f 'files/patch-headers.c'
#
# This command terminates the shell and need not be executed manually.
exit
#
#### End of Preamble ####

#### Patch data follows ####
diff -u 'libesmtp/Makefile' 'libesmtp.new/Makefile'
Index: ./Makefile
--- ./Makefile	Tue Oct 30 23:04:27 2001
+++ ./Makefile	Wed Nov  7 20:31:19 2001
@@ -2,11 +2,10 @@
 # Date created:         Sun Feb 21 2001
 # Whom:                 tobez@tobez.org
 #
-# $FreeBSD: ports/mail/libesmtp/Makefile,v 1.11 2001/10/30 21:59:31 tobez Exp $
+# $FreeBSD$
 
 PORTNAME=	libesmtp
-PORTVERSION=	0.8.6
-PORTREVISION=	2
+PORTVERSION=	0.8.7
 CATEGORIES=	mail
 MASTER_SITES=	http://www.stafford.uklinux.net/libesmtp/ \
 		http://www.tobez.org/download/port-mirrors/mail/libesmtp/ \
@@ -21,16 +20,14 @@
 USE_LIBTOOL=	yes
 LIBTOOLFILES=	${WRKSRC}/aclocal.m4 ${WRKSRC}/libltdl/aclocal.m4
 INSTALLS_SHLIB=	yes
-CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
+CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
+		PTHREAD_LIBS="${PTHREAD_LIBS}" \
+		PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
 		LIBS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
 
-# require-all-recipients is required for Balsa-1.2.x
-CONFIGURE_ARGS=	--enable-require-all-recipients \
-		--enable-etrn \
+# require-all-recipients (implied by enable-all) is required for Balsa-1.2.x
+CONFIGURE_ARGS=	--enable-all \
 		--disable-ltdl-install
-
-pre-patch:
-	@${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure.in
 
 pre-build:
 	@${CP} ${WRKSRC}/libltdl/libtool ${WRKSRC}/libtool
diff -u 'libesmtp/distinfo' 'libesmtp.new/distinfo'
Index: ./distinfo
--- ./distinfo	Thu Oct 18 05:49:57 2001
+++ ./distinfo	Wed Nov  7 19:29:16 2001
@@ -1 +1 @@
-MD5 (libesmtp-0.8.6.tar.bz2) = 2b0faec540e606109535f6ba76f3a45b
+MD5 (libesmtp-0.8.7.tar.bz2) = e42722f24a5f8cfe250e3c9c3b64cd0a
#### End of Patch data ####

#### ApplyPatch data follows ####
# Data version        : 1.0
# Date generated      : Wed Nov  7 20:42:16 2001
# Generated by        : makepatch 2.00
# Recurse directories : Yes
# r 'files/patch-headers.c' 392 0
# p 'Makefile' 1447 1005193879 0100644
# p 'distinfo' 64 1005190156 0100644
#### End of ApplyPatch data ####

#### End of Patch kit [created: Wed Nov  7 20:42:16 2001] ####
#### Checksum: 89 3090 43674 ####
>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?20011108044930.6E2CD15503>