forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Security bmp to versions 4.0.10.15, 4.4.15.5 and 4.5.5.1 (PMASA-2016-…
…10, PMASA-2016-11, PMASA-2016-12 and PMASA-2016-13) - bug 576136. Signed-off-by: Jorge Manuel B. S. Vicetto (jmbsvicetto) <[email protected]>
- Loading branch information
1 parent
4ee77a8
commit 7843578
Showing
4 changed files
with
190 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
DIST phpMyAdmin-4.0.10.14-all-languages.tar.xz 4717192 SHA256 1bbd9eeb1d6d939cd31e6b8f8a544ab09fae5f0bc58c47c1bfb3287419a9f577 SHA512 91e1c212b67d90da1f85aea1019fd2ecc02db4bf6c0d5bfea971c2eae343de88c322c6aa2732b70970741ba27a48b790b29185a57cd49b8b3e0e281724ceeab9 WHIRLPOOL 8f53d9d2269545e67081b54af75538a7c2141a3e0ebaacfd9d75267f62f6d4fc0e4300eb9de8208d697ad46a4c64e0bf9a1c55b404ae8dede5dd428d2ec2111e | ||
DIST phpMyAdmin-4.0.10.15-all-languages.tar.xz 4778232 SHA256 f3aea2e7f048b14499912e8ec0f39cff31bcc690480e3bbc773cb56bdeb5e717 SHA512 a1b1305ad1404a8f842155793e1118a24b4f011349d9d35375970d016e9c044529e5b5b207eee7554f515f6be2c008e73f36a21aae5427a9374bfdba55575774 WHIRLPOOL b525f6c402a391f7e1ec4727d284e89de3b8fe6c12f78a37ed1a4448b1ea047a0605677a2d73b00bdefd73270d46dd37b04be90b3357288d3bbcc23b07ca3b75 | ||
DIST phpMyAdmin-4.4.15.4-all-languages.tar.xz 5597144 SHA256 692b70dfbf46884ae52d57d43e07809ee2319bfa7321be7ae4b00fe3510a3e37 SHA512 eaeaa7d05d6cc4e4f854592993562cdea1a0349064cc3aa5eff4ac9a1aa5a6cb1cca1392d27fb62b33d85fdf12376abbb4bb9233ff5ec9f0074bfb0430625262 WHIRLPOOL aa5bf8cad6da266e649b355e9d1c65fbf736c60130914328b95cd4d34af55d9d37b1c108bb08753d9d6c621a918d2cef2c3c1eb0eeffc1bd6df061113db30527 | ||
DIST phpMyAdmin-4.4.15.5-all-languages.tar.xz 5783216 SHA256 6160724fa90ef5cccb67ad897a83586be28e64f5d6acf9bcb3313bc3d7638d8c SHA512 987d95f8352f58d7081aead10ccc7494b054d4041e0cb7454633e885c3217a7c63778d45c2dbf399e82c76159ab6651efeaf9c3cabc96982de83d5a041065e7a WHIRLPOOL b5fb8365817d1521f9e6ad5c60fa1a1ee941fb77062d63975d9f340c4abc681948fb6cd240c4943714d855f6f113baf46241bacf4d421b78f8f740c8bd9ade73 | ||
DIST phpMyAdmin-4.5.4.1-all-languages.tar.xz 5810548 SHA256 4f79a1e3687ed6976903b0fab6a29f960e657e4eb4c9e8a9b92bcf4f1d57194d SHA512 e3e9669c90610a441901854a4c1e91f1312eba55821bd8b73bbfa5589ca321cb4f6c1893a0f62d0a6cc644ff28b6066cd77f2a7f30641afd4f1547bd427403cb WHIRLPOOL d0f60c55b250b7cfd1f3a4f8c0d1e6afc484394687052fe298bf2db897dfedb663566c345ff2ec2f43fd1cddbf1dba85f3521a78b19fab7cb88d7bbf9678a7e4 | ||
DIST phpMyAdmin-4.5.5.1-all-languages.tar.xz 5987876 SHA256 bf8ab258d5c6ce5cfaf7ff330827599c1cfd29b0cc4c9b83f4263ee143c00ef4 SHA512 636d29b9799e6ec0a1484c277187bb1ca24c8cea93c49f30c8c40bf34e4b64ed7e832b5d0e903310e8f08036dbf66724c1b28ab08133cbdf5cec475a430a64d7 WHIRLPOOL b84ae72f306263d36aa700772f47febd1296cad3ccc2b003d551e3b11d0345ff72eeba9af7aca6c54243c3d3c805e035c8a64cfbb7bfe76a3d31d8bcc0980243 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
# Copyright 1999-2016 Gentoo Foundation | ||
# Distributed under the terms of the GNU General Public License v2 | ||
# $Id$ | ||
|
||
EAPI="5" | ||
|
||
inherit eutils webapp | ||
|
||
MY_PV=${PV/_/-} | ||
MY_PN="phpMyAdmin" | ||
MY_P="${MY_PN}-${MY_PV}-all-languages" | ||
|
||
DESCRIPTION="Web-based administration for MySQL database in PHP" | ||
HOMEPAGE="http://www.phpmyadmin.net/" | ||
SRC_URI="https://files.phpmyadmin.net/${MY_PN}/${MY_PV}/${MY_P}.tar.xz" | ||
|
||
LICENSE="GPL-2" | ||
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~ppc-macos ~x64-macos ~x86-macos" | ||
IUSE="setup" | ||
|
||
RDEPEND=" | ||
dev-lang/php[crypt,ctype,filter,json,session,unicode] | ||
|| ( | ||
dev-lang/php[mysqli] | ||
dev-lang/php[mysql] | ||
) | ||
virtual/httpd-php:* | ||
" | ||
|
||
need_httpd_cgi | ||
|
||
S="${WORKDIR}"/${MY_P} | ||
|
||
pkg_setup() { | ||
webapp_pkg_setup | ||
} | ||
|
||
src_install() { | ||
webapp_src_preinst | ||
|
||
dodoc README RELEASE-DATE-${MY_PV} ChangeLog || die | ||
rm -f LICENSE README* RELEASE-DATE-${MY_PV} | ||
|
||
if ! use setup; then | ||
rm -rf setup || die "Cannot remove setup utility" | ||
elog "The phpMyAdmin setup utility has been removed." | ||
elog "It is a regular target of various exploits. If you need it, set USE=setup." | ||
else | ||
elog "You should consider disabling the setup USE flag" | ||
elog "to exclude the setup utility if you don't use it." | ||
elog "It regularly is the target of various exploits." | ||
fi | ||
|
||
insinto "${MY_HTDOCSDIR#${EPREFIX}}" | ||
doins -r . | ||
|
||
webapp_configfile "${MY_HTDOCSDIR#${EPREFIX}}"/libraries/config.default.php | ||
webapp_serverowned "${MY_HTDOCSDIR#${EPREFIX}}"/libraries/config.default.php | ||
|
||
webapp_postinst_txt en "${FILESDIR}"/postinstall-en-3.1.txt | ||
webapp_src_install | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
# Copyright 1999-2016 Gentoo Foundation | ||
# Distributed under the terms of the GNU General Public License v2 | ||
# $Id$ | ||
|
||
EAPI="5" | ||
|
||
inherit eutils webapp | ||
|
||
MY_PV=${PV/_/-} | ||
MY_PN="phpMyAdmin" | ||
MY_P="${MY_PN}-${MY_PV}-all-languages" | ||
|
||
DESCRIPTION="Web-based administration for MySQL database in PHP" | ||
HOMEPAGE="https://www.phpmyadmin.net/" | ||
SRC_URI="https://files.phpmyadmin.net/${MY_PN}/${MY_PV}/${MY_P}.tar.xz" | ||
|
||
LICENSE="GPL-2" | ||
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~ppc-macos ~x64-macos ~x86-macos" | ||
IUSE="setup" | ||
|
||
RDEPEND=" | ||
dev-lang/php[crypt,ctype,filter,json,session,unicode] | ||
|| ( | ||
dev-lang/php[mysqli] | ||
dev-lang/php[mysql] | ||
) | ||
virtual/httpd-php:* | ||
" | ||
|
||
need_httpd_cgi | ||
|
||
S="${WORKDIR}"/${MY_P} | ||
|
||
pkg_setup() { | ||
webapp_pkg_setup | ||
} | ||
|
||
src_install() { | ||
webapp_src_preinst | ||
|
||
dodoc README RELEASE-DATE-${MY_PV} ChangeLog || die | ||
rm -f LICENSE README* RELEASE-DATE-${MY_PV} | ||
|
||
if ! use setup; then | ||
rm -rf setup || die "Cannot remove setup utility" | ||
elog "The phpMyAdmin setup utility has been removed." | ||
elog "It is a regular target of various exploits. If you need it, set USE=setup." | ||
else | ||
elog "You should consider disabling the setup USE flag" | ||
elog "to exclude the setup utility if you don't use it." | ||
elog "It regularly is the target of various exploits." | ||
fi | ||
|
||
insinto "${MY_HTDOCSDIR#${EPREFIX}}" | ||
doins -r . | ||
|
||
webapp_configfile "${MY_HTDOCSDIR#${EPREFIX}}"/libraries/config.default.php | ||
webapp_serverowned "${MY_HTDOCSDIR#${EPREFIX}}"/libraries/config.default.php | ||
|
||
webapp_postinst_txt en "${FILESDIR}"/postinstall-en-3.1.txt | ||
webapp_src_install | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
# Copyright 1999-2016 Gentoo Foundation | ||
# Distributed under the terms of the GNU General Public License v2 | ||
# $Id$ | ||
|
||
EAPI="5" | ||
|
||
inherit eutils webapp | ||
|
||
MY_PV=${PV/_/-} | ||
MY_PN="phpMyAdmin" | ||
MY_P="${MY_PN}-${MY_PV}-all-languages" | ||
|
||
DESCRIPTION="Web-based administration for MySQL database in PHP" | ||
HOMEPAGE="https://www.phpmyadmin.net/" | ||
SRC_URI="https://files.phpmyadmin.net/${MY_PN}/${MY_PV}/${MY_P}.tar.xz" | ||
|
||
LICENSE="GPL-2" | ||
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~ppc-macos ~x64-macos ~x86-macos" | ||
IUSE="setup" | ||
|
||
RDEPEND=" | ||
dev-lang/php[crypt,ctype,filter,json,session,unicode] | ||
|| ( | ||
dev-lang/php[mysqli] | ||
dev-lang/php[mysql] | ||
) | ||
virtual/httpd-php:* | ||
" | ||
|
||
need_httpd_cgi | ||
|
||
S="${WORKDIR}"/${MY_P} | ||
|
||
pkg_setup() { | ||
webapp_pkg_setup | ||
} | ||
|
||
src_install() { | ||
webapp_src_preinst | ||
|
||
dodoc README RELEASE-DATE-${MY_PV} ChangeLog || die | ||
rm -f LICENSE README* RELEASE-DATE-${MY_PV} | ||
|
||
if ! use setup; then | ||
rm -rf setup || die "Cannot remove setup utility" | ||
elog "The phpMyAdmin setup utility has been removed." | ||
elog "It is a regular target of various exploits. If you need it, set USE=setup." | ||
else | ||
elog "You should consider disabling the setup USE flag" | ||
elog "to exclude the setup utility if you don't use it." | ||
elog "It regularly is the target of various exploits." | ||
fi | ||
|
||
insinto "${MY_HTDOCSDIR#${EPREFIX}}" | ||
doins -r . | ||
|
||
webapp_configfile "${MY_HTDOCSDIR#${EPREFIX}}"/libraries/config.default.php | ||
webapp_serverowned "${MY_HTDOCSDIR#${EPREFIX}}"/libraries/config.default.php | ||
|
||
webapp_postinst_txt en "${FILESDIR}"/postinstall-en-3.1.txt | ||
webapp_src_install | ||
} |