ports/53569: mail/pear-mailparse: upgrading to 0.9.2.

Thierry Thomas thierry at pompo.net
Fri Jun 20 23:00:32 UTC 2003


>Number:         53569
>Category:       ports
>Synopsis:       mail/pear-mailparse: upgrading to 0.9.2.
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jun 20 16:00:30 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Thierry Thomas
>Release:        FreeBSD 4.8-STABLE i386
>Organization:
Kabbale Eros
>Environment:
System: FreeBSD graf.pompo.net 4.8-STABLE FreeBSD 4.8-STABLE #0: Tue Apr 29 18:16:35 CEST 2003 thierry at graf.pompo.net:/usr/obj/mntsrc/src/sys/GRAF020727 i386


	
>Description:
	- Upgrading pear-mailparse to 0.9.2;

	- Adding IS_INTERACTIVE to unbreak on Bento
	  (Superseding PR ports/53522);

	- Do not try to update php.ini, but adding a pkg-message.

>How-To-Repeat:
	About IS_INTERACTIVE, see logs on Bento.

>Fix:
	Please apply this patch.

	Remark: pkg-message is new.

--- pear-mailparse.diff begins here ---
diff -urN mail/pear-mailparse.orig/Makefile mail/pear-mailparse/Makefile
--- mail/pear-mailparse.orig/Makefile	Sun Jun  8 01:00:42 2003
+++ mail/pear-mailparse/Makefile	Sat Jun 21 00:36:18 2003
@@ -6,8 +6,7 @@
 #
 
 PORTNAME=	mailparse
-PORTVERSION=	0.9.1
-PORTREVISION=	1
+PORTVERSION=	0.9.2
 CATEGORIES=	mail www
 
 MAINTAINER=	ports at FreeBSD.org
@@ -16,9 +15,9 @@
 BUILD_DEPENDS=	${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear-PEAR
 RUN_DEPENDS=	${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear-PEAR
 
+IS_INTERACTIVE=	'need to build php4 with mbstring support.'
+
 USE_PHPIZE=	yes
-USE_REINPLACE=	yes
-REINPLACE_ARGS=	-i.before_mailparse
 
 .include <bsd.port.pre.mk>
 .include "${.CURDIR}/../../lang/php4/bsd.php.mk"
@@ -51,11 +50,6 @@
 		${ECHO_MSG} "===>   Creating ${PHP_INI} for PHP" ; \
 		${CP} -p ${PHP_INI}-dist ${PHP_INI} ; \
 	fi
-	@if ${GREP} -q -e '^extension_dir = ./' ${PHP_INI} ; then \
-		${ECHO_MSG} "===>   Configuring ${PHP_INI}" ; \
-		${REINPLACE_CMD} -e 's!^extension_dir = ./!extension_dir = ${PHP_BASE}/${EXT_DIR}!' \
-			${PHP_INI} ; \
-	fi
 .if !defined(NOPORTDOCS)
 	@${MKDIR} ${DOCSDIR}
 .for FILE in ${DOCS}
@@ -67,5 +61,10 @@
 	@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${TESTDIR}
 	@${ECHO_MSG} "===> Examples installed in ${TESTDIR}."
 .endif
+	@${ECHO_MSG}
+	@${CAT} ${PKGMESSAGE} | \
+	${SED} -e "s:/usr/local/etc/php.ini:${PHP_INI}:"	\
+		-e "s:/usr/local/lib/php/20020429:${PHP_BASE}/${EXT_DIR}:"
+	@${ECHO_MSG}
 
 .include <bsd.port.post.mk>
diff -urN mail/pear-mailparse.orig/distinfo mail/pear-mailparse/distinfo
--- mail/pear-mailparse.orig/distinfo	Sun Feb  9 16:25:33 2003
+++ mail/pear-mailparse/distinfo	Thu Jun 19 21:51:26 2003
@@ -1 +1 @@
-MD5 (PEAR/mailparse-0.9.1.tgz) = ae18c2fed49946bce049414b4cee3747
+MD5 (PEAR/mailparse-0.9.2.tgz) = 73478cc638522aefb7315cc1976f76d4
diff -urN mail/pear-mailparse.orig/pkg-message mail/pear-mailparse/pkg-message
--- mail/pear-mailparse.orig/pkg-message	Thu Jan  1 01:00:00 1970
+++ mail/pear-mailparse/pkg-message	Sat Jun 21 00:31:54 2003
@@ -0,0 +1,5 @@
+************************************************************************
+Do not forget to configure your /usr/local/etc/php.ini file:
+set
+extension_dir = "/usr/local/lib/php/20020429"
+************************************************************************
--- pear-mailparse.diff ends here ---

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



More information about the freebsd-ports-bugs mailing list