1 |
radhermit 11/05/07 08:37:00 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: mediawiki-1.16.5.ebuild |
5 |
Removed: mediawiki-1.16.2.ebuild |
6 |
Log: |
7 |
Version bump to new security release and remove old. |
8 |
|
9 |
(Portage version: 2.2.0_alpha30/cvs/Linux x86_64) |
10 |
|
11 |
Revision Changes Path |
12 |
1.163 www-apps/mediawiki/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/mediawiki/ChangeLog?rev=1.163&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/mediawiki/ChangeLog?rev=1.163&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/mediawiki/ChangeLog?r1=1.162&r2=1.163 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/www-apps/mediawiki/ChangeLog,v |
21 |
retrieving revision 1.162 |
22 |
retrieving revision 1.163 |
23 |
diff -u -r1.162 -r1.163 |
24 |
--- ChangeLog 25 Apr 2011 09:45:13 -0000 1.162 |
25 |
+++ ChangeLog 7 May 2011 08:37:00 -0000 1.163 |
26 |
@@ -1,6 +1,12 @@ |
27 |
# ChangeLog for www-apps/mediawiki |
28 |
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/www-apps/mediawiki/ChangeLog,v 1.162 2011/04/25 09:45:13 hwoarang Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/www-apps/mediawiki/ChangeLog,v 1.163 2011/05/07 08:37:00 radhermit Exp $ |
31 |
+ |
32 |
+*mediawiki-1.16.5 (07 May 2011) |
33 |
+ |
34 |
+ 07 May 2011; Tim Harder <radhermit@g.o> -mediawiki-1.16.2.ebuild, |
35 |
+ +mediawiki-1.16.5.ebuild: |
36 |
+ Version bump to new security release and remove old. |
37 |
|
38 |
25 Apr 2011; Markos Chandras <hwoarang@g.o> mediawiki-1.16.4.ebuild: |
39 |
Stable on amd64 wrt bug #363891 |
40 |
|
41 |
|
42 |
|
43 |
1.1 www-apps/mediawiki/mediawiki-1.16.5.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/mediawiki/mediawiki-1.16.5.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/mediawiki/mediawiki-1.16.5.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: mediawiki-1.16.5.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2011 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/www-apps/mediawiki/mediawiki-1.16.5.ebuild,v 1.1 2011/05/07 08:37:00 radhermit Exp $ |
53 |
|
54 |
EAPI="3" |
55 |
inherit webapp depend.php versionator eutils |
56 |
|
57 |
MY_BRANCH=$(get_version_component_range 1-2) |
58 |
|
59 |
DESCRIPTION="The MediaWiki wiki web application (as used on wikipedia.org)" |
60 |
HOMEPAGE="http://www.mediawiki.org" |
61 |
SRC_URI="http://download.wikimedia.org/mediawiki/${MY_BRANCH}/${P}.tar.gz" |
62 |
|
63 |
LICENSE="GPL-2" |
64 |
KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86" |
65 |
IUSE="imagemagick math mysql postgres +ocamlopt sqlite" |
66 |
|
67 |
DEPEND="math? ( >=dev-lang/ocaml-3.0.6[ocamlopt?] )" |
68 |
RDEPEND="${DEPEND} |
69 |
math? ( |
70 |
app-text/dvipng |
71 |
virtual/tex-base |
72 |
app-text/ghostscript-gpl |
73 |
|| ( media-gfx/imagemagick media-gfx/graphicsmagick[imagemagick] ) |
74 |
) |
75 |
imagemagick? ( || ( media-gfx/imagemagick media-gfx/graphicsmagick[imagemagick] ) ) |
76 |
!imagemagick? ( || ( dev-lang/php[gd] dev-lang/php[gd-external] ) ) |
77 |
|| ( >=dev-lang/php-5.3[mysql?,postgres?,session,xml] |
78 |
<dev-lang/php-5.3[mysql?,pcre,postgres?,session,spl,xml] ) |
79 |
sqlite? ( dev-db/sqlite:3[fts3] |
80 |
|| ( >=dev-lang/php-5.3[sqlite3,pdo] <dev-lang/php-5.3[sqlite,pdo] ) )" |
81 |
|
82 |
RESTRICT="test" |
83 |
|
84 |
need_httpd_cgi |
85 |
need_php_httpd |
86 |
|
87 |
src_compile() { |
88 |
if use math; then |
89 |
einfo "Compiling math support" |
90 |
cd math || die |
91 |
if ! use ocamlopt; then |
92 |
sed -e "s/ocamlopt/ocamlc/" \ |
93 |
-e "s/cmxa/cma/" \ |
94 |
-e "s/cmx/cmo/g" -i Makefile || die |
95 |
fi |
96 |
emake || die |
97 |
else |
98 |
einfo "Math support not enabled. Skipping." |
99 |
fi |
100 |
|
101 |
# TODO: 1. think about includes/zhtable/ support |
102 |
# 2. generate docs (?): echo '0' | php mwdocgen.php |
103 |
} |
104 |
|
105 |
src_install() { |
106 |
webapp_src_preinst |
107 |
|
108 |
# First we install math, docs and then copy everything left into htdocs dir |
109 |
# to avoid bugs like #236411. |
110 |
|
111 |
# If we've enabled math USE-flag, install math support. |
112 |
# We ensure the directories are prepared for writing. The post- |
113 |
# install instructions guide the user to enable the feature. |
114 |
if use math; then |
115 |
einfo "Installing math support" |
116 |
exeinto "${MY_HTDOCSDIR}"/math |
117 |
doexe math/texvc || die "Failed to create math support executable." |
118 |
|
119 |
docinto math |
120 |
dodoc math/{README,TODO} |
121 |
docinto "" |
122 |
|
123 |
# Working directories. Server writeable. |
124 |
dodir "${MY_HTDOCSDIR}"/images/math |
125 |
webapp_serverowned "${MY_HTDOCSDIR}"/images/math |
126 |
dodir "${MY_HTDOCSDIR}"/images/tmp |
127 |
webapp_serverowned "${MY_HTDOCSDIR}"/images/tmp |
128 |
fi |
129 |
|
130 |
local DOCS="FAQ HISTORY INSTALL README RELEASE-NOTES UPGRADE" |
131 |
dodoc ${DOCS} docs/*.txt |
132 |
docinto php-memcached |
133 |
dodoc docs/php-memcached/* |
134 |
|
135 |
# Clean everything not used at the site... |
136 |
rm -rf ${DOCS} COPYING tests math t docs |
137 |
find . -name Makefile -delete |
138 |
# and install |
139 |
insinto "${MY_HTDOCSDIR}" |
140 |
doins -r . |
141 |
|
142 |
# If imagemagick is enabled then setup for image upload. |
143 |
# We ensure the directory is prepared for writing. |
144 |
if use imagemagick; then |
145 |
webapp_serverowned "${MY_HTDOCSDIR}"/images |
146 |
fi |
147 |
|
148 |
webapp_postinst_txt en "${FILESDIR}/postinstall-1.13-en.txt" |
149 |
webapp_postupgrade_txt en "${FILESDIR}/postupgrade-1.16-en.txt" |
150 |
webapp_src_install |
151 |
} |
152 |
|
153 |
pkg_preinst() { |
154 |
prev_instal="false" |
155 |
if has_version ${CATEGORY}/${PN}; then |
156 |
prev_instal="true" |
157 |
fi |
158 |
} |
159 |
|
160 |
pkg_postinst() { |
161 |
webapp_pkg_postinst |
162 |
if ${prev_instal}; then |
163 |
einfo |
164 |
elog "=== Consult the release notes ===" |
165 |
elog "Before doing anything, stop and consult the release notes" |
166 |
elog "/usr/share/doc/${PF}/RELEASE-NOTES.bz2" |
167 |
elog |
168 |
elog "These detail bug fixes, new features and functionality, and any" |
169 |
elog "particular points that may need to be noted during the upgrade procedure." |
170 |
einfo |
171 |
ewarn "Back up existing files and the database before upgrade." |
172 |
ewarn "http://www.mediawiki.org/wiki/Manual:Backing_up_a_wiki" |
173 |
ewarn "provides an overview of the backup process." |
174 |
einfo |
175 |
fi |
176 |
} |