--- mediawiki-1.4.12.orig/debian/compat +++ mediawiki-1.4.12/debian/compat @@ -0,0 +1 @@ +4 --- mediawiki-1.4.12.orig/debian/copyright +++ mediawiki-1.4.12/debian/copyright @@ -0,0 +1,31 @@ +This package was debianized by Marc Dequènes on +Fri, 31 Dec 2004 00:11:42 +0100. + +It was downloaded from http://wikipedia.sourceforge.net/ + +Upstream Authors: Mediawiki Development Team + +Copyright: + + The included PHP-TAL is licensed using the Lesser GNU General Public + License ; everything else is under the following copyright/license. + + Copyright (C) 2003-2004 Mediawiki Development Team + + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; version 2 dated June, 1991. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA + 02110-1301, USA. + +On Debian systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL'. + --- mediawiki-1.4.12.orig/debian/etc/apache.conf +++ mediawiki-1.4.12/debian/etc/apache.conf @@ -0,0 +1,18 @@ +Alias /mediawiki /var/lib/mediawiki + + + Options +FollowSymLinks + AllowOverride All + order allow,deny + allow from all + + +# some directories must be protected + + Options -FollowSymLinks + AllowOverride None + + + Options -FollowSymLinks + AllowOverride None + --- mediawiki-1.4.12.orig/debian/examples +++ mediawiki-1.4.12/debian/examples @@ -0,0 +1 @@ +irc --- mediawiki-1.4.12.orig/debian/mediawiki-math.install +++ mediawiki-1.4.12/debian/mediawiki-math.install @@ -0,0 +1 @@ +math/texvc usr/bin --- mediawiki-1.4.12.orig/debian/mediawiki-math.manpages +++ mediawiki-1.4.12/debian/mediawiki-math.manpages @@ -0,0 +1 @@ +debian/texvc.1 --- mediawiki-1.4.12.orig/debian/mediawiki.config +++ mediawiki-1.4.12/debian/mediawiki.config @@ -0,0 +1,15 @@ +#!/bin/sh + +# Debconf config script for mediawiki + +set -e + +# Source debconf library +. /usr/share/debconf/confmodule + + db_input medium mediawiki/webserver || true + db_go + +db_stop + +exit 0 --- mediawiki-1.4.12.orig/debian/mediawiki.dirs +++ mediawiki-1.4.12/debian/mediawiki.dirs @@ -0,0 +1,2 @@ +var/lib/mediawiki/config +etc/mediawiki --- mediawiki-1.4.12.orig/debian/mediawiki.docs +++ mediawiki-1.4.12/debian/mediawiki.docs @@ -0,0 +1 @@ +docs --- mediawiki-1.4.12.orig/debian/mediawiki.install +++ mediawiki-1.4.12/debian/mediawiki.install @@ -0,0 +1,2 @@ +*.php *.phtml extensions includes index.php install-utils.inc languages maintenance skins usr/share/mediawiki +images config var/lib/mediawiki --- mediawiki-1.4.12.orig/debian/mediawiki.links +++ mediawiki-1.4.12/debian/mediawiki.links @@ -0,0 +1,2 @@ +etc/mediawiki/LocalSettings.php var/lib/mediawiki/LocalSettings.php +etc/mediawiki/AdminSettings.php var/lib/mediawiki/AdminSettings.php --- mediawiki-1.4.12.orig/debian/mediawiki.postinst +++ mediawiki-1.4.12/debian/mediawiki.postinst @@ -0,0 +1,49 @@ +#! /bin/sh +# postinst script for mediawiki +# +# see: dh_installdeb(1) + +set -e + +. /usr/share/debconf/confmodule + +case "$1" in + configure) + + db_get mediawiki/webserver || true + webserver=$RET + + webserver=`echo $webserver|sed -e 's/, */ /g'` + + for i in $webserver; do + if [ ! -d /etc/$i/conf.d/ ]; then + install -d -m755 /etc/$i/conf.d/ + fi + if [ ! -e /etc/$i/conf.d/mediawiki.conf ]; then + ln -s /etc/mediawiki/apache.conf \ + /etc/$i/conf.d/mediawiki.conf + if [ -f /etc/init.d/$i ]; then + /etc/init.d/$i reload + fi + fi + done + + chown -R www-data:www-data /var/lib/mediawiki/ + chmod 700 /var/lib/mediawiki/config /var/lib/mediawiki/images + ;; + abort-upgrade|abort-remove|abort-deconfigure) + + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 --- mediawiki-1.4.12.orig/debian/mediawiki.postrm +++ mediawiki-1.4.12/debian/mediawiki.postrm @@ -0,0 +1,23 @@ +#! /bin/sh +# postrm script for mediawiki +# +# see: dh_installdeb(1) + +set -e + +. /usr/share/debconf/confmodule + +case "$1" in + purge) + # Removes all mediawiki conf files + find /etc -name mediawiki.conf -exec rm -rf {} \; ; + rm -rf /etc/mediawiki/LocalSettings.php /var/lib/mediawiki/config/LocalSettings.php; + ;; + *) + ;; +esac + + +#DEBHELPER# + +exit 0 --- mediawiki-1.4.12.orig/debian/patches/01_config_location.patch +++ mediawiki-1.4.12/debian/patches/01_config_location.patch @@ -0,0 +1,66 @@ +--- mediawiki-1.4.6.orig/config/index.php ++++ mediawiki-1.4.6/config/index.php +@@ -131,23 +131,23 @@ + + /* Check for existing configurations and bug out! */ + +-if( file_exists( "../LocalSettings.php" ) || file_exists( "../AdminSettings.php" ) ) { ++if( file_exists( "/var/lib/mediawiki/LocalSettings.php" ) || file_exists( "/var/lib/mediawiki/AdminSettings.php" ) ) { + dieout( "

Wiki is configured.

+ +

Already configured... return to the wiki.

+ +-

(You should probably remove this directory for added security.)

" ); ++

(You should probably remove /var/lib/mediawiki/config for added security.)

" ); + } + +-if( file_exists( "./LocalSettings.php" ) || file_exists( "./AdminSettings.php" ) ) { ++if( file_exists( "/var/lib/mediawiki/config/LocalSettings.php" ) || file_exists( "/var/lib/mediawiki/config/AdminSettings.php" ) ) { + dieout( "

You're configured!

+ +-

Please move LocalSettings.php to the parent directory, then ++

Please move /var/lib/mediawiki/config/LocalSettings.php to /etc/mediawiki/LocalSettings.php with rights 600, remove /var/lib/mediawiki/config, then + try out your wiki. +- (You should remove this config directory for added security once you're done.)

" ); ++ (You should remove /var/lib/mediawiki/config for added security once you're done and change /etc/mediawiki/LocalSettings.php rights to 600.)

" ); + } + +-if( !is_writable( "." ) ) { ++if( !is_writable( "/var/lib/mediawiki/config" ) ) { + dieout( "

Can't write config file, aborting

+ +

In order to configure the wiki you have to make the config subdirectory +@@ -605,7 +605,7 @@ + } else { + $xt = "wt"; # 'x' is not available prior to PHP 4.3.2. We did check above, but race conditions blah blah + } +- $f = fopen( "LocalSettings.php", $xt ); ++ $f = fopen( "/var/lib/mediawiki/config/LocalSettings.php", $xt ); + + if( $f == false ) { + dieout( "

Couldn't write out LocalSettings.php. Check that the directory permissions are correct and that there isn't already a file of that name here...

\n" . +@@ -615,11 +615,11 @@ + if(fwrite( $f, $localSettings ) ) { + fclose( $f ); + +- print "

Success! Move the config/LocalSettings.php file into the parent directory, then follow ++ print "

Success! Move /var/lib/mediawiki/config/LocalSettings.php to /etc/mediawiki/LocalSettings.php with rights 600, remove /var/lib/mediawiki/config, then follow + this link to your wiki.

\n"; + } else { + fclose( $f ); +- die("

An error occured while writing the config/LocalSettings.php file. Check user rights and disk space then try again.

\n"); ++ die("

An error occured while writing /var/lib/mediawiki/config/LocalSettings.php. Check user rights and disk space then try again.

\n"); + + } + +--- mediawiki-1.4.6.orig/index.php ++++ mediawiki-1.4.6/index.php +@@ -9,7 +9,7 @@ + @ini_set( 'allow_url_fopen', 0 ); # For security... + if( !file_exists( 'LocalSettings.php' ) ) { + if ( file_exists( 'config/LocalSettings.php' ) ) { +- die( "To complete the installation, move config/LocalSettings.php to the parent directory.\n" ); ++ die( "To complete the installation, move /var/lib/mediawiki/config/LocalSettings.php to /etc/mediawiki/LocalSettings.php with rights 600, and then remove /var/lib/mediawiki/config/\n" ); + } else { + die( "You'll have to set the wiki up first!" ); + } --- mediawiki-1.4.12.orig/debian/patches/02_texvc_location.patch +++ mediawiki-1.4.12/debian/patches/02_texvc_location.patch @@ -0,0 +1,11 @@ +--- includes/DefaultSettings.php.orig 2005-04-21 17:36:56.940122072 +0200 ++++ includes/DefaultSettings.php 2005-04-21 17:37:04.402987544 +0200 +@@ -553,7 +553,7 @@ + # convert (ImageMagick) installed and available in the PATH. + # Please see math/README for more information. + $wgUseTeX = false; +-$wgTexvc = './math/texvc'; # Location of the texvc binary ++$wgTexvc = '/usr/bin/texvc'; # Location of the texvc binary + + # Profiling / debugging + $wgProfiling = false; # Enable for more detailed by-function times in debug log --- mediawiki-1.4.12.orig/debian/po/POTFILES.in +++ mediawiki-1.4.12/debian/po/POTFILES.in @@ -0,0 +1 @@ +[type: gettext/rfc822deb] templates --- mediawiki-1.4.12.orig/debian/po/templates.pot +++ mediawiki-1.4.12/debian/po/templates.pot @@ -0,0 +1,37 @@ +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2005-07-07 21:41+0200\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: multiselect +#. Choices +#: ../templates:3 +msgid "apache, apache-ssl, apache2" +msgstr "" + +#. Type: multiselect +#. Description +#: ../templates:5 +msgid "Web server(s) that should be configured automatically" +msgstr "" --- mediawiki-1.4.12.orig/debian/po/ar.po +++ mediawiki-1.4.12/debian/po/ar.po @@ -0,0 +1,39 @@ +# translation of ar.po to Arabic +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +# Ossama M. Khayat , 2005. +# +msgid "" +msgstr "" +"Project-Id-Version: ar\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2005-07-07 21:41+0200\n" +"PO-Revision-Date: 2005-09-30 13:49+0000\n" +"Last-Translator: Ossama M. Khayat \n" +"Language-Team: Arabic \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.10.2\n" + +#. Type: multiselect +#. Choices +#: ../templates:3 +msgid "apache, apache-ssl, apache2" +msgstr "apache, apache-ssl, apache2" + +#. Type: multiselect +#. Description +#: ../templates:5 +msgid "Web server(s) that should be configured automatically" +msgstr "أي خادم وب تودّ إعادة تهيئته تلقائياً" --- mediawiki-1.4.12.orig/debian/po/cs.po +++ mediawiki-1.4.12/debian/po/cs.po @@ -0,0 +1,36 @@ +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +# +msgid "" +msgstr "" +"Project-Id-Version: mediawiki\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2005-07-07 21:41+0200\n" +"PO-Revision-Date: 2005-10-03 18:47+0200\n" +"Last-Translator: Miroslav Kure \n" +"Language-Team: Czech \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: multiselect +#. Choices +#: ../templates:3 +msgid "apache, apache-ssl, apache2" +msgstr "apache, apache-ssl, apache2" + +#. Type: multiselect +#. Description +#: ../templates:5 +msgid "Web server(s) that should be configured automatically" +msgstr "Webové servery, které se mají nastavit automaticky" --- mediawiki-1.4.12.orig/debian/po/de.po +++ mediawiki-1.4.12/debian/po/de.po @@ -0,0 +1,36 @@ +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +# +msgid "" +msgstr "" +"Project-Id-Version: mediawiki 1.4.10\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2005-07-07 21:41+0200\n" +"PO-Revision-Date: 2005-10-03 12:45+0100\n" +"Last-Translator: Kai Weber \n" +"Language-Team: German \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: multiselect +#. Choices +#: ../templates:3 +msgid "apache, apache-ssl, apache2" +msgstr "apache, apache-ssl, apache2" + +#. Type: multiselect +#. Description +#: ../templates:5 +msgid "Web server(s) that should be configured automatically" +msgstr "Welche Web-Server sollen automatisch konfiguriert werden?" --- mediawiki-1.4.12.orig/debian/po/fr.po +++ mediawiki-1.4.12/debian/po/fr.po @@ -0,0 +1,36 @@ +# +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# +# Developers do not need to manually edit POT or PO files. +# +msgid "" +msgstr "" +"Project-Id-Version: mediawiki_1.4.9-1\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2005-07-07 21:41+0200\n" +"PO-Revision-Date: 2005-09-26 11:29+0200\n" +"Last-Translator: Mohammed Adnène Trojette \n" +"Language-Team: French \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=ISO-8859-15\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: multiselect +#. Choices +#: ../templates:3 +msgid "apache, apache-ssl, apache2" +msgstr "Apache, Apache-SSL, Apache2" + +#. Type: multiselect +#. Description +#: ../templates:5 +msgid "Web server(s) that should be configured automatically" +msgstr "Serveur(s) web à configurer automatiquement :" --- mediawiki-1.4.12.orig/debian/po/sv.po +++ mediawiki-1.4.12/debian/po/sv.po @@ -0,0 +1,35 @@ +# Translators, if you are not familiar with the PO format, gettext +# documentation is worth reading, especially sections dedicated to +# this format, e.g. by running: +# info -n '(gettext)PO Files' +# info -n '(gettext)Header Entry' +# Some information specific to po-debconf are available at +# /usr/share/doc/po-debconf/README-trans +# or http://www.debian.org/intl/l10n/po-debconf/README-trans +# Developers do not need to manually edit POT or PO files. +# , fuzzy +# +# +msgid "" +msgstr "" +"Project-Id-Version: mediawiki 1.4.10-1\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2005-07-07 21:41+0200\n" +"PO-Revision-Date: 2005-10-04 04:22+0200\n" +"Last-Translator: Daniel Nylander \n" +"Language-Team: Swedish \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=iso-8859-1\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: multiselect +#. Choices +#: ../templates:3 +msgid "apache, apache-ssl, apache2" +msgstr "apache, apache-ssl, apache2" + +#. Type: multiselect +#. Description +#: ../templates:5 +msgid "Web server(s) that should be configured automatically" +msgstr "Webserver/Webservrar som ska automatiskt konfigureras" --- mediawiki-1.4.12.orig/debian/templates +++ mediawiki-1.4.12/debian/templates @@ -0,0 +1,5 @@ +Template: mediawiki/webserver +Type: multiselect +_Choices: apache, apache-ssl, apache2 +Default: apache +_Description: Web server(s) that should be configured automatically --- mediawiki-1.4.12.orig/debian/texvc.xml +++ mediawiki-1.4.12/debian/texvc.xml @@ -0,0 +1,178 @@ + +.
will be generated. You may view the +manual page with: nroff -man .
| less'. A +typical entry in a Makefile or Makefile.am is: + +DB2MAN=/usr/share/sgml/docbook/stylesheet/xsl/nwalsh/\ +manpages/docbook.xsl +XP=xsltproc -''-nonet + +manpage.1: manpage.dbk + $(XP) $(DB2MAN) $< + +The xsltproc binary is found in the xsltproc package. The +XSL files are in docbook-xsl. Please remember that if you +create the nroff version in one of the debian/rules file +targets (such as build), you will need to include xsltproc +and docbook-xsl in your Build-Depends control field. + +--> + + + Marc"> + Dequ\[`e]nes"> + + 2005-01-02"> + + 1"> + Duck@DuckCorp.org"> + + TEXVC"> + + + Debian"> + GNU"> + GPL"> +]> + + + +
+ &dhemail; +
+ + &dhfirstname; + &dhsurname; + + + 2003 + &dhusername; + + &dhdate; +
+ + &dhucpackage; + + &dhsection; + + + &dhpackage; + + math equation PNG renderer + + + + &dhpackage; + + tempdir + outputdir + texcode + encoding + + + + + DESCRIPTION + + &dhpackage; is designed to render math + equations written in latex code into PNG images. + + + + + OPTIONS + + + + + tempdir + + + directory where temporary files are created. + + + + + outputdir + + + directory where the result image is stored. + + + + + texcode + + + latex code string representing math equations. + + + + + encoding + + + used encoding in latex code string. + + + + + + OUTPUT + Status codes and HTML/MathML transformations are returned on stdout. + A rasterized PNG file will be written to the output directory, named + for the MD5 hash code. + + + texvc output format is like this: + + +%5 ok, but not html or mathml + c%5%h ok, conservative html, no mathml + m%5%h ok, moderate html, no mathml + l%5%h ok, liberal html, no mathml + C%5%h\0%m ok, conservative html, with mathml + M%5%h\0%m ok, moderate html, with mathml + L%5%h\0%m ok, liberal html, with mathml + X%5%m ok, no html, with mathml + S syntax error + E lexing error + F%s unknown function %s + - other error + + + + with the following codes: + + \0 - null character + %5 - md5, 32 hex characters + %h - html code, without \0 characters + %m - mathml code, without \0 characters + + + + + AUTHOR + + This manual page was written by &dhusername; &dhemail; for + the &debian; system (but may be used by others). Permission is + granted to copy, distribute and/or modify this document under + the terms of the &gnu; General Public License, Version 2 any + later version published by the Free Software Foundation. + + + On Debian systems, the complete text of the GNU General Public + License can be found in /usr/share/common-licenses/GPL. + + + +
+ --- mediawiki-1.4.12.orig/debian/watch +++ mediawiki-1.4.12/debian/watch @@ -0,0 +1,11 @@ +# Example watch control file for uscan +# Rename this file to "watch" and then you can run the "uscan" command +# to check for upstream updates and more. +# See uscan(1) for format + +# Compulsory line, this is a version 3 file +version=2 + +# Uncomment to examine a Webserver directory +http://prdownloads.sourceforge.net/wikipedia/mediawiki-(\d*\.\d*\.\d*)\.tar\.gz + --- mediawiki-1.4.12.orig/debian/control +++ mediawiki-1.4.12/debian/control @@ -0,0 +1,45 @@ +Source: mediawiki +Section: web +Priority: optional +Maintainer: Mediawiki Maintenance Team +Uploaders: Marc Dequènes (Duck) , Andreas Tille , Roland Mas , Romain Beauxis +Build-Depends: cdbs (>= 0.4.23-1.1), debhelper (>= 4.1.0), patchutils (>= 0.2.25), ocaml-nox | ocaml, xsltproc, docbook-xml, docbook-xsl, po-debconf +Standards-Version: 3.6.2.1 + +Package: mediawiki +Architecture: all +Depends: apache2 | httpd, php4 (>= 4.1.2), php4-mysql, debconf (>= 0.2.26) | debconf-2.0 +Recommends: mysql-server +Suggests: php4-gd2 | imagemagick, mediawiki-math, php4-html-template-phptal (>= 0.7.0), turck-mmcache | memcached +Description: website engine for collaborative work + MediaWiki is a particular wiki engine (a program to easily + create a website which can be edited in a collaborative + maner). It is designed to handle heavy websites containing + library-like documents : users can upload images/sounds, + multilingual support, TOC autogen, ISBN links, ... + Moreover, it keeps track of changes, so you can view diffs, + revert, and receive notifies. This system has many other + features and can easily be extended. + . + MediaWiki is the underlying wiki engine used by the famous + WikiPedia site (http://www.wikipedia.org/). + +Package: mediawiki-math +Architecture: any +Depends: ${interpreter:Depends}, mediawiki, imagemagick, tetex-bin, gs-gpl | gs-esp +Recommends: cjk-latex +Description: math rendering plugin for MediaWiki + MediaWiki is a particular wiki engine (a program to easily + create a website which can be edited in a collaborative + maner). It is designed to handle heavy websites containing + library-like documents : users can upload images/sounds, + multilingual support, TOC autogen, ISBN links, ... + Moreover, it keeps track of changes, so you can view diffs, + revert, and receive notifies. This system has many other + features and can easily be extended. + . + MediaWiki is the underlying wiki engine used by the famous + WikiPedia site (http://www.wikipedia.org/). + . + This package contains the math rendering plugin. + --- mediawiki-1.4.12.orig/debian/control.in +++ mediawiki-1.4.12/debian/control.in @@ -0,0 +1,45 @@ +Source: mediawiki +Section: web +Priority: optional +Maintainer: Mediawiki Maintenance Team +Uploaders: Marc Dequènes (Duck) , Andreas Tille , Roland Mas , Romain Beauxis +Build-Depends: @cdbs@, ocaml-nox | ocaml, xsltproc, docbook-xml, docbook-xsl, po-debconf +Standards-Version: 3.6.2.1 + +Package: mediawiki +Architecture: all +Depends: apache2 | httpd, php4 (>= 4.1.2), php4-mysql, debconf (>= 0.2.26) | debconf-2.0 +Recommends: mysql-server +Suggests: php4-gd2 | imagemagick, mediawiki-math, php4-html-template-phptal (>= 0.7.0), turck-mmcache | memcached +Description: website engine for collaborative work + MediaWiki is a particular wiki engine (a program to easily + create a website which can be edited in a collaborative + maner). It is designed to handle heavy websites containing + library-like documents : users can upload images/sounds, + multilingual support, TOC autogen, ISBN links, ... + Moreover, it keeps track of changes, so you can view diffs, + revert, and receive notifies. This system has many other + features and can easily be extended. + . + MediaWiki is the underlying wiki engine used by the famous + WikiPedia site (http://www.wikipedia.org/). + +Package: mediawiki-math +Architecture: any +Depends: ${interpreter:Depends}, mediawiki, imagemagick, tetex-bin, gs-gpl | gs-esp +Recommends: cjk-latex +Description: math rendering plugin for MediaWiki + MediaWiki is a particular wiki engine (a program to easily + create a website which can be edited in a collaborative + maner). It is designed to handle heavy websites containing + library-like documents : users can upload images/sounds, + multilingual support, TOC autogen, ISBN links, ... + Moreover, it keeps track of changes, so you can view diffs, + revert, and receive notifies. This system has many other + features and can easily be extended. + . + MediaWiki is the underlying wiki engine used by the famous + WikiPedia site (http://www.wikipedia.org/). + . + This package contains the math rendering plugin. + --- mediawiki-1.4.12.orig/debian/rules +++ mediawiki-1.4.12/debian/rules @@ -0,0 +1,53 @@ +#!/usr/bin/make -f + +MANPAGES := debian/texvc.1 + +include /usr/share/cdbs/1/rules/debhelper.mk +# Including this file gets us a simple patch system. You can just +# drop patches in debian/patches, and they will be automatically +# applied and unapplied. +include /usr/share/cdbs/1/rules/simple-patchsys.mk + +# In order to regenerate 'debian/control' : +# DEB_AUTO_UPDATE_DEBIAN_CONTROL=yes fakeroot debian/rules clean +# Then check manually if everything's ok + + +build/mediawiki-math:: $(MANPAGES) + if [ -x /usr/bin/ocamlopt ]; then\ + make -C math texvc;\ + else\ + make -C math texvc.bc;\ + mv math/texvc.bc math/texvc;\ + fi + +%.1: %.xml + xsltproc -nonet -o $@ /usr/share/sgml/docbook/stylesheet/xsl/nwalsh/manpages/docbook.xsl $< + +binary-install/mediawiki:: + cp -rf $(CURDIR)/debian/etc/* $(CURDIR)/debian/mediawiki/etc/mediawiki + chmod a+x debian/mediawiki/usr/share/mediawiki/maintenance/fetchInterwiki.pl + find debian/mediawiki/usr/share/mediawiki -maxdepth 1 -mindepth 1 | while read i; do \ + dh_link "`echo "$$i" | sed -e s#debian/mediawiki/###`" \ + "`echo "$$i" | sed -e s#debian/mediawiki/usr/share/mediawiki/#var/lib/mediawiki/#`"; \ + done + +binary-install/mediawiki-math:: + if [ -x /usr/bin/ocamlopt ]; then\ + echo "interpreter:Depends=" >> debian/mediawiki-math.substvars;\ + else\ + echo "interpreter:Depends=ocaml-base-nox" >> debian/mediawiki-math.substvars;\ + fi + + +binary-predeb/mediawiki:: + find debian/mediawiki -depth \( -name ".cvsignore" -o -name ".arch-ids" \) -exec rm -rf {} \; + +binary-predeb/mediawiki-math:: + find debian/mediawiki-math -depth \( -name ".cvsignore" -o -name ".arch-ids" \) -exec rm -rf {} \; + +clean:: + rm -f $(MANPAGES) + make -C math clean + debconf-updatepo + --- mediawiki-1.4.12.orig/debian/README.Debian +++ mediawiki-1.4.12/debian/README.Debian @@ -0,0 +1,42 @@ +mediawiki for Debian +-------------------- + + +Optional features: + - Image thumbnailing : + Install 'php4-gd2' or 'imagemagick' to use this feature. + - LaTeX-compatible math equations rendering : + Install 'tetex-bin', 'imagemagick' and a Ghostscript interpreter + ('gs-gpl' or 'gs-esp') to use this feature. + To be able to render non-ASCII characters, also install 'cjk-latex'. + Uncomment the following line in '/etc/mediawiki/LocalSettings.php' : + $wgUseTeX = true; + +Configuration: + The configuration use an easy web-based system ; just go to this URL : + http://www.myserver.org/mediawiki/config/index.php + (replace by your own servername) + Then just copy the generated config to the real system location : + cp /var/lib/mediawiki/config/LocalSettings.php \ + /etc/mediawiki/ + Enjoy !!! + + -- Marc Dequènes (Duck) Sun, 19 Dec 2004 20:44:29 +0100 + +Configuring apache and MySQL: + A good how-to to correctly setup the application used by mediawiki can be found there: + http://meta.wikimedia.org/wiki/Running_MediaWiki_on_Debian_GNU/Linux + But, of course, you should NOT do the part that talks about mediawiki installation itself :) + + +Editing and Syntax: + MediaWiki syntax is rather complex. + To prevent this README file from becoming a manual, + we don't provide here instructions on MediaWiki syntax. + But you can point your browser to this page: + http://meta.wikimedia.org/wiki/Help:Editing + Where you will find all that you'd like to know about it! + +-- Romain Beauxis Thu, 6 Oct 2005 13:13:25 +0200 + + --- mediawiki-1.4.12.orig/debian/changelog +++ mediawiki-1.4.12/debian/changelog @@ -0,0 +1,136 @@ +mediawiki (1.4.12-1) unstable; urgency=high + + [ Marc Dequènes (Duck) ] + * New upstream security release. + * Bad version number in Special:Version page fixed by new upstream + release (Closes: #335177). + * Fixed configuration URL in 'debian/README.Debian' (Closes: #334131). + + [ Romain Beauxis ] + * Build texvc bytecode on architectures where a native ocaml compiler + does not exist (and generate correct dependencies as well) (Closes: + #332531). + + -- Marc Dequènes (Duck) Fri, 4 Nov 2005 21:19:01 +0100 + +mediawiki (1.4.11-1) unstable; urgency=high + + * New upstream security release. + * Fix for CAN-2005-3167 and CAN-2005-3166 in new upstream (Closes: #332408) + * Added translations files. Thanks to all contributors! (Closes: #330904, + #330905, #331349, #331466, #332405) + * Corrected Maintainer name (Closes: #332268) + * Added link to MediaWiki installation how-to and MediaWiki Editing Help + in README.Debian (Closes: #331417) + * Added dependy | debconf-2.0 (Closes: #332024) + * Changed 'arch:any' for mediawiki-math: should only be built on arch + where ocaml compiler is present. + + -- Romain Beauxis Thu, 6 Oct 2005 13:13:25 +0200 + +mediawiki (1.4.10-1) unstable; urgency=low + + * New upstream release + * Fixed incorrect build dependencies + + -- Romain Beauxis Sun, 25 Sep 2005 15:02:42 +0200 + +mediawiki (1.4.9-3) unstable; urgency=low + + [ Marc Dequènes (Duck) ] + * Upload to unstable (Closes: #217571). + * Fix apache protected directories. + + [ Romain Beauxis ] + * Fixed symlinks generation. + * fix writeable directories permissions. + + -- Marc Dequènes (Duck) Fri, 16 Sep 2005 11:27:08 +0200 + +mediawiki (1.4.9-2) unreleased; urgency=low + + * Updated Maintainer/Uploaders fields (using Team address). + + -- Marc Dequènes (Duck) Wed, 14 Sep 2005 21:18:33 +0200 + +mediawiki (1.4.9-1) unreleased; urgency=low + + * New upstream release + + -- Marc Dequènes (Duck) Wed, 14 Sep 2005 21:14:06 +0200 + +mediawiki (1.4.8-1) unreleased; urgency=low + + * New upstream release + + -- Romain Beauxis Wed, 24 Aug 2005 19:12:50 +0200 + +mediawiki (1.4.7-3) unreleased; urgency=low + + * Update debconf po files automatically. + * Protect upload directory in apache configuration. + * Fix minor problem with accentuated characters in manpage. + * Updated Standards-Version to 3.6.2.1 (no changes needed). + * Put myself as Maintainer again and added Uploaders. + * Ensure GNU Arch files never enter the packages. + * Update FSF postal address in 'debian/copyright'. + * Moved depends on debconf into 'debian/control.in' (to avoid having + it disappear again). + + -- Marc Dequènes (Duck) Tue, 6 Sep 2005 18:21:55 +0200 + +mediawiki (1.4.7-2) unreleased; urgency=low + + * Fixed correct message for configuration file + + -- Romain Beauxis Mon, 25 Jul 2005 19:04:57 +0200 + +mediawiki (1.4.7-1) unreleased; urgency=low + + * New upstream release + + -- Romain Beauxis Mon, 25 Jul 2005 15:06:16 +0200 + +mediawiki (1.4.6-1) unreleased; urgency=low + + * New upstream release + * New maintainer + + -- Romain Beauxis Tue, 12 Jul 2005 19:51:12 +0200 + +mediawiki (1.4.4-2) unreleased; urgency=low + + * Removed unnecessary depends on 'php4-xml' (provided by libapache- + mod-php4 or libapache2-mod-php4) (thus allowing install with + apache2). + * Made apache2 the web server installed by default. + + -- Marc Dequènes (Duck) Tue, 24 May 2005 20:00:50 +0200 + +mediawiki (1.4.4-1) unreleased; urgency=low + + * New upstream release + + -- Marc Dequènes (Duck) Fri, 6 May 2005 03:59:03 +0200 + +mediawiki (1.4.2-1) unreleased; urgency=low + + * New upstream release. + * Regenerated patches : + + 01_config_location.patch + + 02_texvc_location.patch + * Updated installed directories and replaced arch files cleanup with + cvs files cleanup. + * Moved irc files from application directory to example directory in + documentation. + * Added 'turck-mmcache | memcached' to Suggests. + + -- Marc Dequènes (Duck) Fri, 6 May 2005 03:38:38 +0200 + +mediawiki (1.3.9-1) unreleased; urgency=low + + * Initial Release. + * Created 'texvc' manpage. + + -- Marc Dequènes (Duck) Sun, 2 Jan 2005 01:17:44 +0100 +