aboutsummaryrefslogtreecommitdiffstats
path: root/en/downloads/get
diff options
context:
space:
mode:
Diffstat (limited to 'en/downloads/get')
-rw-r--r--en/downloads/get/definitions.ini956
-rw-r--r--en/downloads/get/definitions.php18
-rw-r--r--en/downloads/get/index.php273
-rw-r--r--en/downloads/get/lib.php160
4 files changed, 0 insertions, 1407 deletions
diff --git a/en/downloads/get/definitions.ini b/en/downloads/get/definitions.ini
deleted file mode 100644
index f610dfb0e..000000000
--- a/en/downloads/get/definitions.ini
+++ /dev/null
@@ -1,956 +0,0 @@
-; Downloads definitions file.
-; This is a whitelist for what can be downloaded from mageia.org
-; through the download redirector (to official Mageia mirrors).
-;
-
-; mgaonline RPM
-[mgaonline]
-type = rpm
-hidden = true
-name = mgaonline
-size = 196 KB
-page_title = mgaonline
-post_link = /migrate/
-post_title = Go back to the migration page
-path = distrib/1/i586/media/core/release
-file = mgaonline-2.77.29-1.mga1.noarch.rpm
-
-
-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
-;;;;; Mageia 1
-;;;;;;;;;;;;;;;;;;;;;
-
-[mageia-1-dvd-i586]
-file = "mageia-dvd-1-i586.iso"
-path = "iso/1"
-name = "Mageia 1 32bit DVD"
-size = "4 GB"
-md5 = "535c53fabfaea25ad6ad49edbbf6ce0a"
-sha1 = "1146008d408d5929ed07580070e453f6b4e64277"
-torrent = "iso/1/torrents/mageia-dvd-1-i586.torrent"
-
-[mageia-1-dvd-x86_64]
-file = "mageia-dvd-1-x86_64.iso"
-name = "Mageia 1 64bit DVD"
-path = "iso/1"
-size = "4 GB"
-md5 = "7e65859068810b5c2da7593e4254293a"
-sha1 = "e9679d433afbea721e33f830691c4044055f13ae"
-torrent = "iso/1/torrents/mageia-dvd-1-x86_64.torrent"
-
-; Dual arch
-[mageia-1-cd-dualarch]
-file = "mageia-dual-1.iso"
-path = "iso/1"
-name = "Mageia 1 Dual Arch CD"
-size = "700 MB"
-md5 = "bedf0e4aed931d238c61b08ea5d6bb9d"
-sha1 = "416d8272a2423fe7a0816786f0189e2320e74958"
-torrent = "iso/1/torrents/mageia-dual-1.torrent"
-
-; KDE LiveCDs (32-bit)
-[mageia-1-live-kde-europe1-cd-i586]
-file = "mageia-livecd-1-KDE4-europe1-americas-cdrom-i586.iso"
-path = "iso/1"
-name = "Mageia 1 KDE Europe1 LiveCD"
-size = "700 MB"
-lang = "Europa set 1"
-langs = "de|en|es|fr|it|pl|pt|ru"
-md5 = "4977f5a974dec5b937a891e29cce5fdb"
-sha1 = "ca68b6c642e91ad21026f872d097439d32457d30"
-torrent = "iso/1/torrents/mageia-livecd-1-KDE4-europe1-americas-cdrom-i586.torrent"
-
-[mageia-1-live-kde-europe2-cd-i586]
-file = "mageia-livecd-1-KDE4-europe2-cdrom-i586.iso"
-path = "iso/1"
-name = "Mageia 1 KDE Europe2 LiveCD"
-size = "700 MB"
-lang = "Europa set 2"
-langs =
-md5 = "90768c05344ab250ae84f985e1b849c1"
-sha1 = "715fca8f8411fa6d36b16c192a6566dd29ef4915"
-torrent = "iso/1/torrents/mageia-livecd-1-KDE4-europe2-cdrom-i586.torrent"
-
-[mageia-1-live-kde-asia-cd-i586]
-file = "mageia-livecd-1-KDE4-asia-noindia-cdrom-i586.iso"
-path = "iso/1"
-name = "Mageia 1 KDE Asia LiveCD"
-size = "700 MB"
-lang = "Asia set"
-langs =
-md5 = "1b904aa607a464c7c712209acd109710"
-sha1 = "a53fa906c143e591082442d076c2b3b202fe8a47"
-torrent = "iso/1/torrents/mageia-livecd-1-KDE4-asia-noindia-cdrom-i586.torrent"
-
-[mageia-1-live-kde-africa-cd-i586]
-file = "mageia-livecd-1-KDE4-africa-india-cdrom-i586.iso"
-path = "iso/1"
-name = "Mageia 1 KDE Africa LiveCD"
-size = "700 MB"
-lang = "Africa/India set"
-langs =
-md5 = "f7fc7ea64b38b04874ad7d3d6d904461"
-sha1 = "072eeef7eedc0ca7ad070ed2f45403e7b2a601e6"
-torrent = "iso/1/torrents/mageia-livecd-1-KDE4-africa-india-cdrom-i586.torrent"
-
-; GNOME LiveCDs (32-bit)
-[mageia-1-live-gnome-europe1-cd-i586]
-file = "mageia-livecd-1-GNOME-europe1-americas-cdrom-i586.iso"
-path = "iso/1"
-name = "Mageia 1 GNOME Europe1 LiveCD"
-size = "700 MB"
-lang = "Europa set 1"
-langs = "de|en|es|fr|it|pl|pt|ru"
-md5 = "be86c06cc4ad27b0ae36f673ddbfc489"
-sha1 = "fd648c7a21d54c2a52f9ed66cf1093f82acd828c"
-torrent = "iso/1/torrents/mageia-livecd-1-GNOME-europe1-americas-cdrom-i586.torrent"
-
-[mageia-1-live-gnome-europe2-cd-i586]
-file = "mageia-livecd-1-GNOME-europe2-cdrom-i586.iso"
-path = "iso/1"
-name = "Mageia 1 GNOME Europe2 LiveCD"
-size = "700 MB"
-lang = "Europa set 2"
-langs =
-md5 = "a8550c9932d7a7430fa4f574895f881e"
-sha1 = "fc191d30cf822ef5dfffcfbb0d228e442db00530"
-torrent = "iso/1/torrents/mageia-livecd-1-GNOME-europe2-cdrom-i586.torrent"
-
-[mageia-1-live-gnome-asia-cd-i586]
-file = "mageia-livecd-1-GNOME-asia-noindia-cdrom-i586.iso"
-path = "iso/1"
-name = "Mageia 1 GNOME Asia LiveCD"
-size = "700 MB"
-lang = "Asia set"
-langs =
-md5 = "b415d0d8b7f0384c16ebc18dcaccbbb0"
-sha1 = "1cd93b7c34149bf326b22b61afa47bf7144a9921"
-torrent = "iso/1/torrents/mageia-livecd-1-GNOME-asia-noindia-cdrom-i586.torrent"
-
-[mageia-1-live-gnome-africa-cd-i586]
-file = "mageia-livecd-1-GNOME-africa-india-cdrom-i586.iso"
-path = "iso/1"
-name = "Mageia 1 GNOME Africa LiveCD"
-size = "700 MB"
-lang = "Africa/India set"
-langs =
-md5 = "621f4e965c04e49b8602b4ec670e8466"
-sha1 = "753afcd28978ff89dc0a8840f8f33b65bf8dad30"
-torrent = "iso/1/torrents/mageia-livecd-1-GNOME-africa-india-cdrom-i586.torrent"
-
-; boot.iso
-[mageia-1-netboot-i586]
-file = "boot.iso"
-path = "distrib/1/i586/install/images"
-name = "Mageia 1 Boot 32bit CD ISO"
-size = "40 MB"
-md5 = "a82ae1a364b5f3bf3d2b783c881c726d"
-
-[mageia-1-netboot-x86_64]
-file = "boot.iso"
-path = "distrib/1/x86_64/install/images"
-name = "Mageia 1 Boot 64bit CD ISO"
-size = "40 MB"
-md5 = "7de996b937b5e5d650514e7b3d6f2f15"
-
-
-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
-;;;;; Mageia 2
-;;;;;;;;;;;;;;;;;;;;;
-
-;
-[Mageia-2-Boot-i586-CD.iso]
-file = boot.iso
-md5 = "15e8ea443bc8da183a8cd3671f8225e2"
-sha1 = "a847284c1aa0c5c81af14364eaa0a9159d3af7e6"
-path = "distrib/2/i586/install/images"
-name = "Mageia 2 Boot 32bit CD ISO"
-size = "33 MB"
-
-;
-[Mageia-2-Boot-x86_64-CD.iso]
-file = boot.iso
-md5 = "7355af37254e07186ef2104b1cf89d0d"
-sha1 = "024d8de0eeff1e72d5038f7b528ecf256ff18e1c"
-path = "distrib/2/x86_64/install/images"
-name = "Mageia 2 Boot 64bit CD ISO"
-size = "17 MB"
-
-;
-[Mageia-2-Boot-nonfree-i586-CD.iso]
-file = boot-nonfree.iso
-md5 = "ea18e237452a61948e4c2eb61675bbd1"
-sha1 = "c3b9865bb0815fe6ed0961b826896b8df168a3a5"
-path = "distrib/2/i586/install/images"
-name = "Mageia 2 Boot Nonfree 32bit CD ISO"
-size = "48 MB"
-
-;
-[Mageia-2-Boot-nonfree-x86_64-CD.iso]
-file = boot-nonfree.iso
-md5 = "4a0ed5f18c1aa20f42728efd995ba040"
-sha1 = "82c655975f3042f58f982297c633a6bae46334c1"
-path = "distrib/2/x86_64/install/images"
-name = "Mageia 2 Boot Nonfree 64bit CD ISO"
-size = "25 MB"
-
-;
-[Mageia-2-LiveCD-GNOME-Africa-India-i586-CD.iso]
-file = "Mageia-2-LiveCD-GNOME-Africa-India-i586-CD.iso"
-md5 = "f6630721bde476813a615eb175801072"
-sha1 = "7d649e35a36cc14c80e4fe145d2ebf71d2014f3e"
-langs = "Afrikaans (af), Amharic (am), Arabic (ar), Assamese (as), Berber (ber), Bengali (bn), English (American) (en_US), Hausa (ha), Hebrew (he), Hindi (hi), Igbo (ig), Kannada (kn), Malayalam (ml), Marathi (mr), Punjabi (gurmukhi) (pa_IN), Tamil (ta), Tswana (tn), Tsonga (ts), Venda (ve), Xhosa (xh), Yoruba (yo), Zulu (zu)"
-path = "iso/2/Mageia-2-LiveCD-GNOME-Africa-India-i586-CD"
-torrent = "iso/2/torrents/Mageia-2-LiveCD-GNOME-Africa-India-i586-CD.torrent"
-name = "Mageia 2 LiveCD GNOME Africa India 32bit CD"
-size = "644 MB"
-
-;
-[Mageia-2-LiveCD-GNOME-Africa-India-x86_64-CD.iso]
-file = "Mageia-2-LiveCD-GNOME-Africa-India-x86_64-CD.iso"
-md5 = "5ee8ba0a25ebe7f994bacdb7330a9f4d"
-sha1 = "0b3c4656cf4f9330822768c6b6226c96fdd0e41d"
-langs = "Afrikaans (af), Amharic (am), Arabic (ar), Assamese (as), Berber (ber), Bengali (bn), English (American) (en_US), Hausa (ha), Hebrew (he), Hindi (hi), Igbo (ig), Kannada (kn), Malayalam (ml), Marathi (mr), Punjabi (gurmukhi) (pa_IN), Tamil (ta), Tswana (tn), Tsonga (ts), Venda (ve), Xhosa (xh), Yoruba (yo), Zulu (zu)"
-path = "iso/2/Mageia-2-LiveCD-GNOME-Africa-India-x86_64-CD"
-torrent = "iso/2/torrents/Mageia-2-LiveCD-GNOME-Africa-India-x86_64-CD.torrent"
-name = "Mageia 2 LiveCD GNOME Africa India 64bit CD"
-size = "669 MB"
-
-;
-[Mageia-2-LiveCD-GNOME-Asia-no-India-i586-CD.iso]
-file = "Mageia-2-LiveCD-GNOME-Asia-no-India-i586-CD.iso"
-md5 = "67215966e381297821cd5dfbd83005b7"
-sha1 = "16c60d09a9edfd94fcb7fb8ef06732a69b88a69e"
-langs = "English (American) (en_US), Indonesian (id), Japanese (ja), Korean (ko), Thai (th), Vietnamese (vi), Chinese Simplified (zh_CN), Chinese Traditional (zh_TW)"
-path = "iso/2/Mageia-2-LiveCD-GNOME-Asia-no-India-i586-CD"
-torrent = "iso/2/torrents/Mageia-2-LiveCD-GNOME-Asia-no-India-i586-CD.torrent"
-name = "Mageia 2 LiveCD GNOME Asia no India 32bit CD"
-size = "679 MB"
-
-;
-[Mageia-2-LiveCD-GNOME-Asia-no-India-x86_64-CD.iso]
-file = "Mageia-2-LiveCD-GNOME-Asia-no-India-x86_64-CD.iso"
-md5 = "23029d4ed8f44148cf7cdf2ed13b2310"
-sha1 = "fa513c5bdd176c4042576dcfbca526c921788217"
-langs = "English (American) (en_US), Indonesian (id), Japanese (ja), Korean (ko), Thai (th), Vietnamese (vi), Chinese Simplified (zh_CN), Chinese Traditional (zh_TW)"
-path = "iso/2/Mageia-2-LiveCD-GNOME-Asia-no-India-x86_64-CD"
-torrent = "iso/2/torrents/Mageia-2-LiveCD-GNOME-Asia-no-India-x86_64-CD.torrent"
-name = "Mageia 2 LiveCD GNOME Asia no India 64bit CD"
-size = "697 MB"
-
-;
-[Mageia-2-LiveCD-GNOME-Europe1-Americas-i586-CD.iso]
-file = "Mageia-2-LiveCD-GNOME-Europe1-Americas-i586-CD.iso"
-md5 = "f02da0d0ad82e4ef06fae901a3f3623e"
-sha1 = "f0af3e4763d35329e21cea269688a0b2066014e3"
-langs = "Czech (cs), German (de), Greek (el), English (Australia) (en_AU), English (Canada) (en_CA), English (en_GB), English (Ireland) (en_IE), English (New-Zealand) (en_NZ), English (American) (en_US), English (South Africa) (en_ZA), Spanish (es), French (fr), Italian (it), Dutch (nl), Portuguese (pt), Portuguese Brazil (pt_BR), Slovenian (sl), Turkish (tr)"
-path = "iso/2/Mageia-2-LiveCD-GNOME-Europe1-Americas-i586-CD"
-torrent = "iso/2/torrents/Mageia-2-LiveCD-GNOME-Europe1-Americas-i586-CD.torrent"
-name = "Mageia 2 LiveCD GNOME Europe1 Americas 32bit CD"
-size = "671 MB"
-
-;
-[Mageia-2-LiveCD-GNOME-Europe1-Americas-x86_64-CD.iso]
-file = "Mageia-2-LiveCD-GNOME-Europe1-Americas-x86_64-CD.iso"
-md5 = "05dcab35e8f5190f727f3d4d1eb27b70"
-sha1 = "f9741792aa50b3c73c7c60ad2751fadaec369bb4"
-langs = "Czech (cs), German (de), Greek (el), English (Australia) (en_AU), English (Canada) (en_CA), English (en_GB), English (Ireland) (en_IE), English (New-Zealand) (en_NZ), English (American) (en_US), English (South Africa) (en_ZA), Spanish (es), French (fr), Italian (it), Dutch (nl), Portuguese (pt), Portuguese Brazil (pt_BR), Slovenian (sl), Turkish (tr)"
-path = "iso/2/Mageia-2-LiveCD-GNOME-Europe1-Americas-x86_64-CD"
-torrent = "iso/2/torrents/Mageia-2-LiveCD-GNOME-Europe1-Americas-x86_64-CD.torrent"
-name = "Mageia 2 LiveCD GNOME Europe1 Americas 64bit CD"
-size = "696 MB"
-
-;
-[Mageia-2-LiveCD-GNOME-Europe2-i586-CD.iso]
-file = "Mageia-2-LiveCD-GNOME-Europe2-i586-CD.iso"
-md5 = "57cb6f5cd2d95c9c58ea6c9e688723ba"
-sha1 = "bf3e5ba0f2c5cf65ae56647fbf4fc3d95e317831"
-langs = "Bulgarian (bg), Danish (da), English (American) (en_US), Estonian (et), Finnish (Suomi) (fi), Croatian (hr), Hungarian (hu), Lithuanian (lt), Latvian (lv), Norwegian Bokmaal (nb), Norwegian Nynorsk (nn), Polish (pl), Romanian (ro), Russian (ru), Swedish (sv), Ukrainian (uk), Uzbek (uz), Uzbek (cyrillic) (uz@cyrillic)"
-path = "iso/2/Mageia-2-LiveCD-GNOME-Europe2-i586-CD"
-torrent = "iso/2/torrents/Mageia-2-LiveCD-GNOME-Europe2-i586-CD.torrent"
-name = "Mageia 2 LiveCD GNOME Europe2 32bit CD"
-size = "666 MB"
-
-;
-[Mageia-2-LiveCD-GNOME-Europe2-x86_64-CD.iso]
-file = "Mageia-2-LiveCD-GNOME-Europe2-x86_64-CD.iso"
-md5 = "3aa9194c9715c3437dfed98763929c92"
-sha1 = "b13593a32070eed8f62cd23158635c67437eecb0"
-langs = "Bulgarian (bg), Danish (da), English (American) (en_US), Estonian (et), Finnish (Suomi) (fi), Croatian (hr), Hungarian (hu), Lithuanian (lt), Latvian (lv), Norwegian Bokmaal (nb), Norwegian Nynorsk (nn), Polish (pl), Romanian (ro), Russian (ru), Swedish (sv), Ukrainian (uk), Uzbek (uz), Uzbek (cyrillic) (uz@cyrillic)"
-path = "iso/2/Mageia-2-LiveCD-GNOME-Europe2-x86_64-CD"
-torrent = "iso/2/torrents/Mageia-2-LiveCD-GNOME-Europe2-x86_64-CD.torrent"
-name = "Mageia 2 LiveCD GNOME Europe2 64bit CD"
-size = "689 MB"
-
-;
-[Mageia-2-LiveCD-KDE4-Africa-India-i586-CD.iso]
-file = "Mageia-2-LiveCD-KDE4-Africa-India-i586-CD.iso"
-md5 = "864aaa312f61c385c077b51cc54f50c0"
-sha1 = "c3c4d02a6659ac61ef4daa24b9d8fc2af376c1a7"
-langs = "Afrikaans (af), Amharic (am), Arabic (ar), Assamese (as), Berber (ber), Bengali (bn), English (American) (en_US), Hausa (ha), Hebrew (he), Hindi (hi), Igbo (ig), Kannada (kn), Malayalam (ml), Marathi (mr), Punjabi (gurmukhi) (pa_IN), Tamil (ta), Tswana (tn), Tsonga (ts), Venda (ve), Xhosa (xh), Yoruba (yo), Zulu (zu)"
-path = "iso/2/Mageia-2-LiveCD-KDE4-Africa-India-i586-CD"
-torrent = "iso/2/torrents/Mageia-2-LiveCD-KDE4-Africa-India-i586-CD.torrent"
-name = "Mageia 2 LiveCD KDE4 Africa India 32bit CD"
-size = "635 MB"
-
-;
-[Mageia-2-LiveCD-KDE4-Africa-India-x86_64-CD.iso]
-file = "Mageia-2-LiveCD-KDE4-Africa-India-x86_64-CD.iso"
-md5 = "7df71d9b8a2c10cc4d677131de940655"
-sha1 = "5535975f3dd93990181ee989c46434984655fcb6"
-langs = "Afrikaans (af), Amharic (am), Arabic (ar), Assamese (as), Berber (ber), Bengali (bn), English (American) (en_US), Hausa (ha), Hebrew (he), Hindi (hi), Igbo (ig), Kannada (kn), Malayalam (ml), Marathi (mr), Punjabi (gurmukhi) (pa_IN), Tamil (ta), Tswana (tn), Tsonga (ts), Venda (ve), Xhosa (xh), Yoruba (yo), Zulu (zu)"
-path = "iso/2/Mageia-2-LiveCD-KDE4-Africa-India-x86_64-CD"
-torrent = "iso/2/torrents/Mageia-2-LiveCD-KDE4-Africa-India-x86_64-CD.torrent"
-name = "Mageia 2 LiveCD KDE4 Africa India 64bit CD"
-size = "658 MB"
-
-;
-[Mageia-2-LiveCD-KDE4-Asia-no-India-i586-CD.iso]
-file = "Mageia-2-LiveCD-KDE4-Asia-no-India-i586-CD.iso"
-md5 = "81b453bd2764beb5d9fc06a84e5173d0"
-sha1 = "3fc039b8ae168146cf3ec79da5cb1f1ecac31779"
-langs = "English (American) (en_US), Indonesian (id), Japanese (ja), Korean (ko), Thai (th), Vietnamese (vi), Chinese Simplified (zh_CN), Chinese Traditional (zh_TW)"
-path = "iso/2/Mageia-2-LiveCD-KDE4-Asia-no-India-i586-CD"
-torrent = "iso/2/torrents/Mageia-2-LiveCD-KDE4-Asia-no-India-i586-CD.torrent"
-name = "Mageia 2 LiveCD KDE4 Asia no India 32bit CD"
-size = "682 MB"
-
-;
-[Mageia-2-LiveCD-KDE4-Asia-no-India-x86_64-CD.iso]
-file = "Mageia-2-LiveCD-KDE4-Asia-no-India-x86_64-CD.iso"
-md5 = "83614598b14dd3c95aa3eb9d497b8186"
-sha1 = "144ff90f2d7f621e43471e54cf14251c076c112f"
-langs = "English (American) (en_US), Indonesian (id), Japanese (ja), Korean (ko), Thai (th), Vietnamese (vi), Chinese Simplified (zh_CN), Chinese Traditional (zh_TW)"
-path = "iso/2/Mageia-2-LiveCD-KDE4-Asia-no-India-x86_64-CD"
-torrent = "iso/2/torrents/Mageia-2-LiveCD-KDE4-Asia-no-India-x86_64-CD.torrent"
-name = "Mageia 2 LiveCD KDE4 Asia no India 64bit CD"
-size = "698 MB"
-
-;
-[Mageia-2-LiveCD-KDE4-Europe1-Americas-i586-CD.iso]
-file = "Mageia-2-LiveCD-KDE4-Europe1-Americas-i586-CD.iso"
-md5 = "f587db8c82f987a3210e1a827878061b"
-sha1 = "5fc0d6f4182ac3500df3d4fe234ab1a0daecc4da"
-langs = "Czech (cs), German (de), Greek (el), English (Australia) (en_AU), English (Canada) (en_CA), English (en_GB), English (Ireland) (en_IE), English (New-Zealand) (en_NZ), English (American) (en_US), English (South Africa) (en_ZA), Spanish (es), French (fr), Italian (it), Dutch (nl), Portuguese (pt), Portuguese Brazil (pt_BR), Slovenian (sl), Turkish (tr)"
-path = "iso/2/Mageia-2-LiveCD-KDE4-Europe1-Americas-i586-CD"
-torrent = "iso/2/torrents/Mageia-2-LiveCD-KDE4-Europe1-Americas-i586-CD.torrent"
-name = "Mageia 2 LiveCD KDE4 Europe1 Americas 32bit CD"
-size = "675 MB"
-
-;
-[Mageia-2-LiveCD-KDE4-Europe1-Americas-x86_64-CD.iso]
-file = "Mageia-2-LiveCD-KDE4-Europe1-Americas-x86_64-CD.iso"
-md5 = "635577c075e5ebed1d4f111d14ebc644"
-sha1 = "ead920da052fbf3c9151ca1960318584f4e86661"
-langs = "Czech (cs), German (de), Greek (el), English (Australia) (en_AU), English (Canada) (en_CA), English (en_GB), English (Ireland) (en_IE), English (New-Zealand) (en_NZ), English (American) (en_US), English (South Africa) (en_ZA), Spanish (es), French (fr), Italian (it), Dutch (nl), Portuguese (pt), Portuguese Brazil (pt_BR), Slovenian (sl), Turkish (tr)"
-path = "iso/2/Mageia-2-LiveCD-KDE4-Europe1-Americas-x86_64-CD"
-torrent = "iso/2/torrents/Mageia-2-LiveCD-KDE4-Europe1-Americas-x86_64-CD.torrent"
-name = "Mageia 2 LiveCD KDE4 Europe1 Americas 64bit CD"
-size = "696 MB"
-
-;
-[Mageia-2-LiveCD-KDE4-Europe2-i586-CD.iso]
-file = "Mageia-2-LiveCD-KDE4-Europe2-i586-CD.iso"
-md5 = "114f3b6469968bfb067b99d96f3b1e63"
-sha1 = "359eeb84253274adfe802d7d8c9a63576427cac3"
-langs = "Bulgarian (bg), Danish (da), English (American) (en_US), Estonian (et), Finnish (Suomi) (fi), Croatian (hr), Hungarian (hu), Lithuanian (lt), Latvian (lv), Norwegian Bokmaal (nb), Norwegian Nynorsk (nn), Polish (pl), Romanian (ro), Russian (ru), Swedish (sv), Ukrainian (uk), Uzbek (uz), Uzbek (cyrillic) (uz@cyrillic)"
-path = "iso/2/Mageia-2-LiveCD-KDE4-Europe2-i586-CD"
-torrent = "iso/2/torrents/Mageia-2-LiveCD-KDE4-Europe2-i586-CD.torrent"
-name = "Mageia 2 LiveCD KDE4 Europe2 32bit CD"
-size = "696 MB"
-
-;
-[Mageia-2-LiveCD-KDE4-Europe2-x86_64-CD.iso]
-file = "Mageia-2-LiveCD-KDE4-Europe2-x86_64-CD.iso"
-md5 = "5cf6bca267fb323a3138c920e35ed3be"
-sha1 = "691913cd41488fb27d3670b785c988e6f2eb6af4"
-langs = "Bulgarian (bg), Danish (da), English (American) (en_US), Estonian (et), Finnish (Suomi) (fi), Croatian (hr), Hungarian (hu), Lithuanian (lt), Latvian (lv), Norwegian Bokmaal (nb), Norwegian Nynorsk (nn), Polish (pl), Romanian (ro), Russian (ru), Swedish (sv), Ukrainian (uk), Uzbek (uz), Uzbek (cyrillic) (uz@cyrillic)"
-path = "iso/2/Mageia-2-LiveCD-KDE4-Europe2-x86_64-CD"
-torrent = "iso/2/torrents/Mageia-2-LiveCD-KDE4-Europe2-x86_64-CD.torrent"
-name = "Mageia 2 LiveCD KDE4 Europe2 64bit CD"
-size = "703 MB"
-
-;
-[Mageia-2-dual-CD.iso]
-file = "Mageia-2-dual-CD.iso"
-md5 = "d6a1a76b04fb0aca908347a13acb13d7"
-sha1 = "8bd811fb6c8bbfa0f8dd1aa385bb7f7a1b4e6694"
-path = "iso/2/Mageia-2-dual-CD"
-torrent = "iso/2/torrents/Mageia-2-dual-CD.torrent"
-name = "Mageia 2 dual CD"
-size = "685 MB"
-
-;
-[Mageia-2-i586-DVD.iso]
-file = "Mageia-2-i586-DVD.iso"
-md5 = "b734a23a43e5f2950dc485876372de09"
-sha1 = "672fdcb32f2b0f546a7c7d8e052c0ae71e0738d6"
-path = "iso/2/Mageia-2-i586-DVD"
-torrent = "iso/2/torrents/Mageia-2-i586-DVD.torrent"
-name = "Mageia 2 32bit DVD"
-size = "3.5 GB"
-
-;
-[Mageia-2-x86_64-DVD.iso]
-file = "Mageia-2-x86_64-DVD.iso"
-md5 = "0274423b95aed09b53286b5fc7282fef"
-sha1 = "c70f0e87f186dee7c6f552fe0de62a8149eaafe9"
-path = "iso/2/Mageia-2-x86_64-DVD"
-torrent = "iso/2/torrents/Mageia-2-x86_64-DVD.torrent"
-name = "Mageia 2 64bit DVD"
-size = "3.5 GB"
-
-
-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
-;;;;; Mageia 3
-;;;;;;;;;;;;;;;;;;;;;
-
-;
-[Mageia-3-Boot-i586-CD.iso]
-file = boot.iso
-path = "distrib/3/i586/install/images"
-md5 = "b23117a7bb558a5733f6d85abc928a92"
-sha1 = "2f109642301973cb0fc85244aced22c68ea86247"
-name = "Mageia 3 Boot 32bit CD ISO"
-size = "32 MB"
-
-;
-[Mageia-3-Boot-x86_64-CD.iso]
-file = boot.iso
-path = "distrib/3/x86_64/install/images"
-md5 = "167b6bb8c484f35ba8ca127f5dcbcfec"
-sha1 = "2f7763c127f3cbc484431b949d8e75b0c9b1be61"
-name = "Mageia 3 Boot 64bit CD ISO"
-size = "16 MB"
-
-;
-[Mageia-3-Boot-nonfree-i586-CD.iso]
-file = boot-nonfree.iso
-path = "distrib/3/i586/install/images"
-md5 = "f6b11b41921169e33ae96f9f3bfee412"
-sha1 = "0a02ddb544380b85edc28db4db4aa2c2cb173928"
-name = "Mageia 3 Boot Nonfree 32bit CD ISO"
-size= "47 MB"
-
-;
-[Mageia-3-Boot-nonfree-x86_64-CD.iso]
-file = boot-nonfree.iso
-path = "distrib/3/x86_64/install/images"
-md5 = "6a4326f4e9a04948506236f056a71b78"
-sha1 = "38bdb5e4f7436bd58b6eaea8634fd6b0de3d7f80"
-name = "Mageia 3 Boot Nonfree 64bit CD ISO"
-size ="24 MB"
-
-;from fidd
-;
-[Mageia-3-LiveCD-GNOME-en-i586-CD.iso]
-file = "Mageia-3-LiveCD-GNOME-en-i586-CD.iso"
-md5 = "44fe065f37756112e4c282f82678b40f"
-sha1 = "5e6ce82fdbdd686da4c26e6c05f096a259085a51"
-langs = "English (Australia) (en_AU), English (Canada) (en_CA), English (en_GB), English (Ireland) (en_IE), English (New-Zealand) (en_NZ), English (American) (en_US), English (South Africa) (en_ZA)"
-path = "iso/3/Mageia-3-LiveCD-GNOME-en-i586-CD"
-torrent = "iso/3/torrents/Mageia-3-LiveCD-GNOME-en-i586-CD.torrent"
-name = "Mageia 3 LiveCD GNOME en 32bit CD"
-size = "697 MB"
-
-;
-[Mageia-3-LiveCD-KDE4-en-i586-CD.iso]
-file = "Mageia-3-LiveCD-KDE4-en-i586-CD.iso"
-md5 = "6be91f3682d1a3835b25d0d9198d805e"
-sha1 = "61e10644b3f2b63bd9d2e7109f420bfd62d53b71"
-langs = "English (Australia) (en_AU), English (Canada) (en_CA), English (en_GB), English (Ireland) (en_IE), English (New-Zealand) (en_NZ), English (American) (en_US), English (South Africa) (en_ZA)"
-path = "iso/3/Mageia-3-LiveCD-KDE4-en-i586-CD"
-torrent = "iso/3/torrents/Mageia-3-LiveCD-KDE4-en-i586-CD.torrent"
-name = "Mageia 3 LiveCD KDE4 en 32bit CD"
-size = "694 MB"
-
-;
-[Mageia-3-LiveDVD-GNOME-i586-DVD.iso]
-file = "Mageia-3-LiveDVD-GNOME-i586-DVD.iso"
-md5 = "a9a9c8c8d4a689c9781c77eb711458a0"
-sha1 = "6b13ff6dc48e127c228ccc5d2b0142c2dae0a44e"
-langs = "English (American) (en_US)"
-path = "iso/3/Mageia-3-LiveDVD-GNOME-i586-DVD"
-torrent = "iso/3/torrents/Mageia-3-LiveDVD-GNOME-i586-DVD.torrent"
-name = "Mageia 3 LiveDVD GNOME 32bit DVD"
-size = "1.4 GB"
-
-;
-[Mageia-3-LiveDVD-GNOME-x86_64-DVD.iso]
-file = "Mageia-3-LiveDVD-GNOME-x86_64-DVD.iso"
-md5 = "d0b874de1a531a9f5d2ace3572fc11dd"
-sha1 = "fd11741efb84b13154e328e628611086eac1e5c2"
-langs = "English (American) (en_US)"
-path = "iso/3/Mageia-3-LiveDVD-GNOME-x86_64-DVD"
-torrent = "iso/3/torrents/Mageia-3-LiveDVD-GNOME-x86_64-DVD.torrent"
-name = "Mageia 3 LiveDVD GNOME 64bit DVD"
-size = "1.4 GB"
-
-;
-[Mageia-3-LiveDVD-KDE4-i586-DVD.iso]
-file = "Mageia-3-LiveDVD-KDE4-i586-DVD.iso"
-md5 = "e1b718a48606c4363892b1bcd37f41f6"
-sha1 = "b95ebf5b771525106a9d57ae4e4908e0c36766a0"
-langs = "English (American) (en_US)"
-path = "iso/3/Mageia-3-LiveDVD-KDE4-i586-DVD"
-torrent = "iso/3/torrents/Mageia-3-LiveDVD-KDE4-i586-DVD.torrent"
-name = "Mageia 3 LiveDVD KDE4 32bit DVD"
-size = "1.4 GB"
-
-;
-[Mageia-3-LiveDVD-KDE4-x86_64-DVD.iso]
-file = "Mageia-3-LiveDVD-KDE4-x86_64-DVD.iso"
-md5 = "97e2ad3bd4a70e8eb6604668b186f8dd"
-sha1 = "e97a0a246f3c4c29d014ee42247703cf62958808"
-langs = "English (American) (en_US)"
-path = "iso/3/Mageia-3-LiveDVD-KDE4-x86_64-DVD"
-torrent = "iso/3/torrents/Mageia-3-LiveDVD-KDE4-x86_64-DVD.torrent"
-name = "Mageia 3 LiveDVD KDE4 64bit DVD"
-size = "1.5 GB"
-
-;
-[Mageia-3-dual-CD.iso]
-file = "Mageia-3-dual-CD.iso"
-md5 = "a2a9917c068d2a50ff2312821b055a1e"
-sha1 = "dd295c43cb901feb2d06508d7d1c2488fa0c78e2"
-path = "iso/3/Mageia-3-dual-CD"
-torrent = "iso/3/torrents/Mageia-3-dual-CD.torrent"
-name = "Mageia 3 dual CD"
-size = "700 MB"
-
-;
-[Mageia-3-i586-DVD.iso]
-file = "Mageia-3-i586-DVD.iso"
-md5 = "d80fd26018e98a03ae020f15327fccf4"
-sha1 = "150dbc32ae7247d7ec437e26bf8d741f1cd4cfd4"
-path = "iso/3/Mageia-3-i586-DVD"
-torrent = "iso/3/torrents/Mageia-3-i586-DVD.torrent"
-name = "Mageia 3 32bit DVD"
-size = "3.7 GB"
-
-;
-[Mageia-3-x86_64-DVD.iso]
-file = "Mageia-3-x86_64-DVD.iso"
-md5 = "16547c7c1f933322122820468aa91e14"
-sha1 = "18f5815b3a7717de552dfca260c9b278e19770e7"
-path = "iso/3/Mageia-3-x86_64-DVD"
-torrent = "iso/3/torrents/Mageia-3-x86_64-DVD.torrent"
-name = "Mageia 3 64bit DVD"
-size = "3.7 GB"
-
-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
-;;;;; Mageia 4
-;;;;;;;;;;;;;;;;;;;;;
-
-[Mageia-4-Boot-i586-CD.iso]
-file = "boot.iso"
-path = "distrib/4/i586/install/images"
-md5 = "d1eedb536532cfd47d7e8d4258f4c4e8"
-sha1 = "5e7f5946d621cca20f6621ec5c1e64cb0bc88050"
-name = "Mageia 4 Boot 32bit CD ISO"
-size = "27 MB"
-
-;
-[Mageia-4-Boot-nonfree-i586-CD.iso]
-file = "boot-nonfree.iso"
-path = "distrib/4/i586/install/images"
-md5 = "43c77b69b82bac36b5d9a6553e805ce1"
-sha1 = "f17523d19bc86f534214e01280d088d222ca18de"
-name = "Mageia 4 Boot Nonfree 32bit CD ISO"
-size= "37 MB"
-
-;
-[Mageia-4-Boot-x86_64-CD.iso]
-file = "boot.iso"
-path = "distrib/4/x86_64/install/images"
-md5 = "a3a77a9a42060b7dc40bd832c6b104b1"
-sha1 = "c09c3107db3f699e84999ec35c357dcf5e07c822"
-name = "Mageia 4 Boot 64bit CD ISO"
-size = "53 MB"
-
-;
-[Mageia-4-Boot-nonfree-x86_64-CD.iso]
-file = "boot-nonfree.iso"
-path = "distrib/4/x86_64/install/images"
-md5 = "5bb8c70d50d70be35aba3b8e935474ef"
-sha1 = "50cf2213d728dbc31a3228087d6daf829f2d5388"
-name = "Mageia 4 Boot Nonfree 64bit CD ISO"
-size = "74 MB"
-
-
-
-
-
-;from fidd
-;
-;
-;
-[Mageia-4-LiveCD-GNOME-en-i586-CD.iso]
-file = "Mageia-4-LiveCD-GNOME-en-i586-CD.iso"
-md5 = "6923866fe01a61530817b1548513afd1"
-sha1 = "5391879ff032908a91c25addab96dc1862119c61"
-langs = "English (Australia) (en_AU), English (Canada) (en_CA), English (en_GB), English (Ireland) (en_IE), English (New-Zealand) (en_NZ), English (American) (en_US), English (South Africa) (en_ZA)"
-path = "iso/4/Mageia-4-LiveCD-GNOME-en-i586-CD"
-torrent = "iso/4/torrents/Mageia-4-LiveCD-GNOME-en-i586-CD.torrent"
-name = "Mageia 4 LiveCD GNOME en 32bit CD"
-size = "656 MB"
-
-;
-[Mageia-4-LiveCD-KDE4-en-i586-CD.iso]
-file = "Mageia-4-LiveCD-KDE4-en-i586-CD.iso"
-md5 = "45541fa5e15e20633ccdcfc810fe1578"
-sha1 = "17de7f954957f8245c5af42525779fa323ed9d95"
-langs = "English (Australia) (en_AU), English (Canada) (en_CA), English (en_GB), English (Ireland) (en_IE), English (New-Zealand) (en_NZ), English (American) (en_US), English (South Africa) (en_ZA)"
-path = "iso/4/Mageia-4-LiveCD-KDE4-en-i586-CD"
-torrent = "iso/4/torrents/Mageia-4-LiveCD-KDE4-en-i586-CD.torrent"
-name = "Mageia 4 LiveCD KDE4 en 32bit CD"
-size = "649 MB"
-
-;
-[Mageia-4-LiveDVD-GNOME-i586-DVD.iso]
-file = "Mageia-4-LiveDVD-GNOME-i586-DVD.iso"
-md5 = "b917adc6d8980148e10fec1966753737"
-sha1 = "ce5220459fd141f1ee8656186aa171bfa80f60a9"
-langs = "English (American) (en_US)"
-path = "iso/4/Mageia-4-LiveDVD-GNOME-i586-DVD"
-torrent = "iso/4/torrents/Mageia-4-LiveDVD-GNOME-i586-DVD.torrent"
-name = "Mageia 4 LiveDVD GNOME 32bit DVD"
-size = "1.4 GB"
-
-;
-[Mageia-4-LiveDVD-GNOME-x86_64-DVD.iso]
-file = "Mageia-4-LiveDVD-GNOME-x86_64-DVD.iso"
-md5 = "e15f2bf9543e8a155000e4fc9fa63b21"
-sha1 = "95da79bbcc152aa9169599e7419779195a478e09"
-langs = "English (American) (en_US)"
-path = "iso/4/Mageia-4-LiveDVD-GNOME-x86_64-DVD"
-torrent = "iso/4/torrents/Mageia-4-LiveDVD-GNOME-x86_64-DVD.torrent"
-name = "Mageia 4 LiveDVD GNOME 64bit DVD"
-size = "1.4 GB"
-
-;
-[Mageia-4-LiveDVD-KDE4-i586-DVD.iso]
-file = "Mageia-4-LiveDVD-KDE4-i586-DVD.iso"
-md5 = "d00a43e92ad28eadb79a6d474de81841"
-sha1 = "0b1df4fca2d16a815291ee925171e658ff3cf577"
-langs = "English (American) (en_US)"
-path = "iso/4/Mageia-4-LiveDVD-KDE4-i586-DVD"
-torrent = "iso/4/torrents/Mageia-4-LiveDVD-KDE4-i586-DVD.torrent"
-name = "Mageia 4 LiveDVD KDE4 32bit DVD"
-size = "1.4 GB"
-
-;
-[Mageia-4-LiveDVD-KDE4-x86_64-DVD.iso]
-file = "Mageia-4-LiveDVD-KDE4-x86_64-DVD.iso"
-md5 = "5ea3ad2be9b2ca703fe308141d23c988"
-sha1 = "239659aa414ae2f662a7da47711fd09e079ffc1b"
-langs = "English (American) (en_US)"
-path = "iso/4/Mageia-4-LiveDVD-KDE4-x86_64-DVD"
-torrent = "iso/4/torrents/Mageia-4-LiveDVD-KDE4-x86_64-DVD.torrent"
-name = "Mageia 4 LiveDVD KDE4 64bit DVD"
-size = "1.5 GB"
-
-;
-[Mageia-4-dual-DVD.iso]
-file = "Mageia-4-dual-DVD.iso"
-md5 = "f0f6e9842b687c35d808d406232ba97b"
-sha1 = "4efaf6356988c4348c53ddff2f3bb75363d3a965"
-path = "iso/4/Mageia-4-dual-DVD"
-torrent = "iso/4/torrents/Mageia-4-dual-DVD.torrent"
-name = "Mageia 4 dual DVD"
-size = "1 GB"
-
-;
-[Mageia-4-i586-DVD.iso]
-file = "Mageia-4-i586-DVD.iso"
-md5 = "452b3003766f2bcec202e0399a6708e8"
-sha1 = "69bf4c87537452b10443c0cce3db07ef3af1c3a1"
-path = "iso/4/Mageia-4-i586-DVD"
-torrent = "iso/4/torrents/Mageia-4-i586-DVD.torrent"
-name = "Mageia 4 32bit DVD"
-size = "3.6 GB"
-
-;
-[Mageia-4-x86_64-DVD.iso]
-file = "Mageia-4-x86_64-DVD.iso"
-md5 = "558ecab2670cb8ae9db63216cf7484df"
-sha1 = "9b92024e4ae0b4d4a122b0f8dd8d4c6a97c7b674"
-path = "iso/4/Mageia-4-x86_64-DVD"
-torrent = "iso/4/torrents/Mageia-4-x86_64-DVD.torrent"
-name = "Mageia 4 64bit DVD"
-size = "3.6 GB"
-
-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
-;;;;; Mageia 4.1
-;;;;;;;;;;;;;;;;;;;;;
-
-[Mageia-4.1-Boot-i586-CD.iso]
-file = "boot.iso"
-path = "distrib/4/i586/install/images"
-md5 = "3a3d58c15ac97539afde6476a2f5c9b1"
-sha1 = "525ee6c8cd576bf7bd97e48cba7afc628c179a91"
-name = "Mageia 4.1 Boot 32bit CD ISO"
-size = "27 MB"
-
-;
-[Mageia-4.1-Boot-nonfree-i586-CD.iso]
-file = "boot-nonfree.iso"
-path = "distrib/4/i586/install/images"
-md5 = "12eccfa90037a0d7fc1c2b6bedba56b9"
-sha1 = "e5077220703262178c1cae3fb418111ed844bdef"
-name = "Mageia 4.1 Boot Nonfree 32bit CD ISO"
-size= "37 MB"
-
-;
-[Mageia-4.1-Boot-x86_64-CD.iso]
-file = "boot.iso"
-path = "distrib/4/x86_64/install/images"
-md5 = "34df138ea1eed6319d5bf36bc7b8ab88"
-sha1 = "8f00a3bdde34700bb4f10f78473eeda25d82e443"
-name = "Mageia 4.1 Boot 64bit CD ISO"
-size = "54 MB"
-
-;
-[Mageia-4.1-Boot-nonfree-x86_64-CD.iso]
-file = "boot-nonfree.iso"
-path = "distrib/4/x86_64/install/images"
-md5 = "03894a703a21bf5abbcbf532e6a12720"
-sha1 = "95d59c5f60f329fe549d59ede1a698642c64e8a3"
-name = "Mageia 4.1 Boot Nonfree 64bit CD ISO"
-size = "74 MB"
-
-
-;From fidd
-;
-[Mageia-4.1-LiveCD-GNOME-en-i586-CD.iso]
-file = "Mageia-4.1-LiveCD-GNOME-en-i586-CD.iso"
-md5 = "ce4ca38ba9a45ce542f64734ca57ed57"
-sha1 = "18a1de05686800740764abc662eaa1ee77a6de21"
-langs = "English (Australia) (en_AU), English (Canada) (en_CA), English (en_GB), English (Ireland) (en_IE), English (New-Zealand) (en_NZ), English (American) (en_US), English (South Africa) (en_ZA)"
-path = "iso/4.1/Mageia-4.1-LiveCD-GNOME-en-i586-CD"
-torrent = "iso/4.1/torrents/Mageia-4.1-LiveCD-GNOME-en-i586-CD.torrent"
-name = "Mageia 4.1 LiveCD GNOME en 32bit CD"
-size = "654 MB"
-
-;
-[Mageia-4.1-LiveCD-KDE4-en-i586-CD.iso]
-file = "Mageia-4.1-LiveCD-KDE4-en-i586-CD.iso"
-md5 = "4c9b55b41ae315b38b742ccb98a50ad7"
-sha1 = "dafae61ac1d8acfd7fe5a33d9099574c8611d00c"
-langs = "English (Australia) (en_AU), English (Canada) (en_CA), English (en_GB), English (Ireland) (en_IE), English (New-Zealand) (en_NZ), English (American) (en_US), English (South Africa) (en_ZA)"
-path = "iso/4.1/Mageia-4.1-LiveCD-KDE4-en-i586-CD"
-torrent = "iso/4.1/torrents/Mageia-4.1-LiveCD-KDE4-en-i586-CD.torrent"
-name = "Mageia 4.1 LiveCD KDE4 en 32bit CD"
-size = "658 MB"
-
-;
-[Mageia-4.1-LiveDVD-GNOME-i586-DVD.iso]
-file = "Mageia-4.1-LiveDVD-GNOME-i586-DVD.iso"
-md5 = "b99065678db12bf7607b3a3feb6e7844"
-sha1 = "9497318f67a9560cbfcbded3e660d39927ce55e3"
-langs = "English (American) (en_US)"
-path = "iso/4.1/Mageia-4.1-LiveDVD-GNOME-i586-DVD"
-torrent = "iso/4.1/torrents/Mageia-4.1-LiveDVD-GNOME-i586-DVD.torrent"
-name = "Mageia 4.1 LiveDVD GNOME 32bit DVD"
-size = "1.4 GB"
-
-;
-[Mageia-4.1-LiveDVD-GNOME-x86_64-DVD.iso]
-file = "Mageia-4.1-LiveDVD-GNOME-x86_64-DVD.iso"
-md5 = "fa52893397e04e085da995b693dd72b5"
-sha1 = "3d7e61436e5c5acaa3e2c18dc50264149267b888"
-langs = "English (American) (en_US)"
-path = "iso/4.1/Mageia-4.1-LiveDVD-GNOME-x86_64-DVD"
-torrent = "iso/4.1/torrents/Mageia-4.1-LiveDVD-GNOME-x86_64-DVD.torrent"
-name = "Mageia 4.1 LiveDVD GNOME 64bit DVD"
-size = "1.4 GB"
-
-;
-[Mageia-4.1-LiveDVD-KDE4-i586-DVD.iso]
-file = "Mageia-4.1-LiveDVD-KDE4-i586-DVD.iso"
-md5 = "afe23510a737e86c985f7f427256366d"
-sha1 = "feb7a3a9efa5155d9efb82855f901663169c8520"
-langs = "English (American) (en_US)"
-path = "iso/4.1/Mageia-4.1-LiveDVD-KDE4-i586-DVD"
-torrent = "iso/4.1/torrents/Mageia-4.1-LiveDVD-KDE4-i586-DVD.torrent"
-name = "Mageia 4.1 LiveDVD KDE4 32bit DVD"
-size = "1.4 GB"
-
-;
-[Mageia-4.1-LiveDVD-KDE4-x86_64-DVD.iso]
-file = "Mageia-4.1-LiveDVD-KDE4-x86_64-DVD.iso"
-md5 = "e9b3369d8f7695f7df69b65932f54a61"
-sha1 = "aef567f17040ce53ba30d4305575872cfb908bf1"
-langs = "English (American) (en_US)"
-path = "iso/4.1/Mageia-4.1-LiveDVD-KDE4-x86_64-DVD"
-torrent = "iso/4.1/torrents/Mageia-4.1-LiveDVD-KDE4-x86_64-DVD.torrent"
-name = "Mageia 4.1 LiveDVD KDE4 64bit DVD"
-size = "1.5 GB"
-
-;
-[Mageia-4.1-dual-DVD.iso]
-file = "Mageia-4.1-dual-DVD.iso"
-md5 = "c678150b0af58f49a94ca6f4b1e601d2"
-sha1 = "5cd2526c945c72f93b904327c2b2f78a639dfb11"
-path = "iso/4.1/Mageia-4.1-dual-DVD"
-torrent = "iso/4.1/torrents/Mageia-4.1-dual-DVD.torrent"
-name = "Mageia 4.1 dual DVD"
-size = "1 GB"
-
-;
-[Mageia-4.1-i586-DVD.iso]
-file = "Mageia-4.1-i586-DVD.iso"
-md5 = "44b97918aebbaad3366f52df79ff4087"
-sha1 = "12bfce827756b33d87f46c0cc42bec9060e6dc44"
-path = "iso/4.1/Mageia-4.1-i586-DVD"
-torrent = "iso/4.1/torrents/Mageia-4.1-i586-DVD.torrent"
-name = "Mageia 4.1 32bit DVD"
-size = "3.5 GB"
-
-;
-[Mageia-4.1-x86_64-DVD.iso]
-file = "Mageia-4.1-x86_64-DVD.iso"
-md5 = "c1e996006ee03356e827dcfd02b060a7"
-sha1 = "3a257f7748f11ab725eff98b7d5160c68bd2aa65"
-path = "iso/4.1/Mageia-4.1-x86_64-DVD"
-torrent = "iso/4.1/torrents/Mageia-4.1-x86_64-DVD.torrent"
-name = "Mageia 4.1 64bit DVD"
-size = "3.5 GB"
-
-
-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
-;;;;; Mageia 5
-;;;;;;;;;;;;;;;;;;;;;
-
-[Mageia-5-alpha2-Boot-i586-CD.iso]
-file = "boot.iso"
-path = "distrib/cauldron/i586/install/images"
-md5 = "d7f0a536e224da953309dc3f2dd3d903"
-sha1 = "e216e6e10ee4b21f0487fba5324bdb309ef7c169"
-name = "Mageia Cauldron Boot 32bit CD ISO"
-size = "30 MB"
-
-;
-[Mageia-5-alpha2-Boot-nonfree-i586-CD.iso]
-file = "boot-nonfree.iso"
-path = "distrib/cauldron/i586/install/images"
-md5 = "bba03490ac0cb60ad8e1c27593408355"
-sha1 = "87afd6524ddee0abdad028d3f27203a64caf5135"
-name = "Mageia Cauldron Boot Nonfree 32bit CD ISO"
-size= "43 MB"
-
-;
-[Mageia-5-alpha2-Boot-x86_64-CD.iso]
-file = "boot.iso"
-path = "distrib/cauldron/x86_64/install/images"
-md5 = "ff843242f80b4cdba6fa8404c355039d"
-sha1 = "82e18ddf683690ea5dd864d01a6665ea2500e9ec"
-name = "Mageia Cauldron Boot 64bit CD ISO"
-size = "70 MB"
-
-;
-[Mageia-5-alpha2-Boot-nonfree-x86_64-CD.iso]
-file = "boot-nonfree.iso"
-path = "distrib/cauldron/x86_64/install/images"
-md5 = "786b79fec712e616a0f489ee7b84aeb8"
-sha1 = "be23d68a88b566170e49401b5f406c6659052914"
-name = "Mageia Cauldron Boot Nonfree 64bit CD ISO"
-size = "82 MB"
-
-;from fidd
-;
-;
-[Mageia-5-alpha2-LiveCD-GNOME-en-i586-CD.iso]
-file = "Mageia-5-alpha2-LiveCD-GNOME-en-i586-CD.iso"
-md5 = "9dc85975b46e1ba83b55d61ec7c8658c"
-sha1 = "d6d1ece9cbef290b398cde5e4285d53bf4207760"
-langs = "English (Australia) (en_AU), English (Canada) (en_CA), English (en_GB), English (Ireland) (en_IE), English (New-Zealand) (en_NZ), English (American) (en_US), English (South Africa) (en_ZA)"
-path = "iso/cauldron/Mageia-5-alpha2-LiveCD-GNOME-en-i586-CD"
-torrent = "iso/cauldron/torrents/Mageia-5-alpha2-LiveCD-GNOME-en-i586-CD.torrent"
-name = "Mageia 5 alpha2 LiveCD GNOME en 32bit CD"
-size = "657 MB"
-
-;
-[Mageia-5-alpha2-LiveCD-KDE4-en-i586-CD.iso]
-file = "Mageia-5-alpha2-LiveCD-KDE4-en-i586-CD.iso"
-md5 = "2996c524753b62637b4dbd355158dfbd"
-sha1 = "7d61a337e69ad4938c72a8089027f7579f06ab16"
-langs = "English (Australia) (en_AU), English (Canada) (en_CA), English (en_GB), English (Ireland) (en_IE), English (New-Zealand) (en_NZ), English (American) (en_US), English (South Africa) (en_ZA)"
-path = "iso/cauldron/Mageia-5-alpha2-LiveCD-KDE4-en-i586-CD"
-torrent = "iso/cauldron/torrents/Mageia-5-alpha2-LiveCD-KDE4-en-i586-CD.torrent"
-name = "Mageia 5 alpha2 LiveCD KDE4 en 32bit CD"
-size = "705 MB"
-
-;
-[Mageia-5-alpha2-LiveDVD-GNOME-i586-DVD.iso]
-file = "Mageia-5-alpha2-LiveDVD-GNOME-i586-DVD.iso"
-md5 = "04f169bbf60bc67dfdaea2aa8cbd6da4"
-sha1 = "ff7a8ed372883c9943b98be541efc8c0f7a1a32e"
-langs = "English (American) (en_US)"
-path = "iso/cauldron/Mageia-5-alpha2-LiveDVD-GNOME-i586-DVD"
-torrent = "iso/cauldron/torrents/Mageia-5-alpha2-LiveDVD-GNOME-i586-DVD.torrent"
-name = "Mageia 5 alpha2 LiveDVD GNOME 32bit DVD"
-size = "1.4 GB"
-
-;
-[Mageia-5-alpha2-LiveDVD-GNOME-x86_64-DVD.iso]
-file = "Mageia-5-alpha2-LiveDVD-GNOME-x86_64-DVD.iso"
-md5 = "768288a22252cfd4cde3e523b58c08e1"
-sha1 = "873922ff7b4b2c48fb480331acf29a5ab86db62a"
-langs = "English (American) (en_US)"
-path = "iso/cauldron/Mageia-5-alpha2-LiveDVD-GNOME-x86_64-DVD"
-torrent = "iso/cauldron/torrents/Mageia-5-alpha2-LiveDVD-GNOME-x86_64-DVD.torrent"
-name = "Mageia 5 alpha2 LiveDVD GNOME 64bit DVD"
-size = "1.4 GB"
-
-;
-[Mageia-5-alpha2-LiveDVD-KDE4-i586-DVD.iso]
-file = "Mageia-5-alpha2-LiveDVD-KDE4-i586-DVD.iso"
-md5 = "d61481f3bd66f86c9caf4d38471a3c5c"
-sha1 = "38de7ffa3a7f5a79ff2230b7637fe79d0ed6599e"
-langs = "English (American) (en_US)"
-path = "iso/cauldron/Mageia-5-alpha2-LiveDVD-KDE4-i586-DVD"
-torrent = "iso/cauldron/torrents/Mageia-5-alpha2-LiveDVD-KDE4-i586-DVD.torrent"
-name = "Mageia 5 alpha2 LiveDVD KDE4 32bit DVD"
-size = "1.5 GB"
-
-;
-[Mageia-5-alpha2-LiveDVD-KDE4-x86_64-DVD.iso]
-file = "Mageia-5-alpha2-LiveDVD-KDE4-x86_64-DVD.iso"
-md5 = "030d2e22419719cf198c6c2916cedf52"
-sha1 = "bfecdef19262632b47b95572d0a199c381109fd7"
-langs = "English (American) (en_US)"
-path = "iso/cauldron/Mageia-5-alpha2-LiveDVD-KDE4-x86_64-DVD"
-torrent = "iso/cauldron/torrents/Mageia-5-alpha2-LiveDVD-KDE4-x86_64-DVD.torrent"
-name = "Mageia 5 alpha2 LiveDVD KDE4 64bit DVD"
-size = "1.6 GB"
-
-;
-[Mageia-5-alpha2-dual-DVD.iso]
-file = "Mageia-5-alpha2-dual-DVD.iso"
-md5 = "79df51fdd078090fa095c581b1b3733b"
-sha1 = "24a1a2410d2a6396c606397dbcb62ce55b7c2157"
-path = "iso/cauldron/Mageia-5-alpha2-dual-DVD"
-torrent = "iso/cauldron/torrents/Mageia-5-alpha2-dual-DVD.torrent"
-name = "Mageia 5 alpha2 dual DVD"
-size = "1.1 GB"
-
-;
-[Mageia-5-alpha2-i586-DVD.iso]
-file = "Mageia-5-alpha2-i586-DVD.iso"
-md5 = "7c603002c72310e08f22030d1a9a1f02"
-sha1 = "f1cd794dca670a0d9dec5a2eeae99a6296546b51"
-path = "iso/cauldron/Mageia-5-alpha2-i586-DVD"
-torrent = "iso/cauldron/torrents/Mageia-5-alpha2-i586-DVD.torrent"
-name = "Mageia 5 alpha2 32bit DVD"
-size = "3.7 GB"
-
-;
-[Mageia-5-alpha2-x86_64-DVD.iso]
-file = "Mageia-5-alpha2-x86_64-DVD.iso"
-md5 = "8ef2543d90f8bbcb484cc3fea7d32f8d"
-sha1 = "9933e5c814850cb2f50e13987d11d1c9b2f9f4c4"
-path = "iso/cauldron/Mageia-5-alpha2-x86_64-DVD"
-torrent = "iso/cauldron/torrents/Mageia-5-alpha2-x86_64-DVD.torrent"
-name = "Mageia 5 alpha2 64bit DVD"
-size = "3.7 GB"
diff --git a/en/downloads/get/definitions.php b/en/downloads/get/definitions.php
deleted file mode 100644
index 28f2fa653..000000000
--- a/en/downloads/get/definitions.php
+++ /dev/null
@@ -1,18 +0,0 @@
-<?php
-
-$ini = parse_ini_file('definitions.ini', true);
-
-foreach ($ini as $section => $values) {
-
- echo '<section><h2>', $section, '</h2>';
- echo sprintf('<section><h2>%s</h2><ul><li><code>%s</code></li><li>%s</li></section>',
- $values['name'],
- '$MIRROR/' . $values['path'] . $values['file'],
- $values['size']
- );
-
- echo '<ul>';
- foreach ($values as $k => $v)
- echo '<li>', $k, ' = ', $v, '</li>';
- echo '</ul></section>';
-} \ No newline at end of file
diff --git a/en/downloads/get/index.php b/en/downloads/get/index.php
deleted file mode 100644
index 9f46d7013..000000000
--- a/en/downloads/get/index.php
+++ /dev/null
@@ -1,273 +0,0 @@
-<?php
-/**
- * Main download redirector.
- *
- * Takes these data:
- * - product to download (GET[product])
- * - download mode (normal or GET[torrent] is set)
- * - products whitelist with a checksum for each one
- * - list of available up-to-date mirrors for this product
- *
- * product:
- * - id
- * - name
- * - checksums
- * - size
- *
- * mirror(product):
- * - name
- * - host
- * - country
- * - city
- * - speed
- * - link
- *
- *
- * PHP version 5.4
- *
- * @category Mageia
- * @package Mageia\Web\www
- * @author rda <rda@mageia.org>
- * @license http://www.gnu.org/licenses/gpl-2.0.html GPL-2+
- * @link http://www.mageia.org/
- *
-*/
-
-require 'lib.php';
-
-// request
-$product = get('q');
-$debug = get('d');
-if (isset($_GET['torrent'])) {
- $torrent = strip_tags(trim($_GET['torrent']));
-}
-$torrent = isset($torrent) ? true : false;
-
-if (is_null($product)) {
- header('Location: /downloads/');
- die;
-}
-
-define('HLANG', true);
-require '../../../langs.php';
-
-$dictionary = read_translation_file($locale, "downloads/get");
-
-session_start();
-
-$download = null;
-$js_redirect = null;
-$reason = null;
-
-try {
- // TODO simplify and wrap all this in a single interface:
- // list(dl_template, mirrors) = get_download_options_for(product)
- // Step 1.
- include '../../../lib/Downloads.php';
- $product = get_info_for_product($product);
- $all_mirrors = get_mirrors_for($product['file'], 'en', get('country'));
- $one_mirror = $all_mirrors[0];
- $alt_mirrors = $all_mirrors[1];
- $download_tmpl = get_download_link($product, $torrent);
-
- // Step 2. Make the actual download link against the preferred mirror returned.
- $download = str_replace('$MIRROR', $one_mirror['mirror_url'], $download_tmpl);
-
- // TODO do not redirect if it's a bot!
- $js_redirect = sprintf(
- '<script>(function(){setTimeout("document.location=\'%s\';", 6000);})();</script>',
- $download
- );
-
- // Step 3. Build alternative mirrors list of links (URL manipulation, HTML)
- $g_mirs2 = array();
- foreach ($alt_mirrors as $country => $mirs):
- if (substr($country, 0, 3) == '_C:')
- continue;
-
- foreach ($mirs as $mir):
- $g_mirs2[$countries[$country]][$mir['city']][] = $mir['url'];
- endforeach;
- endforeach;
-
- ksort($g_mirs2);
-
- $alternative_mirrors = '';
- foreach ($g_mirs2 as $country => $cities) {
- $s = array();
- foreach ($cities as $city => $mirrors2) {
- $mirs = array();
- rsort($mirrors2);
- foreach ($mirrors2 as $m) {
- $pm = parse_url($m);
- $alt_dl_link = str_replace('$MIRROR', $m, $download_tmpl);
- $mirs[] = sprintf(
- '<a href="%s" rel="nofollow" class="mirror-link"><span class="p">%s</span> %s</a>',
- $alt_dl_link, strtoupper($pm['scheme']), $pm['host']
- );
- }
- $s[] = sprintf('<td>%s</td><td>%s</td>', rewrite_city($city), implode(', ', $mirs));
- }
- $alternative_mirrors .= sprintf('<tr><td rowspan="%d">%s</td>%s</tr>', count($cities), $country, implode('</tr><tr>', $s));
- }
-
- // Feedback about current mirror location + trigger for alt mirrors.
- $dl2_mirror_alt = sprintf(
- _r('This <a href="%s">%s</a> download mirror is located in %s (%s).'),
- $one_mirror['mirror_url'],
- $one_mirror['mirror_host'],
- rewrite_city($one_mirror['city']) . ', ' . $countries[$one_mirror['country']],
- $one_mirror['country']
- )
- . ' ' . _r('If it does not work well for you, <a href="#om" id="other_mirrors_btn">check out these other mirrors</a>.');
-
-
- // at the end of this block we expect the following vars to be available from here:
- // - $product (mixed)
- // - $download (URL)
- // - $js_redirect (JS snippet)
- // - $alternative_mirrors (HTML snippet)
- // - $dl2_mirror_alt (HTML snippet)
-}
-catch (NoProductFoundError $e) {
- // sorry, no such product found/available. redirect?
- $reason = 'The file '. $product .' is not available for download.';
-}
-catch (NoMirrorFoundError $e) {
- // sorry, no mirror found. next time?
- $reason = 'No mirror found for this file to download.';
-}
-catch (Exception $e) {
- // don't translate $reason as it's for debuging purposes
- $reason = 'I do not know either!';
-}
-
-if (!$download) {
- header('HTTP/1.0 404 Not Found');
- header('Status: 404 Not Found');
- header('Cache-Control: public, max-age=600, s-max-age=900');
- $title = '404 Not Found';
- $js_redirect = null;
-} else {
- header('Pragma: no-cache');
- header('Cache-Control: s-maxage=0, max-age=0, must-revalidate, no-cache');
- $title = $product['name'];
-}
-
-if ($debug)
- $js_redirect = null;
-
-?><!DOCTYPE html>
-<html lang="<?php echo $locale; ?>">
-<head>
- <meta charset="utf-8">
- <title><?php echo $title; ?> | <?php _g('Mageia Downloads') ?></title>
- <meta name="robots" content="noindex,nofollow,nosnippet">
- <link rel="stylesheet" type="text/css" href="/g/style/all.css">
- <?php
-if (!isset($_SERVER['APP_MODE']) || $_SERVER['APP_MODE'] == 'prod') {
- include '../../../analytics.php';
- echo $js_redirect;
-}
- ?>
-</head>
-<body class="downloads">
- <?php echo $hsnav; ?>
- <h1 id="mgnavt"><?php echo sprintf(_r('Download %s'), '<em class="tag">' . $title . '</em>')?></h1>
- <div id="doc4" class="yui-t7">
- <div id="bd" role="main">
- <?php if (!is_null($download)): ?>
- <div class="yui-g"><div class="para" style="padding-top: 2em;">
- <p><?php
- echo
- sprintf(_r('Your download of %s should start within a few seconds'), '<em class="tag">' . $product['name'] . '</em>' . ($torrent ? ' (torrent)' : '')),
- ' ', sprintf(_r('(download size is about %s).'), $product['size']),
- ' ', sprintf(_r('If the download does not start, <a href="%s" rel="nofollow" title="%s">click here</a>.'), $download, $download);
- ?></p>
-
- <div class="dlinfo">
- <p><?php echo $dl2_mirror_alt; ?></p>
- <?php
- if (((isset($product['md5']) && strlen($product['md5']) > 0)
- || (isset($product['sha1'])) && strlen($product['sha1']) > 0)
- && !$torrent
- ): ?>
- <p><?php _g('As soon as your download is complete, you should check that the signatures match:') ?></p>
- <div id="check-signs">
- <pre class="term">
-<?php if (strlen($product['md5'])): ?>$ md5sum <?php echo basename($download), "\n<strong>", $product['md5'], "</strong>\n"; endif; ?>
-
-<?php if (strlen($product['sha1'])): ?>$ sha1sum <?php echo basename($download), "\n<strong>", $product['sha1'], "</strong>\n"; endif; ?>
-</pre>
- <p><?php _g('If signatures do not match, <strong>DO NOT use this ISO</strong>. Double-check and try to download again.'); ?></p>
- <!-- TODO (rda): add direct download links to checksum and signature files as a backup. -->
- </div>
- <?php endif; ?>
- <p><?php
- echo sprintf(
- _r('Your IP address is %s and you seem to be in %s, %s.'),
- $_SESSION['ip'], $_SESSION['country'], $_SESSION['continent']
- );
- ?></p>
- </div>
-
- <!-- alternative mirrors table -->
- <table class="dlt2 dlinfo" id="other_mirrors" style="display: none;">
- <thead><tr><th><?php _g('Country'); ?></th>
- <th><?php _g('City'); ?></th>
- <th><?php _g('Download mirrors'); ?></th></tr></thead>
- <tbody><?php echo $alternative_mirrors; ?></tbody>
- </table>
-
- <hr />
-
- </div></div>
- <div class="yui-g" style="border-top: 1px solid #ddd;">
- <div class="yui-g first"><div class="para">
- </div></div>
- <div class="yui-g" style="border-left: 1px solid #ddd"><div class="para">
- <p><?php echo sprintf(_r('The making and the distribution of Mageia worldwide is made possible by all the <a href="%s">people and organizations that mirror our software</a> and that <a href="%s">donate money, hardware, hosting and more</a>.'), '//mirrors.mageia.org/', '../../thank-you/'); ?></p>
- <p><?php echo sprintf(_r('Want to help? %sJoin Us!%s'), '<a href="../../contribute/">', '</a>'); ?></p>
- </div></div>
- </div>
- <?php else: ?>
- <div class="yui-g"><div class="para" style="padding-top: 2em;">
- <h2><?php _g('Sorry!'); ?> :-(</h2>
- <p><?php echo sprintf(_r('Your download could not complete, as we could not find this file. Please try again from the <a href="%s">main downloads page</a>.'), '../../downloads/'); ?></p>
-
- <p><?php echo sprintf(_r('If you still encounter this error and think IT SHOULD NOT HAPPEN &ndash; please tell us:')); ?></p>
- <ul>
- <li><?php _g('directly on <a href="irc://irc.freenode.net/#mageia-atelier">#mageia-atelier on Freenode IRC</a>,'); ?></li>
- <li><?php _g('or <a href="https://twitter.com/mageia_org">via our Twitter account</a>,'); ?></li>
- <li><?php _g('or with a <a href="https://ml.mageia.org/l/info/atelier-discuss">notice on the Atelier team mailing-list</a>,'); ?></li>
- <li><?php _g('or a <a href="https://bugs.mageia.org/enter_bug.cgi?product=Websites&amp;format=guided&amp;component=www.mageia.org">bug report</a>.'); ?></li>
- </ul>
-
- <p><?php _g('Please copy and report us the above address that returned you to this page.'); _g('Thanks!'); ?></p>
- <p><a href="/<?php echo $locale; ?>">&laquo; <?php _g('back to that awesome Mageia home page'); ?></a></p>
- </div></div>
- <?php endif; ?>
- </div>
-<script>
-document.getElementById("other_mirrors_btn").onclick = function () {
- var el = document.getElementById("other_mirrors");
- el.style.display = (el.style.display != 'none' ? 'none' : '' );
-};
-</script>
-<div class="yui-gb" style="border-top: 1px solid #ccc; background:#f8fcff; text-align: center;">
- <div class="yui-u first"><div class="para" style="background: transparent;">
- <a href="https://twitter.com/mageia_org" class="twitter-follow-button" data-show-count="true" data-lang="<?php echo $locale; ?>">Follow @mageia_org</a>
- <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
- </div></div>
- <div class="yui-u"><div class="para" style="background: transparent;">
- <g:plusone href="//mageia.org/"></g:plusone>
- </div></div>
- <div class="yui-u"><div class="para" style="background: transparent;">
- <div id="fb-root"></div><script src="//connect.facebook.net/en_US/all.js#xfbml=1"></script><fb:facepile href="facebook.com/Mageia" width="270" max_rows="1"></fb:facepile>
- </div></div>
-</div>
-<script type="text/javascript" src="https://apis.google.com/js/plusone.js">
- {lang: '<?php echo $locale; ?>'}
-</script>
-</body>
-</html>
diff --git a/en/downloads/get/lib.php b/en/downloads/get/lib.php
deleted file mode 100644
index 35bbe985c..000000000
--- a/en/downloads/get/lib.php
+++ /dev/null
@@ -1,160 +0,0 @@
-<?php
-/**
- * PHP version 5.4
- *
- * @category Mageia
- * @package Mageia\Web\www
- * @author rda <rda@mageia.org>
- * @license http://www.gnu.org/licenses/gpl-2.0.html GPL-2+
- * @link http://www.mageia.org/
- *
-*/
-
-// note, we use geographical country names
-$countries = array(
- 'AR' => 'Argentina',
- 'AU' => 'Australia',
- 'BE' => 'Belgique',
- 'BR' => 'Brasil',
- 'BY' => 'Беларусь', // Belarus
- 'CA' => 'Canada',
- 'CH' => 'Switzerland',
- 'CN' => '中国', // China
- 'CZ' => 'Česko', // Czechia
- 'DE' => 'Deutschland',
- 'ES' => 'España',
- 'FR' => 'France',
- 'GB' => 'Great Britain',
- 'GR' => 'Ελλάδα', // Greece
- 'GT' => 'Guatemala',
- 'ID' => 'Indonesia',
- 'IT' => 'Italia',
- 'JP' => '日本国', // Japan
- 'NC' => 'Nouvelle-Calédonie',
- 'NL' => 'Nederlands',
- 'PL' => 'Polska',
- 'RU' => 'Россия',
- 'SE' => 'Sverige',
- 'TR' => 'Türkiye',
- 'TW' => '臺灣', // Taiwan
- 'UK' => 'the UK',
- 'US' => 'the USA',
- 'ZA' => 'South Africa'
-);
-
-/**
- * Rewrite city name in the local official language.
- *
- * @param string $name city name
- *
- * @return string
-*/
-function rewrite_city($name)
-{
- $cities = array(
- 'HsinChu' => '新竹市', // .tw
- 'Yonezawa' => '米沢市', // .jp
- 'Beijing' => '北京', // .cn
- 'Moscow' => 'Москва', // .ru
- 'Minsk' => 'Мінск', // .by
- 'Heraklion' => 'Ηράκλειο', // .gr
- 'Prague' => 'Praha', // .cz
- );
- if (array_key_exists($name, $cities)) {
- return $cities[$name];
- }
-
- return $name;
-}
-
-/**
- * Return $_GET value for $s key if it exists.
- *
- * @param string $s key
- *
- * @return mixed
-*/
-function get($s)
-{
- if (isset($_GET[$s])) {
- return strip_tags(trim($_GET[$s]));
- }
-
- return null;
-}
-
-class NoProductFoundError extends Exception {}
-class NoMirrorFoundError extends Exception {}
-
-/**
- * TODO use aliases, so that downloads asking for alpha3
- * get redirected to beta1 for instance? (on migration)
- *
- * @param array $product array definition
- * @param string $def_file definition file
- *
- * @return array
-*/
-function get_info_for_product($product, $def_file = null)
-{
- $def_file = is_null($def_file) ? 'definitions.ini' : $def_file;
-
- $defs = parse_ini_file($def_file, true);
-
- if (array_key_exists($product, $defs)) {
- return $defs[$product];
- }
-
- throw new NoProductFoundError;
-}
-
-/**
- * Return mirrors for $file.
- * First mirror returned is the preferred one for auto redirection.
- *
- * @param string $file id of the file to download/find a mirror for
- * @param string $locale hint for selecting a mirror
- * @param string $country hint for selecting a mirror
- *
- * @return array
- * mirror(product):
- * name
- * host
- * country
- * city
- * speed
- * link
-*/
-function get_mirrors_for($file, $locale = null, $country = null)
-{
- //include '../../../lib/Downloads.php';
-
- $mirrors = Downloads::get_all_mirrors();
- $wsd = new Downloads();
- $one = $wsd->prepare_download(true, $country);
-
- return array($one, $mirrors);
-}
-
-/**
- * Simplifies things.
- *
- * @param array $product _one_ product definition array
- * @param boolean $torrent_preferred do we prefer to get a torrent, if available?
- *
- * @return string
-*/
-function get_download_link($product, $torrent_preferred = false)
-{
- if ($torrent_preferred === true
- && isset($product['torrent'])
- && strlen($product['torrent']) > 0
- ) {
-
- $path = $product['torrent'];
- } else {
- $path = $product['path'] . '/' . $product['file'];
- }
-
- return '$MIRROR/' . $path;
-} \ No newline at end of file