mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-01 11:18:09 -07:00
www-apps/wordpress: remove older version, bug #611956
Package-Manager: portage-2.3.3
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST wordpress-4.7.2.tar.gz 7997959 SHA256 6c376183f5d7ffad024712cb140fa3d1b621a97e3961e3206a8cff40b7e9ed44 SHA512 610a820cf2eea39a60100515f68e95a7194a4e20df9c8158111b1978d5bc7c606dd2b7adf2f4019e9108a136e12eb2db7ae5ed75681cec23ffb901f8cc7fb83a WHIRLPOOL 237824a99058243e11b097829475d573a0d1c1218bbb497a984495a3503d57a5dd75acb03cf7d966ef74e404c1c3e3d3ca7f68ce8b69e3365714ad81d7caff8c
|
||||
DIST wordpress-4.7.3.tar.gz 8008833 SHA256 e715069fdab049ec668cd74e57cabcb23583dc4a84c5e330c430cbe8998f6d89 SHA512 071df65c3a43557faf351838a661a83e26d8de37c8633dc17a59d773cc91caef640a625b0719606df1fc563fd18af71ba1da22a5b6f345339e73761754484dc5 WHIRLPOOL c44593fe9d88c8f188d69cc0a3a7c0350045891d37e8fd7a33d27751980541f951d85fb154f894a52886574bc4967febbf03e825b5b1c38d1ece7f7bf849b35f
|
||||
|
||||
@@ -1,55 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit webapp
|
||||
|
||||
DESCRIPTION="Wordpress PHP and MySQL based content management system (CMS)"
|
||||
HOMEPAGE="https://wordpress.org/"
|
||||
SRC_URI="https://wordpress.org/${P/_rc/-RC}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86"
|
||||
|
||||
RDEPEND="virtual/httpd-php
|
||||
|| ( dev-lang/php[mysql] dev-lang/php[mysqli] )"
|
||||
|
||||
S=${WORKDIR}/${PN}
|
||||
|
||||
need_httpd_cgi
|
||||
|
||||
IUSE="+akismet examples +themes vhosts"
|
||||
|
||||
src_install() {
|
||||
webapp_src_preinst
|
||||
|
||||
dodoc readme.html
|
||||
rm readme.html license.txt || die
|
||||
|
||||
if ! use akismet ; then
|
||||
rm -R wp-content/plugins/akismet/ || die
|
||||
fi
|
||||
if ! use examples ; then
|
||||
rm wp-content/plugins/hello.php || die
|
||||
fi
|
||||
if ! use themes ; then
|
||||
rm -R wp-content/themes/*/ || die
|
||||
fi
|
||||
|
||||
[[ -f wp-config.php ]] || cp wp-config-sample.php wp-config.php
|
||||
|
||||
insinto "${MY_HTDOCSDIR}"
|
||||
doins -r .
|
||||
|
||||
webapp_serverowned "${MY_HTDOCSDIR}"/index.php
|
||||
webapp_serverowned "${MY_HTDOCSDIR}"/wp-admin/menu.php
|
||||
webapp_serverowned "${MY_HTDOCSDIR}"
|
||||
|
||||
webapp_configfile "${MY_HTDOCSDIR}"/wp-config.php
|
||||
|
||||
webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt
|
||||
webapp_postupgrade_txt en "${FILESDIR}"/postupgrade-en.txt
|
||||
|
||||
webapp_src_install
|
||||
}
|
||||
Reference in New Issue
Block a user