Gentoo Archives: gentoo-commits

From: Ian Stakenvicius <axs@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-biology/foldingathome/
Date: Fri, 14 Sep 2018 16:02:36
Message-Id: 1536940940.713a32f1da038d5f33ea20728a32b22874b223aa.axs@gentoo
1 commit: 713a32f1da038d5f33ea20728a32b22874b223aa
2 Author: Ian Stakenvicius <axs <AT> gentoo <DOT> org>
3 AuthorDate: Fri Sep 14 16:01:06 2018 +0000
4 Commit: Ian Stakenvicius <axs <AT> gentoo <DOT> org>
5 CommitDate: Fri Sep 14 16:02:20 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=713a32f1
7
8 sci-biology/foldingathome: bump to 7.5.1
9
10 Upstream has dropped support for 32bit
11
12 Closes: https://bugs.gentoo.org/666208
13 Package-Manager: Portage-2.3.40, Repoman-2.3.9
14
15 sci-biology/foldingathome/Manifest | 3 +--
16 ...-7.4.4-r3.ebuild => foldingathome-7.5.1.ebuild} | 30 ++++++++++++----------
17 2 files changed, 18 insertions(+), 15 deletions(-)
18
19 diff --git a/sci-biology/foldingathome/Manifest b/sci-biology/foldingathome/Manifest
20 index 4c422074476..e611180008f 100644
21 --- a/sci-biology/foldingathome/Manifest
22 +++ b/sci-biology/foldingathome/Manifest
23 @@ -1,2 +1 @@
24 -DIST fahclient_7.4.4-32bit-release.tar.bz2 4313096 BLAKE2B bb0c0e2d2cb577e0e3e668aeb3521e900a1947dc42fd18e2976216de113e725c3c68872b1c43666a81acfbb2a447d9facf774d7011c451779ee1fb310caff91f SHA512 6a660b99c97c83518863ef671ae760b15e3ca33cacfde6485c11b29e98fab15a9d27833ba307c95b39e6ffb7f271cd0c7a47060ec5b8614961e9a5ee46494b3f
25 -DIST fahclient_7.4.4-64bit-release.tar.bz2 4451080 BLAKE2B a22b65d0415a291a53d222fbc98f62c93490b08530f1c091b6cf9fb8e1abe4b7a5649c4c008f00a9a75ab4d2066fe5ed1fcb70ef08430842a9643a958a90a1a4 SHA512 40fc93c4ec682342040a4c7a9fd92dc9d1727ef60af6d3fa3191575719c7e595868f289727561f6902f8374061f7b51dfcf565ac047706336ef4ae9a589ff9a8
26 +DIST fahclient_7.5.1-64bit-release.tar.bz2 3438239 BLAKE2B 69fb60cdd5356fe4f5ad1f106b67d078baf0394c5d3c474dff2f1ac840bcb31bfd9ca9a9c6112b9ee9497dcdc223732627a21c50b455e46c096a52587d5d229b SHA512 5f6f2f882d57fe53ad0a55b48f09fc3803af6aebbbf0e92be39477d4c4da92237d6edabec61dd8183678bdcfe3923ff9b0938647a77edc2c69ce8958defcfdf1
27
28 diff --git a/sci-biology/foldingathome/foldingathome-7.4.4-r3.ebuild b/sci-biology/foldingathome/foldingathome-7.5.1.ebuild
29 similarity index 82%
30 rename from sci-biology/foldingathome/foldingathome-7.4.4-r3.ebuild
31 rename to sci-biology/foldingathome/foldingathome-7.5.1.ebuild
32 index 5df01b800ba..f842c8814c7 100644
33 --- a/sci-biology/foldingathome/foldingathome-7.4.4-r3.ebuild
34 +++ b/sci-biology/foldingathome/foldingathome-7.5.1.ebuild
35 @@ -5,29 +5,26 @@ EAPI=6
36
37 inherit versionator user systemd
38
39 -MY_BASEURI="https://fah.stanford.edu/file-releases/public/release/fahclient"
40 -MY_64B_URI="${MY_BASEURI}/centos-5.3-64bit/v$(get_version_component_range 1-2)/fahclient_${PV}-64bit-release.tar.bz2"
41 -MY_32B_URI="${MY_BASEURI}/centos-5.5-32bit/v$(get_version_component_range 1-2)/fahclient_${PV}-32bit-release.tar.bz2"
42 -
43 DESCRIPTION="Folding@Home is a distributed computing project for protein folding"
44 -HOMEPAGE="http://folding.stanford.edu/FAQ-SMP.html"
45 -SRC_URI="x86? ( ${MY_32B_URI} )
46 - amd64? ( ${MY_64B_URI} )"
47 +HOMEPAGE="https://foldingathome.org/"
48 +SRC_URI="https://download.foldingathome.org/releases/public/release/fahclient/centos-6.7-64bit/v$(get_version_component_range 1-2)/fahclient_${PV}-64bit-release.tar.bz2"
49
50 RESTRICT="mirror bindist strip"
51
52 LICENSE="FAH-EULA-2014 FAH-special-permission"
53 SLOT="0"
54 -KEYWORDS="~amd64 ~x86"
55 +KEYWORDS="~amd64"
56 IUSE=""
57 # Expressly listing all deps, as this is a binpkg and it is doubtful whether
58 # i.e. uclibc or clang can provide what is necessary at runtime
59 +DEPEND="dev-util/patchelf"
60 RDEPEND="app-arch/bzip2
61 + =dev-libs/openssl-1.0*:*
62 sys-devel/gcc
63 sys-libs/glibc
64 sys-libs/zlib"
65
66 -S="${WORKDIR}"
67 +S="${WORKDIR}/fahclient_${PV}-64bit-release"
68
69 QA_PREBUILT="opt/foldingathome/*"
70
71 @@ -47,10 +44,17 @@ pkg_setup() {
72 }
73
74 src_install() {
75 - local myS="fahclient_${PV}-64bit-release"
76 - use x86 && myS="${myS//64bit/32bit}"
77 + patchelf --set-rpath "${EPREFIX}/opt/foldingathome" FAHClient || die
78 + patchelf --set-rpath "${EPREFIX}/opt/foldingathome" FAHCoreWrapper || die
79 +
80 + dosym "../../usr/$(get_libdir)/libssl.so.1.0.0" /opt/foldingathome/libssl.so.10
81 + dosym "../../usr/$(get_libdir)/libcrypto.so.1.0.0" /opt/foldingathome/libcrypto.so.10
82 +
83 exeinto /opt/foldingathome
84 - doexe "${myS}"/{FAHClient,FAHCoreWrapper}
85 + doexe {FAHClient,FAHCoreWrapper}
86 +
87 + insinto /opt/foldingathome
88 + doins sample-config.xml
89
90 newconfd "${FILESDIR}"/7.3/folding-conf.d foldingathome
91 cat <<EOF >"${T}"/fah-init
92 @@ -70,7 +74,7 @@ EOF
93 cat <<EOF >"${T}"/fah-init.service
94 [Unit]
95 Description=Folding@Home V7 Client
96 -Documentation=https://folding.stanford.edu/home/the-software/
97 +Documentation=https://foldingathome.org
98
99 [Service]
100 Type=simple