Gentoo Archives: gentoo-commits

From: "Tobias Scherbaum (dertobi123)" <dertobi123@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-php/smarty: ChangeLog smarty-2.6.20-r1.ebuild smarty-2.6.18.ebuild smarty-2.6.14.ebuild smarty-2.6.20.ebuild
Date: Fri, 28 Nov 2008 15:55:17
Message-Id: E1L65gY-0007j8-TR@stork.gentoo.org
1 dertobi123 08/11/28 15:55:14
2
3 Modified: ChangeLog
4 Added: smarty-2.6.20-r1.ebuild
5 Removed: smarty-2.6.18.ebuild smarty-2.6.14.ebuild
6 smarty-2.6.20.ebuild
7 Log:
8 Revision bump for security bug #243856
9 (Portage version: 2.2_rc16/cvs/Linux 2.6.25-gentoo-r7 x86_64)
10
11 Revision Changes Path
12 1.82 dev-php/smarty/ChangeLog
13
14 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-php/smarty/ChangeLog?rev=1.82&view=markup
15 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-php/smarty/ChangeLog?rev=1.82&content-type=text/plain
16 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-php/smarty/ChangeLog?r1=1.81&r2=1.82
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/dev-php/smarty/ChangeLog,v
21 retrieving revision 1.81
22 retrieving revision 1.82
23 diff -u -r1.81 -r1.82
24 --- ChangeLog 4 Sep 2008 16:51:27 -0000 1.81
25 +++ ChangeLog 28 Nov 2008 15:55:14 -0000 1.82
26 @@ -1,6 +1,13 @@
27 # ChangeLog for dev-php/smarty
28 # Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/dev-php/smarty/ChangeLog,v 1.81 2008/09/04 16:51:27 dertobi123 Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/dev-php/smarty/ChangeLog,v 1.82 2008/11/28 15:55:14 dertobi123 Exp $
31 +
32 +*smarty-2.6.20-r1 (28 Nov 2008)
33 +
34 + 28 Nov 2008; Tobias Scherbaum <dertobi123@g.o>
35 + +files/smarty-2.6.20-CVE-2008-4810.patch, -smarty-2.6.14.ebuild,
36 + -smarty-2.6.18.ebuild, -smarty-2.6.20.ebuild, +smarty-2.6.20-r1.ebuild:
37 + Revision bump for security bug #243856
38
39 *smarty-2.6.20 (04 Sep 2008)
40
41
42
43
44 1.1 dev-php/smarty/smarty-2.6.20-r1.ebuild
45
46 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-php/smarty/smarty-2.6.20-r1.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-php/smarty/smarty-2.6.20-r1.ebuild?rev=1.1&content-type=text/plain
48
49 Index: smarty-2.6.20-r1.ebuild
50 ===================================================================
51 # Copyright 1999-2008 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/dev-php/smarty/smarty-2.6.20-r1.ebuild,v 1.1 2008/11/28 15:55:14 dertobi123 Exp $
54
55 inherit php-lib-r1 eutils
56
57 KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
58
59 MY_P="Smarty-${PV}"
60
61 DESCRIPTION="A template engine for PHP."
62 HOMEPAGE="http://www.smarty.net/"
63 SRC_URI="http://www.smarty.net/distributions/${MY_P}.tar.gz"
64 LICENSE="LGPL-2.1"
65 SLOT="0"
66 IUSE="doc"
67
68 DEPEND=""
69 RDEPEND=""
70 PDEPEND="doc? ( dev-php/smarty-docs )"
71
72 S="${WORKDIR}/${MY_P}"
73
74 need_php_by_category
75
76 src_unpack() {
77 unpack ${A}
78 cd "${S}"
79
80 epatch "${FILESDIR}/${P}-CVE-2008-4810.patch"
81 }
82
83 src_install() {
84 dodoc-php BUGS ChangeLog FAQ NEWS QUICK_START README RELEASE_NOTES TODO
85
86 php-lib-r1_src_install ./libs `find ./libs -type f -print | sed -e "s|./libs||g"`
87 }
88
89 pkg_postinst() {
90 elog "${PHP_LIB_NAME} has been installed in /usr/share/php/${PHP_LIB_NAME}/."
91 elog "To use it in your scripts, either"
92 elog "1. define('SMARTY_DIR', \"/usr/share/php/${PHP_LIB_NAME}/\") in your scripts, or"
93 elog "2. add '/usr/share/php/${PHP_LIB_NAME}/' to the 'include_path' variable in your"
94 elog "php.ini file under /etc/php/SAPI (where SAPI is one of apache2-php5,"
95 elog "cgi-php5 or cli-php5)."
96 elog
97 elog "If you're upgrading from a previous version make sure to clear out your"
98 elog "templates_c and cache directories as some include paths have changed!"
99 }