public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michael Orlitzky" <mjo@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-php/smarty/
Date: Tue,  4 Apr 2023 01:36:12 +0000 (UTC)	[thread overview]
Message-ID: <1680572085.526704c7f0e3ba66dd5028f1a747e6512029360d.mjo@gentoo> (raw)

commit:     526704c7f0e3ba66dd5028f1a747e6512029360d
Author:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Tue Apr  4 00:58:51 2023 +0000
Commit:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Tue Apr  4 01:34:45 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=526704c7

dev-php/smarty: add 4.3.1, drop 4.3.0 (fix CVE-2023-28447).

Bug: https://bugs.gentoo.org/903620
Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org>

 dev-php/smarty/Manifest                                    |  2 +-
 .../smarty/{smarty-4.3.0.ebuild => smarty-4.3.1.ebuild}    | 14 ++++++++++++--
 2 files changed, 13 insertions(+), 3 deletions(-)

diff --git a/dev-php/smarty/Manifest b/dev-php/smarty/Manifest
index 854d81f2df8c..c323682b9854 100644
--- a/dev-php/smarty/Manifest
+++ b/dev-php/smarty/Manifest
@@ -1,2 +1,2 @@
 DIST smarty-4.2.1.tar.gz 236881 BLAKE2B 4014178cfc4411a9ded3120d0e3e977af0190bc03f6ed21bbd2c484ca8fb4e5aa79fe9c606ee13be87db94c17a00d7d0399cb04fe09c4b439b95bc7b9331d675 SHA512 0d55ab1d329aaa0853a1c40b5b0207d3ddc8b0c25d863a217b3c4ac8bb0a796bb60eda2919b5dda569565b03b8dd44dff67b55d8fafc005164f2848bb481d131
-DIST smarty-4.3.0.tar.gz 360023 BLAKE2B 7f3fbeab71b9deb30242cfaf62a67380397a0ad0ca6c657186aa8150f27df46b33dbe55d32657f71f13ea6fe31d37dbfba44dee43ab21ef6906ba56e1ccdff60 SHA512 7db02a455ab4a6aeb69792f5cdd043a2045fa3a2045d06e1a2423cd4dae48c306be149c25567d1be92f50789e14c4d314b7bd29f3f52b74b00bfeeedc0be7ca9
+DIST smarty-4.3.1.tar.gz 361248 BLAKE2B b09ab14742b9ebdfd1e31ec9d2ac79016ce8869403da67ea241b735875ef25f40c2936a41bda5647ca697b708b91b02a29f5d17ebbc7d6049bf468851f0bc70f SHA512 03a42007fd1c03ba502b7a2255071638e978a54e5d75d4542a033e9f490c7c41587b5593316269107fe904a7b96a1a3337bf9525e038a5bb4051cc9aef13940f

diff --git a/dev-php/smarty/smarty-4.3.0.ebuild b/dev-php/smarty/smarty-4.3.1.ebuild
similarity index 84%
rename from dev-php/smarty/smarty-4.3.0.ebuild
rename to dev-php/smarty/smarty-4.3.1.ebuild
index 312ca47189f6..0c5a425bf052 100644
--- a/dev-php/smarty/smarty-4.3.0.ebuild
+++ b/dev-php/smarty/smarty-4.3.1.ebuild
@@ -10,6 +10,7 @@ SRC_URI="https://github.com/smarty-php/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.g
 LICENSE="LGPL-3"
 SLOT="0"
 KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="doc examples"
 
 # PHP unicode support is detected at runtime, and the cached templates
 # that smarty generates depend on it. If, later on, PHP is reinstalled
@@ -18,13 +19,22 @@ KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
 # functions. See bug #532618.
 RDEPEND="dev-lang/php:*[unicode]"
 
+src_prepare() {
+	default
+
+	# Prepare the docs and examples for easy dodocing.
+	rm docs/_config.yml || die
+	mv -v demo examples || die
+}
+
 src_install() {
 	insinto "/usr/share/php/${PN}"
 	doins -r libs/*
 
-	# The smarty docs and examples aren't part of the tarball,
-	# https://github.com/smarty-php/smarty/issues/799
 	local DOCS=( CHANGELOG.md README.md SECURITY.md )
+
+	use doc && dodoc -r docs/*
+	use examples && dodoc -r examples
 	einstalldocs
 }
 


             reply	other threads:[~2023-04-04  1:36 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-04  1:36 Michael Orlitzky [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-06-11 11:36 [gentoo-commits] repo/gentoo:master commit in: dev-php/smarty/ Arthur Zamarin
2023-12-08 16:29 Arthur Zamarin
2023-05-02 22:49 Michael Orlitzky
2023-05-02 22:49 Michael Orlitzky
2023-01-31 13:41 Michael Orlitzky
2022-09-16 12:38 Michael Orlitzky
2022-09-16 12:38 Michael Orlitzky
2022-09-14 13:17 Michael Orlitzky
2022-05-27 12:43 Michael Orlitzky
2022-05-27 12:43 Michael Orlitzky
2022-05-17 23:29 Michael Orlitzky
2022-02-08 13:24 Brian Evans
2022-02-08  7:22 Agostino Sarubbo
2022-02-07 15:00 Brian Evans
2022-01-11 16:05 Brian Evans
2021-02-24 17:57 Brian Evans
2021-02-24 16:22 Sam James
2021-02-23 14:32 Brian Evans
2021-02-23  3:41 Michael Orlitzky
2020-12-17  3:40 Michael Orlitzky
2020-01-21 23:36 Michael Orlitzky
2019-05-02 22:40 Michael Orlitzky
2019-05-02 21:09 Mikle Kolyada
2019-03-27 23:44 Thomas Deutschmann
2019-03-14 21:14 Agostino Sarubbo
2019-03-11 22:42 Sergei Trofimovich
2019-03-11 19:58 Sergei Trofimovich
2019-03-10 22:17 Sergei Trofimovich
2018-09-17 21:21 Michael Orlitzky
2018-06-07 19:22 Aaron Bauman
2018-05-14 17:47 Brian Evans
2016-12-20 17:42 Brian Evans
2016-11-24  1:52 Michael Orlitzky
2016-11-20 11:39 Aaron Bauman
2016-10-03 18:44 Brian Evans

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1680572085.526704c7f0e3ba66dd5028f1a747e6512029360d.mjo@gentoo \
    --to=mjo@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox