----- Original Message -----
> On 08/05/15 08:51, Lukas Berk wrote:
> >> ...
> >> postfix-perl-scripts is needed by pcp-pmda-postfix-3.10.5-4.i586
>
> > Thanks for catching this, I've commited what I believe is the proper fix
> > to my lberk/dev branch. I'll send out a pcp-updates mail shortly with a
> > few other patches.
>
> Lukas,
>
> I've cherry-picked these, thanks. And they resolve the compat dependency
> ones.
>
> But the postfix PMDA is a real problem!
>
> 1. in this version of opensuse there is no postfix-perl-scripts rpm
> 2. there is (non-executable!) qshape.pl hidden in an obscure place in the
> postfix-docs rpm (!!)
> 3. there is already a guard in the pmda's Install script checking for an
> executable qshape
>
> I think we should drop the (newly added?) Requires: clause here so builds
> will work everywhere and perhaps add some extra verbage from the pmda's
> Install script to provide advice on where to find qshape for the various
> platforms, e.g. this would seem to be the advice for opensuse13.1
Maybe use:
%if "%{_vendor}" == "redhat"
around the dependency, since we really want it kept for Fedora & RHEL.
> (a) install postfix-docs
(and maybe a vendor == "suse" for that dependency)?
> (b) sudo chmod 755
> /usr/share/doc/packages/postfix-doc/auxiliary/qshape/qshape.pl
> (c) sudo ln -s /usr/share/doc/packages/postfix-doc/auxiliary/qshape/qshape.pl
> /usr/bin/qshape
>
That's not going to be end-user-friendly (ideally, it'd work out-of-the-box).
We could avoid those steps via Install finding an appropriate location
and passing it to the PMDA via configuration file, then running it with
"perl $PCP_POSTFIX_QSHAPE" and passing (to avoid the chmod).
cheers.
--
Nathan
|