Re: Michael Stapelberg 2014-07-30 
<[email protected]>
> please add the attached systemd service file.

Hi Michael,

thanks for the patch.

> --- a/debian/control
> +++ b/debian/control
> @@ -4,7 +4,7 @@ Priority: optional
>  Maintainer: Debian PostgreSQL Maintainers 
> <[email protected]>
>  Uploaders: Christoph Berg <[email protected]>
>  Build-Depends: debhelper (>= 9), libpq-dev, postgresql-server-dev-all (>= 
> 148~),
> - libpam0g-dev, libssl-dev, libmemcached-dev, dh-autoreconf,
> + libpam0g-dev, libssl-dev, libmemcached-dev, dh-autoreconf, dh-systemd (>= 
> 1.19),

We'd like to maintain compatibility with older Debian and Ubuntu
releases which dont' have dh-systemd. Is there a B-D line that works
on all releases, but only pulls in dh-systemd where it actually
exists? Possibly something like

Build-Depends: dh-systemd (>= 1.19) | sysvinit (<< 2.88dsf-42)

debian/rules would then make the use of dh --with systemd depend on
the actually installed packages.

The relevant versions are:

$ rmadison -uubuntu,debian sysvinit
ubuntu:
 sysvinit | 2.87dsf-4ubuntu17       | lucid           | source
 sysvinit | 2.87dsf-4ubuntu17.5     | lucid-updates   | source
 sysvinit | 2.88dsf-13.10ubuntu11   | precise         | source
 sysvinit | 2.88dsf-13.10ubuntu11.1 | precise-updates | source
 sysvinit | 2.88dsf-41ubuntu6       | trusty          | source
 sysvinit | 2.88dsf-41ubuntu16      | utopic          | source
debian:
 sysvinit | 2.88dsf-13.1+squeeze1 | squeeze      | source, amd64, armel, i386, 
ia64, kfreebsd-amd64, kfreebsd-i386, mips, mipsel, powerpc, s390, sparc
 sysvinit | 2.88dsf-41+deb7u1     | wheezy       | source, amd64, armel, armhf, 
i386, ia64, kfreebsd-amd64, kfreebsd-i386, mips, mipsel, powerpc, s390, s390x, 
sparc
 sysvinit | 2.88dsf-53.2          | jessie       | source, amd64, armel, armhf, 
i386, kfreebsd-amd64, kfreebsd-i386, mips, mipsel, powerpc, s390x
 sysvinit | 2.88dsf-53.2          | sid          | source, amd64, armel, armhf, 
hurd-i386, i386, kfreebsd-amd64, kfreebsd-i386, mips, mipsel, powerpc, s390x, 
sparc
 sysvinit | 2.88dsf-55.2          | experimental | source, amd64, armel, armhf, 
hurd-i386, i386, kfreebsd-amd64, kfreebsd-i386, mips, mipsel, powerpc, s390x, 
sparc

$ rmadison -uubuntu,debian dh-systemd
ubuntu:
 dh-systemd | 1.14        | trusty | all
 dh-systemd | 1.20ubuntu3 | utopic | all
debian:
 dh-systemd | 1.18~bpo70+1 | wheezy-backports | all
 dh-systemd | 1.20         | jessie           | all
 dh-systemd | 1.20         | sid              | all


Christoph
-- 
[email protected] | http://www.df7cb.de/

_______________________________________________
Pkg-postgresql-public mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-postgresql-public

Reply via email to