[pkg-horde] Bug#514007: Please add horde PEAR channel in horde3 package

Mathieu Parent math.parent at gmail.com
Tue Feb 3 11:57:54 UTC 2009


Package: horde3
Version: 3.2.2+debian0-2
Severity: normal
Tags: patch

Hi,

We, the Kolab maintainers, have packaged some php-kolab-* packages. The
upstream sourcecode is from pear.horde.org. In fact those are horde
packages.

We are using dh_make_php which call "pear install"... which requires
that the Horde PEAR channel is discovered.

I have made a simple package pear-horde-channel that only does this
(registering horde channel). Unfortunately, it has been rejected [1]
because it is too small. The ftp-master ask to find a proper place for
this. It probably is horde3. Comments are welcome.

How to?

Add this to postinst:
--------------------
case "$1" in
    configure)
        pear channel-discover pear.horde.org || true
    ;;

    abort-upgrade|abort-remove|abort-deconfigure)
    ;;

    *)
        echo "postinst called with unknown argument \`$1'" >&2
        exit 1
    ;;
esac

Add this to prerm:
------------------
case "$1" in
    remove|upgrade|deconfigure)
        pear channel-delete pear.horde.org || true
    ;;

    failed-upgrade)
    ;;

    *)
        echo "prerm called with unknown argument \`$1'" >&2
        exit 1
    ;;
esac


NB: This is linked to bug #510660.
[1]: http://lists.alioth.debian.org/pipermail/pkg-kolab-devel/2009-February/002142.html





More information about the pkg-horde-hackers mailing list