1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: package/*/john/john.conf
3 # Copyright (C) 2004 - 2021 The T2 SDE Project
4 # Copyright (C) 1998 - 2003 ROCK Linux Project
6 # This Copyright note is generated by scripts/Create-CopyPatch,
7 # more information can be found in the files COPYING and README.
9 # This program is free software; you can redistribute it and/or modify
10 # it under the terms of the GNU General Public License version 2.
11 # --- T2-COPYRIGHT-NOTE-END ---
14 install -m0755 run/john $root$bindir
15 install -m0755 run/mailer $root$bindir
16 # install -m0644 run/john.ini $root/etc/
17 install -d -m0755 $root$datadir/john/
18 install -m0644 run/*chr run/password.lst $root$datadir/john/
19 ln -sf $root/usr/bin/john $root$bindir/unafs
20 ln -sf $root/usr/bin/john $root$bindir/unique
21 ln -sf $root/usr/bin/john $root$bindir/unshadow
24 # FIXME: use insted of generic a special architecture flags
25 # eg.: linux-x86-mmx-elf
26 var_append makeopt ' ' "-C src generic"
27 var_append CC " " "-D_POSIX_SOURCE"
28 var_append CC ' ' "-DJOHN_SYSTEMWIDE=1"
30 hook_add postmake 5 install_john