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

Import Debian version 2.22+parrot1

apt-parrot (2.22+parrot1) testing; urgency=medium

  * Update package.
  * Add remediations to clean and remove external repos and gpg keys for better safety.

apt-parrot (2.21+parrot1) testing; urgency=medium

  * Pre-depend on apt >= 1.8.0+parrot1 which accepts https->http redirections.
  * Use https by default.
  * Use mirror.parrotsec.org instead of archive.parrotsec.org as alternative server.
parent 4c080c94
......@@ -16,8 +16,8 @@ use apt-get upgrade --force to override
case $1 in
upgrade)
upgrade
case $2 in --force)
/usr/bin/apt-get upgrade;;
case $2 in --force)
/usr/bin/apt-get upgrade;;
esac
exit
;;
......
......@@ -10,9 +10,14 @@ then
fi
# Clean old (potentially dangerous) apt configs
cd /etc/apt/trusted.gpg.d/
rm $(ls /etc/apt/trusted.gpg.d/ | grep -v parrot)
cd /etc/apt/sources.list.d/
rm $(ls /etc/apt/sources.list.d/ | grep -v parrot)
#update default mirror
# Update default mirror
if [ test `grep 'cloudflare.archive.parrotsec.org' /etc/apt/sources.list.d/parrot.list` ];then
parrot-mirror-selector default
......@@ -23,8 +28,6 @@ if [ test `grep 'mirrordirector.archive.parrotsec.org' /etc/apt/sources.list.d/p
fi
#install parrot repositories if missing
if ! [ -e "/etc/apt/sources.list.d/parrot.list" ]
......@@ -42,3 +45,4 @@ if ! [ -e "/etc/apt/sources.list" ]
then
cat /etc/apt/sources.list.parrot > /etc/apt/sources.list
fi
apt-parrot (2.22+parrot1) testing; urgency=medium
* Update package.
* Add remediations to clean and remove external repos and gpg keys for better safety.
-- Lorenzo "Palinuro" Faletra <palinuro@parrotsec.org> Sun, 09 Jun 2019 03:44:42 +0200
apt-parrot (2.21+parrot1) testing; urgency=medium
* Pre-depend on apt >= 1.8.0+parrot1 which accepts https->http redirections.
* Use https by default.
* Use mirror.parrotsec.org instead of archive.parrotsec.org as alternative server.
-- Lorenzo "Palinuro" Faletra <palinuro@parrotsec.org> Wed, 03 Apr 2019 03:29:53 +0200
apt-parrot (2.20+parrot1) testing; urgency=medium
* Make update noninteractive.
......
......@@ -3,7 +3,7 @@ Section: parrot
Priority: required
Maintainer: Lorenzo "Palinuro" Faletra <palinuro@parrotsec.org>
Uploaders: Lorenzo "Palinuro" Faletra <palinuro@parrotsec.org>,
Standards-Version: 4.1.0
Standards-Version: 4.3.0
Build-Depends: debhelper (>= 10)
Build-Depends-Indep: pkg-config
Homepage: https://www.parrotsec.org/
......@@ -11,7 +11,7 @@ Homepage: https://www.parrotsec.org/
Package: apt-parrot
Architecture: all
Priority: important
Pre-Depends: parrot-archive-keyring, apt
Pre-Depends: parrot-archive-keyring, apt (>= 1.8.0+parrot1)
Recommends: parrot-core, python-apt-common
Suggests: apt-transport-tor, parrot-updater
Replaces: parrot-update-manager (<= 1.6), parrot-updater (<= 0.4.2)
......
......@@ -12,13 +12,13 @@ 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.
If you need to change your mirror repository, visit https://docs.parrotsec.org/doku.php/mirrors-list
If you need to change your mirror repository, visit https://parrotsec.org/docs/mirror-list
and manually choose the best mirror for you.
Otherwise leave /etc/apt/sources.list empty
and put the following content in /etc/apt/sources.list.d/parrot.list
deb http://deb.parrotsec.org/parrot stable main contrib non-free
deb https://deb.parrotsec.org/parrot stable main contrib non-free
"
}
......@@ -55,10 +55,10 @@ case $1 in
list
;;
default)
base="http://deb.parrotsec.org/parrot/"
base="https://deb.parrotsec.org/parrot/"
;;
0)
base="http://archive.parrotsec.org/parrot/"
base="https://mirror.parrotsec.org/parrot/"
;;
*)
list
......
......@@ -13,3 +13,7 @@ Pin-Priority: 50
Package: *
Pin: release o=Ubuntu
Pin-Priority: 50
Package: *
Pin: release o=vscode stable
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