diff options
author | Sam James <sam@gentoo.org> | 2022-09-11 17:48:47 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-09-11 17:49:00 +0100 |
commit | 6e4b6441587051a710b2cd60ff7b3939fff699e3 (patch) | |
tree | 8ad29d49a8d12be217285f9a3b3a407c8c852b28 /sys-libs/ncurses | |
parent | sys-libs/ncurses: add additional mirrors (diff) | |
download | gentoo-6e4b6441587051a710b2cd60ff7b3939fff699e3.tar.gz gentoo-6e4b6441587051a710b2cd60ff7b3939fff699e3.tar.bz2 gentoo-6e4b6441587051a710b2cd60ff7b3939fff699e3.zip |
sys-libs/ncurses: fixup patch_url
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-libs/ncurses')
-rw-r--r-- | sys-libs/ncurses/ncurses-6.3_p20220910-r1.ebuild | 12 | ||||
-rw-r--r-- | sys-libs/ncurses/ncurses-6.3_p20220910.ebuild | 12 |
2 files changed, 22 insertions, 2 deletions
diff --git a/sys-libs/ncurses/ncurses-6.3_p20220910-r1.ebuild b/sys-libs/ncurses/ncurses-6.3_p20220910-r1.ebuild index ef69dddce7cb..3a999786f58d 100644 --- a/sys-libs/ncurses/ncurses-6.3_p20220910-r1.ebuild +++ b/sys-libs/ncurses/ncurses-6.3_p20220910-r1.ebuild @@ -102,10 +102,20 @@ if [[ ${PV} == *_p* ]] ; then for ((my_patch_index=0; my_patch_index < "${#PATCH_DATES[@]}"; my_patch_index++)); do patch_url="$(printf "https://invisible-island.net/archives/${PN}/${PV/_p*}/${MY_P}-%s" ${PATCH_DATES[${my_patch_index}]}.patch.gz)" + # TODO: replace with loop + SRC_URI+=" ${patch_url}" + SRC_URI+=" verify-sig? ( ${patch_url}.asc )" + patch_url="$(printf "https://invisible-mirror.net/archives/${PN}/${PV/_p*}/${MY_P}-%s" ${PATCH_DATES[${my_patch_index}]}.patch.gz)" - patch_url+=" $(printf "https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${MY_P}-%s" ${PATCH_DATES[${my_patch_index}]}.patch.gz)" + # TODO: replace with loop SRC_URI+=" ${patch_url}" SRC_URI+=" verify-sig? ( ${patch_url}.asc )" + + patch_url="$(printf "https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${MY_P}-%s" ${PATCH_DATES[${my_patch_index}]}.patch.gz)" + # TODO: replace with loop + SRC_URI+=" ${patch_url}" + SRC_URI+=" verify-sig? ( ${patch_url}.asc )" + UPSTREAM_PATCHES+=( "${WORKDIR}"/${MY_P}-${PATCH_DATES[${my_patch_index}]}.patch ) done diff --git a/sys-libs/ncurses/ncurses-6.3_p20220910.ebuild b/sys-libs/ncurses/ncurses-6.3_p20220910.ebuild index ef69dddce7cb..3a999786f58d 100644 --- a/sys-libs/ncurses/ncurses-6.3_p20220910.ebuild +++ b/sys-libs/ncurses/ncurses-6.3_p20220910.ebuild @@ -102,10 +102,20 @@ if [[ ${PV} == *_p* ]] ; then for ((my_patch_index=0; my_patch_index < "${#PATCH_DATES[@]}"; my_patch_index++)); do patch_url="$(printf "https://invisible-island.net/archives/${PN}/${PV/_p*}/${MY_P}-%s" ${PATCH_DATES[${my_patch_index}]}.patch.gz)" + # TODO: replace with loop + SRC_URI+=" ${patch_url}" + SRC_URI+=" verify-sig? ( ${patch_url}.asc )" + patch_url="$(printf "https://invisible-mirror.net/archives/${PN}/${PV/_p*}/${MY_P}-%s" ${PATCH_DATES[${my_patch_index}]}.patch.gz)" - patch_url+=" $(printf "https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${MY_P}-%s" ${PATCH_DATES[${my_patch_index}]}.patch.gz)" + # TODO: replace with loop SRC_URI+=" ${patch_url}" SRC_URI+=" verify-sig? ( ${patch_url}.asc )" + + patch_url="$(printf "https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${MY_P}-%s" ${PATCH_DATES[${my_patch_index}]}.patch.gz)" + # TODO: replace with loop + SRC_URI+=" ${patch_url}" + SRC_URI+=" verify-sig? ( ${patch_url}.asc )" + UPSTREAM_PATCHES+=( "${WORKDIR}"/${MY_P}-${PATCH_DATES[${my_patch_index}]}.patch ) done |