pkgsrc/security/caff/Makefile
wiz 86b9bf1c9e Update to 1.1.4:
signing-party (1.1.4-1) unstable; urgency=low
 .
   [ Thijs Kinkhorst ]
   * caff:
     + Correct path of ~/.caffrc in informational messages (Closes: #582603).
     + Be more verbose on unexpected key ID (Closes: #645792).
   * gpg-key2ps:
     + Apply patch from Uwe Kleine-König to deal with latin1 characters
       (Closes: #596377).
 .
   [ Franck Joncourt ]
   * gpg-mailkeys:
     + Correct path of ~/.gpg-mailkeysrc and ~/.signature in manpage.
     + Add new environment variable SENDMAIL_ARGS to allow user to pass
       arguments to sendmail (closes: #599409).
   * caff:
     + Refactor import of own key and import for keys to sign from keyrings.
     + Also automatically import keys to sign from the user's normal gpg
       keyrings.
     + Use --no-auto-check-trustdb when importing keys from files or
       the user's normal gpg keyrings (closes: #539643).
 .
   [ Peter Palfrader ]
   * caff:
     + manpage: Refer to all of /usr/share/doc/signing-party/caff/ and not
       just to /usr/share/doc/signing-party/caff/caffrc.sample
       (closes: #568052).
     + Fix horrible &function calls used because of broken prototypes.
     + Even if all keys to sign were found in the user's normal gpg
       keyrings we still need to import them (again) from any keyrings
       passed with --key-files - the keys there might be newer, containing
       new subkeys (for encryption), uids (for signing) or revocations.
     + Make importing of keys to be signed from the normal gpg optional
       (--keys-from-gnupg).
     + refactor copying of command line options into global config variable.
     + Create the mail files in ~/.caff/keys even if mail is not sent
       (closes: #590666).
2011-11-28 16:36:57 +00:00

64 lines
3 KiB
Makefile

# $NetBSD: Makefile,v 1.19 2011/11/28 16:36:57 wiz Exp $
DISTNAME= signing-party_1.1.4.orig
PKGNAME= ${DISTNAME:S/signing-party_/caff-/S/.orig//}
CATEGORIES= security
MASTER_SITES= ${MASTER_SITE_DEBIAN:=pool/main/s/signing-party/}
MAINTAINER= ghen@NetBSD.org,tonio@NetBSD.org
HOMEPAGE= http://pgp-tools.alioth.debian.org/
COMMENT= Various GnuPG related tools
LICENSE= gnu-gpl-v2 AND modified-bsd
PKG_DESTDIR_SUPPORT= user-destdir
WRKSRC= ${WRKDIR}/${DISTNAME:S/_/-/:S/.orig//}
USE_TOOLS+= gmake pod2man
USE_TOOLS+= perl:run
DEPENDS+= gnupg>=1.3.92:../../security/gnupg
DEPENDS+= p5-Text-Template-[0-9]*:../../textproc/p5-Text-Template
DEPENDS+= p5-MIME-tools-[0-9]*:../../mail/p5-MIME-tools
DEPENDS+= p5-GnuPG-Interface-[0-9]*:../../security/p5-GnuPG-Interface
DEPENDS+= dialog>=1.0:../../misc/dialog
REPLACE_PERL+= caff/caff caff/pgp-fixkey caff/pgp-clean \
gpg-key2ps/gpg-key2ps gpgsigs/gpgsigs \
gpglist/gpglist keylookup/keylookup
SUBST_CLASSES+= paths
SUBST_MESSAGE.paths= Fixing hardcoded paths.
SUBST_STAGE.paths= pre-configure
SUBST_FILES.paths= caff/caff keylookup/keylookup.1
SUBST_SED.paths= -e 's,/usr/,${PREFIX}/,g'
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 share/doc/caff share/examples/caff
.include "../../mk/bsd.prefs.mk"
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/caff/caff ${DESTDIR}${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/caff/pgp-fixkey ${DESTDIR}${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/caff/pgp-clean ${DESTDIR}${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/gpg-key2ps/gpg-key2ps ${DESTDIR}${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/gpgsigs/gpgsigs ${DESTDIR}${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/gpglist/gpglist ${DESTDIR}${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/keylookup/keylookup ${DESTDIR}${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/gpg-mailkeys/gpg-mailkeys ${DESTDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/caff/caff.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
${INSTALL_MAN} ${WRKSRC}/caff/pgp-fixkey.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
${INSTALL_MAN} ${WRKSRC}/caff/pgp-clean.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
${INSTALL_MAN} ${WRKSRC}/gpg-key2ps/gpg-key2ps.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
${INSTALL_MAN} ${WRKSRC}/gpgsigs/gpgsigs.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
${INSTALL_MAN} ${WRKSRC}/gpglist/gpglist.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
${INSTALL_MAN} ${WRKSRC}/keylookup/keylookup.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
${INSTALL_MAN} ${WRKSRC}/gpg-mailkeys/gpg-mailkeys.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
${INSTALL_DATA} ${WRKSRC}/caff/README ${DESTDIR}${PREFIX}/share/doc/caff
${INSTALL_DATA} ${WRKSRC}/caff/README.many-keys ${DESTDIR}${PREFIX}/share/doc/caff
${INSTALL_DATA} ${WRKSRC}/caff/README.gpg-agent ${DESTDIR}${PREFIX}/share/doc/caff
${INSTALL_DATA} ${WRKSRC}/caff/caffrc.sample ${DESTDIR}${PREFIX}/share/examples/caff
${INSTALL_DATA} ${WRKSRC}/gpgsigs/gpgsigs-lt2k5.txt ${DESTDIR}${PREFIX}/share/examples/caff
${INSTALL_DATA} ${WRKSRC}/gpgsigs/gpgsigs-lt2k5-annotated.txt ${DESTDIR}${PREFIX}/share/examples/caff
.include "../../mk/bsd.pkg.mk"