Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

macchanger requires patches, broken on some configurations #36245

Closed
ghost opened this issue Mar 20, 2022 · 2 comments
Closed

macchanger requires patches, broken on some configurations #36245

ghost opened this issue Mar 20, 2022 · 2 comments
Labels

Comments

@ghost
Copy link

ghost commented Mar 20, 2022

The patches can be found here:
https://github.com/NixOS/nixpkgs/blob/master/pkgs/os-specific/linux/macchanger/default.nix

patches = [
  (fetchpatch {
    url = "https://sources.debian.org/data/main/m/macchanger/1.7.0-5.3/debian/patches/02-fix_usage_message.patch";
    sha256 = "0pxljmq0l0znylbhms09i19qwil74gm8gx3xx2ffx00dajaizj18";
  })
  (fetchpatch {
    url = "https://sources.debian.org/data/main/m/macchanger/1.7.0-5.3/debian/patches/06-update_OUI_list.patch";
    sha256 = "04kbd784z9nwkjva5ckkvb0yb3pim9valb1viywn1yyh577d0y7w";
  })
  (fetchpatch {
    url = "https://sources.debian.org/data/main/m/macchanger/1.7.0-5.3/debian/patches/08-fix_random_MAC_choice.patch";
    sha256 = "1vz3appxxsdf1imzrn57amazfwlbrvx6g78b6n88aqgwzy5dm34d";
  })
  (fetchpatch {
    url = "https://sources.debian.org/data/main/m/macchanger/1.7.0-5.3/debian/patches/check-random-device-read-errors.patch";
    sha256 = "0pra6qnk39crjlidspg3l6hpaqiw43cypahx793l59mqn956cngc";
  })
  (fetchpatch {
    url = "https://sources.debian.org/data/main/m/macchanger/1.7.0-5.3/debian/patches/verify-changed-MAC.patch";
    sha256 = "0vjhf2fnj1hlghjl821p6idrfc8hmd4lgps5lf1l68ylqvwjw0zj";
  })
];

if kernel makes a hw rng available in /dev but it doesn't do anything, macchanger gets zero entropy. I believe fixed by check-random-device-read-errors.patch.

@github-actions
Copy link

Issues become stale 90 days after last activity and are closed 14 days after that. If this issue is still relevant bump it or assign it.

@github-actions github-actions bot added the Stale label Jun 29, 2022
@ghost
Copy link
Author

ghost commented Jun 29, 2022

bump?

Eloitor pushed a commit to Eloitor/void-packages that referenced this issue Jul 4, 2022
The project hasn't been updated for 8 years and there are some
important bugs to be fixed.

Closes: void-linux#36245
Eloitor pushed a commit to Eloitor/void-packages that referenced this issue Jul 4, 2022
The project hasn't been updated for 8 years and there are some
important bugs to be fixed.

Closes: void-linux#36245
cultab pushed a commit to cultab/void-packages that referenced this issue Jul 6, 2022
The project hasn't been updated for 8 years and there are some
important bugs to be fixed.

Closes: void-linux#36245
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

0 participants