1 |
beandog 07/09/08 17:02:43 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: wordpress-2.2.3.ebuild |
5 |
Log: |
6 |
Yet another security version bump |
7 |
(Portage version: 2.1.2.12) |
8 |
|
9 |
Revision Changes Path |
10 |
1.85 www-apps/wordpress/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/wordpress/ChangeLog?rev=1.85&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/wordpress/ChangeLog?rev=1.85&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/wordpress/ChangeLog?r1=1.84&r2=1.85 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/www-apps/wordpress/ChangeLog,v |
19 |
retrieving revision 1.84 |
20 |
retrieving revision 1.85 |
21 |
diff -u -r1.84 -r1.85 |
22 |
--- ChangeLog 11 Aug 2007 22:17:01 -0000 1.84 |
23 |
+++ ChangeLog 8 Sep 2007 17:02:42 -0000 1.85 |
24 |
@@ -1,6 +1,11 @@ |
25 |
# ChangeLog for www-apps/wordpress |
26 |
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/www-apps/wordpress/ChangeLog,v 1.84 2007/08/11 22:17:01 beandog Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/www-apps/wordpress/ChangeLog,v 1.85 2007/09/08 17:02:42 beandog Exp $ |
29 |
+ |
30 |
+*wordpress-2.2.3 (08 Sep 2007) |
31 |
+ |
32 |
+ 08 Sep 2007; Steve Dibb <beandog@g.o> +wordpress-2.2.3.ebuild: |
33 |
+ Yet another security version bump |
34 |
|
35 |
*wordpress-2.2.2 (11 Aug 2007) |
36 |
*wordpress-2.0.11 (11 Aug 2007) |
37 |
|
38 |
|
39 |
|
40 |
1.1 www-apps/wordpress/wordpress-2.2.3.ebuild |
41 |
|
42 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/wordpress/wordpress-2.2.3.ebuild?rev=1.1&view=markup |
43 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/wordpress/wordpress-2.2.3.ebuild?rev=1.1&content-type=text/plain |
44 |
|
45 |
Index: wordpress-2.2.3.ebuild |
46 |
=================================================================== |
47 |
# Copyright 1999-2007 Gentoo Foundation |
48 |
# Distributed under the terms of the GNU General Public License v2 |
49 |
# $Header: /var/cvsroot/gentoo-x86/www-apps/wordpress/wordpress-2.2.3.ebuild,v 1.1 2007/09/08 17:02:42 beandog Exp $ |
50 |
|
51 |
inherit webapp eutils depend.php |
52 |
|
53 |
DESCRIPTION="Wordpress php and mysql based CMS system." |
54 |
HOMEPAGE="http://wordpress.org/" |
55 |
SRC_URI="http://www.wordpress.org/${P}.tar.gz" |
56 |
LICENSE="GPL-2" |
57 |
KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86" |
58 |
IUSE="" |
59 |
|
60 |
S="${WORKDIR}/${PN}" |
61 |
|
62 |
need_php |
63 |
|
64 |
pkg_setup() { |
65 |
webapp_pkg_setup |
66 |
|
67 |
require_php_with_any_use mysql mysqli |
68 |
require_php_with_use pcre |
69 |
} |
70 |
|
71 |
src_install() { |
72 |
local docs="license.txt readme.html" |
73 |
|
74 |
webapp_src_preinst |
75 |
|
76 |
einfo "Installing main files" |
77 |
cp wp-config-sample.php wp-config.php |
78 |
cp -r * ${D}${MY_HTDOCSDIR} |
79 |
einfo "Done" |
80 |
|
81 |
ewarn |
82 |
ewarn Please make sure you have register_globals = off set in your /etc/apache2/php.ini file |
83 |
ewarn If this is not an option for your web server and you NEED it set to on, then insert the following in your WordPress .htaccess file: |
84 |
ewarn php_flag register_globals off |
85 |
ewarn |
86 |
|
87 |
ewarn |
88 |
ewarn You will need to create a table for your WordPress database. This |
89 |
ewarn assumes you have some knowledge of MySQL, and already have it |
90 |
ewarn installed and configured. If not, please refer to |
91 |
ewarn the Gentoo MySQL guide at the following URL: |
92 |
ewarn http://www.gentoo.org/doc/en/mysql-howto.xml |
93 |
ewarn Log in to MySQL, and create a new database called |
94 |
ewarn "wordpress". From this point, you will need to edit |
95 |
ewarn your wp-config.php file in $DocumentRoot/wordpress/ |
96 |
ewarn and point to your database. Once this is done, you can log in to |
97 |
ewarn WordPress at http://localhost/wordpress |
98 |
ewarn |
99 |
|
100 |
ewarn |
101 |
ewarn If you are upgrading from a previous version BACK UP your |
102 |
ewarn database. Once you are done with that, browse to |
103 |
ewarn http://localhost/wordpress/wp-admin/upgrade.php and follow |
104 |
ewarn the instructions on the screen. |
105 |
ewarn |
106 |
|
107 |
# handle documentation files |
108 |
# |
109 |
# NOTE that doc files go into /usr/share/doc as normal; they do NOT |
110 |
# get installed per vhost! |
111 |
|
112 |
dodoc ${docs} |
113 |
for doc in ${docs} INSTALL; do |
114 |
rm -f ${doc} |
115 |
done |
116 |
|
117 |
# Identify the configuration files that this app uses |
118 |
# User can want to make changes to these! |
119 |
webapp_serverowned ${MY_HTDOCSDIR}/index.php |
120 |
#webapp_serverowned ${MY_HTDOCSDIR}/wp-layout.css |
121 |
webapp_serverowned ${MY_HTDOCSDIR}/wp-admin/menu.php |
122 |
webapp_serverowned ${MY_HTDOCSDIR} |
123 |
webapp_configfile ${MY_HTDOCSDIR}/wp-config.php |
124 |
# Identify any script files that need #! headers adding to run under |
125 |
# a CGI script (such as PHP/CGI) |
126 |
# |
127 |
# for wordpress, we *assume* that all .php files need to have CGI/BIN |
128 |
# support added |
129 |
|
130 |
# post-install instructions |
131 |
#webapp_postinst_txt en ${FILESDIR}/1.2/postinstall-en.txt |
132 |
|
133 |
# now strut stuff |
134 |
webapp_src_install |
135 |
} |
136 |
|
137 |
|
138 |
|
139 |
-- |
140 |
gentoo-commits@g.o mailing list |