tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: seahorse and gpg
On Thu, 29 Oct 2015 12:31:08 +0100
Richard PALO <richard%netbsd.org@localhost> wrote:
> pbulk balks at seahorse, which seems to compile fine normally. It appears
> to come from a missing dependency on gpg (implicit via gpgme?).
>
> I tried the following quick hack:
> > richard@omnis:/home/richard/src/pkgsrc/security/seahorse$ git diff ../gpgme
> > diff --git a/security/gpgme/buildlink3.mk b/security/gpgme/buildlink3.mk
> > index bf9de4f..678952f 100644
> > --- a/security/gpgme/buildlink3.mk
> > +++ b/security/gpgme/buildlink3.mk
> > @@ -17,9 +17,17 @@ pkgbase:= gpgme
> > .include "../../mk/pkg-build-options.mk"
> >
> > .if !empty(PKG_BUILD_OPTIONS.gpgme:Mgpgsm)
> > +. if !empty(PKG_BUILD_OPTIONS.gpgme:Mgnupg21)
> > +DEPENDS+= gnupg21>=2.1:../../security/gnupg21
> > +. else
> > +DEPENDS+= gnupg2>=2.0<2.1:../../security/gnupg2
> > +. endif
> > GPGME_GPG= ${PREFIX}/bin/gpg2
> > +CONFIGURE_ARGS+= ac_cv_path_GNUPG=${GPGME_GPG}
> > .else
> > +DEPENDS+= gnupg>=1.4.2:../../security/gnupg
> > GPGME_GPG= ${PREFIX}/bin/gpg
> > +CONFIGURE_ARGS+= ac_cv_path_GNUPG=${GPGME_GPG}
> > .endif
> >
> > .endif # GPGME_BUILDLINK3_MK
>
> which seems to now build okay, but is this reasonable? Too me it seems convoluted...
> Could someone a bit more familiar with these waters take a look?
Looks OK to me. Even if convoluted, it is needed to unbreak things after
my options.mk change and should be committed.
> I believe there may be other "issues" around gpg use elsewhere where there
> may be a better solution. BTW, why are there so many flavours?
Beats me. 2.1 looks like it should have replaced 2.0 instead of being
a new package. Having multiple versions of packages toggled by options
makes binary packages useless.
-Tobias
Home |
Main Index |
Thread Index |
Old Index