diff -u plr-8.2.0.1/debian/control plr-8.2.0.1/debian/control --- plr-8.2.0.1/debian/control +++ plr-8.2.0.1/debian/control @@ -1,7 +1,8 @@ Source: plr Priority: optional Section: libs -Maintainer: Martin Pitt +Maintainer: Ubuntu MOTU Developers +XSBC-Original-Maintainer: Martin Pitt Uploaders: Oliver Elphick Build-Depends: debhelper (>= 4.0.0), postgresql-server-dev-8.2, r-base-core Standards-Version: 3.7.2 diff -u plr-8.2.0.1/debian/changelog plr-8.2.0.1/debian/changelog --- plr-8.2.0.1/debian/changelog +++ plr-8.2.0.1/debian/changelog @@ -1,3 +1,11 @@ +plr (1:8.2.0.1-1ubuntu1) gutsy; urgency=low + + * Set R_HOME environment variable in postgresql environment file + (LP: #130059) + * Update Maintainer field in debian/control + + -- Luca Falavigna Fri, 03 Aug 2007 09:23:00 +0000 + plr (1:8.2.0.1-1) unstable; urgency=low * New upstream version, now works with PostgreSQL 8.2. only in patch2: unchanged: --- plr-8.2.0.1.orig/debian/postinst +++ plr-8.2.0.1/debian/postinst @@ -0,0 +1,27 @@ +#!/bin/sh +# postinst script for plr + +set -e + +case "$1" in + configure) + for cluster in `pg_lsclusters -h | awk '{print $1"/"$2;}'` + do + echo "R_HOME = '/usr/lib/R'" >> /etc/postgresql/$cluster/environment + done + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +#DEBHELPER# + +exit 0 + + only in patch2: unchanged: --- plr-8.2.0.1.orig/debian/postrm +++ plr-8.2.0.1/debian/postrm @@ -0,0 +1,24 @@ +#!/bin/sh +# postrm script for plr + +set -e + +case "$1" in + purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) + for cluster in `pg_lsclusters -h | awk '{print $1"/"$2;}'` + do + sed -i "/R_HOME = '\/usr\/lib\/R'/,/^$/d" /etc/postgresql/$cluster/environment + done + ;; + + *) + echo "postrm called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +#DEBHELPER# + +exit 0 + +