pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/60328: pkgsrc/security/john doesn't find it's john.ini file
>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: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Sat Jun 13 15:20:00 +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
Home |
Main Index |
Thread Index |
Old Index