Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
packages
parrot
apt-parrot
Commits
d07acdb5
Commit
d07acdb5
authored
Aug 28, 2016
by
Lorenzo "Palinuro" Faletra
Browse files
add https and tor transports
parent
6f472c28
Changes
27
Expand all
Hide whitespace changes
Inline
Side-by-side
apt-parrot/apt-parrot/usr/bin/parrot-mirror-selector
View file @
d07acdb5
...
...
@@ -25,7 +25,8 @@ MIRRORS
asia2 - 1 Gbps - asia - bangladesh (AMBERIT)
asia3 - 10 Gbps - asia - taiwan (NCHC)
asia4 - 10 Gbps - asia - singapore (0x)
asia5 - 10 Mbps - asia - china (YFGAO)
asia5 - 1 Gbps - asia - china (USTC)
asia6 - 2 Gbps - asia - china (TUNA)
sam - 100 Mbps - south america - ecuador (CEDIA)
sam2 - 100 Mbps - south america - ecuador (UTA)
meast - 1 Gpbs - middle east - iran (ASIS)
...
...
@@ -144,7 +145,10 @@ case $1 in
base
=
"http://mirror.0x.sg/parrot/"
;;
asia5
)
base
=
"http://mirrors.yfgao.com/parrot/"
base
=
"http://mirrors.ustc.edu.cn/parrot/"
;;
asia6
)
base
=
"http://mirrors.tuna.tsinghua.edu.cn/parrot/"
;;
sam
)
base
=
"http://cedia-sam.archive.parrotsec.org/parrot/"
...
...
apt-parrot/debian/apt-parrot.debhelper.log
0 → 100644
View file @
d07acdb5
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
apt-parrot/debian/apt-parrot.postrm.debhelper
0 → 100644
View file @
d07acdb5
# 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
apt-parrot/debian/apt-parrot.substvars
0 → 100644
View file @
d07acdb5
misc:Depends=debconf (>= 0.5) | debconf-2.0
misc:Pre-Depends=
apt-parrot/debian/apt-parrot/DEBIAN/conffiles
0 → 100644
View file @
d07acdb5
/etc/apt/preferences.d/parrot-pinning
/etc/apt/sources.list.parrot
apt-parrot/debian/apt-parrot/DEBIAN/config
0 → 100755
View file @
d07acdb5
/etc/apt/sources.list
apt-parrot/debian/apt-parrot/DEBIAN/control
0 → 100644
View file @
d07acdb5
Package: apt-parrot
Version: 2.7.6+parrot1
Architecture: all
Maintainer: Lorenzo "Palinuro" Faletra <palinuro@frozenbox.org>
Installed-Size: 58
Pre-Depends: parrot-archive-keyring, apt
Depends: apt-transport-https
Recommends: parrot-core, python-apt-common, apt-transport-tor
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
apt-parrot/debian/apt-parrot/DEBIAN/md5sums
0 → 100644
View file @
d07acdb5
1d17a2c21a06c78e65a73906d38ff152 usr/bin/parrot-mirror-selector
307d2fed69c77c1594269f547dd4f77c usr/share/doc/apt-parrot/changelog.gz
d32239bcb673463ab874e80d47fae504 usr/share/doc/apt-parrot/copyright
apt-parrot/debian/apt-parrot/DEBIAN/postinst
0 → 100755
View file @
d07acdb5
#!/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 euro5 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
apt-parrot/debian/apt-parrot/DEBIAN/postrm
0 → 100755
View file @
d07acdb5
#!/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
apt-parrot/debian/apt-parrot/etc/apt/preferences.d/parrot-pinning
0 → 100644
View file @
d07acdb5
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
apt-parrot/debian/apt-parrot/etc/apt/sources.list.parrot
0 → 100644
View file @
d07acdb5
# 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/debian/apt-parrot/usr/bin/parrot-mirror-selector
0 → 100755
View file @
d07acdb5
#!/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 - 10 Gbps - europe - sweden (UMU)
euro8 - 10 Gbps - europe - ireland (HEANET)
euro9 - 10 Gbps - europe - germany (ESSLINGEN)
euro10 - 250 Mbps - europe - france (DASAWEB)
asia - 1 Gbps - asia - russia (YANDEX)
asia2 - 1 Gbps - asia - bangladesh (AMBERIT)
asia3 - 10 Gbps - asia - taiwan (NCHC)
asia4 - 10 Gbps - asia - singapore (0x)
asia5 - 1 Gbps - asia - china (USTC)
asia6 - 2 Gbps - asia - china (TUNA)
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)
cf - (edge cache) - Global Delivery Network (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 <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
nonfree
)
areas
=
"main contrib non-free"
;;
free
)
areas
=
"main"
;;
esac
case
$1
in
list
)
list
;;
cf
)
base
=
"http://cloudflare.archive.parrotsec.org/parrot/"
;;
usa
)
base
=
"http://mit-usa.archive.parrotsec.org/parrot/"
;;
usa2
)
base
=
"http://lug.mtu.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://garr-euro.archive.parrotsec.org/mirrors/parrot/"
;;
euro2
)
base
=
"http://frozenbox-euro.archive.parrotsec.org/parrot"
;;
euro3
)
base
=
"http://rwth-aachen-euro.archive.parrotsec.org/parrotsec/"
;;
euro4
)
base
=
"http://warwick-euro.archive.parrotsec.org/mirrors/parrot/"
;;
euro5
)
base
=
"http://nluug-euro.archive.parrotsec.org/os/Linux/distr/parrot/"
;;
euro6
)
base
=
"http://onet-euro.archive.parrotsec.org/pub/mirrors/parrot/"
;;
euro7
)
base
=
"http://umu-euro.archive.parrotsec.org/mirror/parrotsec.org/parrot/"
;;
euro8
)
base
=
"http://ftp.heanet.ie/pub/parrotsec/"
;;
euro9
)
base
=
"http://esslingen-euro.archive.parrotsec.org/pub/Mirrors/archive.parrotsec.org/"
;;
euro10
)
base
=
"http://dasa1-euro.archive.parrotsec.org/parrot/"
;;
asia
)
base
=
"http://yandex-asia.archive.parrotsec.org/mirrors/parrot/"
;;
asia2
)
base
=
"http://amberit-asia.archive.parrotsec.org/parrotsec/"
;;
asia3
)
base
=
"http://free.nchc.org.tw/parrot/"
;;
asia4
)
base
=
"http://mirror.0x.sg/parrot/"
;;
asia5
)
base
=
"http://mirrors.ustc.edu.cn/parrot/"
;;
asia6
)
base
=
"http://mirrors.tuna.tsinghua.edu.cn/parrot/"
;;
sam
)
base
=
"http://cedia-sam.archive.parrotsec.org/parrot/"
;;
sam2
)
base
=
"http://uta-sam.archive.parrotsec.org/parrot/"
;;
sam3
)
base
=
"http://ueb-sam.archive.parrotsec.org/parrot/"
;;
meast
)
base
=
"http://parrot.asis.io/parrot/"
;;
ocean
)
base
=
"http://lagoon-ocean.archive.parrotsec.org/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/debian/apt-parrot/usr/share/doc/apt-parrot/changelog.gz
0 → 100644
View file @
d07acdb5
File added
apt-parrot/debian/apt-parrot/usr/share/doc/apt-parrot/copyright
0 → 100644
View file @
d07acdb5
This diff is collapsed.
Click to expand it.
apt-parrot/debian/changelog
View file @
d07acdb5
apt-parrot (2.7.6+parrot1) testing; urgency=medium
* add https transport
* add tor transport
-- Lisetta "Sheireen" Ferrero <sheireen@autistiche.org> Sun, 28 Aug 2016 20:56:15 +0400
apt-parrot (2.7.6+parrot0) testing; urgency=medium
* add TUNA mirror
-- Lorenzo "Palinuro" Faletra <palinuro@parrotsec.org> Sun, 28 Aug 2016 18:26:21 +0200
apt-parrot (2.7.5+parrot0) testing; urgency=medium
* Fix free/nonfree behavior and add euro10 dasaweb mirror
...
...
apt-parrot/debian/control
View file @
d07acdb5
...
...
@@ -4,7 +4,7 @@ Priority: required
Maintainer: Lorenzo "Palinuro" Faletra <palinuro@frozenbox.org>
Uploaders: Lorenzo "Palinuro" Faletra <palinuro@frozenbox.org>,
Lisetta "Sheireen" Ferrero <sheireen@frozenbox.org>
Standards-Version: 3.9.
6
Standards-Version: 3.9.
8
Build-Depends: debhelper (>= 9)
Build-Depends-Indep: pkg-config
Homepage: http://www.parrotsec.org/
...
...
@@ -13,7 +13,8 @@ Package: apt-parrot
Architecture: all
Priority: important
Pre-Depends: parrot-archive-keyring, apt
Recommends: parrot-core, python-apt-common
Depends: apt-transport-https
Recommends: parrot-core, python-apt-common, apt-transport-tor
Includes: parrot-update-manager (<= 1.6)
Replaces: parrot-update-manager (<= 1.6)
Description: Parrot APT repositories
...
...
apt-parrot/debian/debhelper-build-stamp
0 → 100644
View file @
d07acdb5
apt-parrot
apt-parrot/debian/files
0 → 100644
View file @
d07acdb5
apt-parrot_2.7.6+parrot1_all.deb parrot important
apt-parrot_2.7.4+parrot2.tar.xz
deleted
100644 → 0
View file @
6f472c28
File deleted
Prev
1
2
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment