Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 May 2012 02:46:24 +0900
From:      KATO Tsuguru <tkato432@yahoo.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/168041: mail/libesmtp: Update to version 1.0.6
Message-ID:  <20120518024624.7ecc54b4.tkato432@yahoo.com>
Resent-Message-ID: <201205171810.q4HIA8oA098986@freefall.freebsd.org>

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

>Number:         168041
>Category:       ports
>Synopsis:       mail/libesmtp: Update to version 1.0.6
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu May 17 18:10:08 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 7.4-RELEASE-p5 i386
>Organization:
>Environment:
>Description:
- Update to version 1.0.6

Remove file:
files/patch-configure
files/patch-headers.c

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/mail/libesmtp/Makefile mail/libesmtp/Makefile
--- /usr/ports/mail/libesmtp/Makefile	2012-02-02 00:53:05.000000000 +0900
+++ mail/libesmtp/Makefile	2012-05-18 00:46:01.000000000 +0900
@@ -5,40 +5,37 @@
 # $FreeBSD: ports/mail/libesmtp/Makefile,v 1.46 2012/02/01 15:53:05 tabthorpe Exp $
 
 PORTNAME=	libesmtp
-PORTVERSION=	1.0.4
-PORTREVISION=	1
+PORTVERSION=	1.0.6
 PORTEPOCH=	1
 CATEGORIES=	mail
 MASTER_SITES=	http://www.stafford.uklinux.net/libesmtp/ \
 		http://ftp.osuosl.org/pub/blfs/svn/l/ \
-		ftp://ftp.linux.ee/pub/gentoo/distfiles/distfiles/
+		GENTOO/distfiles
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	A library for posting electronic mail
 
+LICENSE=	LGPL21
+
+OPTIONS=	OPENSSL	"Enable TLS support"	on \
+		DEBUG	"Enables debugging support"	off
+
 USE_BZIP2=	yes
-USE_AUTOTOOLS=	libtool
 USE_GMAKE=	yes
-GNU_CONFIGURE=	yes
-USE_LDCONFIG=	yes
+USE_AUTOTOOLS=	libtool
 CONFIGURE_ENV=	PTHREAD_LIBS="${PTHREAD_LIBS}" \
 		PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" \
-		LIBS="-L${LOCALBASE}/lib"
-CPPFLAGS+=	-I${LOCALBASE}/include
-
 # require-all-recipients (implied by enable-all) is required for Balsa
 CONFIGURE_ARGS=	--enable-all --disable-isoc
+USE_LDCONFIG=	yes
+MAKE_JOBS_SAFE=	yes
 
-OPTIONS=	OPENSSL	"Enable TLS support"	on \
-		DEBUG	"Enables debugging support"	off
-
-DOCS=		AUTHORS ChangeLog NEWS Notes README TODO
-EXAMPLES=	examples/*
+CPPFLAGS+=	-I${LOCALBASE}/include
+LDFLAGS+=	-L${LOCALBASE}/lib
 
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
 
 .if !defined(WITHOUT_OPENSSL)
-.include "${PORTSDIR}/Mk/bsd.openssl.mk"
 CONFIGURE_ARGS+=	--with-openssl=${OPENSSLBASE}
 PLIST_SUB+=		NEED_OPENSSL=""
 .else
@@ -51,13 +48,15 @@
 .endif
 
 post-install:
-	@${MKDIR} ${EXAMPLESDIR}
-	${INSTALL_DATA} ${WRKSRC}/${EXAMPLES} ${EXAMPLESDIR}
 .if !defined(NOPORTDOCS)
 	@${MKDIR} ${DOCSDIR}
-.for f in ${DOCS}
+.for f in AUTHORS ChangeLog NEWS Notes README TODO
 	${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
 .endfor
 .endif
+.if !defined(NOPORTEXAMPLES)
+	@${MKDIR} ${EXAMPLESDIR}
+	${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR}
+.endif
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff -urN /usr/ports/mail/libesmtp/distinfo mail/libesmtp/distinfo
--- /usr/ports/mail/libesmtp/distinfo	2011-07-03 22:52:59.000000000 +0900
+++ mail/libesmtp/distinfo	2012-05-14 03:14:43.000000000 +0900
@@ -1,2 +1,2 @@
-SHA256 (libesmtp-1.0.4.tar.bz2) = 407ec85a4c3ce2c4045608d28c36a8e19f1cfbad02bf3de784f6b6fa83d15a56
-SIZE (libesmtp-1.0.4.tar.bz2) = 351917
+SHA256 (libesmtp-1.0.6.tar.bz2) = d0a61a5c52d99fa7ce7d00ed0a07e341dbda67101dbed1ab0cdae3f37db4eb0b
+SIZE (libesmtp-1.0.6.tar.bz2) = 365506
diff -urN /usr/ports/mail/libesmtp/files/patch-configure mail/libesmtp/files/patch-configure
--- /usr/ports/mail/libesmtp/files/patch-configure	2003-01-20 04:22:53.000000000 +0900
+++ mail/libesmtp/files/patch-configure	1970-01-01 09:00:00.000000000 +0900
@@ -1,10 +0,0 @@
---- configure.orig	Tue Dec 31 14:16:20 2002
-+++ configure	Tue Dec 31 14:16:31 2002
-@@ -5402,6 +5402,7 @@
- 
- # This can be used to rebuild libtool when needed
- LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
-+$ac_aux_dir/ltconfig $LIBTOOL_DEPS
- 
- # Always use our own libtool.
- LIBTOOL='$(SHELL) $(top_builddir)/libtool'
diff -urN /usr/ports/mail/libesmtp/files/patch-headers.c mail/libesmtp/files/patch-headers.c
--- /usr/ports/mail/libesmtp/files/patch-headers.c	2005-12-31 11:28:24.000000000 +0900
+++ mail/libesmtp/files/patch-headers.c	1970-01-01 09:00:00.000000000 +0900
@@ -1,10 +0,0 @@
---- headers.c.orig	Thu Dec 15 18:52:01 2005
-+++ headers.c	Fri Dec 30 23:51:37 2005
-@@ -33,6 +33,7 @@
- #include <unistd.h>
- #include <time.h>
- #include <errno.h>
-+#include <sys/time.h>
- 
- #include <missing.h>
- 
diff -urN /usr/ports/mail/libesmtp/pkg-plist mail/libesmtp/pkg-plist
--- /usr/ports/mail/libesmtp/pkg-plist	2006-02-23 19:37:47.000000000 +0900
+++ mail/libesmtp/pkg-plist	2012-05-14 03:22:10.000000000 +0900
@@ -17,16 +17,16 @@
 lib/libesmtp.a
 lib/libesmtp.la
 lib/libesmtp.so
-lib/libesmtp.so.6
+lib/libesmtp.so.7
 %%PORTDOCS%%%%DOCSDIR%%/AUTHORS
 %%PORTDOCS%%%%DOCSDIR%%/ChangeLog
 %%PORTDOCS%%%%DOCSDIR%%/NEWS
 %%PORTDOCS%%%%DOCSDIR%%/Notes
 %%PORTDOCS%%%%DOCSDIR%%/README
 %%PORTDOCS%%%%DOCSDIR%%/TODO
-%%EXAMPLESDIR%%/Makefile
-%%EXAMPLESDIR%%/mail-file.c
-%%EXAMPLESDIR%%/test-mail
-@dirrm %%EXAMPLESDIR%%
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Makefile
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/mail-file.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/test-mail
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
 %%PORTDOCS%%@dirrm %%DOCSDIR%%
 @dirrm lib/esmtp-plugins
>Release-Note:
>Audit-Trail:
>Unformatted:



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