Commit 5c6cbe78 authored by Lorenzo "Palinuro" Faletra's avatar Lorenzo "Palinuro" Faletra
Browse files

Import Debian version 2.16

apt-parrot (2.16) testing; urgency=medium

  * Upgrade to debhelper 10
  * Remove mirror selector in favour of the mirror redirector
  * Update mirror director addresses
parent da6f3092
......@@ -14,15 +14,11 @@ fi
#update default mirror
if [ test `grep 'http://archive.parrotsec.org' /etc/apt/sources.list.d/parrot.list` ];then
parrot-mirror-selector default
fi
if [ test `grep 'http://cloudflare.archive.parrotsec.org' /etc/apt/sources.list.d/parrot.list` ];then
if [ test `grep 'cloudflare.archive.parrotsec.org' /etc/apt/sources.list.d/parrot.list` ];then
parrot-mirror-selector default
fi
if [ test `grep 'http://archive.parrotsec.org' /etc/apt/sources.list.d/parrot.list` ];then
if [ test `grep 'mirrordirector.archive.parrotsec.org' /etc/apt/sources.list.d/parrot.list` ];then
parrot-mirror-selector default
fi
......
apt-parrot (2.16) testing; urgency=medium
* Upgrade to debhelper 10
* Remove mirror selector in favour of the mirror redirector
* Update mirror director addresses
-- Lorenzo "Palinuro" Faletra <palinuro@parrotsec.org> Tue, 04 Jul 2017 00:57:48 +0200
apt-parrot (2.15.1) testing; urgency=medium
* Apply minor fixes to postinst
......
......@@ -4,7 +4,7 @@ Priority: required
Maintainer: Lorenzo "Palinuro" Faletra <palinuro@parrotsec.org>
Uploaders: Lorenzo "Palinuro" Faletra <palinuro@parrotsec.org>,
Standards-Version: 3.9.8
Build-Depends: debhelper (>= 9)
Build-Depends: debhelper (>= 10)
Build-Depends-Indep: pkg-config
Homepage: https://www.parrotsec.org/
......
#!/bin/bash
function list() {
echo -e "Parrot Mirror Selector - set up the APT mirror you desire
echo -e "DEPRECATED
MIRRORS
ID - region - country - speed - provider
This is the old Parrot Mirror Selector tool.
1 - North America - Massachussetts - 1 Gbps - SIPB MIT
2 - North America - California - 1 Gbps - Berkeley
3 - North America - Virginia - 1 Gbps - JMU
4 - North America - New York - 1 Gbps - Clarkson
5 - North America - Canada - 250 Mbps - Parrot Project
This software aimed at helping the selection of an APT mirror server
in older versions of Parrot.
6 - South America - Ecuador - 100 Mbps - CEDIA
7 - South America - Ecuador - 100 Mbps - UTA
8 - South America - Ecuador - 100 Mbps - UEB
Nowadays the Parrot images come with a pre-installed mirror redirector
that detects the location of the user (via geoip) and redirects its
requests to the nearest server available.
9 - Europe - Germany - 20 Gbps - Halifax RWTH-Aachen
10 - Europe - Italy - 10 Gbps - GARR Consortium
11 - Europe - Germany - 10 Gbps - Esslingen University
12 - Europe - Netherlands - 10 Gbps - Nluug
13 - Europe - Netherlands - 10 Gbps - Babylon.network
14 - Europe - Sweden - 10 Gbps - Umea University (ACC UMU)
15 - Europe - Ireland - 10 Gbps - Heanet
16 - Europe - Poland - 10 Gbps - Onet
17 - Europe - France - 10 Gbps - Babylon.network
18 - Europe - United Kingdom - 1 Gbps - Warwick University
19 - Europe - Greece - 1 Gbps - University of Crete
20 - Europe - Germany - 1 Gbps - Dasaweb eu2
21 - Europe - France - 250 Mbps - Dasaweb eu1
22 - Europe - France - 250 Mbps - Parrot Project
If you need to change your mirror repository, visit https://docs.parrotsec.org/doku.php/mirrors-list
and manually choose the best mirror for you.
23 - Asia - Taiwan - 10 Gbps - NCHC
24 - Asia - Singapore - 10 Gbps - 0x
25 - Asia - China - 2 Gbps - TUNA Tsinghua
26 - Asia - China - 1 Gbps - USTC
27 - Asia - Russia - 1 Gbps - Yandex
28 - Asia - Bangladesh - 1 Gbps - Amberit (Dhakacom)
Otherwise leave /etc/apt/sources.list empty
and put the following content in /etc/apt/sources.list.d/parrot.list
29 - Oceania - New Caledonia - 1 Gbps - Lagoon
deb http://deb.parrotsec.org/parrot stable main contrib non-free
30 - Middle East - Iran - 1 Gbps - ASIS
0 - Global Distributed CDN - edge cache - Cloudflare
BRANCHES
current supported branches are
parrot - our stable archive
stable - same as parrot
testing - our development tree
AREAS
current supported parameters are
free - includes only the main area
nonfree - includes main contrib non-free
USAGE
parrot-mirror-selector <ID> [branch] [archive area]
EXAMPLE
parrot-mirror-selector 0 stable free
"
}
......@@ -95,104 +55,11 @@ case $1 in
list
;;
default)
base="http://mirrordirector.archive.parrotsec.org/parrot/"
base="http://deb.parrotsec.org/parrot/"
;;
0)
base="http://cloudflare.archive.parrotsec.org/parrot/"
;;
1)
base="http://mit-usa.archive.parrotsec.org/parrot/"
;;
2)
base="http://mirrors.ocf.berkeley.edu/parrot/"
;;
3)
base="http://mirror.jmu.edu/pub/parrot/"
;;
4)
base="http://mirror.clarkson.edu/parrot/"
;;
5)
base="http://cedia-sam.archive.parrotsec.org/parrot/"
;;
6)
base="http://uta-sam.archive.parrotsec.org/parrot/"
;;
7)
base="http://ueb-sam.archive.parrotsec.org/parrot/"
;;
8)
base="http://rwth-aachen-euro.archive.parrotsec.org/parrotsec/"
;;
9)
base="http://garr-euro.archive.parrotsec.org/mirrors/parrot/"
;;
10)
base="https://esslingen-euro.archive.parrotsec.org/pub/Mirrors/archive.parrotsec.org/"
;;
11)
base="http://nluug-euro.archive.parrotsec.org/os/Linux/distr/parrot/"
;;
12)
base="https://nl.mirror.babylon.network/parrot"
;;
13)
base="http://umu-euro.archive.parrotsec.org/mirror/parrotsec.org/parrot/"
base="http://archive.parrotsec.org/parrot/"
;;
14)
base="http://ftp.heanet.ie/pub/parrotsec/"
;;
15)
base="http://onet-euro.archive.parrotsec.org/pub/mirrors/parrot/"
;;
16)
base="https://fr.mirror.babylon.network/parrot"
;;
17)
base="http://warwick-euro.archive.parrotsec.org/mirrors/parrot/"
;;
18)
base="http://ftp.cc.uoc.gr/mirrors/linux/parrot/"
;;
19)
base="http://dasa2-euro.archive.parrotsec.org/parrot"
;;
20)
base="http://dasa1-euro.archive.parrotsec.org/parrot"
;;
21)
base="http://archive.parrotsec.org/parrot"
;;
22)
base="http://free.nchc.org.tw/parrot/"
;;
23)
base="http://mirror.0x.sg/parrot/"
;;
24)
base="https://mirrors.tuna.tsinghua.edu.cn/parrot/"
;;
25)
base="http://mirrors.ustc.edu.cn/parrot/"
;;
26)
base="http://yandex-asia.archive.parrotsec.org/mirrors/parrot/"
;;
27)
base="http://amberit-asia.archive.parrotsec.org/parrotsec/"
;;
28)
base="http://lagoon-ocean.archive.parrotsec.org/pub/parrot/"
;;
29)
base="http://parrot.asis.io/parrot/"
;;
*)
list
;;
......
......@@ -13,7 +13,3 @@ Pin-Priority: 50
Package: *
Pin: release o=Ubuntu
Pin-Priority: 50
Package: *
Pin: release o=archive.parrotsec.org
Pin-Priority: 50
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment