aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrubo77 <github@r.z11.de>2018-03-17 11:49:46 +0100
committerrubo77 <github@r.z11.de>2018-03-17 11:50:38 +0100
commit108a0f1f92b9dbfaff3d81c206517a0af4d799b1 (patch)
tree136cfbb2f236c87213380e8b0be5632458edbcef
parentf0e5d2f199c86f1030cc8517c660696cfbfdd48d (diff)
new firmware models: D-Link dir 860l b1, Lemaker Banana pi, Lemaker Banana pro, Lemaker Lamobo r1, MikroTik rootfs.tar, MikroTik vmlinux lzma, Vocore
-rw-r--r--_plugins/firmwares.rb33
1 files changed, 28 insertions, 5 deletions
diff --git a/_plugins/firmwares.rb b/_plugins/firmwares.rb
index 5fc40b0..38bb15d 100644
--- a/_plugins/firmwares.rb
+++ b/_plugins/firmwares.rb
@@ -37,7 +37,7 @@ GROUPS = {
},
"Allnet" => {
models: [
- "ALL0315N"
+ "ALL0315N",
],
extract_rev: lambda { |model, suffix| nil },
},
@@ -55,8 +55,9 @@ GROUPS = {
"DIR-505",
"DIR-615",
"DIR-825",
+ "DIR-860L",
],
- extract_rev: lambda { |model, suffix| /^-rev-(.+?)(?:-sysupgrade)?\.bin$/.match(suffix)[1].upcase },
+ extract_rev: lambda { |model, suffix| /^-((rev-|b).+?)(?:-sysupgrade)?\.bin$/.match(suffix)[1] },
},
"GL-iNet" => {
models: [
@@ -67,10 +68,18 @@ GROUPS = {
},
"GL" => { #this one is also GL.inet
models: [
- "AR150"
+ "AR150",
],
extract_rev: lambda { |model, suffix| /^-(.+?)(?:-sysupgrade)?\.bin$/.match(suffix)[1] },
},
+ "Lemaker" => {
+ models: [
+ "Banana-PI",
+ "Banana-PRO",
+ "Lamobo-R1",
+ ],
+ extract_rev: lambda { |model, suffix| nil },
+ },
"Linksys" => {
models: [
"WRT160NL",
@@ -86,12 +95,20 @@ GROUPS = {
],
extract_rev: lambda { |model, suffix| nil },
},
+ "MikroTik" => {
+ models: [
+ "rootfs",
+ "vmlinux-lzma",
+ ],
+ extract_rev: lambda { |model, suffix| nil },
+ },
"NETGEAR" => {
models: [
"WNDR3700",
"WNDR3800",
"WNDR4300",
- "WNDRMAC"
+ "WNDRMAC",
+ "WNR2200", # nur sysupgrade
],
extract_rev: lambda { |model, suffix| /^(.*?)(?:-sysupgrade)?\.[^.]+$/.match(suffix)[1].sub(/^$/, 'v1') },
},
@@ -111,7 +128,7 @@ GROUPS = {
"OM5P",
"OM5P-AN",
"mr1750",
- "mr1750v2"
+ "mr1750v2",
],
extract_rev: lambda { |model, suffix| /^(.*?)(?:-sysupgrade)?\.[^.]+$/.match(suffix)[1].sub(/^$/, 'v1') },
},
@@ -200,6 +217,12 @@ GROUPS = {
end
},
},
+ "VoCore" => {
+ models: [
+ "",
+ ],
+ extract_rev: lambda { |model, suffix| nil },
+ },
"WD" => {
models: [
"My-Net-N600",