simplify overlay logic for Gentoo

openssl/cryptography versions are updated/stable
musl profiles need newer versions of open-iscsi masked as upstream
doesn't want to work with multiple libcs

Change-Id: If5baf339516390ae332015928557c6bb734486c2
This commit is contained in:
Matthew Thode 2018-10-08 00:44:56 -05:00 committed by Ian Wienand
parent 1e257f59cc
commit 3ad8235180

View File

@ -19,13 +19,11 @@ if [[ ${GENTOO_OVERLAYS} != '' ]]; then
emerge-webrsync -q emerge-webrsync -q
fi fi
# layman requires cryptography, which needs ecc crypto functions. # upstream has problems with supporting other libcs still
# binaries providing those functions have questionable legality for if [[ "${GENTOO_PROFILE}" == *"musl"* ]]; then
# redistribution, so we have to use a version of openssl that works around echo '>=sys-block/open-iscsi-2.0.875' >> /etc/portage/package.mask/open-iscsi
# it (using fedora's patchset) and also use a version of cryptography that echo '=sys-block/open-iscsi-2.0.874-r2' >> /etc/portage/package.keywords/open-iscsi
# depends on that version of openssl. fi
echo '=dev-python/cryptography-2.1.4-r2 ~amd64' >> /etc/portage/package.keywords/layman
echo '=dev-libs/openssl-1.0.2o-r6 ~amd64' >> /etc/portage/package.keywords/layman
emerge ${GENTOO_EMERGE_DEFAULT_OPTS} --oneshot openssl openssh emerge ${GENTOO_EMERGE_DEFAULT_OPTS} --oneshot openssl openssh
# install layman # install layman
emerge ${GENTOO_EMERGE_DEFAULT_OPTS} --oneshot --deep --ignore-built-slot-operator-deps=y layman emerge ${GENTOO_EMERGE_DEFAULT_OPTS} --oneshot --deep --ignore-built-slot-operator-deps=y layman