diff options
author | Mateusz Piotrowski <0mp@FreeBSD.org> | 2025-08-20 18:35:13 +0200 |
---|---|---|
committer | Mateusz Piotrowski <0mp@FreeBSD.org> | 2025-08-20 23:05:19 +0200 |
commit | 6086ff0b32832345d1ea94beb9a170a9c3197cd0 (patch) | |
tree | eeaff54149852a82f2667e684b0fc0e2eb4d8670 | |
parent | devel/jenkins-lts: Update to 2.516.2 (diff) |
biology/linux-foldingathome: Add support for aarch64
I had to do some tricks with question marks in MASTER_SITES because the
distfiles for all architectures are called the same. Also, I wanted
makesum to actually fetch all distfiles.
Co-authored-by: Marek Soudny <soumar@soudny.net>
-rw-r--r-- | biology/linux-foldingathome/Makefile | 15 | ||||
-rw-r--r-- | biology/linux-foldingathome/distinfo | 12 |
2 files changed, 22 insertions, 5 deletions
diff --git a/biology/linux-foldingathome/Makefile b/biology/linux-foldingathome/Makefile index b9948103d97d..db870ea430ca 100644 --- a/biology/linux-foldingathome/Makefile +++ b/biology/linux-foldingathome/Makefile @@ -1,9 +1,10 @@ PORTNAME= foldingathome DISTVERSION= 8.4.9 CATEGORIES= biology linux -MASTER_SITES= https://download.foldingathome.org/releases/public/fah-client/debian-10-64bit/release/ +MASTER_SITES= ${_MASTER_SITES} PKGNAMEPREFIX= linux- DISTNAME= fah-client_${DISTVERSION}-64bit-release +DISTFILES= ${_DISTFILES} MAINTAINER= 0mp@FreeBSD.org COMMENT= Folding@home Client @@ -16,7 +17,7 @@ LICENSE_FILE= ${WRKSRC}/${DISTNAME}/LICENSE LICENSE_PERMS= no-dist-mirror no-dist-sell no-pkg-mirror no-pkg-sell \ auto-accept -ONLY_FOR_ARCHS= amd64 +ONLY_FOR_ARCHS= aarch64 amd64 ONLY_FOR_ARCHS_REASON= has not been ported to this architecture USES= linux:rl9 tar:bz2 @@ -46,6 +47,16 @@ _FAHCLIENT_CONFIG_XML= ${ETCDIR}/config.xml _FAHCLIENT_WORK_DIR= /var/db/fahclient _FAHCLIENT_PROGRAM= ${PREFIX}/bin/fah-client +_MASTER_SITES_amd64= https://download.foldingathome.org/releases/public/fah-client/debian-10-64bit/release/ +_MASTER_SITES_aarch64= https://download.foldingathome.org/releases/public/fah-client/debian-stable-arm64/release/ +.if make(makesum) +_MASTER_SITES= ${ONLY_FOR_ARCHS:@.ARCH.@${_MASTER_SITES_${.ARCH.}}@} +_DISTFILES= ${ONLY_FOR_ARCHS:@.ARCH.@${DISTNAME}${EXTRACT_SUFX}?a=${.ARCH.}@} +.else +_MASTER_SITES= ${_MASTER_SITES_${ARCH}} +_DISTFILES= ${DISTNAME}${EXTRACT_SUFX}?a=${ARCH} +.endif + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${DISTNAME}/fah-client ${STAGEDIR}${PREFIX}/bin/ @${MKDIR} ${STAGEDIR}${ETCDIR} diff --git a/biology/linux-foldingathome/distinfo b/biology/linux-foldingathome/distinfo index 39784f4f8008..a66f1eafad98 100644 --- a/biology/linux-foldingathome/distinfo +++ b/biology/linux-foldingathome/distinfo @@ -1,3 +1,9 @@ -TIMESTAMP = 1739437601 -SHA256 (fah-client_8.4.9-64bit-release.tar.bz2) = 2acccbeda05649f6f913d29f91a22308e88ec3e117499f636a18dc56244d6cf1 -SIZE (fah-client_8.4.9-64bit-release.tar.bz2) = 3649371 +TIMESTAMP = 1755706532 +SHA256 (fah-client_8.4.9-64bit-release.tar.bz2?a=aarch64) = 14ea352a42be0d34a1a0e2a4b46139e03d619a56bdd4908faaa56dc2665fcf3b +SIZE (fah-client_8.4.9-64bit-release.tar.bz2?a=aarch64) = 3667080 +SHA256 (fah-client_8.4.9-64bit-release.tar.bz2?a=amd64) = 14ea352a42be0d34a1a0e2a4b46139e03d619a56bdd4908faaa56dc2665fcf3b +SIZE (fah-client_8.4.9-64bit-release.tar.bz2?a=amd64) = 3667080 +SHA256 (fah-client_8.4.9-64bit-release.tar.bz2?a=aarch64) = 14ea352a42be0d34a1a0e2a4b46139e03d619a56bdd4908faaa56dc2665fcf3b +SIZE (fah-client_8.4.9-64bit-release.tar.bz2?a=aarch64) = 3667080 +SHA256 (fah-client_8.4.9-64bit-release.tar.bz2?a=amd64) = 14ea352a42be0d34a1a0e2a4b46139e03d619a56bdd4908faaa56dc2665fcf3b +SIZE (fah-client_8.4.9-64bit-release.tar.bz2?a=amd64) = 3667080 |