head	1.20;
access;
symbols
	pkgsrc-2026Q1:1.20.0.2
	pkgsrc-2026Q1-base:1.20
	pkgsrc-2025Q4:1.19.0.14
	pkgsrc-2025Q4-base:1.19
	pkgsrc-2025Q3:1.19.0.12
	pkgsrc-2025Q3-base:1.19
	pkgsrc-2025Q2:1.19.0.10
	pkgsrc-2025Q2-base:1.19
	pkgsrc-2025Q1:1.19.0.8
	pkgsrc-2025Q1-base:1.19
	pkgsrc-2024Q4:1.19.0.6
	pkgsrc-2024Q4-base:1.19
	pkgsrc-2024Q3:1.19.0.4
	pkgsrc-2024Q3-base:1.19
	pkgsrc-2024Q2:1.19.0.2
	pkgsrc-2024Q2-base:1.19
	pkgsrc-2024Q1:1.10.0.6
	pkgsrc-2024Q1-base:1.10
	pkgsrc-2023Q4:1.10.0.4
	pkgsrc-2023Q4-base:1.10
	pkgsrc-2023Q3:1.10.0.2
	pkgsrc-2023Q3-base:1.10
	pkgsrc-2023Q2:1.9.0.4
	pkgsrc-2023Q2-base:1.9
	pkgsrc-2023Q1:1.9.0.2
	pkgsrc-2023Q1-base:1.9
	pkgsrc-2022Q4:1.8.0.4
	pkgsrc-2022Q4-base:1.8
	pkgsrc-2022Q3:1.8.0.2
	pkgsrc-2022Q3-base:1.8
	pkgsrc-2022Q2:1.7.0.4
	pkgsrc-2022Q2-base:1.7
	pkgsrc-2022Q1:1.7.0.2
	pkgsrc-2022Q1-base:1.7
	pkgsrc-2021Q4:1.5.0.2
	pkgsrc-2021Q4-base:1.5
	pkgsrc-2021Q3:1.4.0.12
	pkgsrc-2021Q3-base:1.4
	pkgsrc-2021Q2:1.4.0.10
	pkgsrc-2021Q2-base:1.4
	pkgsrc-2021Q1:1.4.0.8
	pkgsrc-2021Q1-base:1.4
	pkgsrc-2020Q4:1.4.0.6
	pkgsrc-2020Q4-base:1.4
	pkgsrc-2020Q3:1.4.0.4
	pkgsrc-2020Q3-base:1.4
	pkgsrc-2020Q2:1.4.0.2
	pkgsrc-2020Q2-base:1.4;
locks; strict;
comment	@# @;


1.20
date	2026.01.04.13.47.59;	author wiz;	state Exp;
branches;
next	1.19;
commitid	EGz9kbJ6PgJb15pG;

1.19
date	2024.05.05.20.56.55;	author nikita;	state Exp;
branches;
next	1.18;
commitid	lB4DKS4IsKk1YQ8F;

1.18
date	2024.05.05.20.50.58;	author nikita;	state Exp;
branches;
next	1.17;
commitid	66YyvwHlj8OZVQ8F;

1.17
date	2024.04.29.20.25.08;	author nikita;	state Exp;
branches;
next	1.16;
commitid	0xPS7lvcTCPRY48F;

1.16
date	2024.04.26.11.09.57;	author nikita;	state Exp;
branches;
next	1.15;
commitid	kTk1ESA13RZD0E7F;

1.15
date	2024.04.25.22.31.24;	author nikita;	state Exp;
branches;
next	1.14;
commitid	BJl1QcHSJLo7Oz7F;

1.14
date	2024.04.25.12.29.44;	author nikita;	state Exp;
branches;
next	1.13;
commitid	Os7XaW6ddgBTtw7F;

1.13
date	2024.04.24.21.21.29;	author nikita;	state Exp;
branches;
next	1.12;
commitid	Sp1FB4ngbChqsr7F;

1.12
date	2024.04.24.20.27.39;	author nikita;	state Exp;
branches;
next	1.11;
commitid	fscZFn4U5peI9r7F;

1.11
date	2024.04.17.10.38.35;	author wiz;	state Exp;
branches;
next	1.10;
commitid	yoaqKAZMw37L7u6F;

1.10
date	2023.08.14.05.25.10;	author wiz;	state Exp;
branches;
next	1.9;
commitid	LOSB79OLVxvXjIAE;

1.9
date	2023.01.22.19.36.02;	author nikita;	state Exp;
branches;
next	1.8;
commitid	uCBS0JtIkweAAzaE;

1.8
date	2022.06.30.11.18.47;	author nia;	state Exp;
branches;
next	1.7;
commitid	AhctUV91Vubws3KD;

1.7
date	2022.02.24.21.29.12;	author nikita;	state Exp;
branches;
next	1.6;
commitid	QJixJ3F4KjDlTUtD;

1.6
date	2022.02.01.20.00.56;	author nikita;	state Exp;
branches;
next	1.5;
commitid	5iKiy1ZvIcqr8XqD;

1.5
date	2021.09.29.19.35.55;	author schmonz;	state Exp;
branches;
next	1.4;
commitid	3JMybIBA2ddB1TaD;

1.4
date	2020.06.16.11.46.57;	author nikita;	state Exp;
branches;
next	1.3;
commitid	XWAXFBZ59oCkxrcC;

1.3
date	2020.06.16.11.34.40;	author nikita;	state Exp;
branches;
next	1.2;
commitid	L68CHwWXN142trcC;

1.2
date	2020.06.16.11.02.44;	author nikita;	state Exp;
branches;
next	1.1;
commitid	HbG3cZPia506ircC;

1.1
date	2020.06.16.10.30.32;	author nikita;	state Exp;
branches;
next	;
commitid	IxgmdjY3H8nJ6rcC;


desc
@@


1.20
log
@passphrase: mark as broken

Does not build with zig-0.14

Upstream says this project is dead and recommends pp instead.
@
text
@# $NetBSD: Makefile,v 1.19 2024/05/05 20:56:55 nikita Exp $

DISTNAME=	1.8.1
PKGNAME=	passphrase-1.8.1
PKGREVISION=	2
DIST_SUBDIR=	passphrase-1
CATEGORIES=	security
MASTER_SITES=	https://codeberg.org/owl/passphrase/archive/

MAINTAINER=	nikita@@NetBSD.org
HOMEPAGE=	https://codeberg.org/owl/passphrase
COMMENT=	Zero-dependency passphrase generator
LICENSE=	mit

WRKSRC=		${WRKDIR}/passphrase

# Temporary required, a zig build system parser is being written.
ALLOW_NETWORK_ACCESS=yes
# build.zig.zon:2:13: error: expected enum literal
#    .name = "passphrase",
# https://github.com/ziglang/zig/issues/20178
# project itself is archived:
# https://codeberg.org/owl/passphrase
# "I don't feel like keeping up with zig, so this is archived. Check out pp instead. https://codeberg.org/owl/pp"
BROKEN=		"Broken with zig-0.14"

ZIGBUILDARGS+=	-Dman-dir=${PKGMANDIR}

.include "zig-depends.mk"

CONFLICTS+=	py[0-9]*-pyutil-[0-9]*

.include "../../lang/zig/application.mk"
.include "../../mk/bsd.pkg.mk"
@


1.19
log
@zls, passphrase, ncdu2: enable build (comment added)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.18 2024/05/05 20:50:58 nikita Exp $
d19 7
@


1.18
log
@zls, ncdu2, passphrase: mark as broken while I'm working on the fix.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.17 2024/04/29 20:25:08 nikita Exp $
d17 2
a18 1
BROKEN=	"Temporary broken as a zig build system parser is being finalised"
@


1.17
log
@passphrase: zig dependencies
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.16 2024/04/26 11:09:57 nikita Exp $
d17 2
@


1.16
log
@passphrase: change distdir
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.15 2024/04/25 22:31:24 nikita Exp $
d5 1
a5 1
PKGREVISION=	1
d19 2
@


1.15
log
@passphrase: upstream has moved.

regen distinfo, as archive structure has changed (one renamed folder), resulting
in a new checksum.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.14 2024/04/25 12:29:44 nikita Exp $
d5 2
a6 1
DIST_SUBDIR=	passphrase
@


1.14
log
@passphrase: update to version 1.8.1

Changelog:

add man-dir option, in case it's not "share/"
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.13 2024/04/24 21:21:29 nikita Exp $
d7 1
a7 1
MASTER_SITES=	https://git.sr.ht/~alva/passphrase/archive/
d10 1
a10 1
HOMEPAGE=	https://git.sr.ht/~alva/passphrase
d14 1
a14 1
WRKSRC=		${WRKDIR}/${PKGNAME_NOREV}
@


1.13
log
@passphrase: fix strip
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.12 2024/04/24 20:27:39 nikita Exp $
d3 2
a4 2
DISTNAME=	1.8
PKGNAME=	passphrase-1.8
d16 2
a19 6
SUBST_CLASSES+=		mandir
SUBST_STAGE.mandir=	pre-build
SUBST_MESSAGE.mandir=	replacing mandir location
SUBST_FILES.mandir=	build.zig
SUBST_SED.mandir+=	-e 's|"share",||g'

@


1.12
log
@passphrase: update to version 1.8

Changelog:

7a006f8 (HEAD -> trunk, tag: 1.8, origin/trunk, origin/HEAD) keep up with zig
31be368 keep up with zig build system
475e2be fix `var`nings
0946b8b nicer password loop
b210ec2 add some roff helpers
b898862 generate manpage with zig, instead of scdoc
4be51e5 add build option for embedded wordlist
e232abe no need to unmap
46d30ca better way to check for pipe?
94a085d don't unmap embedded wordlist
faf0159 embed default wordlist
e72413f add random symbol/digit after random word instead of last
293c270 (tag: 1.7) support dictionary on stdin
50972ea add test with fulani
f2432be add test for unfoldable unicode
6cb2d5b cleanups
e1b505a clean up file mapping and default dictionary path
8d9fa74 clean up build.zig
6902c00 pass allocator to clap and remove argsAlloc
5978828 fix separator option
e8fdd34 improve build
f79faf9 update man page
1bac0b9 set custom clap parsers
6bb4daa replace custom unicode functions with ziglyph
01da4ae switch to clap
85d8b6d (tag: 1.6) Fix python bug
c6dd15c Update name
24875dc OpenBSD always wants PIE 😋
4b7e483 Add type hints to gen.py to aid porting
b777cd3 Update build.zig
2ecbf2e Zig build system updates
57f8a42 Update README
a2910ff Updates for Zig master
d58d712 Strip on release builds if no preference specified
c4666ee No need for `// zig fmt: off`
d350f98 Remove unneccessary `@@"special identifiers"`
ff0c553 Update Unicode data
a3c8fb8 Factor out repetitive test code
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.11 2024/04/17 10:38:35 wiz Exp $
a15 4
.if ${MKDEBUG:Uyes:M[yY][eE][sS]} && ${INSTALL_UNSTRIPPED:Uyes:tl} == yes
ZIGBUILDARGS+=		-Dstrip=true
.endif

@


1.11
log
@*: fix some CONFLICTS lines

Noted by riastradh@@ in PR 58155.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.10 2023/08/14 05:25:10 wiz Exp $
d3 2
a4 3
DISTNAME=	1.5
PKGNAME=	passphrase-1.5
PKGREVISION=	1
a15 4
# \todo: There is currently an issue building this as RELRO.
RELRO_SUPPORTED=	no

ZIGBUILDARGS=		-Dpie=true
d26 1
a26 1
SUBST_SED.mandir+=	-e 's,"share" ++ sep ++ "man","${PKGMANDIR}",g'
@


1.10
log
@*: recursive bump for Python 3.11 as new default
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.9 2023/01/22 19:36:02 nikita Exp $
d25 1
a25 3
.include "../../lang/python/pyversion.mk"
CONFLICTS+=	${PYPKGPREFIX}-pyutil-[0-9]*

@


1.9
log
@passphrase: Update to version 1.5


ChangeLog:
  Zig 0.10.1 fixes
  Add build options for PIE and strip
  Compatibility updates for Zig master
  Update README.md to match new defaults
  build: Use stable zig package
  Updates for stage2
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.8 2022/06/30 11:18:47 nia Exp $
d5 1
@


1.8
log
@*: Revbump packages that use Python at runtime without a PKGNAME prefix
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 2022/02/24 21:29:12 nikita Exp $
d3 2
a4 3
DISTNAME=	1.2
PKGNAME=	passphrase-1.2
PKGREVISION=	1
d9 1
a9 1
MAINTAINER=	pkgsrc-users@@NetBSD.org
d16 1
a16 4
# \todo: There is currently an issue building this as a PIE, despite the
# buildsystem targeting it as a PIE.
MKPIE_SUPPORTED=	no
# RELRO checks fail for this package at the moment
d19 5
@


1.7
log
@security/passphrase: don't use RELRO for now.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 2022/02/01 20:00:56 nikita Exp $
d5 1
@


1.6
log
@passphrase: Update to 1.2

Changelog from https://git.sr.ht/~alva/passphrase/refs/1.2
1.2
	Zig 0.9.0 compatibility
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2021/09/29 19:35:55 schmonz Exp $
d19 2
@


1.5
log
@Update to 1.1 to fix build with pkgsrc zig. From the changelog:

- Update to Zig 0.8.0
- Fix password length option
- Updates for Zig 0.7.0
- Add password option
- Handle empty/malformed files
- Add contrib folder and script that prepares wordlists
- Replace default wordlist
  The previous wordlist was derived from an English dictionary from
  LibreOffice. It contained slurs and other hurtful words. It is
  replaced with the EFF long wordlist. I apologise for including the
  LibreOffice dictionary.
- Clean up options parsing
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2020/06/16 11:46:57 nikita Exp $
d3 2
a4 2
DISTNAME=	1.1
PKGNAME=	passphrase-1.1
d16 4
d23 1
@


1.4
log
@pyversion
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2020/06/16 11:34:40 nikita Exp $
d3 2
a4 2
DISTNAME=	1.0.0
PKGNAME=	passphrase-1.0.0
@


1.3
log
@py-pyutil, passphrase: Add CONFLICTS entry.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2020/06/16 11:02:44 nikita Exp $
d16 1
a16 1
.include "../../lang/python/egg.mk"
@


1.2
log
@security/passphrase: simplify, use application.mk
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1 2020/06/16 10:30:32 nikita Exp $
d16 3
@


1.1
log
@Add security/passphrase version 1.0.0

Passphrase is a zero-dependency passphrase generator.

It is pretty fast (over 6000 times faster than
bitwarden's "bw generate -p",) and you can use any wordlist.
An English wordlist is included, and is the default.
@
text
@d1 1
a1 1
# $NetBSD$
a13 4
USE_LANGUAGES=	c

BUILD_DEPENDS+=	zig>=0.6:../../lang/zig

d22 1
a22 9
do-build:
	cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} zig build -Drelease-fast

do-install:
	cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} zig build install -Drelease-fast --prefix ${DESTDIR}${PREFIX}

do-test:
	cd ${WRKSRC} && ${SETENV} ${TEST_ENV} zig build test

@

