ports/126889: [PATCH] www/smarty: update to 2.6.20
zaa at zaa.pp.ru
zaa at zaa.pp.ru
Thu Aug 28 06:50:05 UTC 2008
The following reply was made to PR ports/126889; it has been noted by GNATS.
From: zaa at zaa.pp.ru
To: bug-followup at FreeBSD.org
Cc: Yi-Jheng Lin <yzlin at cs.nctu.edu.tw>
Subject: Re: ports/126889: [PATCH] www/smarty: update to 2.6.20
Date: Thu, 28 Aug 2008 10:30:29 +0400
Thank you for the report. Below is corrected patch (your patch has
incorrect checksums/file size for the Smarty-2.6.14-docs.tar.gz file).
diff -urbN smarty.orig/Makefile smarty/Makefile
--- smarty.orig/Makefile 2008-03-03 19:40:52.000000000 +0300
+++ smarty/Makefile 2008-08-28 10:28:30.000000000 +0400
@@ -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 -urbN smarty.orig/distinfo smarty/distinfo
--- smarty.orig/distinfo 2008-03-03 19:40:52.000000000 +0300
+++ smarty/distinfo 2008-08-28 10:27:17.000000000 +0400
@@ -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.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) = 5123152dd248898a84b96b806f551e78
SHA256 (Smarty-2.6.14-docs.tar.gz) = f3d36af8f59ade56d7e5f563273d99e3df2b8a6a86b9fab37a5386a6cae9a401
SIZE (Smarty-2.6.14-docs.tar.gz) = 137509
diff -urbN smarty.orig/files/pkg-message smarty/files/pkg-message
--- smarty.orig/files/pkg-message 2002-06-10 00:29:35.000000000 +0400
+++ smarty/files/pkg-message 1970-01-01 03:00:00.000000000 +0300
@@ -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 -urbN smarty.orig/files/pkg-message.in smarty/files/pkg-message.in
--- smarty.orig/files/pkg-message.in 1970-01-01 03:00:00.000000000 +0300
+++ smarty/files/pkg-message.in 2002-06-10 00:29:35.000000000 +0400
@@ -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'.
More information about the freebsd-ports-bugs
mailing list