pkgsrc/security/p5-GnuPG-Interface/options.mk
wiz 269951909f p5-GnuPG-Interface: update to 1.02.
1.02 - 2021-04-09
 - Work around an issue with CLI options for deleting secret keys in gpg 2.2

1.01 - 2021-01-26
 - Make $gnupg->call('foo') update the internal GnuPG version number.
 - Localize tainted PATH env to make exec happy
2021-04-27 12:13:11 +00:00

28 lines
770 B
Makefile

# $NetBSD: options.mk,v 1.7 2021/04/27 12:13:11 wiz Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.p5_GnuPG_Interface
PKG_OPTIONS_REQUIRED_GROUPS= gnupg
PKG_OPTIONS_GROUP.gnupg= gnupg1 gnupg2
PKG_SUGGESTED_OPTIONS= gnupg2
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mgnupg2)
DEPENDS+= gnupg2>=2.2:../../security/gnupg2
SUBST_CLASSES+= gpg
SUBST_SED.gpg+= -e "s,'gpg','gpg2',g"
SUBST_FILES.gpg+= lib/GnuPG/Interface.pm
SUBST_STAGE.gpg= pre-configure
SUBST_MESSAGE.gpg= Fixing path to gnupg binary.
SUBST_CLASSES+= gpg2
SUBST_SED.gpg2+= -e "s,gpg,gpg2,g"
SUBST_FILES.gpg2+= Makefile.PL
SUBST_STAGE.gpg2= pre-configure
SUBST_MESSAGE.gpg2= Fixing path to gnupg binary.
.endif
.if !empty(PKG_OPTIONS:Mgnupg1)
DEPENDS+= gnupg>=1.4.2:../../security/gnupg
.endif