diff options
author | Robert Alessi <alessi@robertalessi.net> | 2021-06-21 15:29:19 +0200 |
---|---|---|
committer | Robert Alessi <alessi@robertalessi.net> | 2021-06-21 15:29:19 +0200 |
commit | 561f2901e4c547b0bd95e5eb08ea11bfc981f870 (patch) | |
tree | e35a55971344d4eecdaf6ce693d332a1655b6d92 | |
parent | c9a430d6ae40f5f7e2c99d2c088d5b54456ca140 (diff) | |
download | my-x200-cc696f24c99c7effa910bdd0e82f992a2f7514d8.tar.gz |
-rw-r--r-- | debian/changelog | 5 | ||||
-rw-r--r-- | my-x200.confd | 28 | ||||
-rw-r--r-- | my-x200.initd | 6 | ||||
-rw-r--r-- | my-x200_0.7-4.debian.tar.xz | bin | 1572 -> 0 bytes | |||
-rw-r--r-- | my-x200_0.7-4.dsc | 41 | ||||
-rw-r--r-- | my-x200_0.7-4_amd64.deb | bin | 5184 -> 0 bytes | |||
-rw-r--r-- | my-x200_0.7-5.debian.tar.xz | bin | 0 -> 1604 bytes | |||
-rw-r--r-- | my-x200_0.7-5.dsc | 41 | ||||
-rw-r--r-- | my-x200_0.7-5_amd64.deb | bin | 0 -> 5416 bytes | |||
-rw-r--r-- | my-x200_0.7.orig.tar.gz | bin | 8818 -> 17338 bytes |
10 files changed, 72 insertions, 49 deletions
diff --git a/debian/changelog b/debian/changelog index b162f0e..8f5dae1 100644 --- a/debian/changelog +++ b/debian/changelog | |||
@@ -1,4 +1,4 @@ | |||
1 | my-x200 (0.7-4) UNRELEASED; urgency=medium | 1 | my-x200 (0.7-5) UNRELEASED; urgency=medium |
2 | 2 | ||
3 | * Initial release. | 3 | * Initial release. |
4 | * Removed remnant lines left of openrc-run in initd file | 4 | * Removed remnant lines left of openrc-run in initd file |
@@ -7,5 +7,6 @@ my-x200 (0.7-4) UNRELEASED; urgency=medium | |||
7 | * Added conflict with acpi-support | 7 | * Added conflict with acpi-support |
8 | * Map ThinkVantage to /etc/init.d/my-x200 refresh | 8 | * Map ThinkVantage to /etc/init.d/my-x200 refresh |
9 | * Kill radio only if enable_privacy is set to true | 9 | * Kill radio only if enable_privacy is set to true |
10 | * Added an option to use macchanger for the wireless interface | ||
10 | 11 | ||
11 | -- Robert Alessi <alessi@robertalessi.net> Mon, 22 Feb 2021 17:59:57 +0100 | 12 | -- Robert Alessi <alessi@robertalessi.net> Fri, 18 Jun 2021 16:37:01 +0200 |
diff --git a/my-x200.confd b/my-x200.confd index ae9606e..0080db2 100644 --- a/my-x200.confd +++ b/my-x200.confd | |||
@@ -30,21 +30,39 @@ PWMFREQ_RATE="0x8bb7b16dc5b6a" | |||
30 | 30 | ||
31 | # IMPORTANT NOTICE: As dhcpcd uses ANY ONE network interface that is | 31 | # IMPORTANT NOTICE: As dhcpcd uses ANY ONE network interface that is |
32 | # connected to the DHCP device to generate the DIUD-LLT file, the | 32 | # connected to the DHCP device to generate the DIUD-LLT file, the |
33 | # wireless interface MUST have its MAC address spoofed as well. To | 33 | # wireless interface MUST have its MAC address spoofed as well. |
34 | # make wpa_supplicant handle this, add the following lines in | 34 | |
35 | # To have wpa_supplicant handle this, add the following lines in | ||
35 | # /etc/wpa_supplicant/wpa_supplicant.conf: | 36 | # /etc/wpa_supplicant/wpa_supplicant.conf: |
37 | # | ||
36 | # ctrl_interface=DIR=/run/wpa_supplicant GROUP=netdev | 38 | # ctrl_interface=DIR=/run/wpa_supplicant GROUP=netdev |
37 | # update_config=1 | 39 | # update_config=1 |
38 | # mac_addr=1 | 40 | # mac_addr=1 |
39 | # preassoc_mac_addr=1 | 41 | # preassoc_mac_addr=1 |
42 | # | ||
43 | # Alternatively, supply the actual wireless interface name as value of | ||
44 | # the variable 'wireless_interface' below. | ||
40 | 45 | ||
41 | # Finally, it is advisable to set the hostname to "localhost" and have | 46 | # Finally, it is advisable to set the hostname to "localhost" and have |
42 | # "hostname_short" in /etc/dhcpcd.conf so that the actual hostname of | 47 | # "hostname_short" in /etc/dhcpcd.conf so that the actual hostname of |
43 | # the machine should not be sent to the DHCP server. | 48 | # the machine should not be sent to the DHCP server. |
44 | 49 | ||
45 | enable_privacy="false" # either 'true' or 'false' | 50 | enable_privacy="false" # either 'true' or 'false' |
46 | wired_interface="" # supply the actual interface name! In case of | 51 | |
47 | # doubt, see the output of 'ls /sys/class/net/' | 52 | # If not set below, the MAC address of the wired interface will not be |
53 | # spoofed. | ||
54 | wired_interface="" # supply the actual interface name! In case of | ||
55 | # doubt, see the output of 'ls /sys/class/net/' | ||
56 | |||
57 | # If not set below, the MAC address of the wireless interface will not | ||
58 | # be spoofed, unless the spoofing is handled by wpa_supplicant as | ||
59 | # described above. | ||
60 | wireless_interface="" # supply the actual interface name! In case of | ||
61 | # doubt, see the output of 'ls /sys/class/net/' | ||
62 | |||
63 | # macchanger options: | ||
64 | macchanger_options="-r" # this sets a fully random MAC. Adapt. (Read | ||
65 | # `man macchanger` on how to do this.) | ||
48 | 66 | ||
49 | ################## | 67 | ################## |
50 | # Backup options # | 68 | # Backup options # |
diff --git a/my-x200.initd b/my-x200.initd index bb05cf4..7212d52 100644 --- a/my-x200.initd +++ b/my-x200.initd | |||
@@ -82,7 +82,11 @@ do_privacy() { | |||
82 | then | 82 | then |
83 | printf '0004' > /var/lib/dhcpcd/duid | 83 | printf '0004' > /var/lib/dhcpcd/duid |
84 | cat /proc/sys/kernel/random/boot_id >> /var/lib/dhcpcd/duid | 84 | cat /proc/sys/kernel/random/boot_id >> /var/lib/dhcpcd/duid |
85 | /usr/bin/macchanger -r $wired_interface | 85 | /usr/bin/macchanger "$macchanger_options" $wired_interface |
86 | fi | ||
87 | if [ -n "${wireless_interface}" ] | ||
88 | then | ||
89 | /usr/bin/macchanger "$macchanger_options" $wireless_interface | ||
86 | fi | 90 | fi |
87 | fi | 91 | fi |
88 | } | 92 | } |
diff --git a/my-x200_0.7-4.debian.tar.xz b/my-x200_0.7-4.debian.tar.xz deleted file mode 100644 index 4d7873e..0000000 --- a/my-x200_0.7-4.debian.tar.xz +++ /dev/null | |||
Binary files differ | |||
diff --git a/my-x200_0.7-4.dsc b/my-x200_0.7-4.dsc deleted file mode 100644 index f9d34ba..0000000 --- a/my-x200_0.7-4.dsc +++ /dev/null | |||
@@ -1,41 +0,0 @@ | |||
1 | -----BEGIN PGP SIGNED MESSAGE----- | ||
2 | Hash: SHA256 | ||
3 | |||
4 | Format: 3.0 (quilt) | ||
5 | Source: my-x200 | ||
6 | Binary: my-x200 | ||
7 | Architecture: any | ||
8 | Version: 0.7-4 | ||
9 | Maintainer: Robert Alessi <alessi@robertalessi.net> | ||
10 | Homepage: http://git.robertalessi.net/my-x200 | ||
11 | Standards-Version: 4.3.0 | ||
12 | Build-Depends: debhelper (>= 10) | ||
13 | Package-List: | ||
14 | my-x200 deb misc optional arch=any | ||
15 | Checksums-Sha1: | ||
16 | 7a8ff3718b1fe417282b34f703a864a5d6e5f319 8818 my-x200_0.7.orig.tar.gz | ||
17 | 81e7c0229dba9a6434a6cc599534af911f62ef60 1572 my-x200_0.7-4.debian.tar.xz | ||
18 | Checksums-Sha256: | ||
19 | 46cb0eb50526a721742ca2edca7a030b023c5b6de61387837613fb9fce4590f7 8818 my-x200_0.7.orig.tar.gz | ||
20 | c3b0b8c5494538c719b46d195fd29745ee9f0ac6f055d687e234718042d4bde8 1572 my-x200_0.7-4.debian.tar.xz | ||
21 | Files: | ||
22 | c0eccaafaef86ee44961d88ec3b3b5e0 8818 my-x200_0.7.orig.tar.gz | ||
23 | 54503bb01e31c237289c4ada0dbc64ee 1572 my-x200_0.7-4.debian.tar.xz | ||
24 | |||
25 | -----BEGIN PGP SIGNATURE----- | ||
26 | |||
27 | iQJMBAEBCAA2FiEERaXhpjEUeDwRCTLxF3PpJICFyMcFAmAz5rwYHGFsZXNzaUBy | ||
28 | b2JlcnRhbGVzc2kubmV0AAoJEBdz6SSAhcjHXgAP/iIDdjWkjBQC5fqstnebKAEP | ||
29 | VQMsFOtBeX9X5nsK4QSZoKZqpqxhhi068zE0oBVr/NLoyKO/sTncbiQfpL1XCz5e | ||
30 | itgnM67pwGH9lwemMr4sBKDtdyMtG+Abp8vQtfYNmBz43UYw0qNNhtep0NHTdkj5 | ||
31 | qq22qeBOSLfrBryYFjsAEPSBg+VIyTbWnGlk0K4H/Vfstsg/qKiOQz3cjQMEPtkw | ||
32 | xg7J86U6P9N7+chYeWFZuTxWmd7dD02s9D5RMSVo/sr9KBzl5t3mkJeZJdWHeR2n | ||
33 | 8AfcnXRsjggGItRkRodD4nbUTVNspHL5+eW6TgegirMLqKoqIZvGg10Pocb7ZQOf | ||
34 | sku3uQNrOoRXgppDxN26TLBC3aLpN4/n3Nh7BNvJp5R8mdA72TSkwa14WpqNVSWJ | ||
35 | tc/5SMpZ0gCLESAR5dZlcHXG2sm2fvbeQmnxwZUWVSn0Fjh9GuugW9gfI85507Hx | ||
36 | TpasLKcfFJfQpqv9lU3b0Mi9mD1wYda/yhpKdDL0gdDjKuaXZOZtQQWZNeet1d1t | ||
37 | 6NNc0gTVSHLv40aSZ3ftJu4SXkZJVCr8EHv2AOQHwnapsAKJa3Re1Z2wD9T3FVw+ | ||
38 | 96lRZR/HGYs7ZnDrxkQVg7D6LPxhQixyA0SUreFPitrrVFVcMbgFN67trX2Mln4y | ||
39 | FPe3EYiNtTkRp2Wqcqkj | ||
40 | =qlI4 | ||
41 | -----END PGP SIGNATURE----- | ||
diff --git a/my-x200_0.7-4_amd64.deb b/my-x200_0.7-4_amd64.deb deleted file mode 100644 index 1c1970e..0000000 --- a/my-x200_0.7-4_amd64.deb +++ /dev/null | |||
Binary files differ | |||
diff --git a/my-x200_0.7-5.debian.tar.xz b/my-x200_0.7-5.debian.tar.xz new file mode 100644 index 0000000..4dff02f --- /dev/null +++ b/my-x200_0.7-5.debian.tar.xz | |||
Binary files differ | |||
diff --git a/my-x200_0.7-5.dsc b/my-x200_0.7-5.dsc new file mode 100644 index 0000000..5825d48 --- /dev/null +++ b/my-x200_0.7-5.dsc | |||
@@ -0,0 +1,41 @@ | |||
1 | -----BEGIN PGP SIGNED MESSAGE----- | ||
2 | Hash: SHA256 | ||
3 | |||
4 | Format: 3.0 (quilt) | ||
5 | Source: my-x200 | ||
6 | Binary: my-x200 | ||
7 | Architecture: any | ||
8 | Version: 0.7-5 | ||
9 | Maintainer: Robert Alessi <alessi@robertalessi.net> | ||
10 | Homepage: http://git.robertalessi.net/my-x200 | ||
11 | Standards-Version: 4.3.0 | ||
12 | Build-Depends: debhelper (>= 10) | ||
13 | Package-List: | ||
14 | my-x200 deb misc optional arch=any | ||
15 | Checksums-Sha1: | ||
16 | 66069ebc2b2e796dd2334bb63d926d2eccd7a404 17338 my-x200_0.7.orig.tar.gz | ||
17 | 223b83ba3200c97c4e8113cc1b8b5f118614b59f 1604 my-x200_0.7-5.debian.tar.xz | ||
18 | Checksums-Sha256: | ||
19 | 4c1c07ea13e132abf139041d2725858b136fce58e5f25d6ec56833f73da8e401 17338 my-x200_0.7.orig.tar.gz | ||
20 | fd545db5384b077baeb22c3da2cfd959c53ec40a2c2b552021d12c873d167b34 1604 my-x200_0.7-5.debian.tar.xz | ||
21 | Files: | ||
22 | 032368f2035f07d58e9b13cb17995fbb 17338 my-x200_0.7.orig.tar.gz | ||
23 | 433b243972ffb3c12c556b045b545ba2 1604 my-x200_0.7-5.debian.tar.xz | ||
24 | |||
25 | -----BEGIN PGP SIGNATURE----- | ||
26 | |||
27 | iQJMBAEBCAA2FiEERaXhpjEUeDwRCTLxF3PpJICFyMcFAmDQk5wYHGFsZXNzaUBy | ||
28 | b2JlcnRhbGVzc2kubmV0AAoJEBdz6SSAhcjHTFcP/2sY2EaaYh1Z/9A899mVbH/T | ||
29 | Zj8AoBbnsRfztgqbz53ayA66455ZYzXKeY6xIpByBLFIvFKaGsHbQZR/RHiT+aos | ||
30 | KyS+apnjd+xBj1aOYCFf3wskkywTwawY0jUoI5UbPuBMD1m6axtnRelfuMdNx/FA | ||
31 | HUkc5EdUvw62ET/Me4Eae3fuoTWEodMfQl1yeb5iWE/qKZ4a0GeYVF2+uocLKxOE | ||
32 | eT2UZFmbu45vrAu+Ok86BGGSCHpZUqnvYPwx58rV8p/x/urTnNmNjBBopvkH8ng2 | ||
33 | qMtXdFaS1qrxe+gz9Zfjd7gAQjpsOrMYnBtYG6mxkiZ1c5sHsV9JQjHadB/QMDul | ||
34 | LkymQ8dJB652Cy8oV6oaWRRCwmJOMNwuyYX7L9KpkJJLHNHmdq1oR5zjuX9TaDvo | ||
35 | Gk1R6ZVjxWJernt6L5bdD/ktxE8EmOf8Sb5YEwr2YVHyEp9GHIe9G6dV+cNQ0TXh | ||
36 | O85bRSvuN6PK1T1cx+sLnvlVhwg7xHbHHe6uhVrwfvjo6pL2JDEsZOXSI5GBnF5c | ||
37 | Zxpu7nLJA5IWq3A789Qnz4TgI+3+CJsSldVkBJGcncdqUmBJEoqluUeJRG5OA0Td | ||
38 | oqnwfl9hfi4qz20qCryEpauaJrdRe/yjcpxC/7CWhhY6QbZSYc5WGbwvndoZmM5p | ||
39 | LHJkwuuLBbLpdQTBtX8X | ||
40 | =Si3X | ||
41 | -----END PGP SIGNATURE----- | ||
diff --git a/my-x200_0.7-5_amd64.deb b/my-x200_0.7-5_amd64.deb new file mode 100644 index 0000000..5433a00 --- /dev/null +++ b/my-x200_0.7-5_amd64.deb | |||
Binary files differ | |||
diff --git a/my-x200_0.7.orig.tar.gz b/my-x200_0.7.orig.tar.gz index dacfa54..1b44f13 100644 --- a/my-x200_0.7.orig.tar.gz +++ b/my-x200_0.7.orig.tar.gz | |||
Binary files differ | |||