ports/126889: [PATCH] www/smarty: update to 2.6.20

Yi-Jheng Lin yzlin at cs.nctu.edu.tw
Wed Aug 27 14:10:02 UTC 2008


>Number:         126889
>Category:       ports
>Synopsis:       [PATCH] www/smarty: update to 2.6.20
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Aug 27 14:10:00 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Yi-Jheng Lin
>Release:        FreeBSD 7.0-RELEASE-p1 amd64
>Organization:
NCTU CS
>Environment:
System: FreeBSD stucgi 7.0-RELEASE-p1 FreeBSD 7.0-RELEASE-p1 #0: Thu Apr 17 15:56:39 CST 2008
>Description:
- Update to 2.6.20
- Use SUB_FILES for substitution

Added file(s):
- files/pkg-message.in

Removed file(s):
- files/pkg-message

Port maintainer (zaa at zaa.pp.ru) is cc'd.

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- smarty-2.6.20.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/www/smarty/Makefile /amd/account/gcs/96/9655630/dev/ports/www/smarty/Makefile
--- /usr/ports/www/smarty/Makefile	2008-03-04 03:06:16.000000000 +0800
+++ /amd/account/gcs/96/9655630/dev/ports/www/smarty/Makefile	2008-08-27 21:39:04.000000000 +0800
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	smarty
-PORTVERSION=	2.6.19
+PORTVERSION=	2.6.20
 CATEGORIES=	www
 MASTER_SITES=	http://www.smarty.net/distributions/ \
 		http://www.smarty.net/distributions/manual/en/:manual
@@ -27,9 +27,7 @@
 WANT_PHP_WEB=	yes
 
 PKGMESSAGE=	${WRKDIR}/pkg-message
-MSG_SRC=	${FILESDIR}/pkg-message
-
-MSG_SUB=	DATADIR=${DATADIR} LOCALBASE=${LOCALBASE}
+SUB_FILES=	pkg-message
 
 do-install:
 	@${MKDIR} ${DATADIR}
@@ -50,8 +48,6 @@
 .endif
 
 post-install:
-	@${SED} ${MSG_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} ${MSG_SRC} > \
-		${PKGMESSAGE}
 	@${CAT} ${PKGMESSAGE}
 
 .include <bsd.port.mk>
diff -ruN --exclude=CVS /usr/ports/www/smarty/distinfo /amd/account/gcs/96/9655630/dev/ports/www/smarty/distinfo
--- /usr/ports/www/smarty/distinfo	2008-03-04 03:06:16.000000000 +0800
+++ /amd/account/gcs/96/9655630/dev/ports/www/smarty/distinfo	2008-08-27 11:01:36.000000000 +0800
@@ -1,6 +1,6 @@
-MD5 (Smarty-2.6.19.tar.gz) = d6111b745f72b173ffe3a9eaa9e2652e
-SHA256 (Smarty-2.6.19.tar.gz) = 8012ad7e502f49d797862b275c3e64cdc0823ac797cbca909ba37bc72b70a70e
-SIZE (Smarty-2.6.19.tar.gz) = 157834
-MD5 (Smarty-2.6.14-docs.tar.gz) = 5123152dd248898a84b96b806f551e78
-SHA256 (Smarty-2.6.14-docs.tar.gz) = f3d36af8f59ade56d7e5f563273d99e3df2b8a6a86b9fab37a5386a6cae9a401
-SIZE (Smarty-2.6.14-docs.tar.gz) = 137509
+MD5 (Smarty-2.6.20.tar.gz) = b06deee6d6873436d48f0a0911b11f9f
+SHA256 (Smarty-2.6.20.tar.gz) = 33969fa776b40832d3141a71c0f46e648b30c5647d2e8d9713888b8f2b1bf9e7
+SIZE (Smarty-2.6.20.tar.gz) = 158109
+MD5 (Smarty-2.6.14-docs.tar.gz) = 357510250885aab057853949e35845c7
+SHA256 (Smarty-2.6.14-docs.tar.gz) = 50d92a5fe2ff2a77668de36de5d9bff7a021892aa66e31ff660a89240edb6dc3
+SIZE (Smarty-2.6.14-docs.tar.gz) = 136235
diff -ruN --exclude=CVS /usr/ports/www/smarty/files/pkg-message /amd/account/gcs/96/9655630/dev/ports/www/smarty/files/pkg-message
--- /usr/ports/www/smarty/files/pkg-message	2002-06-10 04:29:35.000000000 +0800
+++ /amd/account/gcs/96/9655630/dev/ports/www/smarty/files/pkg-message	1970-01-01 08:00:00.000000000 +0800
@@ -1,4 +0,0 @@
-You need to adjust php's include_path to contain `%%DATADIR%%'!
-For example, insert
-	include_path = ".:%%DATADIR%%"
-into `%%LOCALBASE%%/etc/php.ini'.
diff -ruN --exclude=CVS /usr/ports/www/smarty/files/pkg-message.in /amd/account/gcs/96/9655630/dev/ports/www/smarty/files/pkg-message.in
--- /usr/ports/www/smarty/files/pkg-message.in	1970-01-01 08:00:00.000000000 +0800
+++ /amd/account/gcs/96/9655630/dev/ports/www/smarty/files/pkg-message.in	2008-08-27 10:57:22.000000000 +0800
@@ -0,0 +1,4 @@
+You need to adjust php's include_path to contain `%%DATADIR%%'!
+For example, insert
+	include_path = ".:%%DATADIR%%"
+into `%%LOCALBASE%%/etc/php.ini'.
--- smarty-2.6.20.patch ends here ---

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



More information about the freebsd-ports-bugs mailing list