summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2016-05-05 20:07:36 +0000
committertron <tron@pkgsrc.org>2016-05-05 20:07:36 +0000
commit64540f899a7d42680c17179dac0c110714220cdb (patch)
tree2ed887b02c03fee17df15050b21590933e1ca074
parentbe8d743c128f796da40fe386cbddb21444fd4cc8 (diff)
downloadpkgsrc-64540f899a7d42680c17179dac0c110714220cdb.tar.gz
Don't attempt to build "keyanalyze" and friends. We don't install those
programs anyway and it breaks the build under at least Mac OS X. After this change we also don't need various "auto*" tools during the build phase.
-rw-r--r--security/caff/Makefile6
-rw-r--r--security/caff/distinfo3
-rw-r--r--security/caff/patches/patch-Makefile14
3 files changed, 17 insertions, 6 deletions
diff --git a/security/caff/Makefile b/security/caff/Makefile
index 18d00b831c2..3c766277c33 100644
--- a/security/caff/Makefile
+++ b/security/caff/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.39 2016/05/05 11:15:57 wiz Exp $
+# $NetBSD: Makefile,v 1.40 2016/05/05 20:07:36 tron Exp $
VERSION= 2.3
DISTNAME= signing-party_${VERSION}.orig
@@ -16,7 +16,6 @@ WRKSRC= ${WRKDIR}
USE_TOOLS+= gmake pod2man
USE_TOOLS+= perl:run
-USE_TOOLS+= autoconf automake autoreconf
DEPENDS+= gnupg>=1.3.92:../../security/gnupg
DEPENDS+= p5-Text-Template-[0-9]*:../../textproc/p5-Text-Template
@@ -37,9 +36,6 @@ SUBST_SED.paths= -e 's,/usr/,${PREFIX}/,g'
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 share/doc/caff share/examples/caff
-pre-build:
- cd ${WRKSRC}/keyanalyze/pgpring && touch NEWS README AUTHORS ChangeLog && autoreconf -fiv
-
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/caff/caff ${DESTDIR}${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/caff/pgp-fixkey ${DESTDIR}${PREFIX}/bin
diff --git a/security/caff/distinfo b/security/caff/distinfo
index 0b284b1a856..5b564677880 100644
--- a/security/caff/distinfo
+++ b/security/caff/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.27 2016/05/05 11:15:57 wiz Exp $
+$NetBSD: distinfo,v 1.28 2016/05/05 20:07:36 tron Exp $
SHA1 (signing-party_2.3.orig.tar.gz) = eb65e32668e0b3fccd8c5e4d73b2aa66761a7e86
RMD160 (signing-party_2.3.orig.tar.gz) = b87a56883d8e93632e4973e73ae1d40a476a80b7
SHA512 (signing-party_2.3.orig.tar.gz) = 5c901a491a4349fd0ab92aa7358c78da141f4616572140f5a4d22f6ba7152e877d5d9734fa0b26477e7c9a49bd972b1fc3047a115f4fd868969387df572fd231
Size (signing-party_2.3.orig.tar.gz) = 196864 bytes
+SHA1 (patch-Makefile) = 728bb40fa8be2f0ac63254f2e86b37ee9fa1199f
diff --git a/security/caff/patches/patch-Makefile b/security/caff/patches/patch-Makefile
new file mode 100644
index 00000000000..3e25c8df7bd
--- /dev/null
+++ b/security/caff/patches/patch-Makefile
@@ -0,0 +1,14 @@
+$NetBSD: patch-Makefile,v 1.1 2016/05/05 20:07:37 tron Exp $
+
+Don't attempt to build "keyanalyze" and related utilties. They don't build
+on systems without SHA1 hash functions in the system library and we don't
+install them in the first place.
+
+--- Makefile.orig 2016-04-25 23:06:10.000000000 +0100
++++ Makefile 2016-05-05 21:02:55.000000000 +0100
+@@ -1,4 +1,4 @@
+-DIRS=caff gpg-key2ps gpg-mailkeys gpgsigs gpglist gpgparticipants keyanalyze keylookup \
++DIRS=caff gpg-key2ps gpg-mailkeys gpgsigs gpglist gpgparticipants keylookup \
+ sig2dot springgraph gpgwrap gpgdir keyart gpg-key2latex
+ VERSION=$(shell dpkg-parsechangelog 2>&1 | perl -ne 'print $$1 if /^Version: ([^-]*)/')
+ DEBVERSION=$(shell dpkg-parsechangelog 2>&1 | perl -ne 'print $$1 if /^Version: (.*)/')