From a4e2a46beb5e4858ef27bdedbb0ff6d2ced430ad Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 28 Apr 2018 20:02:04 +0100 Subject: gentoo resync : 28.04.2018 --- sci-biology/foldingathome/Manifest | 2 +- .../foldingathome/foldingathome-7.4.4-r2.ebuild | 126 --------------------- .../foldingathome/foldingathome-7.4.4-r3.ebuild | 126 +++++++++++++++++++++ 3 files changed, 127 insertions(+), 127 deletions(-) delete mode 100644 sci-biology/foldingathome/foldingathome-7.4.4-r2.ebuild create mode 100644 sci-biology/foldingathome/foldingathome-7.4.4-r3.ebuild (limited to 'sci-biology/foldingathome') diff --git a/sci-biology/foldingathome/Manifest b/sci-biology/foldingathome/Manifest index 5506311dda2f..66801366f019 100644 --- a/sci-biology/foldingathome/Manifest +++ b/sci-biology/foldingathome/Manifest @@ -1,5 +1,5 @@ AUX 7.3/folding-conf.d 339 BLAKE2B 93a0b3672777ad737ce27694aaca547634c375e180ad3c28c3adb9cae2cb1c054ff9458ee1fe04b70fe9841ae67d41198bcecfc4826d05d5de8df2759bd80910 SHA512 6fd10dc938262c05831e68176e93a24869bb6991508bcc48ece487b701788026561d073025bd347cd77ede13ca26f6b284861f30b07becf72ea77e4db22867b3 DIST fahclient_7.4.4-32bit-release.tar.bz2 4313096 BLAKE2B bb0c0e2d2cb577e0e3e668aeb3521e900a1947dc42fd18e2976216de113e725c3c68872b1c43666a81acfbb2a447d9facf774d7011c451779ee1fb310caff91f SHA512 6a660b99c97c83518863ef671ae760b15e3ca33cacfde6485c11b29e98fab15a9d27833ba307c95b39e6ffb7f271cd0c7a47060ec5b8614961e9a5ee46494b3f DIST fahclient_7.4.4-64bit-release.tar.bz2 4451080 BLAKE2B a22b65d0415a291a53d222fbc98f62c93490b08530f1c091b6cf9fb8e1abe4b7a5649c4c008f00a9a75ab4d2066fe5ed1fcb70ef08430842a9643a958a90a1a4 SHA512 40fc93c4ec682342040a4c7a9fd92dc9d1727ef60af6d3fa3191575719c7e595868f289727561f6902f8374061f7b51dfcf565ac047706336ef4ae9a589ff9a8 -EBUILD foldingathome-7.4.4-r2.ebuild 4130 BLAKE2B 015209c4b41f95607e9ada0c8a0c93efc57980704226ca08f9b88914d371d6f3eabfd5024b0a3fd44f0619231c998fe3d151f1905fa5d7fad1304e4f0c961009 SHA512 3bd334277c1ffac0e26f4e773208441817c45aa9f40bd0cd169fc7cb782e8cc30058ee34173e60bbc0c5c18015df9b0714735044ac37c36131e8cb9ccf8e9608 +EBUILD foldingathome-7.4.4-r3.ebuild 4209 BLAKE2B 1520bead35b38a5e09e4a055eb2a819ad423595599256493b7e2f2b01ef499a566d2d26f4640945801e5b44dcd34028500cfe4e204525df7eba0dfb53a6c301c SHA512 b3acd07e111a5c023617f36317e7ceb67eb7ab52e0ac0effba07a497fd38963f74a2d5750438e1dc280c920e343a171e790b632090f9748ab4e1254c75a484f4 MISC metadata.xml 360 BLAKE2B c0ef2b11cc9e6498a420dcd2e6c83ee71f7e286c3e78218257c56350bd2c0921732d48cc4207a31bcfd965a4a9dca65e9bdc4d62831dc430e86541d36fc691f8 SHA512 687f1516a8ec80270fa173b0a7d7c259f3f02ffefa69d3175b72e170bd11aeb786563edb43214390a83b6b61b1231e2734124e50bb2a523d1a564bc3b143f00b diff --git a/sci-biology/foldingathome/foldingathome-7.4.4-r2.ebuild b/sci-biology/foldingathome/foldingathome-7.4.4-r2.ebuild deleted file mode 100644 index 92d3b277ea7a..000000000000 --- a/sci-biology/foldingathome/foldingathome-7.4.4-r2.ebuild +++ /dev/null @@ -1,126 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -inherit versionator user systemd - -MY_BASEURI="https://fah.stanford.edu/file-releases/public/release/fahclient" -MY_64B_URI="${MY_BASEURI}/centos-5.3-64bit/v$(get_version_component_range 1-2)/fahclient_${PV}-64bit-release.tar.bz2" -MY_32B_URI="${MY_BASEURI}/centos-5.5-32bit/v$(get_version_component_range 1-2)/fahclient_${PV}-32bit-release.tar.bz2" - -DESCRIPTION="Folding@Home is a distributed computing project for protein folding" -HOMEPAGE="http://folding.stanford.edu/FAQ-SMP.html" -SRC_URI="x86? ( ${MY_32B_URI} ) - amd64? ( ${MY_64B_URI} )" - -RESTRICT="mirror bindist strip" - -LICENSE="FAH-EULA-2014 FAH-special-permission" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" -# Expressly listing all deps, as this is a binpkg and it is doubtful whether -# i.e. uclibc or clang can provide what is necessary at runtime -RDEPEND="app-arch/bzip2 - sys-devel/gcc - sys-libs/glibc - sys-libs/zlib" - -S="${WORKDIR}" - -QA_PREBUILT="opt/foldingathome/*" - -pkg_setup() { - elog "" - elog "Special permission is hereby granted to the Gentoo project to provide an" - elog "automated installer package which downloads and installs the Folding@home client" - elog "software. Permission is also granted for future Gentoo installer packages on the" - elog "condition that they continue to adhere to all of the terms of the accompanying" - elog "Folding@home license agreements and display this notice." - elog "-- Vijay S. Pande, Stanford University, 07 May 2013" - elog "" - elog "(ref: http://foldingforum.org/viewtopic.php?f=16&t=22524&p=241992#p241992 )" - elog "" - - enewuser foldingathome -1 -1 "${EPREFIX}"/opt/foldingathome -} - -src_install() { - local myS="fahclient_${PV}-64bit-release" - use x86 && myS="${myS//64bit/32bit}" - exeinto /opt/foldingathome - doexe "${myS}"/{FAHClient,FAHCoreWrapper} - - newconfd "${FILESDIR}"/7.3/folding-conf.d foldingathome - cat <"${T}"/fah-init -#!/sbin/openrc-run -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -start_stop_daemon_args="--chdir \"${EPREFIX}/opt/foldingathome\"" -command="${EPREFIX}/opt/foldingathome/FAHClient" -command_args="\${FOLD_OPTS}" -command_user=foldingathome -command_background=1 -pidfile="\${PIDFILE}" -EOF - newinitd "${T}"/fah-init foldingathome - - cat <"${T}"/fah-init.service -[Unit] -Description=Folding@Home V7 Client -Documentation=https://folding.stanford.edu/home/the-software/ - -[Service] -Type=simple -User=foldingathome -WorkingDirectory="${EPREFIX}/opt/foldingathome" -PIDFile=/run/fahclient.pid -ExecStart=./FAHClient -v start -ExecReload=./FAHClient -v restart -ExecStop=./FAHClient -v stop -KillMode=process - -[Install] -WantedBy=multi-user.target -EOF - systemd_newunit "${T}"/fah-init.service foldingathome.service - - fowners -R foldingathome:foldingathome /opt/foldingathome -} - -pkg_postinst() { - elog "To run Folding@home in the background at boot:" - elog "(openrc)\trc-update add foldingathome default" - elog "(systemd)\tsystemctl enable foldingathome" - elog "" - if [ ! -e "${EPREFIX}"/opt/foldingathome/config.xml ]; then - elog "No config.xml file found -- please run" - elog "emerge --config ${P} to configure your client, or specify" - elog "all necessary runtime options in FOLD_OPTS within" - elog "${EPREFIX}/etc/conf.d/foldingathome" - elog "" - fi - if [[ -n ${REPLACING_VERSIONS} ]]; then - elog "NOTE, the 'initfolding' helper script has been dropped, please" - elog "use emerge --config ${P} or run FAHClient --configure directly" - elog "and adjust file permissions and ownership yourself" - elog "" - fi - elog "Please see ${EPREFIX}/opt/foldingathome/FAHClient --help for more details." - einfo "" - einfo "The original package maintainer encourages you to acquire a username and join team 36480." - einfo "http://folding.stanford.edu/English/Download#ntoc2" - einfo "" -} - -pkg_postrm() { - elog "Folding@home data files were not removed." - elog "Remove them manually from ${EPREFIX}/opt/foldingathome" -} - -pkg_config() { - cd "${EPREFIX}"/opt/foldingathome || die - su foldingathome -s /bin/sh -c "./FAHClient --configure" -} diff --git a/sci-biology/foldingathome/foldingathome-7.4.4-r3.ebuild b/sci-biology/foldingathome/foldingathome-7.4.4-r3.ebuild new file mode 100644 index 000000000000..5df01b800ba7 --- /dev/null +++ b/sci-biology/foldingathome/foldingathome-7.4.4-r3.ebuild @@ -0,0 +1,126 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit versionator user systemd + +MY_BASEURI="https://fah.stanford.edu/file-releases/public/release/fahclient" +MY_64B_URI="${MY_BASEURI}/centos-5.3-64bit/v$(get_version_component_range 1-2)/fahclient_${PV}-64bit-release.tar.bz2" +MY_32B_URI="${MY_BASEURI}/centos-5.5-32bit/v$(get_version_component_range 1-2)/fahclient_${PV}-32bit-release.tar.bz2" + +DESCRIPTION="Folding@Home is a distributed computing project for protein folding" +HOMEPAGE="http://folding.stanford.edu/FAQ-SMP.html" +SRC_URI="x86? ( ${MY_32B_URI} ) + amd64? ( ${MY_64B_URI} )" + +RESTRICT="mirror bindist strip" + +LICENSE="FAH-EULA-2014 FAH-special-permission" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" +# Expressly listing all deps, as this is a binpkg and it is doubtful whether +# i.e. uclibc or clang can provide what is necessary at runtime +RDEPEND="app-arch/bzip2 + sys-devel/gcc + sys-libs/glibc + sys-libs/zlib" + +S="${WORKDIR}" + +QA_PREBUILT="opt/foldingathome/*" + +pkg_setup() { + elog "" + elog "Special permission is hereby granted to the Gentoo project to provide an" + elog "automated installer package which downloads and installs the Folding@home client" + elog "software. Permission is also granted for future Gentoo installer packages on the" + elog "condition that they continue to adhere to all of the terms of the accompanying" + elog "Folding@home license agreements and display this notice." + elog "-- Vijay S. Pande, Stanford University, 07 May 2013" + elog "" + elog "(ref: http://foldingforum.org/viewtopic.php?f=16&t=22524&p=241992#p241992 )" + elog "" + + enewuser foldingathome -1 -1 "${EPREFIX}"/opt/foldingathome +} + +src_install() { + local myS="fahclient_${PV}-64bit-release" + use x86 && myS="${myS//64bit/32bit}" + exeinto /opt/foldingathome + doexe "${myS}"/{FAHClient,FAHCoreWrapper} + + newconfd "${FILESDIR}"/7.3/folding-conf.d foldingathome + cat <"${T}"/fah-init +#!/sbin/openrc-run +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +start_stop_daemon_args="--chdir \"${EPREFIX}/opt/foldingathome\"" +command="${EPREFIX}/opt/foldingathome/FAHClient" +command_args="\${FOLD_OPTS}" +command_user=foldingathome +command_background=1 +pidfile="\${PIDFILE}" +EOF + newinitd "${T}"/fah-init foldingathome + + cat <"${T}"/fah-init.service +[Unit] +Description=Folding@Home V7 Client +Documentation=https://folding.stanford.edu/home/the-software/ + +[Service] +Type=simple +User=foldingathome +WorkingDirectory=${EPREFIX}/opt/foldingathome +PIDFile=/run/fahclient.pid +ExecStart=${EPREFIX}/opt/foldingathome/FAHClient -v start +ExecReload=${EPREFIX}/opt/foldingathome/FAHClient -v restart +ExecStop=${EPREFIX}/opt/foldingathome/FAHClient -v stop +KillMode=process + +[Install] +WantedBy=multi-user.target +EOF + systemd_newunit "${T}"/fah-init.service foldingathome.service + + fowners -R foldingathome:foldingathome /opt/foldingathome +} + +pkg_postinst() { + elog "To run Folding@home in the background at boot:" + elog "(openrc)\trc-update add foldingathome default" + elog "(systemd)\tsystemctl enable foldingathome" + elog "" + if [ ! -e "${EPREFIX}"/opt/foldingathome/config.xml ]; then + elog "No config.xml file found -- please run" + elog "emerge --config ${P} to configure your client, or specify" + elog "all necessary runtime options in FOLD_OPTS within" + elog "${EPREFIX}/etc/conf.d/foldingathome" + elog "" + fi + if [[ -n ${REPLACING_VERSIONS} ]]; then + elog "NOTE, the 'initfolding' helper script has been dropped, please" + elog "use emerge --config ${P} or run FAHClient --configure directly" + elog "and adjust file permissions and ownership yourself" + elog "" + fi + elog "Please see ${EPREFIX}/opt/foldingathome/FAHClient --help for more details." + einfo "" + einfo "The original package maintainer encourages you to acquire a username and join team 36480." + einfo "http://folding.stanford.edu/English/Download#ntoc2" + einfo "" +} + +pkg_postrm() { + elog "Folding@home data files were not removed." + elog "Remove them manually from ${EPREFIX}/opt/foldingathome" +} + +pkg_config() { + cd "${EPREFIX}"/opt/foldingathome || die + su foldingathome -s /bin/sh -c "./FAHClient --configure" +} -- cgit v1.2.3