Skip to content

Instantly share code, notes, and snippets.

@claudijd
Created July 3, 2013 14:05
Show Gist options
  • Save claudijd/5918136 to your computer and use it in GitHub Desktop.
Save claudijd/5918136 to your computer and use it in GitHub Desktop.
Linux FreeS/WAN / Openswan VID Generation hack
versions = [
"1.6.3",
"1.6.2",
"1.6.1",
"1.6.0",
"1.5.5",
"1.5.4",
"1.5.3",
"1.5.2",
"1.5.1",
"1.5.0",
"1.4.8",
"1.4.7",
"1.4.6",
"1.4.5",
"1.4.4",
"1.4.3",
"1.4.2",
"1.4.1",
"1.4.0",
"1.3.6",
"1.3.5",
"1.3.4",
"1.3.3",
"1.3.2",
"1.3.1",
"1.3.0",
"1.2.2",
"1.2.1",
"1.2.0",
"1.1.6",
"1.1.5",
"1.1.4",
"1.1.3",
"1.1.2",
"1.1.1",
"1.1.0",
"1.0.2",
"1.0.1",
"1.0.0",
"0.9.40",
"0.9.39",
"0.9.38",
"0.9.37",
"0.9.36",
"0.9.35",
"0.9.34",
"0.9.33",
"0.9.32",
"0.9.31",
"0.9.30",
"0.9.29",
"0.9.28",
"0.9.27",
"0.9.26",
"0.9.25",
"0.9.24",
"0.9.23",
"0.9.22",
"0.9.21",
"0.9.20",
"0.9.19",
"0.9.18",
"0.9.17",
"0.9.16",
"0.9.15",
"0.9.14",
"0.9.13",
"0.9.12",
"0.9.11",
"0.9.10",
"0.9.9",
"0.9.8",
"0.9.7",
"0.9.6",
"0.9.5",
"0.9.4",
"0.9.3",
"0.9.2",
"0.9.1",
"0.9",
"0.8.5",
"0.8.4",
"0.8.3",
"0.8.2",
"0.8.1",
"0.8",
"0.7.2",
"0.7.1",
"0.7",
"0.6",
"0.5"
]
versions.sort.each do |version|
puts "Linux FreeS/WAN #{version}" + "\t^" + `perl openswan-vid.pl "Linux FreeS/WAN #{version}"`
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment