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
b37cb569
Commit
b37cb569
authored
May 11, 2016
by
EclipseSpark
Browse files
minor fixes
parent
12d3cafb
Changes
34
Hide whitespace changes
Inline
Side-by-side
apt-parrot
-2.7
/Makefile
→
apt-parrot/Makefile
View file @
b37cb569
File moved
apt-parrot
-2.7
/apt-parrot/etc/apt/preferences.d/parrot-pinning
→
apt-parrot/apt-parrot/etc/apt/preferences.d/parrot-pinning
View file @
b37cb569
File moved
apt-parrot
-2.7
/apt-parrot/etc/apt/sources.list.parrot
→
apt-parrot/apt-parrot/etc/apt/sources.list.parrot
View file @
b37cb569
File moved
apt-parrot
-2.7
/apt-parrot/usr/bin/parrot-mirror
→
apt-parrot/apt-parrot/usr/bin/parrot-mirror
View file @
b37cb569
File moved
apt-parrot
-2.7
/apt-parrot/usr/bin/parrot-mirror-selector
→
apt-parrot/apt-parrot/usr/bin/parrot-mirror-selector
View file @
b37cb569
...
...
@@ -73,10 +73,10 @@ case $1 in
list
;;
usa
)
base
=
"http://
mirrors.mit
.edu/parrot/"
base
=
"http://
lug.mtu
.edu/parrot/"
;;
usa2
)
base
=
"http://
lug.mtu
.edu/parrot/"
base
=
"http://
mirrors.mit
.edu/parrot/"
;;
usa3
)
base
=
"http://mirror.jmu.edu/pub/parrot/"
...
...
apt-parrot/debian/apt-parrot.debhelper.log
0 → 100644
View file @
b37cb569
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
-2.7
/debian/apt-parrot.postinst
→
apt-parrot/debian/apt-parrot.postinst
View file @
b37cb569
File moved
apt-parrot/debian/apt-parrot.postrm.debhelper
0 → 100644
View file @
b37cb569
# 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 @
b37cb569
misc:Depends=debconf (>= 0.5) | debconf-2.0
misc:Pre-Depends=
apt-parrot/debian/apt-parrot/DEBIAN/conffiles
0 → 100644
View file @
b37cb569
/etc/apt/preferences.d/parrot-pinning
/etc/apt/sources.list.parrot
apt-parrot
-2.7
/debian/config
→
apt-parrot/debian/
apt-parrot/DEBIAN/
config
100644 → 100755
View file @
b37cb569
File moved
apt-parrot/debian/apt-parrot/DEBIAN/control
0 → 100644
View file @
b37cb569
Package: apt-parrot
Version: 2.7.1
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
apt-parrot/debian/apt-parrot/DEBIAN/md5sums
0 → 100644
View file @
b37cb569
889ab90731f26005fdadb22a020f6307 usr/bin/parrot-mirror-selector
46c566b0ac13943513d2ccab941bc014 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 @
b37cb569
#!/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
apt-parrot/debian/apt-parrot/DEBIAN/postrm
0 → 100755
View file @
b37cb569
#!/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 @
b37cb569
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 @
b37cb569
# 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
0 → 120000
View file @
b37cb569
apt-parrot/usr/bin/parrot-mirror-selector
\ No newline at end of file
apt-parrot/debian/apt-parrot/usr/bin/parrot-mirror-selector
0 → 100755
View file @
b37cb569
#!/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 - michigan (LUG MTU)
usa2 - 1 Gbps - north america - massachussetts (SIPB MIT)
usa3 - 1 Gbps - north america - virginia (JMU)
usa4 - 1 Gbps - north america - new york (CLARKSON)
euro - 10 Gbps - europe - italy (GARR)
euro2 - 250 Mbps - europe - france (FROZENBOX)
euro3 - 20 Gbps - europe - germany (RWTH-AACHEN)
euro4 - 1 Gbps - europe - italy (dasaweb)
asia - 1 Gbps - asia - russia (YANDEX)
asia2 - 1 Gbps - asia - bangladesh (DHAKACOM)
asia3 - 250 Mbps - asia - china (YFGAO)
sam - 100 Mbps - south america - ecuador (CEDIA)
sam2 - 100 Mbps - south america - ecuador (ESPOCH)
sam3 - 100 Mbps - south america - ecuador (UTA)
meast - 1 Gpbs - middle east - iran (ASIS)
ocean - 1 Gbps - oceania - new caledonia (LAGOON)
BRANCHES
current supported branches are
stable | parrot - our stable archive
testing | parrot-teting - 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
;;
usa
)
base
=
"http://lug.mtu.edu/parrot/"
;;
usa2
)
base
=
"http://mirrors.mit.edu/parrot/"
;;
usa3
)
base
=
"http://mirror.jmu.edu/pub/parrot/"
;;
usa4
)
base
=
"http://mirror.clarkson.edu/parrot/"
;;
euro
)
base
=
"http://eu.archive.parrotsec.org/mirrors/parrot/"
;;
euro2
)
base
=
"http://eu2.archive.parrotsec.org/parrot/"
;;
euro3
)
base
=
"http://euro3.archive.parrotsec.org/parrotsec/"
;;
euro4
)
base
=
"http://parrot.dasaweb.net/"
;;
asia
)
base
=
"http://asia.archive.parrotsec.org/mirrors/parrot/"
;;
asia2
)
base
=
"http://asia2.archive.parrotsec.org/parrotsec/"
;;
asia3
)
base
=
"http://mirrors.yfgao.net/parrot/"
;;
sam
)
base
=
"http://cedia.archive.parrotsec.org/parrot/"
;;
sam2
)
base
=
"http://espoch.archive.parrotsec.org/parrot/"
;;
sam3
)
base
=
"http://uta.archive.parrotsec.org/parrot/"
;;
meast
)
base
=
"http://parrot.asis.io/parrot/"
;;
ocean
)
base
=
"http://mirror.lagoon.nc/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 @
b37cb569
File added
Prev
1
2
Next
Write
Preview
Supports
Markdown
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