eclass: selinux-policy-2: update SRC_URI
authorJason Zaman <perfinion@gentoo.org>
Thu, 12 Jul 2018 14:35:39 +0000 (22:35 +0800)
committerJason Zaman <perfinion@gentoo.org>
Thu, 12 Jul 2018 15:28:37 +0000 (23:28 +0800)
eclass/selinux-policy-2.eclass

index aaea1ee4b89fe516063be8b3150d233f7cc15bf0..784e304a962d641d09a71411e6b581d19e81f65b 100644 (file)
@@ -94,10 +94,10 @@ IUSE=""
 
 HOMEPAGE="https://wiki.gentoo.org/wiki/Project:SELinux"
 if [[ -n ${BASEPOL} ]] && [[ "${BASEPOL}" != "9999" ]]; then
-       SRC_URI="https://raw.githubusercontent.com/wiki/TresysTechnology/refpolicy/files/refpolicy-${PV}.tar.bz2
+       SRC_URI="https://github.com/SELinuxProject/refpolicy/releases/download/RELEASE_${PV/./_}/refpolicy-${PV}.tar.bz2
                https://dev.gentoo.org/~swift/patches/selinux-base-policy/patchbundle-selinux-base-policy-${BASEPOL}.tar.bz2"
 elif [[ "${BASEPOL}" != "9999" ]]; then
-       SRC_URI="https://raw.githubusercontent.com/wiki/TresysTechnology/refpolicy/files/refpolicy-${PV}.tar.bz2"
+       SRC_URI="https://github.com/SELinuxProject/refpolicy/releases/download/RELEASE_${PV/./_}/refpolicy-${PV}.tar.bz2"
 else
        SRC_URI=""
 fi