r91631 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r91630‎ | r91631 | r91632 >
Date:08:13, 7 July 2011
Author:tstarling
Status:deferred
Tags:
Comment:
Reverted most of r85389 in this hardy branch to bring the package back to a state where it can be compiled for hardy. Kept the sync-common fix.
Modified paths:
  • /branches/hardy/debs/wikimedia-task-appserver/debian/changelog (modified) (history)
  • /branches/hardy/debs/wikimedia-task-appserver/debian/control (modified) (history)
  • /branches/hardy/debs/wikimedia-task-appserver/debian/postinst (modified) (history)
  • /branches/hardy/debs/wikimedia-task-appserver/debian/postrm (modified) (history)
  • /branches/hardy/debs/wikimedia-task-appserver/debian/preinst (added) (history)
  • /branches/hardy/debs/wikimedia-task-appserver/debian/rules (modified) (history)

Diff [purge]

Index: branches/hardy/debs/wikimedia-task-appserver/debian/control
@@ -7,7 +7,7 @@
88
99 Package: wikimedia-task-appserver
1010 Architecture: all
11 -Depends: apache2-mpm-prefork, librsvg2-bin, dvipng, gsfonts, ocaml, ploticus, php5-mysql, php5-curl, php5-xmlrpc, php5-cli, php-apc, php-wikidiff2, php5-fss, php5-geoip, libapache2-mod-php5, file, djvulibre-bin, tidy (>= 20070821), libtidy-0.99-0 (>= 20070821), php-pear, rsync, make, xpdf-utils, libtiff-tools, texlive, texlive-bibtex-extra, texlive-font-utils, texlive-fonts-extra, texlive-lang-croatian, texlive-lang-cyrillic, texlive-lang-czechslovak, texlive-lang-danish, texlive-lang-dutch, texlive-lang-finnish, texlive-lang-french, texlive-lang-german, texlive-lang-greek, texlive-lang-hungarian, texlive-lang-italian, texlive-lang-latin, texlive-lang-mongolian, texlive-lang-norwegian, texlive-lang-other, texlive-lang-polish, texlive-lang-portuguese, texlive-lang-spanish, texlive-lang-swedish, texlive-lang-vietnamese, texlive-latex-extra, texlive-math-extra, texlive-pictures, texlive-pstricks, texlive-publishers
 11+Depends: apache2-mpm-prefork, librsvg2-bin, dvipng, tetex-bin, tetex-extra, gsfonts, ocaml, ploticus, php5-mysql, php5-curl, php5-xmlrpc, php5-cli, php5-apc, php5-wikidiff2, php5-fss, php5-geoip, libapache2-mod-php5, file, djvulibre-bin, tidy (>= 20070821), libtidy-0.99-0 (>= 20070821), php-pear, rsync, make, xpdf-utils, libtiff-tools
1212 Description: Wikimedia application server
1313 This package depends on all packages needed to setup a standard
1414 application server, and contains the necessary deployment scripts.
Index: branches/hardy/debs/wikimedia-task-appserver/debian/postinst
@@ -55,6 +55,8 @@
5656
5757 create_apache_user
5858
 59+ chown -R pybal-check:pybal-check /var/lib/pybal-check/.ssh
 60+
5961 ;;
6062
6163 abort-upgrade|abort-remove|abort-deconfigure)
Index: branches/hardy/debs/wikimedia-task-appserver/debian/postrm
@@ -23,6 +23,9 @@
2424 deluser apache || true
2525 delgroup apache || true
2626
 27+ # Remove PyBal check user account
 28+ deluser pybal-check
 29+ rm -rf /var/lib/pybal-check
2730 ;;
2831 remove)
2932 ;;
Index: branches/hardy/debs/wikimedia-task-appserver/debian/preinst
@@ -0,0 +1,44 @@
 2+#! /bin/sh
 3+# preinst script for wikimedia-base
 4+#
 5+# see: dh_installdeb(1)
 6+
 7+set -e
 8+
 9+# summary of how this script can be called:
 10+# * <new-preinst> `install'
 11+# * <new-preinst> `install' <old-version>
 12+# * <new-preinst> `upgrade' <old-version>
 13+# * <old-preinst> `abort-upgrade' <new-version>
 14+#
 15+# for details, see http://www.debian.org/doc/debian-policy/ or
 16+# the debian-policy package
 17+
 18+case "$1" in
 19+ install)
 20+ # Create user for the PyBal checks
 21+ adduser --system --home /var/lib/pybal-check --group --disabled-password --shell /bin/sh pybal-check
 22+ ;;
 23+
 24+ upgrade)
 25+ # Create user for the PyBal checks
 26+ adduser --system --home /var/lib/pybal-check --group --disabled-password --shell /bin/sh pybal-check
 27+ ;;
 28+
 29+ abort-upgrade)
 30+ ;;
 31+
 32+ *)
 33+ echo "preinst called with unknown argument \`$1'" >&2
 34+ exit 1
 35+ ;;
 36+esac
 37+
 38+# dh_installdeb will replace this with shell code automatically
 39+# generated by other debhelper scripts.
 40+
 41+#DEBHELPER#
 42+
 43+exit 0
 44+
 45+
Index: branches/hardy/debs/wikimedia-task-appserver/debian/changelog
@@ -1,36 +1,12 @@
2 -wikimedia-task-appserver (2.1-3) lucid-wikimedia; urgency=low
 2+wikimedia-task-appserver (1.48) hardy-wikimedia; urgency=low
33
4 - * Removing pybal user install and remove from preinst and prerm
 4+ * Backported changes from the 2.x branch:
55
6 - -- Ryan Lane <rlane@wikimedia.org> Mon, 4 Feb 2011 22:29:00 +0000
7 -
8 -wikimedia-task-appserver (2.1-2) lucid-wikimedia; urgency=low
9 -
10 - * Merging back in missing changes that Tim made in 1.47
11 -
12 - -- Ryan Lane <rlane@wikimedia.org> Mon, 4 Feb 2011 22:15:00 +0000
13 -
14 -wikimedia-task-appserver (2.1-1) lucid-wikimedia; urgency=low
15 -
166 * Fix sync-common; it previously deleted a directory it was still in,
177 causing the following rsync to die.
188
19 - -- Ryan Lane <rlane@wikimedia.org> Mon, 4 Feb 2011 19:34:00 +0000
 9+ -- Tim Starling <tstarling@wikimedia.org> Thu, 07 Jul 2011 18:03:23 +1000
2010
21 -wikimedia-task-appserver (2.0-2) lucid-wikimedia; urgency=low
22 -
23 - * Change section to net
24 - * Change tetex packages to texlive packages
25 -
26 - -- Ryan Lane <rlane@wikimedia.org> Mon, 4 Feb 2011 19:34:00 +0000
27 -
28 -wikimedia-task-appserver (2.0-1) lucid-wikimedia; urgency=low
29 -
30 - * Adapt to lucid
31 - * Move pybal-check stuff to Puppet
32 -
33 - -- Mark Bergsma <mark@wikimedia.org> Fri, 25 Feb 2011 17:14:13 +0000
34 -
3511 wikimedia-task-appserver (1.47) hardy-wikimedia; urgency=low
3612
3713 * Updated sync scripts for MW 11.17
Index: branches/hardy/debs/wikimedia-task-appserver/debian/rules
@@ -54,6 +54,9 @@
5555 install -m 0750 sync-common apache-sanity-check apache-start check-time scap-1skins scap-1 $(DESTDIR)/usr/bin
5656 install -m 0750 scap-2 set-group-write2 install-common $(DESTDIR)/usr/sbin
5757
 58+ install -d -m 0750 $(DESTDIR)/var/lib/pybal-check/.ssh
 59+ install -m 0640 authorized_keys $(DESTDIR)/var/lib/pybal-check/.ssh/authorized_keys
 60+
5861 # Build architecture-independent files here.
5962 binary-indep: build install
6063 # We have nothing to do by default.

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r85389Updating package for lucid.laner22:51, 4 April 2011

Status & tagging log