Don't use rsync for cache, it is insecure

This commit is contained in:
hasufell 2015-11-05 15:50:21 +01:00
parent d4d66f1e22
commit e87344f84d
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 $?