Commit graph

34 commits

Author SHA1 Message Date
Weijia Wang f92ee1a512 john: unbreak on aarch64-darwin 2022-12-30 10:39:32 +01:00
Rick van Schijndel 9833d56c24 treewide: mark packages broken that never built on PLATFORM
Done with the help of https://github.com/Mindavi/nixpkgs-mark-broken
Tool is still WIP but this is one of the first results.

I manually audited the results and removed some results that were not valid.

Note that some of these packages maybe should have more constrained platforms set
instead of broken set, but I think not being perfectly correct is better than
just keep trying to build all these things and never succeeding.

Some observations:

- Some darwin builds require XCode tools
- aarch64-linux builds sometimes suffer from using gcc9
  - gcc9 is getting older and misses some new libraries/features
- Sometimes tools try to do system detection or expect some explicit settings for
  platforms that are not x86_64-linux
2022-12-13 21:40:12 +01:00
Nicolas Berbiche 733730eff8
john: update source to GitHub and homepage url 2022-05-02 17:20:23 -04:00
Nicolas Berbiche 8b0e73e70c
john: add gcc11 patch 2022-04-25 19:49:13 -04:00
Hubert Jasudowicz 8aacc4ef98 john: Add CompressRawLzma to dependencies
7z2john.pl fails with error: "Can't locate Compress/Raw/Lzma.pm ...".
Add the CompressRawLzma package to dependencies to fix this issue.
2022-02-04 12:02:50 +01:00
Sandro Jäckel dcb501f993
kerberos: deprecate alias 2021-04-04 03:18:56 +02:00
Ben Siraphob 8c5d37129f pkgs/tools: stdenv.lib -> lib 2021-01-15 17:12:36 +07:00
ajs124 44a8c33eba john: ship internal perl modules 2020-08-17 13:11:43 +02:00
Michael Reilly 84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Matthew Bauer ceb1e92173
Merge pull request #75107 from matthewbauer/disable-native-tests-john
Disable native tests for john the ripper
2019-12-06 15:32:04 -05:00
Matthew Bauer a36c36a87b john: update meta
- set platforms to unix
- add myself as maintainer
2019-12-06 10:47:29 -05:00
Matthew Bauer 73cf5d961b john: use proper configure flags
- need --disable-native-tests not --disable-native-macro
- --with-systemwide is better than -DJOHN_SYSTEMWIDE=1

Fixes #74918
2019-12-06 10:43:45 -05:00
Lev Livnev efd3b451e8 john: copy rules
copy rules so that they are available to john at runtime
without this, john fails when run with default settings
2019-11-16 14:44:36 +01:00
Peter Hoeg 582b92b948 john: build with python3 2019-11-01 16:42:33 +08:00
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00
Will Dietz 0e3a443f58
john: 1.8.0-jumbo-1 -> 1.9.0-jumbo-1
https://www.openwall.com/lists/announce/2019/05/14/1
2019-06-04 15:02:28 -05:00
volth 6d2edfb0b8 treewide: remove aliases evaluated to null 2018-12-14 16:27:53 +00:00
volth cc55a3ebcb treewide: fix build with disallowed aliases (#43872)
fixes build with disallowed aliases
2018-07-21 22:03:24 -04:00
volth 52f53c69ce pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00:00
Jörg Thalheim 7ac652df4b john: disable aarch64 2018-05-05 18:25:56 +01:00
Daniel Fullmer 96f07d6b61 john: Fix extra utility programs 2017-12-31 18:52:34 -05:00
Daniel Fullmer 28b1170f49 john: workaroud for build failure 2017-09-01 11:05:01 -04:00
Tuomas Tynkkynen e7ce27f9ce john: Disable parallel build
http://hydra.nixos.org/build/49940032/nixlog/1/raw
2017-03-10 01:48:53 +02:00
Robin Gloster 2d382f3d98 Merge remote-tracking branch 'upstream/master' into hardened-stdenv 2016-05-30 19:39:34 +00:00
Bjørn Forsman d5656873d7 john: use gcc 4.9 instead of 5 (unbreaks build)
Fixes this build error:

  dynamic_fmt.o: In function `DynamicFunc__crypt_md5_to_input_raw_Overwrite_NoLen':
  .../john-1.8.0-jumbo-1/src/dynamic_fmt.c:4989: undefined reference to `MD5_body_for_thread'

Upstream issue:

  https://github.com/magnumripper/JohnTheRipper/issues/1093
2016-05-21 22:17:52 +02:00
Robin Gloster e6345523f2 john: add patch to build with gcc5 2016-02-08 00:39:17 +00:00
Pascal Wittmann 7fd2796e99 Replace 'with plaforms; platform' with 'platforms.platform' 2015-11-17 21:30:43 +01:00
aszlig 37429a2c74
john: Enable parallel building by default.
I've built this a lot of times on different machines without getting
compile errors, so I'd assume this to be safe. Of course, the compile
time is very small in comparison to bigger packages but it's still an
annoyance to wait for up to a few minutes, especially during
development.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2015-10-13 04:42:40 +02:00
aszlig 902bcf1422
john: Make package work out of the box.
So far it was only possible to run john if you've either copied over the
default configuration over to ~/.john and substitute $JOHN with the
right path or set $JOHN to the store path directly.

Both methods are not really a very good user experience, so we're now
patching in the resulting paths into the default rules/configurations.

This also splits off configuration files into $out/etc/john instead of
putting everything into $out/share/john and now also properly installs
the auxiliary programs into $out/bin.

Closes #8792.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Reported-by: devhell <"^"@regexmail.net>
Cc: @offlinehacker
2015-10-13 04:42:40 +02:00
aszlig cf4e2c426e
john: Disable building with -march=native.
It prevents john from running with older CPUs such as Core2Duo and gives
an illegal hardware instruction error on these CPUs.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2015-10-13 04:42:39 +02:00
aszlig 2a1bf2a776
john: Clean up and Update to v1.8.0-jumbo-1.
Cleanups are mostly stylistic, like putting src more to the top (to make
sure it won't be missed on updates of the version attribute) or using
mkdir -p instead of ensureDir.

The most significant change here is that we update the package to
1.8.0-jumbo-1, which is the latest tag available and contains community
updates which were already in magnumripper/JohnTheRipper@93f061bc41.

We're now also using fetchurl to ensure that we don't need to clone the
whole repository and keep download times low.

And the derivation name is now "john" instead of "JohnTheRipper",
because most users would expect "nix-env -i john" to work.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2015-10-13 04:42:39 +02:00
William A. Kennington III afeef240dc kerberos: Use default kerberos instead of krb5 2014-12-30 00:05:12 -08:00
Jaka Hudoklin 3ceb789c36 john: use systemd wide config, and not from store 2014-12-11 23:25:26 +01:00
Jaka Hudoklin 98778c4c27 Add JohnTheRipper, a fast password cracker 2014-09-04 01:30:04 +02:00