Commit b3564b68 authored by EclipseSpark's avatar EclipseSpark
Browse files

Add Taiwan (NCHC) and Ireland (Umea University) mirrors

parent 00c545b2
dh_update_autotools_config
dh_auto_configure
dh_auto_build
dh_auto_test
dh_prep
dh_auto_install
dh_installdocs
dh_installchangelogs
dh_installdebconf
dh_perl
dh_link
dh_strip_nondeterminism
dh_compress
dh_fixperms
dh_installdeb
dh_gencontrol
dh_md5sums
dh_builddeb
dh_builddeb
# Automatically added by dh_installdebconf
if [ "$1" = purge ] && [ -e /usr/share/debconf/confmodule ]; then
. /usr/share/debconf/confmodule
db_purge
fi
# End automatically added section
misc:Depends=debconf (>= 0.5) | debconf-2.0
misc:Pre-Depends=
/etc/apt/preferences.d/parrot-pinning
/etc/apt/sources.list.parrot
Package: apt-parrot
Version: 2.7.3+parrot1
Architecture: all
Maintainer: Lorenzo "Palinuro" Faletra <palinuro@frozenbox.org>
Installed-Size: 57
Pre-Depends: parrot-archive-keyring, apt
Recommends: parrot-core, python-apt-common
Replaces: parrot-update-manager (<= 1.6)
Section: parrot
Priority: important
Homepage: http://www.parrotsec.org/
Description: Parrot APT repositories
this package will install an /etc/apt/sources.list file containing
all the repositories provided by FrozenBox Dev Team for Parrot OS
09876fe25dd9397a89ebe534c19e4e76 usr/bin/parrot-mirror-selector
4cc2863b5c86c6bb4d0c3719142c13bf usr/share/doc/apt-parrot/changelog.gz
d32239bcb673463ab874e80d47fae504 usr/share/doc/apt-parrot/copyright
#!/bin/bash
set -e
#update xapian index
if [ -x "/usr/sbin/update-xapian-index" ]
then
update-apt-xapian-index -vf
fi
#install parrot repositories if missing
if ! [ -e "/etc/apt/sources.list.d/parrot.list" ]
then
parrot-mirror-selector euro3 stable nonfree
fi
if [ -e "/etc/parrot.testing" ]
then
parrot-mirror-selector euro3 testing nonfree
fi
if ! [ -e "/etc/apt/sources.list" ]
then
echo /etc/apt/sources.list.parrot > /etc/apt/sources.list
fi
#!/bin/sh
set -e
# Automatically added by dh_installdebconf
if [ "$1" = purge ] && [ -e /usr/share/debconf/confmodule ]; then
. /usr/share/debconf/confmodule
db_purge
fi
# End automatically added section
Package: *
Pin: release o=Parrot
Pin-Priority: 1001
Package: *
Pin: release o=Debian
Pin-Priority: 50
Package: *
Pin: release o=Kali
Pin-Priority: 50
Package: *
Pin: release o=Ubuntu
Pin-Priority: 50
Package: *
Pin: release o=archive.parrotsec.org
Pin-Priority: 50
# This file is empty, feel free to
# add here your custom APT repositories
# The standard Parrot repositories
# are NOT here. If you want to
# edit them, take a look into
# /etc/apt/sources.list.d/parrot.list
# If you want to change the
# default parrot repositories by selectng
# another localized mirror,
# then use the command
# parrot-mirror-selector
#
# and see its usage message to
# know what mirrors are available
apt-parrot/usr/bin/parrot-mirror-selector
\ No newline at end of file
#!/bin/bash
function list() {
echo -e "Parrot Mirror Selector - set up the APT mirror you desire
MIRRORS
codename - speed - region - country (provider)
usa - 1 Gbps - north america - massachussetts (SIPB MIT)
usa2 - 1 Gbps - north america - michigan (LUG MTU)
usa3 - 1 Gbps - north america - virginia (JMU)
usa4 - 1 Gbps - north america - new york (CLARKSON)
usa5 - 1 Gbps - north america - california (BERKELEY)
euro - 10 Gbps - europe - italy (GARR)
euro2 - 250 Mbps - europe - france (FROZENBOX)
euro3 - 20 Gbps - europe - germany (RWTH-AACHEN)
euro4 - 1 Gbps - europe - england (WARWICK)
euro5 - 10 Gbps - europe - netherland (NLUUG)
euro6 - 10 Gbps - europe - poland (ONET)
euro7 - 4 Gbps - europe - sweden (UMA)
asia - 1 Gbps - asia - russia (YANDEX)
asia2 - 1 Gbps - asia - bangladesh (AMBERIT)
asia3 - 10 Mbps - asia - china (YFGAO)
sam - 100 Mbps - south america - ecuador (CEDIA)
sam2 - 100 Mbps - south america - ecuador (UTA)
meast - 1 Gpbs - middle east - iran (ASIS)
ocean - 1 Gbps - oceania - new caledonia (LAGOON)
africa - 100 Mbps - africa - tanzania (APTUS)
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 <mirror> [branch] [archive area]
EXAMPLE
parrot-mirror-selector asia stable free
"
}
branch="parrot"
case $2 in
stable)
branch="parrot"
;;
testing)
branch="testing"
;;
parrot)
branch="parrot"
;;
parrot-testing)
branch="testing"
;;
esac
areas="main contrib non-free"
case $3 in
free)
areas="main contrib non-free"
;;
nonfree)
areas="main"
;;
esac
case $1 in
list)
list
;;
usa2)
base="http://lug.mtu.edu/parrot/"
;;
usa)
base="http://mirrors.mit.edu/parrot/"
;;
usa3)
base="http://mirror.jmu.edu/pub/parrot/"
;;
usa4)
base="http://mirror.clarkson.edu/parrot/"
;;
usa5)
base="http://mirrors.ocf.berkeley.edu/parrot/"
;;
euro)
base="http://euro.archive.parrotsec.org/mirrors/parrot/"
;;
euro2)
base="http://euro2.archive.parrotsec.org/parrot/"
;;
euro3)
base="http://euro3.archive.parrotsec.org/parrotsec/"
;;
euro4)
base="http://anorien.csc.warwick.ac.uk/mirrors/parrot/"
;;
euro5)
base="http://ftp.nluug.nl/os/Linux/distr/parrot/"
;;
euro6)
base="http://mirror.onet.pl/pub/mirrors/parrot/"
;;
euro7)
base="http://ftp.acc.umu.se/mirror/parrotsec.org/parrot/"
;;
asia)
base="http://asia.archive.parrotsec.org/mirrors/parrot/"
;;
asia2)
base="http://asia2.archive.parrotsec.org/parrotsec/"
;;
asia3)
base="http://mirrors.yfgao.com/parrot/"
;;
sam)
base="http://cedia.archive.parrotsec.org/parrot/"
;;
sam2)
base="http://uta.archive.parrotsec.org/parrot/"
;;
meast)
base="http://parrot.asis.io/parrot/"
;;
ocean)
base="http://mirror.lagoon.nc/pub/parrot/"
;;
africa)
base="http://mirror.aptus.co.tz/pub/parrot/"
;;
*)
list
;;
esac
if [ "$base" != "" ]; then
if [ "$branch" != "" ]; then
if [ "$areas" != "" ]; then
echo "# parrot repository" > /etc/apt/sources.list.d/parrot.list
echo "# this file was automatically generated by parrot-mirror-selector" >> /etc/apt/sources.list.d/parrot.list
echo "deb $base $branch $areas" >> /etc/apt/sources.list.d/parrot.list
echo "#deb-src $base $branch $areas" >> /etc/apt/sources.list.d/parrot.list
fi
fi
fi
apt-parrot_2.7.3+parrot1_all.deb parrot important
Supports Markdown
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