NetBSD Problem Report #60328
From www@netbsd.org Sat Jun 13 15:19:25 2026
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
key-exchange X25519 server-signature RSA-PSS (2048 bits)
client-signature RSA-PSS (2048 bits))
(Client CN "mail.netbsd.org", Issuer "R13" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id 72E691A923B
for <gnats-bugs@gnats.NetBSD.org>; Sat, 13 Jun 2026 15:19:25 +0000 (UTC)
Message-Id: <20260613151924.593D61A923C@mollari.NetBSD.org>
Date: Sat, 13 Jun 2026 15:19:24 +0000 (UTC)
From: hubertf@gmx.de
Reply-To: hubertf@gmx.de
To: gnats-bugs@NetBSD.org
Subject: pkgsrc/security/john doesn't find it's john.ini file
X-Send-Pr-Version: www-1.0
X-From4GNATS: "hubertf@gmx.de via gnats" <gnats-admin@NetBSD.org>
>Number: 60328
>Category: pkg
>Synopsis: pkgsrc/security/john doesn't find it's john.ini file
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: closed
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Sat Jun 13 15:20:00 +0000 2026
>Closed-Date: Sat Jun 13 15:24:28 +0000 2026
>Last-Modified: Sat Jun 13 15:25:01 +0000 2026
>Originator: Hubert Feyrer
>Release: pkgsrc-current as of right now
>Organization:
me, myself & I
>Environment:
neuland% uname -a
Darwin neuland 25.3.0 Darwin Kernel Version 25.3.0: Wed Jan 28 20:54:55 PST 2026; root:xnu-12377.91.3~2/RELEASE_ARM64_T8132 arm64
neuland% gcc -v
Apple clang version 17.0.0 (clang-1700.6.4.2)
Target: arm64-apple-darwin25.3.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
>Description:
when installing pkgsrc/security/john then starting john, there is an error that it cannot find it's john.ini file. There is a john.conf file which should be renamed to john.ini
>How-To-Repeat:
neuland$ cd .../pkgsrc/security/john
neuland$ make install
neuland$ john
fopen: /Volumes/pkgsrc22/pkg/share/john/john.ini: No such file or directory
neuland$ cd /Volumes/pkgsrc22/pkg/share/john
neuland% ln -s john.conf john.ini
neuland% dir jo*
lrwxr-xr-x@ 1 feyrer staff 9 Jun 13 17:11 john.ini -> john.conf
neuland$ john
John the Ripper password cracker, version 1.9.0
...
>Fix:
Patch:
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/security/john/Makefile,v
retrieving revision 1.31
diff -u -r1.31 Makefile
--- Makefile 8 Aug 2020 12:48:56 -0000 1.31
+++ Makefile 13 Jun 2026 15:14:59 -0000
@@ -85,7 +85,7 @@
${INSTALL_PROGRAM} ${WRKSRC}/run/john ${DESTDIR}${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/run/mailer ${DESTDIR}${PREFIX}/bin
# configuration file
- ${INSTALL_DATA} ${WRKSRC}/run/john.conf ${DESTDIR}${PREFIX}/share/john
+ ${INSTALL_DATA} ${WRKSRC}/run/john.conf ${DESTDIR}${PREFIX}/share/john/john.ini
# symbolic links
.for i in unafs unique unshadow
${LN} -sf john ${DESTDIR}${PREFIX}/bin/${i}
Index: PLIST
===================================================================
RCS file: /cvsroot/pkgsrc/security/john/PLIST,v
retrieving revision 1.6
diff -u -r1.6 PLIST
--- PLIST 8 Aug 2020 12:42:22 -0000 1.6
+++ PLIST 13 Jun 2026 15:14:59 -0000
@@ -15,7 +15,7 @@
share/john/alpha.chr
share/john/ascii.chr
share/john/digits.chr
-share/john/john.conf
+share/john/john.ini
share/john/lm_ascii.chr
share/john/lower.chr
share/john/lowernum.chr
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: wiz@NetBSD.org
State-Changed-When: Sat, 13 Jun 2026 15:24:28 +0000
State-Changed-Why:
Committed, with a PKGREVISION bump, thank you!
I think we've come full circle now since you committed some of my first
bug reports.
From: "Thomas Klausner" <wiz@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/60328 CVS commit: pkgsrc/security/john
Date: Sat, 13 Jun 2026 15:23:37 +0000
Module Name: pkgsrc
Committed By: wiz
Date: Sat Jun 13 15:23:37 UTC 2026
Modified Files:
pkgsrc/security/john: Makefile PLIST
Log Message:
john: install config file as proper name
From Hubert Feyrer in PR 60328.
Bump PKGREVISION.
To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 pkgsrc/security/john/Makefile
cvs rdiff -u -r1.6 -r1.7 pkgsrc/security/john/PLIST
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.