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