Don't use rsync for metadata cache, it's insecure

This commit is contained in:
hasufell 2015-11-10 14:14:14 +01:00
parent 20d9a06704
commit bfa8deeb97
No known key found for this signature in database
GPG Key ID: 220CD1C5BDEED020
1 changed files with 0 additions and 4 deletions

View File

@ -7,10 +7,6 @@ if [[ ${TARGET} == gentoo ]] ; then
# Number of jobs for egencache, default is number or processors.
egencache_jobnum="$(nproc)"
ebegin "Fetching pre-generated metadata cache for gentoo repository"
rsync -aq rsync://rsync.gentoo.org/gentoo-portage/metadata/md5-cache/ "${PORTDIR}"/metadata/md5-cache/
eend $?
ebegin "Updating metadata cache for repository ${TARGET}"
egencache --jobs=${egencache_jobnum} --repo=${TARGET} --update --update-use-local-desc
eend $?