[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / security / sks

File: [cvs.NetBSD.org] / pkgsrc / security / sks / Makefile (download)

Revision 1.10, Tue Jun 3 08:28:50 2014 UTC (4 years, 8 months ago) by pettai
Branch: MAIN
CVS Tags: pkgsrc-2014Q3-base, pkgsrc-2014Q3, pkgsrc-2014Q2-base, pkgsrc-2014Q2
Changes since 1.9: +3 -4 lines

  - Fixes for machine-readable indices. Key expiration times are now read
    from self-signatures on the key's UIDs. In addition, instead of 8-digit
    key IDs, index entries now return the most specific key ID possible:
    16-digit key ID for V3 keys, and the full fingerprint for V4 keys.
  - Add metadata information (number of keys, number of files,
    checksums, etc) to key dump. This allows for information on the
    key dump ahead of download/import, and direct verification of checksums
    using md5sum -c <metadata-file>.
  - Replaced occurrances of the deprecated operator 'or' with '||' (BB issue #2)
  - Upgraded to cryptlib-1.7 and own changes are now packaged as separate
    patches that is installed during 'make'. Added the SHA-3 algorithm, Keccak
  - Option max_matches was setting max_internal_matches. Fixed (BB issue #4)
  - op=hget now supports option=mr for completeness (BB issue #17)
  - Add CORS header to web server responses. Allows JavaScript code to
    interact with keyservers, for example the OpenPGP.js project.
  - Change the default hkp_address and recon_address to making the
    default configuration support IPv6. (Requires OCaml 3.11.0 or newer)
  - Only use '-warn-error A' if the source is marked as development as per
    the version suffix (+) (part of BB Issue #2)
  - Reduce logging verbosity for debug level lower than 6 for (i) bad requests,
    and (ii) no results found (removal of HTTP headers in log) (BB Issue #13)
  - Add additional OIDs for ECC RFC6637 style implementations
    (brainpool and secp256k1) (BB Issue #25) and fix issue for 32 bit arches.
  - Fix a non-persistent cross-site scripting possibility resulting from
    improper input sanitation before writing to client. (BB Issue #26 | CVE-2014-3207)

# $NetBSD: Makefile,v 1.10 2014/06/03 08:28:50 pettai Exp $

DISTNAME=	sks-1.1.5
CATEGORIES=	security
MASTER_SITES=	https://bitbucket.org/skskeyserver/sks-keyserver/downloads/

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	https://bitbucket.org/skskeyserver/
COMMENT=	Self Replicating PGP Key Server
LICENSE=	gnu-gpl-v2


BUILDLINK_API_DEPENDS.ocaml+=	ocaml>=3.10.2
BUILDLINK_API_DEPENDS.db4+=	db4>=4.6.0

REPLACE_SH=	sks_build.sh

USE_TOOLS+=	gmake perl:run tar

EGDIR=		${PREFIX}/share/examples/sks

MAKE_ENV+=	LIBDB=-ldb4 \


.include "../../lang/ocaml/buildlink3.mk"
.include "../../databases/db4/buildlink3.mk"

	cd ${WRKSRC} && ${MAKE_PROGRAM} dep

	cd ${WRKSRC} && ${MAKE_PROGRAM} sks.8
	${INSTALL_PROGRAM} ${WRKSRC}/sks_add_mail ${DESTDIR}${PREFIX}/bin
	${INSTALL_SCRIPT} ${WRKSRC}/sks_build.sh ${DESTDIR}${PREFIX}/bin
	${INSTALL_DATA} ${WRKSRC}/sampleConfig/aliases.sample \
	${INSTALL_DATA} ${WRKSRC}/sampleConfig/crontab.sample \
	${INSTALL_DATA} ${WRKSRC}/sampleConfig/mailsync ${DESTDIR}${EGDIR}
	${INSTALL_DATA} ${WRKSRC}/sampleConfig/membership ${DESTDIR}${EGDIR}
	${INSTALL_DATA} ${WRKSRC}/sampleConfig/procmailrc ${DESTDIR}${EGDIR}
	${INSTALL_DATA} ${WRKSRC}/sampleConfig/sksconf.minimal \
	${INSTALL_DATA} ${WRKSRC}/sampleConfig/sksconf.typical \

.include "../../devel/zlib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"