On Wed, Mar 24, 2021 at 04:26:51PM +0100, Klemens Nanni wrote:
> GitHub is just a mirror and links to where users want to end up,
> so update the port accordingly.
>
> Builds and packages fine as before.
>
> OK?
github was the original repository before they moved to
trustedfirmware.org and made github a mirror.
It isn't clear to me how stable the cgit? snapshots on
trustedfirmware.org are compared to github.
>
> Index: Makefile
> ===================================================================
> RCS file: /cvs/ports/sysutils/arm-trusted-firmware/Makefile,v
> retrieving revision 1.15
> diff -u -p -r1.15 Makefile
> --- Makefile 8 Jan 2021 00:11:17 -0000 1.15
> +++ Makefile 24 Mar 2021 15:25:10 -0000
> @@ -4,12 +4,16 @@ PKG_ARCH= *
>
> COMMENT= ARM Trusted Firmware
>
> -GH_ACCOUNT= ARM-software
> -GH_PROJECT= arm-trusted-firmware
> -GH_TAGNAME= v2.4
> +V= 2.4
> +DISTNAME= trusted-firmware-a-${V}
> +PKGNAME= arm-trusted-firmware-${V}
> +REVISION= 0
>
> EPOCH= 0
>
> +HOMEPAGE= https://www.trustedfirmware.org/projects/tf-a/
> +MASTER_SITES=
> https://git.trustedfirmware.org/TF-A/trusted-firmware-a.git/snapshot/
> +
> CATEGORIES= sysutils
>
> # BSD
> @@ -19,7 +23,7 @@ BUILD_DEPENDS+= devel/arm-none-eabi/gcc-
> BUILD_DEPENDS+= devel/arm-none-eabi/gcc-linaro,arm
>
> MAKE_ENV+= CROSS_COMPILE="aarch64-none-elf-"
> -MAKE_ENV+= BUILD_STRING="${GH_TAGNAME:S/v//}"
> +MAKE_ENV+= BUILD_STRING="${V}"
>
> NO_TEST= Yes
> USE_GMAKE= Yes
> Index: distinfo
> ===================================================================
> RCS file: /cvs/ports/sysutils/arm-trusted-firmware/distinfo,v
> retrieving revision 1.9
> diff -u -p -r1.9 distinfo
> --- distinfo 8 Jan 2021 00:11:17 -0000 1.9
> +++ distinfo 24 Mar 2021 15:21:35 -0000
> @@ -1,2 +1,2 @@
> -SHA256 (arm-trusted-firmware-2.4.tar.gz) =
> S/2p/b5QIvLoitM0QWX304qK5KDi2R1E2aFgNCXMZC0=
> -SIZE (arm-trusted-firmware-2.4.tar.gz) = 4593582
> +SHA256 (trusted-firmware-a-2.4.tar.gz) =
> vz6zYXp0zd1/sODqy/44wyWO4H1Mjtcw3u96F1zD1Vs=
> +SIZE (trusted-firmware-a-2.4.tar.gz) = 4593556
>
>