Gentoo Archives: gentoo-commits

From: Michael Orlitzky <mjo@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-php/adodb/
Date: Sun, 30 Jan 2022 15:22:32
Message-Id: 1643556063.d52de2552e38f4bd8dcf9c4721731e355b6b0f01.mjo@gentoo
1 commit: d52de2552e38f4bd8dcf9c4721731e355b6b0f01
2 Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jan 30 15:20:26 2022 +0000
4 Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
5 CommitDate: Sun Jan 30 15:21:03 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d52de255
7
8 dev-php/adodb: new upstream release to fix CVE-2021-3850.
9
10 Bug: https://bugs.gentoo.org/832208
11 Package-Manager: Portage-3.0.30, Repoman-3.0.3
12 Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org>
13
14 dev-php/adodb/Manifest | 1 +
15 dev-php/adodb/adodb-5.21.4.ebuild | 40 +++++++++++++++++++++++++++++++++++++++
16 2 files changed, 41 insertions(+)
17
18 diff --git a/dev-php/adodb/Manifest b/dev-php/adodb/Manifest
19 index c55bc9321fb1..39d2df6f3e60 100644
20 --- a/dev-php/adodb/Manifest
21 +++ b/dev-php/adodb/Manifest
22 @@ -2,3 +2,4 @@ DIST adodb-5.20.14.tar.gz 465896 BLAKE2B acd8494141584b0c02c2e30aa59b3916ae811b8
23 DIST adodb-5.20.18.tar.gz 467003 BLAKE2B ea0b007359a4fdada0fface3d5af82c335f2e7efeacdbb66be37914d76bff2783b58b2318531c527d13c3c358800803385c660c8f9372cf4a49269ed7e0c7d51 SHA512 09b04987e20a674a202be3889523b3bada578ea01f07830fed15afafb046687004b4e305a6abf2af795a7b0e3563f6e8afec5b0189f21e5c74b5e84bfbee1cd9
24 DIST adodb-5.20.20.tar.gz 469337 BLAKE2B cffe367e498978b095e28bab565c8af7e02769e4c76977fae7d807c6326d9b4679e319fa84debc9b250d0548e7dcac2e078b4968160490831e2390ce86fbe229 SHA512 2578a594bf9f1b33b5a78bd3e52b9fb73d0457b021a2bca6b5f8d311c0ecb347968a928a1dabd2c8806972dda6ec535fec94d6f792b6f5398aeff587321e5113
25 DIST adodb-5.21.0.tar.gz 437724 BLAKE2B addd14c45ec3e1a3fcda63065ccbf06a6627fcf498a3aecc609c7763627915904c241bcb2db1c3aa31ba228b35d788885fd09311e2353f7490e31cee070f607e SHA512 305b5395e4d47d86bbb689818fee44a2b970d081e9ab527f7d0b010b5ae1159eac32c125d5b303569afa2a4360e160c37e17ff7c5adb7566175f9f131393643c
26 +DIST adodb-5.21.4.tar.gz 435699 BLAKE2B 7025a7ba322840d62e5b2b3f9e5933d89560a0eff52f0d77976ca442080e7a6a6d778d4fa106357ab68b4f207c98503854f601f579c0c11ee27fb52da5f53519 SHA512 0142ffa0dad1275780aadbc1ad702870b977eb141321f19c265310284d6d4a0820653e77fb3b4ce002dcc42fa952546e90428dff4f931a2bb2a83031bd818f01
27
28 diff --git a/dev-php/adodb/adodb-5.21.4.ebuild b/dev-php/adodb/adodb-5.21.4.ebuild
29 new file mode 100644
30 index 000000000000..a3135caca47d
31 --- /dev/null
32 +++ b/dev-php/adodb/adodb-5.21.4.ebuild
33 @@ -0,0 +1,40 @@
34 +# Copyright 1999-2022 Gentoo Authors
35 +# Distributed under the terms of the GNU General Public License v2
36 +
37 +EAPI=8
38 +
39 +MY_PN="ADOdb"
40 +DESCRIPTION="Database abstraction layer for PHP"
41 +HOMEPAGE="https://adodb.org/ https://github.com/ADOdb/ADOdb"
42 +SRC_URI="https://github.com/${MY_PN}/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
43 +
44 +LICENSE="BSD LGPL-2.1+"
45 +SLOT="0"
46 +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
47 +IUSE=""
48 +
49 +# If you want to be picky, we should require that PHP be built with at
50 +# least one database driver enabled; otherwise adodb isn't going to be
51 +# able to do anything. But, the database USE flags for dev-lang/php are
52 +# a mess. What we would *like* to do is have a set of USE flags for
53 +# adodb that then propagate to PHP itself... for example, adodb[mysql]
54 +# could require php[mysql]. To do that would require that we duplicate
55 +# the database USE flag mess for adodb -- not desirable. Instead we punt
56 +# and let the user install adodb unconditionally. If he doesn't have
57 +# database support in PHP, it just won't work.
58 +RDEPEND="dev-lang/php:*"
59 +
60 +S="${WORKDIR}/${MY_PN}-${PV}"
61 +
62 +src_install() {
63 + DOCS="README.md docs/changelog*.md xmlschema*.dtd session/*.sql"
64 + DOCS+=" session/*.txt session/*.xml pear/auth_adodb_example.php"
65 + DOCS+=" pear/readme.Auth.txt"
66 +
67 + dodoc $DOCS
68 + rm -f $DOCS || die "failed to remove docs before installation"
69 +
70 + insinto "/usr/share/php/${PN}"
71 + doins *.php
72 + doins -r datadict drivers lang pear perf session xsl
73 +}