head	1.2;
access;
symbols;
locks; strict;
comment	@# @;


1.2
date	2026.11.19.01.18.03;	author agc;	state Exp;
branches;
next	1.1;
commitid	hAF8HS5Z5sWSA04H;

1.1
date	2026.11.01.18.07.19;	author agc;	state Exp;
branches;
next	;
commitid	LhrzItJpKAEZLM1H;


desc
@@


1.2
log
@security/libmldsa and mldsa, and new security/mlsignify: update to version 20261118

Changes from previous version:

	Bump mldsa to version 20261118

	+ add embryonic mlsignify.1 man page
	+ spruce up the mldsa.1 man page
	+ fixup the Makefile.*.in files
	+ specify the other options on the command line for mlsignify(1)

pkgsrc changes:

	+ add an mlsignify package, which does the same work as mldsa,
	  but attempts to use the same command line options as the signify
	  utility. Note that even though not all signify(1) options make sense
	  to mlsignify(1), they are recognised, in an attempt to provide
	  compatibility
@
text
@# $NetBSD: Makefile,v 1.1 2026/11/01 18:07:19 agc Exp $

DISTNAME=		mldsa-${VERSION}
PKGNAME=		libmldsa-${VERSION}
VERSION=		20261118
CATEGORIES=		security
MASTER_SITES=		-${MASTER_SITE_CODEBERG:=agc-codeberg/mldsa/archive/${VERSION}.tar.gz}

MAINTAINER=		agc@@NetBSD.org
HOMEPAGE=		https://codeberg.org/agc-codeberg/mldsa/
COMMENT=		ML-DSA-65 post-quantum signing and verification
LICENSE=		mit

WRKSRC=			${WRKDIR}/mldsa/dist

USE_LANGUAGES=		c

GNU_CONFIGURE=		yes
USE_LIBTOOL=		yes
MAKE_FILE=		Makefile.libtool
AUTO_MKDIRS=		yes
TEST_TARGET=		t

_WRAP_EXTRA_ARGS.CC+=	${_RELRO_LDFLAGS}
CWRAPPERS_PREPEND.cc+=	${_RELRO_LDFLAGS}

.include "../../security/liboqs/buildlink3.mk"

BUILDLINK_API_DEPENDS.openssl+= openssl>=3.5	# needed for ML-DSA-65
.include "../../security/openssl/buildlink3.mk"

.include "../../mk/bsd.pkg.mk"
@


1.1
log
@Add the library part of pkgsrc/security/mldsa functionality into its own package

Thanks to wiz for pointing out my oversight
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2026/10/30 21:34:16 agc Exp $
d5 1
a5 1
VERSION=		20261029
@

