public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: sci-biology/foldingathome/
@ 2017-04-21 15:15 Ian Stakenvicius
  0 siblings, 0 replies; 20+ messages in thread
From: Ian Stakenvicius @ 2017-04-21 15:15 UTC (permalink / raw
  To: gentoo-commits

commit:     8389ec47b5dd23b2d363243501d5b0a3b09f35bf
Author:     Ian Stakenvicius <axs <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 21 14:54:49 2017 +0000
Commit:     Ian Stakenvicius <axs <AT> gentoo <DOT> org>
CommitDate: Fri Apr 21 15:15:37 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8389ec47

sci-biology/foldingathome: drop obsolete version

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 sci-biology/foldingathome/Manifest                 |  2 -
 .../foldingathome/foldingathome-7.3.6-r2.ebuild    | 81 ----------------------
 2 files changed, 83 deletions(-)

diff --git a/sci-biology/foldingathome/Manifest b/sci-biology/foldingathome/Manifest
index 46799da4848..4fe151804ae 100644
--- a/sci-biology/foldingathome/Manifest
+++ b/sci-biology/foldingathome/Manifest
@@ -1,4 +1,2 @@
-DIST fahclient_7.3.6-32bit-release.tar.bz2 4014455 SHA256 c8415aa5a64d6b26e7684327d51f9133d524777d4123ea47138ba86595c37f12 SHA512 0a49e9cb26659357b4855f5aaf7ef5c078f172af16777d74fb566e7faa61ac0e41185dcd6f06841bf4efe047017e8dc783eae7682a40b921acb436e4d81e6639 WHIRLPOOL 0cd8f0b6dcfce297cb70b307887f1d44278c07435f5a067d9f1e83399b3913710d481982033023faf1b9056b63f14eca3b53babe698633de24544c6cdbce5f82
-DIST fahclient_7.3.6-64bit-release.tar.bz2 4349503 SHA256 e3d48b0d1b64da96601f741e0b9164ea633f1be3fe4407086679bc7c72742079 SHA512 9995a72549e38724830c403eef188786b137c8669b6121c0ec6c3d29539db9b0f67876adf5c3af64c818ada05f57a0f2ea88a58b73bdfd852c1ed8f09a327583 WHIRLPOOL 4e5bccb175dc042a1380c06b96a5d803f36ede50e429d3b1f13b33c872f753bda5acd7f5a3d60a522cb82c7da47313ef95e0c55778cbe94d579a9ecaa22c49cc
 DIST fahclient_7.4.4-32bit-release.tar.bz2 4313096 SHA256 81f1a1d161d1302a08638f23ebcfd7a163046a5427c49c70651fc8e2f6d8d60e SHA512 6a660b99c97c83518863ef671ae760b15e3ca33cacfde6485c11b29e98fab15a9d27833ba307c95b39e6ffb7f271cd0c7a47060ec5b8614961e9a5ee46494b3f WHIRLPOOL 6c6c25446e8e118b7931c58643827739691bcb9f1ae67461e6dd72cfc8556f86d49c533669897f6711537ce920680c23d0d496ba75a21047a88708cc93fec314
 DIST fahclient_7.4.4-64bit-release.tar.bz2 4451080 SHA256 4642ed9b5a06c8ab63106293f6a5ce547f6a96efe85fcd3b8c19d9065ab582df SHA512 40fc93c4ec682342040a4c7a9fd92dc9d1727ef60af6d3fa3191575719c7e595868f289727561f6902f8374061f7b51dfcf565ac047706336ef4ae9a589ff9a8 WHIRLPOOL 4feea83f1e826430943dec0495ce7658408cdaa4671bf1e4d1ec338991dbeb1599f25a4835f3960bea135fe4af7c4e415be6767ea5a0a13f63201c64e6ce6f6e

diff --git a/sci-biology/foldingathome/foldingathome-7.3.6-r2.ebuild b/sci-biology/foldingathome/foldingathome-7.3.6-r2.ebuild
deleted file mode 100644
index aa1e523b531..00000000000
--- a/sci-biology/foldingathome/foldingathome-7.3.6-r2.ebuild
+++ /dev/null
@@ -1,81 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="4"
-
-inherit versionator user
-
-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-2009 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}"
-
-I="opt/foldingathome"
-
-QA_PREBUILT="${I}/*"
-
-pkg_setup() {
-	I="${EROOT}/${I}"
-	einfo ""
-	cat "${PORTDIR}"/licenses/FAH-special-permission
-	einfo ""
-}
-
-src_install() {
-	local myS="fahclient_${PV}-64bit-release"
-	use x86 && myS="${myS//64bit/32bit}"
-	exeinto "${I}"
-	doexe "${FILESDIR}"/$(get_version_component_range 1-2)/initfolding
-	doexe "${myS}"/{FAHClient,FAHCoreWrapper}
-	newconfd "${FILESDIR}"/$(get_version_component_range 1-2)/folding-conf.d foldingathome
-	newinitd "${FILESDIR}"/$(get_version_component_range 1-2)/fah-init foldingathome
-}
-
-pkg_preinst() {
-	# the bash shell is important for "su -c" in init script
-	enewuser foldingathome -1 /bin/bash /opt/foldingathome
-}
-
-pkg_postinst() {
-	chown -R foldingathome:nogroup "${I}"
-	einfo "To run Folding@home in the background at boot:"
-	einfo "\trc-update add foldingathome default"
-	einfo ""
-	if [ ! -e "${I}"/config.xml ]; then
-		elog "No configuration found -- please run ${I}/initfolding or"
-		elog "emerge --config ${P} to configure your client and edit"
-		elog "${EROOT}/etc/conf.d/foldingathome for options"
-	fi
-	einfo ""
-	einfo "The original author 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 ${I}"
-}
-
-pkg_config() {
-	"${I}"/initfolding
-}


^ permalink raw reply related	[flat|nested] 20+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sci-biology/foldingathome/
@ 2017-04-21 15:15 Ian Stakenvicius
  0 siblings, 0 replies; 20+ messages in thread
From: Ian Stakenvicius @ 2017-04-21 15:15 UTC (permalink / raw
  To: gentoo-commits

commit:     cf4135b2256124c5f2c31a2e6c4cfc4b93c447cb
Author:     Ian Stakenvicius <axs <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 21 15:15:05 2017 +0000
Commit:     Ian Stakenvicius <axs <AT> gentoo <DOT> org>
CommitDate: Fri Apr 21 15:15:40 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf4135b2

sci-biology/foldingathome: bump EAPI

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 ...-7.4.4.ebuild => foldingathome-7.4.4-r1.ebuild} | 22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)

diff --git a/sci-biology/foldingathome/foldingathome-7.4.4.ebuild b/sci-biology/foldingathome/foldingathome-7.4.4-r1.ebuild
similarity index 78%
rename from sci-biology/foldingathome/foldingathome-7.4.4.ebuild
rename to sci-biology/foldingathome/foldingathome-7.4.4-r1.ebuild
index d1455b3ed9c..9afa2539eee 100644
--- a/sci-biology/foldingathome/foldingathome-7.4.4.ebuild
+++ b/sci-biology/foldingathome/foldingathome-7.4.4-r1.ebuild
@@ -1,7 +1,7 @@
 # Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI="4"
+EAPI=6
 
 inherit versionator user
 
@@ -34,16 +34,16 @@ I="opt/foldingathome"
 QA_PREBUILT="${I}/*"
 
 pkg_setup() {
-	einfo ""
-	einfo "Special permission is hereby granted to the Gentoo project to provide an"
-	einfo "automated installer package which downloads and installs the Folding@home client"
-	einfo "software. Permission is also granted for future Gentoo installer packages on the"
-	einfo "condition that they continue to adhere to all of the terms of the accompanying"
-	einfo "Folding@home license agreements and display this notice."
-	einfo "-- Vijay S. Pande, Stanford University, 07 May 2013"
-	einfo ""
-	einfo "(ref: http://foldingforum.org/viewtopic.php?f=16&t=22524&p=241992#p241992 )"
-	einfo ""
+	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 ""
 }
 
 src_install() {


^ permalink raw reply related	[flat|nested] 20+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sci-biology/foldingathome/
@ 2017-04-21 15:15 Ian Stakenvicius
  0 siblings, 0 replies; 20+ messages in thread
From: Ian Stakenvicius @ 2017-04-21 15:15 UTC (permalink / raw
  To: gentoo-commits

commit:     0b358efe8ef86e9410477fd9f4d298ef97737944
Author:     Ian Stakenvicius <axs <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 21 14:53:55 2017 +0000
Commit:     Ian Stakenvicius <axs <AT> gentoo <DOT> org>
CommitDate: Fri Apr 21 15:15:35 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b358efe

sci-biology/foldingathome: fix use of $PORTDIR in phase function

Bug: http://bugs.gentoo.org/566402

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 .../foldingathome/foldingathome-7.4.4.ebuild       | 24 ++++++++++++++--------
 1 file changed, 15 insertions(+), 9 deletions(-)

diff --git a/sci-biology/foldingathome/foldingathome-7.4.4.ebuild b/sci-biology/foldingathome/foldingathome-7.4.4.ebuild
index 761ffae1953..d1455b3ed9c 100644
--- a/sci-biology/foldingathome/foldingathome-7.4.4.ebuild
+++ b/sci-biology/foldingathome/foldingathome-7.4.4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="4"
@@ -34,16 +34,22 @@ I="opt/foldingathome"
 QA_PREBUILT="${I}/*"
 
 pkg_setup() {
-	I="${EROOT}/${I}"
 	einfo ""
-	cat "${PORTDIR}"/licenses/FAH-special-permission
+	einfo "Special permission is hereby granted to the Gentoo project to provide an"
+	einfo "automated installer package which downloads and installs the Folding@home client"
+	einfo "software. Permission is also granted for future Gentoo installer packages on the"
+	einfo "condition that they continue to adhere to all of the terms of the accompanying"
+	einfo "Folding@home license agreements and display this notice."
+	einfo "-- Vijay S. Pande, Stanford University, 07 May 2013"
+	einfo ""
+	einfo "(ref: http://foldingforum.org/viewtopic.php?f=16&t=22524&p=241992#p241992 )"
 	einfo ""
 }
 
 src_install() {
 	local myS="fahclient_${PV}-64bit-release"
 	use x86 && myS="${myS//64bit/32bit}"
-	exeinto "${I}"
+	exeinto ${I}
 	doexe "${FILESDIR}"/7.3/initfolding
 	doexe "${myS}"/{FAHClient,FAHCoreWrapper}
 	newconfd "${FILESDIR}"/7.3/folding-conf.d foldingathome
@@ -52,18 +58,18 @@ src_install() {
 
 pkg_preinst() {
 	# the bash shell is important for "su -c" in init script
-	enewuser foldingathome -1 /bin/bash /opt/foldingathome
+	enewuser foldingathome -1 /bin/bash "${EPREFIX}"/opt/foldingathome
 }
 
 pkg_postinst() {
-	chown -R foldingathome:nogroup "${I}"
+	chown -R foldingathome:nogroup "${EPREFIX}"/${I}
 	einfo "To run Folding@home in the background at boot (with openrc):"
 	einfo "\trc-update add foldingathome default"
 	einfo ""
-	if [ ! -e "${I}"/config.xml ]; then
+	if [ ! -e "${EPREFIX}"/${I}/config.xml ]; then
 		elog "No configuration found -- please run ${I}/initfolding or"
 		elog "emerge --config ${P} to configure your client and edit"
-		elog "${EROOT}/etc/conf.d/foldingathome for options"
+		elog "${EPREFIX}/etc/conf.d/foldingathome for options"
 	fi
 	einfo ""
 	einfo "The original author encourages you to acquire a username and join team 36480."
@@ -77,5 +83,5 @@ pkg_postrm() {
 }
 
 pkg_config() {
-	"${I}"/initfolding
+	"${EPREFIX}"/${I}/initfolding
 }


^ permalink raw reply related	[flat|nested] 20+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sci-biology/foldingathome/
@ 2017-04-21 15:32 Ian Stakenvicius
  0 siblings, 0 replies; 20+ messages in thread
From: Ian Stakenvicius @ 2017-04-21 15:32 UTC (permalink / raw
  To: gentoo-commits

commit:     2414f606cea22b3dbea89846e550100561f3ce16
Author:     Ian Stakenvicius <axs <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 21 15:27:12 2017 +0000
Commit:     Ian Stakenvicius <axs <AT> gentoo <DOT> org>
CommitDate: Fri Apr 21 15:32:02 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2414f606

sci-biology/foldingathome: switch EPREFIX usages in pkg_* back to EROOT

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 sci-biology/foldingathome/foldingathome-7.4.4-r1.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/sci-biology/foldingathome/foldingathome-7.4.4-r1.ebuild b/sci-biology/foldingathome/foldingathome-7.4.4-r1.ebuild
index 9afa2539eee..bed9135f0d2 100644
--- a/sci-biology/foldingathome/foldingathome-7.4.4-r1.ebuild
+++ b/sci-biology/foldingathome/foldingathome-7.4.4-r1.ebuild
@@ -62,11 +62,11 @@ pkg_preinst() {
 }
 
 pkg_postinst() {
-	chown -R foldingathome:nogroup "${EPREFIX}"/${I}
+	chown -R foldingathome:nogroup "${EROOT}"${I}
 	einfo "To run Folding@home in the background at boot (with openrc):"
 	einfo "\trc-update add foldingathome default"
 	einfo ""
-	if [ ! -e "${EPREFIX}"/${I}/config.xml ]; then
+	if [ ! -e "${EROOT}"${I}/config.xml ]; then
 		elog "No configuration found -- please run ${I}/initfolding or"
 		elog "emerge --config ${P} to configure your client and edit"
 		elog "${EPREFIX}/etc/conf.d/foldingathome for options"
@@ -83,5 +83,5 @@ pkg_postrm() {
 }
 
 pkg_config() {
-	"${EPREFIX}"/${I}/initfolding
+	"${EROOT}"${I}/initfolding
 }


^ permalink raw reply related	[flat|nested] 20+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sci-biology/foldingathome/
@ 2017-09-20 18:40 Ian Stakenvicius
  0 siblings, 0 replies; 20+ messages in thread
From: Ian Stakenvicius @ 2017-09-20 18:40 UTC (permalink / raw
  To: gentoo-commits

commit:     e4b6baa58325c29e186f6843c365bd5f168b7969
Author:     Ian Stakenvicius <axs <AT> gentoo <DOT> org>
AuthorDate: Wed Sep 20 18:33:07 2017 +0000
Commit:     Ian Stakenvicius <axs <AT> gentoo <DOT> org>
CommitDate: Wed Sep 20 18:39:58 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e4b6baa5

sci-biology/foldingathome: misc ebuild impovements

- Added a systemd unit
- Removed usage of 'chown -R' on live filesystems
- Dropped the custom and vulnerable 'initfolding' helper script
- Improved the init script to use standard openrc-run behaviour via variables
- Dropped "unitinfo" extra command on /etc/init.d/foldingathome as it rarely works

Package-Manager: Portage-2.3.6, Repoman-2.3.1

 .../foldingathome/foldingathome-7.4.4-r2.ebuild    | 126 +++++++++++++++++++++
 1 file changed, 126 insertions(+)

diff --git a/sci-biology/foldingathome/foldingathome-7.4.4-r2.ebuild b/sci-biology/foldingathome/foldingathome-7.4.4-r2.ebuild
new file mode 100644
index 00000000000..bdb2a91c704
--- /dev/null
+++ b/sci-biology/foldingathome/foldingathome-7.4.4-r2.ebuild
@@ -0,0 +1,126 @@
+# 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 ""
+
+	# the bash shell is important for "su -c" in init script
+	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 <<EOF >"${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 <<EOF >"${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
+
+	chown -R foldingathome:foldingathome "${ED}"${I}
+}
+
+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 configuration 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"
+	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"
+	fi
+	elog ""
+	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/bash -c "./FAHClient --configure"
+}


^ permalink raw reply related	[flat|nested] 20+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sci-biology/foldingathome/
@ 2017-09-21 19:00 Ian Stakenvicius
  0 siblings, 0 replies; 20+ messages in thread
From: Ian Stakenvicius @ 2017-09-21 19:00 UTC (permalink / raw
  To: gentoo-commits

commit:     80e878a3d48883d1746c731776fd3ac29cb64073
Author:     Ian Stakenvicius <axs <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 21 18:24:57 2017 +0000
Commit:     Ian Stakenvicius <axs <AT> gentoo <DOT> org>
CommitDate: Thu Sep 21 19:00:29 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=80e878a3

sci-biology/foldingathome: minor ebuild improvements

Package-Manager: Portage-2.3.6, Repoman-2.3.1

 sci-biology/foldingathome/foldingathome-7.4.4-r2.ebuild | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/sci-biology/foldingathome/foldingathome-7.4.4-r2.ebuild b/sci-biology/foldingathome/foldingathome-7.4.4-r2.ebuild
index bdb2a91c704..92d3b277ea7 100644
--- a/sci-biology/foldingathome/foldingathome-7.4.4-r2.ebuild
+++ b/sci-biology/foldingathome/foldingathome-7.4.4-r2.ebuild
@@ -43,7 +43,6 @@ pkg_setup() {
 	elog "(ref: http://foldingforum.org/viewtopic.php?f=16&t=22524&p=241992#p241992 )"
 	elog ""
 
-	# the bash shell is important for "su -c" in init script
 	enewuser foldingathome -1 -1 "${EPREFIX}"/opt/foldingathome
 }
 
@@ -88,7 +87,7 @@ WantedBy=multi-user.target
 EOF
 	systemd_newunit "${T}"/fah-init.service foldingathome.service
 
-	chown -R foldingathome:foldingathome "${ED}"${I}
+	fowners -R foldingathome:foldingathome /opt/foldingathome
 }
 
 pkg_postinst() {
@@ -97,17 +96,18 @@ pkg_postinst() {
 	elog "(systemd)\tsystemctl enable foldingathome"
 	elog ""
 	if [ ! -e "${EPREFIX}"/opt/foldingathome/config.xml ]; then
-		elog "No configuration found -- please run"
+		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 ""
 	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."
@@ -122,5 +122,5 @@ pkg_postrm() {
 
 pkg_config() {
 	cd "${EPREFIX}"/opt/foldingathome || die
-	su foldingathome -s /bin/bash -c "./FAHClient --configure"
+	su foldingathome -s /bin/sh -c "./FAHClient --configure"
 }


^ permalink raw reply related	[flat|nested] 20+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sci-biology/foldingathome/
@ 2018-04-25 15:04 Ian Stakenvicius
  0 siblings, 0 replies; 20+ messages in thread
From: Ian Stakenvicius @ 2018-04-25 15:04 UTC (permalink / raw
  To: gentoo-commits

commit:     209abddaf0f7253cb29886cf5dba1d7ffcc14f5c
Author:     Ian Stakenvicius <axs <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 25 14:53:00 2018 +0000
Commit:     Ian Stakenvicius <axs <AT> gentoo <DOT> org>
CommitDate: Wed Apr 25 14:54:31 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=209abdda

sci-biology/foldingathome: fix systemd unit

This isn't a perfect fix since if the EPREFIX path contains characters that need
to be quoted the paths will still fail, however when compared to a systemd
unit that doesn't work at all this is significantly better than nothing.

Bug: http://bugs.gentoo.org/645200
Package-Manager: Portage-2.3.19, Repoman-2.3.6

 ...ingathome-7.4.4-r2.ebuild => foldingathome-7.4.4-r3.ebuild} | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/sci-biology/foldingathome/foldingathome-7.4.4-r2.ebuild b/sci-biology/foldingathome/foldingathome-7.4.4-r3.ebuild
similarity index 93%
rename from sci-biology/foldingathome/foldingathome-7.4.4-r2.ebuild
rename to sci-biology/foldingathome/foldingathome-7.4.4-r3.ebuild
index 92d3b277ea7..5df01b800ba 100644
--- a/sci-biology/foldingathome/foldingathome-7.4.4-r2.ebuild
+++ b/sci-biology/foldingathome/foldingathome-7.4.4-r3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -75,11 +75,11 @@ Documentation=https://folding.stanford.edu/home/the-software/
 [Service]
 Type=simple
 User=foldingathome
-WorkingDirectory="${EPREFIX}/opt/foldingathome"
+WorkingDirectory=${EPREFIX}/opt/foldingathome
 PIDFile=/run/fahclient.pid
-ExecStart=./FAHClient -v start
-ExecReload=./FAHClient -v restart
-ExecStop=./FAHClient -v stop
+ExecStart=${EPREFIX}/opt/foldingathome/FAHClient -v start
+ExecReload=${EPREFIX}/opt/foldingathome/FAHClient -v restart
+ExecStop=${EPREFIX}/opt/foldingathome/FAHClient -v stop
 KillMode=process
 
 [Install]


^ permalink raw reply related	[flat|nested] 20+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sci-biology/foldingathome/
@ 2018-09-14 16:02 Ian Stakenvicius
  0 siblings, 0 replies; 20+ messages in thread
From: Ian Stakenvicius @ 2018-09-14 16:02 UTC (permalink / raw
  To: gentoo-commits

commit:     713a32f1da038d5f33ea20728a32b22874b223aa
Author:     Ian Stakenvicius <axs <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 14 16:01:06 2018 +0000
Commit:     Ian Stakenvicius <axs <AT> gentoo <DOT> org>
CommitDate: Fri Sep 14 16:02:20 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=713a32f1

sci-biology/foldingathome: bump to 7.5.1

Upstream has dropped support for 32bit

Closes: https://bugs.gentoo.org/666208
Package-Manager: Portage-2.3.40, Repoman-2.3.9

 sci-biology/foldingathome/Manifest                 |  3 +--
 ...-7.4.4-r3.ebuild => foldingathome-7.5.1.ebuild} | 30 ++++++++++++----------
 2 files changed, 18 insertions(+), 15 deletions(-)

diff --git a/sci-biology/foldingathome/Manifest b/sci-biology/foldingathome/Manifest
index 4c422074476..e611180008f 100644
--- a/sci-biology/foldingathome/Manifest
+++ b/sci-biology/foldingathome/Manifest
@@ -1,2 +1 @@
-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
+DIST fahclient_7.5.1-64bit-release.tar.bz2 3438239 BLAKE2B 69fb60cdd5356fe4f5ad1f106b67d078baf0394c5d3c474dff2f1ac840bcb31bfd9ca9a9c6112b9ee9497dcdc223732627a21c50b455e46c096a52587d5d229b SHA512 5f6f2f882d57fe53ad0a55b48f09fc3803af6aebbbf0e92be39477d4c4da92237d6edabec61dd8183678bdcfe3923ff9b0938647a77edc2c69ce8958defcfdf1

diff --git a/sci-biology/foldingathome/foldingathome-7.4.4-r3.ebuild b/sci-biology/foldingathome/foldingathome-7.5.1.ebuild
similarity index 82%
rename from sci-biology/foldingathome/foldingathome-7.4.4-r3.ebuild
rename to sci-biology/foldingathome/foldingathome-7.5.1.ebuild
index 5df01b800ba..f842c8814c7 100644
--- a/sci-biology/foldingathome/foldingathome-7.4.4-r3.ebuild
+++ b/sci-biology/foldingathome/foldingathome-7.5.1.ebuild
@@ -5,29 +5,26 @@ 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} )"
+HOMEPAGE="https://foldingathome.org/"
+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"
 
 RESTRICT="mirror bindist strip"
 
 LICENSE="FAH-EULA-2014 FAH-special-permission"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64"
 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
+DEPEND="dev-util/patchelf"
 RDEPEND="app-arch/bzip2
+	=dev-libs/openssl-1.0*:*
 	sys-devel/gcc
 	sys-libs/glibc
 	sys-libs/zlib"
 
-S="${WORKDIR}"
+S="${WORKDIR}/fahclient_${PV}-64bit-release"
 
 QA_PREBUILT="opt/foldingathome/*"
 
@@ -47,10 +44,17 @@ pkg_setup() {
 }
 
 src_install() {
-	local myS="fahclient_${PV}-64bit-release"
-	use x86 && myS="${myS//64bit/32bit}"
+	patchelf --set-rpath "${EPREFIX}/opt/foldingathome" FAHClient || die
+	patchelf --set-rpath "${EPREFIX}/opt/foldingathome" FAHCoreWrapper || die
+
+	dosym "../../usr/$(get_libdir)/libssl.so.1.0.0" /opt/foldingathome/libssl.so.10
+	dosym "../../usr/$(get_libdir)/libcrypto.so.1.0.0" /opt/foldingathome/libcrypto.so.10
+
 	exeinto /opt/foldingathome
-	doexe "${myS}"/{FAHClient,FAHCoreWrapper}
+	doexe {FAHClient,FAHCoreWrapper}
+
+	insinto /opt/foldingathome
+	doins sample-config.xml
 
 	newconfd "${FILESDIR}"/7.3/folding-conf.d foldingathome
 	cat <<EOF >"${T}"/fah-init
@@ -70,7 +74,7 @@ EOF
 	cat <<EOF >"${T}"/fah-init.service
 [Unit]
 Description=Folding@Home V7 Client
-Documentation=https://folding.stanford.edu/home/the-software/
+Documentation=https://foldingathome.org
 
 [Service]
 Type=simple


^ permalink raw reply related	[flat|nested] 20+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sci-biology/foldingathome/
@ 2019-06-14 17:46 Thomas Deutschmann
  0 siblings, 0 replies; 20+ messages in thread
From: Thomas Deutschmann @ 2019-06-14 17:46 UTC (permalink / raw
  To: gentoo-commits

commit:     5ce6520a81d0e0539628b3ea270864654f3a198d
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue May 28 19:02:39 2019 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Fri Jun 14 17:46:35 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ce6520a

sci-biology/foldingathome: Permit dev-libs/openssl-compat

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>

 sci-biology/foldingathome/foldingathome-7.5.1.ebuild | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/sci-biology/foldingathome/foldingathome-7.5.1.ebuild b/sci-biology/foldingathome/foldingathome-7.5.1.ebuild
index f842c8814c7..08e9c15149d 100644
--- a/sci-biology/foldingathome/foldingathome-7.5.1.ebuild
+++ b/sci-biology/foldingathome/foldingathome-7.5.1.ebuild
@@ -19,7 +19,10 @@ IUSE=""
 # i.e. uclibc or clang can provide what is necessary at runtime
 DEPEND="dev-util/patchelf"
 RDEPEND="app-arch/bzip2
-	=dev-libs/openssl-1.0*:*
+	|| (
+		dev-libs/openssl-compat:1.0.0
+		=dev-libs/openssl-1.0*:*
+	)
 	sys-devel/gcc
 	sys-libs/glibc
 	sys-libs/zlib"


^ permalink raw reply related	[flat|nested] 20+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sci-biology/foldingathome/
@ 2020-03-05  4:40 Ian Stakenvicius
  0 siblings, 0 replies; 20+ messages in thread
From: Ian Stakenvicius @ 2020-03-05  4:40 UTC (permalink / raw
  To: gentoo-commits

commit:     73f5be2b2faf851c06cd57e4797f88180a39ef8b
Author:     Ian Stakenvicius <axs <AT> gentoo <DOT> org>
AuthorDate: Thu Mar  5 04:39:56 2020 +0000
Commit:     Ian Stakenvicius <axs <AT> gentoo <DOT> org>
CommitDate: Thu Mar  5 04:39:56 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73f5be2b

sci-biology/foldingathome: add enewgroup

Closes: https://bugs.gentoo.org/711418
Package-Manager: Portage-2.3.79, Repoman-2.3.16
Signed-off-by: Ian Stakenvicius <axs <AT> gentoo.org>

 sci-biology/foldingathome/foldingathome-7.5.1.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/sci-biology/foldingathome/foldingathome-7.5.1.ebuild b/sci-biology/foldingathome/foldingathome-7.5.1.ebuild
index 08e9c15149d..c70c153803a 100644
--- a/sci-biology/foldingathome/foldingathome-7.5.1.ebuild
+++ b/sci-biology/foldingathome/foldingathome-7.5.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -43,6 +43,7 @@ pkg_setup() {
 	elog "(ref: http://foldingforum.org/viewtopic.php?f=16&t=22524&p=241992#p241992 )"
 	elog ""
 
+	enewgroup foldingathome
 	enewuser foldingathome -1 -1 "${EPREFIX}"/opt/foldingathome
 }
 


^ permalink raw reply related	[flat|nested] 20+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sci-biology/foldingathome/
@ 2020-03-27  7:17 Joonas Niilola
  0 siblings, 0 replies; 20+ messages in thread
From: Joonas Niilola @ 2020-03-27  7:17 UTC (permalink / raw
  To: gentoo-commits

commit:     8590abe524112ff82b52b9a91ad120885f1e65fb
Author:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 27 07:15:22 2020 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Fri Mar 27 07:17:34 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8590abe5

sci-biology/foldingathome: attempt to fix init and service files

 - non-maintainer commit, since axs seems to be inactive.

Bug: https://bugs.gentoo.org/712744
Bug: https://bugs.gentoo.org/714160
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 .../{foldingathome-7.5.1.ebuild => foldingathome-7.5.1-r1.ebuild} | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/sci-biology/foldingathome/foldingathome-7.5.1.ebuild b/sci-biology/foldingathome/foldingathome-7.5.1-r1.ebuild
similarity index 95%
rename from sci-biology/foldingathome/foldingathome-7.5.1.ebuild
rename to sci-biology/foldingathome/foldingathome-7.5.1-r1.ebuild
index c70c153803a..4b545b5770c 100644
--- a/sci-biology/foldingathome/foldingathome-7.5.1.ebuild
+++ b/sci-biology/foldingathome/foldingathome-7.5.1-r1.ebuild
@@ -71,7 +71,7 @@ command="${EPREFIX}/opt/foldingathome/FAHClient"
 command_args="\${FOLD_OPTS}"
 command_user=foldingathome
 command_background=1
-pidfile="\${PIDFILE}"
+procname="FAHClient"
 EOF
 	newinitd "${T}"/fah-init foldingathome
 
@@ -85,9 +85,9 @@ 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
+ExecStart=${EPREFIX}/opt/foldingathome/FAHClient -v
+#ExecReload=${EPREFIX}/opt/foldingathome/FAHClient -v restart
+#ExecStop=${EPREFIX}/opt/foldingathome/FAHClient -v stop
 KillMode=process
 
 [Install]


^ permalink raw reply related	[flat|nested] 20+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sci-biology/foldingathome/
@ 2020-03-27 16:25 Joonas Niilola
  0 siblings, 0 replies; 20+ messages in thread
From: Joonas Niilola @ 2020-03-27 16:25 UTC (permalink / raw
  To: gentoo-commits

commit:     88b07eb3669c9c60ea17a9f0e7c4bbf6c4ca35d1
Author:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Fri Mar 27 16:22:40 2020 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Fri Mar 27 16:24:59 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=88b07eb3

sci-biology/foldingathome: revert init fix

 - apparently it broke for some users, needs more testing and
   feedback.

Bug: https://bugs.gentoo.org/714160
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 .../{foldingathome-7.5.1-r1.ebuild => foldingathome-7.5.1-r2.ebuild}  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sci-biology/foldingathome/foldingathome-7.5.1-r1.ebuild b/sci-biology/foldingathome/foldingathome-7.5.1-r2.ebuild
similarity index 98%
rename from sci-biology/foldingathome/foldingathome-7.5.1-r1.ebuild
rename to sci-biology/foldingathome/foldingathome-7.5.1-r2.ebuild
index 4b545b5770c..502ff39266a 100644
--- a/sci-biology/foldingathome/foldingathome-7.5.1-r1.ebuild
+++ b/sci-biology/foldingathome/foldingathome-7.5.1-r2.ebuild
@@ -63,7 +63,7 @@ src_install() {
 	newconfd "${FILESDIR}"/7.3/folding-conf.d foldingathome
 	cat <<EOF >"${T}"/fah-init
 #!/sbin/openrc-run
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 start_stop_daemon_args="--chdir \"${EPREFIX}/opt/foldingathome\""
@@ -71,7 +71,7 @@ command="${EPREFIX}/opt/foldingathome/FAHClient"
 command_args="\${FOLD_OPTS}"
 command_user=foldingathome
 command_background=1
-procname="FAHClient"
+pidfile="\${PIDFILE}"
 EOF
 	newinitd "${T}"/fah-init foldingathome
 


^ permalink raw reply related	[flat|nested] 20+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sci-biology/foldingathome/
@ 2020-03-28  7:01 Joonas Niilola
  0 siblings, 0 replies; 20+ messages in thread
From: Joonas Niilola @ 2020-03-28  7:01 UTC (permalink / raw
  To: gentoo-commits

commit:     5d7497c63f27f8b8cd65736ac400714a3614d7b4
Author:     Brian Harring <ferringb <AT> gmail <DOT> com>
AuthorDate: Mon Mar 23 00:07:14 2020 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Sat Mar 28 07:01:19 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d7497c6

sci-biology/foldingathome: systemd cleanup, various fixes.

1) force the `foldingathome` user group for the process for obvious
  reasons.
2) link in the video group and add it to the foldingathome user- this
  is necessary for GPU utilization.
3) force nice=19 from systemd level.  The batch processing attempts to
  do this for workers, but we might as well force it for the scheduler.
4) Add explicit configuration directives to force- irregardless of host config-
  the scheduler to be foreground'd and running in a fashion that integrates w/
  systemd more sanely.
5) Lockdown some basic systemd security while I'm in here.
6) Finally, drop the pidfile directive for systemd.  Foreground process-
  no pidfile to track (nor should we have the unit create it).

Bug: https://bugs.gentoo.org/712744
Signed-off-by: Brian Harring <ferringb <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/15145
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 .../foldingathome/foldingathome-7.5.1-r2.ebuild      | 20 +++++++++++++-------
 1 file changed, 13 insertions(+), 7 deletions(-)

diff --git a/sci-biology/foldingathome/foldingathome-7.5.1-r2.ebuild b/sci-biology/foldingathome/foldingathome-7.5.1-r2.ebuild
index 502ff39266a..cb7ce89a604 100644
--- a/sci-biology/foldingathome/foldingathome-7.5.1-r2.ebuild
+++ b/sci-biology/foldingathome/foldingathome-7.5.1-r2.ebuild
@@ -25,7 +25,9 @@ RDEPEND="app-arch/bzip2
 	)
 	sys-devel/gcc
 	sys-libs/glibc
-	sys-libs/zlib"
+	sys-libs/zlib
+	acct-group/video
+"
 
 S="${WORKDIR}/fahclient_${PV}-64bit-release"
 
@@ -44,7 +46,7 @@ pkg_setup() {
 	elog ""
 
 	enewgroup foldingathome
-	enewuser foldingathome -1 -1 "${EPREFIX}"/opt/foldingathome
+	enewuser foldingathome -1 -1 "${EPREFIX}"/opt/foldingathome video
 }
 
 src_install() {
@@ -83,12 +85,16 @@ Documentation=https://foldingathome.org
 [Service]
 Type=simple
 User=foldingathome
+Group=foldingathome
+Nice=19
 WorkingDirectory=${EPREFIX}/opt/foldingathome
-PIDFile=/run/fahclient.pid
-ExecStart=${EPREFIX}/opt/foldingathome/FAHClient -v
-#ExecReload=${EPREFIX}/opt/foldingathome/FAHClient -v restart
-#ExecStop=${EPREFIX}/opt/foldingathome/FAHClient -v stop
-KillMode=process
+ExecStart=${EPREFIX}/opt/foldingathome/FAHClient --fork=false --pid=false --respawn=false --service=false
+NoNewPrivileges=yes
+PrivateTmp=yes
+ProtectControlGroups=yes
+ProtectSystem=full
+RestrictRealtime=true
+ProtectControlGroups=yes
 
 [Install]
 WantedBy=multi-user.target


^ permalink raw reply related	[flat|nested] 20+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sci-biology/foldingathome/
@ 2020-03-28  7:01 Joonas Niilola
  0 siblings, 0 replies; 20+ messages in thread
From: Joonas Niilola @ 2020-03-28  7:01 UTC (permalink / raw
  To: gentoo-commits

commit:     635151b25dc52e4ec0e1fcae0110cbc24924f1eb
Author:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 28 07:00:34 2020 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Sat Mar 28 07:01:20 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=635151b2

sci-biology/foldingathome: revbump due to RDEPEND change

Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 .../{foldingathome-7.5.1-r2.ebuild => foldingathome-7.5.1-r3.ebuild}      | 0
 1 file changed, 0 insertions(+), 0 deletions(-)

diff --git a/sci-biology/foldingathome/foldingathome-7.5.1-r2.ebuild b/sci-biology/foldingathome/foldingathome-7.5.1-r3.ebuild
similarity index 100%
rename from sci-biology/foldingathome/foldingathome-7.5.1-r2.ebuild
rename to sci-biology/foldingathome/foldingathome-7.5.1-r3.ebuild


^ permalink raw reply	[flat|nested] 20+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sci-biology/foldingathome/
@ 2020-04-24 21:09 Ian Stakenvicius
  0 siblings, 0 replies; 20+ messages in thread
From: Ian Stakenvicius @ 2020-04-24 21:09 UTC (permalink / raw
  To: gentoo-commits

commit:     4c0751916936840cb32736e393045aaa21dc0294
Author:     Ian Stakenvicius <axs <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 24 19:49:15 2020 +0000
Commit:     Ian Stakenvicius <axs <AT> gentoo <DOT> org>
CommitDate: Fri Apr 24 21:09:18 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c075191

sci-biology/foldingathome: version bump

Trivial version bump, per bug comments; thanks for testing!

Closes: https://bugs.gentoo.org/718584
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Ian Stakenvicius <axs <AT> gentoo.org>

 sci-biology/foldingathome/Manifest                 |   1 +
 .../foldingathome/foldingathome-7.6.9.ebuild       | 140 +++++++++++++++++++++
 2 files changed, 141 insertions(+)

diff --git a/sci-biology/foldingathome/Manifest b/sci-biology/foldingathome/Manifest
index e611180008f..d61a17ed13f 100644
--- a/sci-biology/foldingathome/Manifest
+++ b/sci-biology/foldingathome/Manifest
@@ -1 +1,2 @@
 DIST fahclient_7.5.1-64bit-release.tar.bz2 3438239 BLAKE2B 69fb60cdd5356fe4f5ad1f106b67d078baf0394c5d3c474dff2f1ac840bcb31bfd9ca9a9c6112b9ee9497dcdc223732627a21c50b455e46c096a52587d5d229b SHA512 5f6f2f882d57fe53ad0a55b48f09fc3803af6aebbbf0e92be39477d4c4da92237d6edabec61dd8183678bdcfe3923ff9b0938647a77edc2c69ce8958defcfdf1
+DIST fahclient_7.6.9-64bit-release.tar.bz2 3962851 BLAKE2B 896ca7cdd1357bb37cd8a5c438223c398c5f8c6bde7f7302d0e62ccff603b9a3dd3fb348bd021b9654867eb8f2579c91cfe87e3229b365620b383a4f261ae5f4 SHA512 0a360d8a985d3d538922a2d9519b70845a568f7d052c3047e7f847865165e9cd6e741016ee00496161ca3c2115beef34e95ab594d0f864bccc0fe12de6886f19

diff --git a/sci-biology/foldingathome/foldingathome-7.6.9.ebuild b/sci-biology/foldingathome/foldingathome-7.6.9.ebuild
new file mode 100644
index 00000000000..cb7ce89a604
--- /dev/null
+++ b/sci-biology/foldingathome/foldingathome-7.6.9.ebuild
@@ -0,0 +1,140 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit versionator user systemd
+
+DESCRIPTION="Folding@Home is a distributed computing project for protein folding"
+HOMEPAGE="https://foldingathome.org/"
+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"
+
+RESTRICT="mirror bindist strip"
+
+LICENSE="FAH-EULA-2014 FAH-special-permission"
+SLOT="0"
+KEYWORDS="~amd64"
+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
+DEPEND="dev-util/patchelf"
+RDEPEND="app-arch/bzip2
+	|| (
+		dev-libs/openssl-compat:1.0.0
+		=dev-libs/openssl-1.0*:*
+	)
+	sys-devel/gcc
+	sys-libs/glibc
+	sys-libs/zlib
+	acct-group/video
+"
+
+S="${WORKDIR}/fahclient_${PV}-64bit-release"
+
+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 ""
+
+	enewgroup foldingathome
+	enewuser foldingathome -1 -1 "${EPREFIX}"/opt/foldingathome video
+}
+
+src_install() {
+	patchelf --set-rpath "${EPREFIX}/opt/foldingathome" FAHClient || die
+	patchelf --set-rpath "${EPREFIX}/opt/foldingathome" FAHCoreWrapper || die
+
+	dosym "../../usr/$(get_libdir)/libssl.so.1.0.0" /opt/foldingathome/libssl.so.10
+	dosym "../../usr/$(get_libdir)/libcrypto.so.1.0.0" /opt/foldingathome/libcrypto.so.10
+
+	exeinto /opt/foldingathome
+	doexe {FAHClient,FAHCoreWrapper}
+
+	insinto /opt/foldingathome
+	doins sample-config.xml
+
+	newconfd "${FILESDIR}"/7.3/folding-conf.d foldingathome
+	cat <<EOF >"${T}"/fah-init
+#!/sbin/openrc-run
+# Copyright 1999-2020 Gentoo Authors
+# 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 <<EOF >"${T}"/fah-init.service
+[Unit]
+Description=Folding@Home V7 Client
+Documentation=https://foldingathome.org
+
+[Service]
+Type=simple
+User=foldingathome
+Group=foldingathome
+Nice=19
+WorkingDirectory=${EPREFIX}/opt/foldingathome
+ExecStart=${EPREFIX}/opt/foldingathome/FAHClient --fork=false --pid=false --respawn=false --service=false
+NoNewPrivileges=yes
+PrivateTmp=yes
+ProtectControlGroups=yes
+ProtectSystem=full
+RestrictRealtime=true
+ProtectControlGroups=yes
+
+[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"
+}


^ permalink raw reply related	[flat|nested] 20+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sci-biology/foldingathome/
@ 2020-04-24 21:09 Ian Stakenvicius
  0 siblings, 0 replies; 20+ messages in thread
From: Ian Stakenvicius @ 2020-04-24 21:09 UTC (permalink / raw
  To: gentoo-commits

commit:     2d0aa630324eee5ff13ab39a87b56edc7a743ef6
Author:     Ian Stakenvicius <axs <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 24 21:08:13 2020 +0000
Commit:     Ian Stakenvicius <axs <AT> gentoo <DOT> org>
CommitDate: Fri Apr 24 21:09:20 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d0aa630

sci-biology/foldingathome: migrate to eapi7

includes migration from 'versionator' to 'eapi7-ver'

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Ian Stakenvicius <axs <AT> gentoo.org>

 sci-biology/foldingathome/foldingathome-7.6.9.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/sci-biology/foldingathome/foldingathome-7.6.9.ebuild b/sci-biology/foldingathome/foldingathome-7.6.9.ebuild
index cb7ce89a604..ca477a6d6b7 100644
--- a/sci-biology/foldingathome/foldingathome-7.6.9.ebuild
+++ b/sci-biology/foldingathome/foldingathome-7.6.9.ebuild
@@ -1,13 +1,13 @@
 # Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
-inherit versionator user systemd
+inherit user systemd
 
 DESCRIPTION="Folding@Home is a distributed computing project for protein folding"
 HOMEPAGE="https://foldingathome.org/"
-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"
+SRC_URI="https://download.foldingathome.org/releases/public/release/fahclient/centos-6.7-64bit/v$(ver_cut 1-2)/fahclient_${PV}-64bit-release.tar.bz2"
 
 RESTRICT="mirror bindist strip"
 


^ permalink raw reply related	[flat|nested] 20+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sci-biology/foldingathome/
@ 2020-05-14 14:59 Ian Stakenvicius
  0 siblings, 0 replies; 20+ messages in thread
From: Ian Stakenvicius @ 2020-05-14 14:59 UTC (permalink / raw
  To: gentoo-commits

commit:     4c09963a02b885e83b9af48220e786eb7a32d2c9
Author:     Ian Stakenvicius <axs <AT> gentoo <DOT> org>
AuthorDate: Thu May 14 14:58:11 2020 +0000
Commit:     Ian Stakenvicius <axs <AT> gentoo <DOT> org>
CommitDate: Thu May 14 14:59:03 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c09963a

sci-biology/foldingathome: bump to 7.6.13

Closes: https://bugs.gentoo.org/721980
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Ian Stakenvicius <axs <AT> gentoo.org>

 sci-biology/foldingathome/Manifest                                      | 2 +-
 .../{foldingathome-7.6.9.ebuild => foldingathome-7.6.13.ebuild}         | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-biology/foldingathome/Manifest b/sci-biology/foldingathome/Manifest
index d61a17ed13f..f1f3545d336 100644
--- a/sci-biology/foldingathome/Manifest
+++ b/sci-biology/foldingathome/Manifest
@@ -1,2 +1,2 @@
 DIST fahclient_7.5.1-64bit-release.tar.bz2 3438239 BLAKE2B 69fb60cdd5356fe4f5ad1f106b67d078baf0394c5d3c474dff2f1ac840bcb31bfd9ca9a9c6112b9ee9497dcdc223732627a21c50b455e46c096a52587d5d229b SHA512 5f6f2f882d57fe53ad0a55b48f09fc3803af6aebbbf0e92be39477d4c4da92237d6edabec61dd8183678bdcfe3923ff9b0938647a77edc2c69ce8958defcfdf1
-DIST fahclient_7.6.9-64bit-release.tar.bz2 3962851 BLAKE2B 896ca7cdd1357bb37cd8a5c438223c398c5f8c6bde7f7302d0e62ccff603b9a3dd3fb348bd021b9654867eb8f2579c91cfe87e3229b365620b383a4f261ae5f4 SHA512 0a360d8a985d3d538922a2d9519b70845a568f7d052c3047e7f847865165e9cd6e741016ee00496161ca3c2115beef34e95ab594d0f864bccc0fe12de6886f19
+DIST fahclient_7.6.13-64bit-release.tar.bz2 3951134 BLAKE2B 2748b7c1987d166bdda08caf5ff2f331523ff519e24768cd7e111c6d3a93f54c10c88d8adbf733230b6c51547360135dbcb272e5d43fd06d01918481601382a1 SHA512 f39f2990d78d075e1061ceaff9453b703a000770a3422965b7b8a91d1814f8804837628d8a34be5afd914228ef787f699f2488523baad295a8d9c1e3bb4f35cf

diff --git a/sci-biology/foldingathome/foldingathome-7.6.9.ebuild b/sci-biology/foldingathome/foldingathome-7.6.13.ebuild
similarity index 100%
rename from sci-biology/foldingathome/foldingathome-7.6.9.ebuild
rename to sci-biology/foldingathome/foldingathome-7.6.13.ebuild


^ permalink raw reply related	[flat|nested] 20+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sci-biology/foldingathome/
@ 2021-07-18 18:42 Conrad Kostecki
  0 siblings, 0 replies; 20+ messages in thread
From: Conrad Kostecki @ 2021-07-18 18:42 UTC (permalink / raw
  To: gentoo-commits

commit:     d52cb3309baa6bfccc6bedb98c78b892bf71975d
Author:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 18 18:20:08 2021 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sun Jul 18 18:42:14 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d52cb330

sci-biology/foldingathome: migrate to GLEP 81

Bug: https://bugs.gentoo.org/781485
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 .../foldingathome/foldingathome-7.6.13-r1.ebuild   | 138 +++++++++++++++++++++
 1 file changed, 138 insertions(+)

diff --git a/sci-biology/foldingathome/foldingathome-7.6.13-r1.ebuild b/sci-biology/foldingathome/foldingathome-7.6.13-r1.ebuild
new file mode 100644
index 00000000000..c45300719bf
--- /dev/null
+++ b/sci-biology/foldingathome/foldingathome-7.6.13-r1.ebuild
@@ -0,0 +1,138 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit systemd
+
+DESCRIPTION="Folding@Home is a distributed computing project for protein folding"
+HOMEPAGE="https://foldingathome.org/"
+SRC_URI="https://download.foldingathome.org/releases/public/release/fahclient/centos-6.7-64bit/v$(ver_cut 1-2)/fahclient_${PV}-64bit-release.tar.bz2"
+S="${WORKDIR}/fahclient_${PV}-64bit-release"
+
+LICENSE="FAH-EULA-2014 FAH-special-permission"
+SLOT="0"
+KEYWORDS="~amd64"
+RESTRICT="mirror bindist strip"
+
+# 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
+DEPEND="dev-util/patchelf"
+RDEPEND="
+	acct-group/foldingathome
+	acct-group/video
+	acct-user/foldingathome
+	app-arch/bzip2
+	|| (
+		dev-libs/openssl-compat:1.0.0
+		=dev-libs/openssl-1.0*:*
+	)
+	sys-devel/gcc
+	sys-libs/glibc
+	sys-libs/zlib
+"
+
+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 ""
+}
+
+src_install() {
+	patchelf --set-rpath "${EPREFIX}/opt/foldingathome" FAHClient || die
+	patchelf --set-rpath "${EPREFIX}/opt/foldingathome" FAHCoreWrapper || die
+
+	dosym "../../usr/$(get_libdir)/libssl.so.1.0.0" /opt/foldingathome/libssl.so.10
+	dosym "../../usr/$(get_libdir)/libcrypto.so.1.0.0" /opt/foldingathome/libcrypto.so.10
+
+	exeinto /opt/foldingathome
+	doexe {FAHClient,FAHCoreWrapper}
+
+	insinto /opt/foldingathome
+	doins sample-config.xml
+
+	newconfd "${FILESDIR}"/7.3/folding-conf.d foldingathome
+	cat <<EOF >"${T}"/fah-init
+#!/sbin/openrc-run
+# Copyright 1999-2020 Gentoo Authors
+# 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 <<EOF >"${T}"/fah-init.service
+[Unit]
+Description=Folding@Home V7 Client
+Documentation=https://foldingathome.org
+
+[Service]
+Type=simple
+User=foldingathome
+Group=foldingathome
+Nice=19
+WorkingDirectory=${EPREFIX}/opt/foldingathome
+ExecStart=${EPREFIX}/opt/foldingathome/FAHClient --fork=false --pid=false --respawn=false --service=false
+NoNewPrivileges=yes
+PrivateTmp=yes
+ProtectControlGroups=yes
+ProtectSystem=full
+RestrictRealtime=true
+ProtectControlGroups=yes
+
+[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"
+}


^ permalink raw reply related	[flat|nested] 20+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sci-biology/foldingathome/
@ 2021-07-18 18:42 Conrad Kostecki
  0 siblings, 0 replies; 20+ messages in thread
From: Conrad Kostecki @ 2021-07-18 18:42 UTC (permalink / raw
  To: gentoo-commits

commit:     34abf617fd037ae568cd183e823f9c51949d1cb2
Author:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 18 18:20:41 2021 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sun Jul 18 18:42:15 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34abf617

sci-biology/foldingathome: drop old version

Closes: https://bugs.gentoo.org/781485
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 .../foldingathome/foldingathome-7.6.13.ebuild      | 140 ---------------------
 1 file changed, 140 deletions(-)

diff --git a/sci-biology/foldingathome/foldingathome-7.6.13.ebuild b/sci-biology/foldingathome/foldingathome-7.6.13.ebuild
deleted file mode 100644
index ca477a6d6b7..00000000000
--- a/sci-biology/foldingathome/foldingathome-7.6.13.ebuild
+++ /dev/null
@@ -1,140 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit user systemd
-
-DESCRIPTION="Folding@Home is a distributed computing project for protein folding"
-HOMEPAGE="https://foldingathome.org/"
-SRC_URI="https://download.foldingathome.org/releases/public/release/fahclient/centos-6.7-64bit/v$(ver_cut 1-2)/fahclient_${PV}-64bit-release.tar.bz2"
-
-RESTRICT="mirror bindist strip"
-
-LICENSE="FAH-EULA-2014 FAH-special-permission"
-SLOT="0"
-KEYWORDS="~amd64"
-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
-DEPEND="dev-util/patchelf"
-RDEPEND="app-arch/bzip2
-	|| (
-		dev-libs/openssl-compat:1.0.0
-		=dev-libs/openssl-1.0*:*
-	)
-	sys-devel/gcc
-	sys-libs/glibc
-	sys-libs/zlib
-	acct-group/video
-"
-
-S="${WORKDIR}/fahclient_${PV}-64bit-release"
-
-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 ""
-
-	enewgroup foldingathome
-	enewuser foldingathome -1 -1 "${EPREFIX}"/opt/foldingathome video
-}
-
-src_install() {
-	patchelf --set-rpath "${EPREFIX}/opt/foldingathome" FAHClient || die
-	patchelf --set-rpath "${EPREFIX}/opt/foldingathome" FAHCoreWrapper || die
-
-	dosym "../../usr/$(get_libdir)/libssl.so.1.0.0" /opt/foldingathome/libssl.so.10
-	dosym "../../usr/$(get_libdir)/libcrypto.so.1.0.0" /opt/foldingathome/libcrypto.so.10
-
-	exeinto /opt/foldingathome
-	doexe {FAHClient,FAHCoreWrapper}
-
-	insinto /opt/foldingathome
-	doins sample-config.xml
-
-	newconfd "${FILESDIR}"/7.3/folding-conf.d foldingathome
-	cat <<EOF >"${T}"/fah-init
-#!/sbin/openrc-run
-# Copyright 1999-2020 Gentoo Authors
-# 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 <<EOF >"${T}"/fah-init.service
-[Unit]
-Description=Folding@Home V7 Client
-Documentation=https://foldingathome.org
-
-[Service]
-Type=simple
-User=foldingathome
-Group=foldingathome
-Nice=19
-WorkingDirectory=${EPREFIX}/opt/foldingathome
-ExecStart=${EPREFIX}/opt/foldingathome/FAHClient --fork=false --pid=false --respawn=false --service=false
-NoNewPrivileges=yes
-PrivateTmp=yes
-ProtectControlGroups=yes
-ProtectSystem=full
-RestrictRealtime=true
-ProtectControlGroups=yes
-
-[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"
-}


^ permalink raw reply related	[flat|nested] 20+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: sci-biology/foldingathome/
@ 2022-03-01 12:10 Andrew Ammerlaan
  0 siblings, 0 replies; 20+ messages in thread
From: Andrew Ammerlaan @ 2022-03-01 12:10 UTC (permalink / raw
  To: gentoo-commits

commit:     bf78919cbaf4bc4e387def77163e474bb4025035
Author:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Tue Mar  1 12:10:35 2022 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Tue Mar  1 12:10:35 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf78919c

sci-biology/foldingathome: add version 7.6.21

Closes: https://bugs.gentoo.org/757840
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>

 sci-biology/foldingathome/Manifest                 |   1 +
 .../foldingathome/foldingathome-7.6.21.ebuild      | 138 +++++++++++++++++++++
 2 files changed, 139 insertions(+)

diff --git a/sci-biology/foldingathome/Manifest b/sci-biology/foldingathome/Manifest
index 590546fddbfe..cfd020a01a88 100644
--- a/sci-biology/foldingathome/Manifest
+++ b/sci-biology/foldingathome/Manifest
@@ -1 +1,2 @@
 DIST fahclient_7.6.13-64bit-release.tar.bz2 3951134 BLAKE2B 2748b7c1987d166bdda08caf5ff2f331523ff519e24768cd7e111c6d3a93f54c10c88d8adbf733230b6c51547360135dbcb272e5d43fd06d01918481601382a1 SHA512 f39f2990d78d075e1061ceaff9453b703a000770a3422965b7b8a91d1814f8804837628d8a34be5afd914228ef787f699f2488523baad295a8d9c1e3bb4f35cf
+DIST fahclient_7.6.21-64bit-release.tar.bz2 4081015 BLAKE2B b47f99bb2c568ee78dfb8998f6faa6c19aa78492a7882d128917596fa51ca7fb9f02dc0a822b6859ee4b333812f961cbcba504b9b188a3a16e7c5c9489cbfbdb SHA512 b52d97c0169eea8686ac3e52a713bb8513ae2b33a853fbf88a0311569aee22681e9ac87bcc01acdaf31d5af5c3641bd5611d34fcbdbb6c1f0ebbb3fc1efeabdb

diff --git a/sci-biology/foldingathome/foldingathome-7.6.21.ebuild b/sci-biology/foldingathome/foldingathome-7.6.21.ebuild
new file mode 100644
index 000000000000..04b1ff468a1e
--- /dev/null
+++ b/sci-biology/foldingathome/foldingathome-7.6.21.ebuild
@@ -0,0 +1,138 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit systemd
+
+DESCRIPTION="Folding@Home is a distributed computing project for protein folding"
+HOMEPAGE="https://foldingathome.org/"
+SRC_URI="https://download.foldingathome.org/releases/public/release/fahclient/centos-6.7-64bit/v$(ver_cut 1-2)/fahclient_${PV}-64bit-release.tar.bz2"
+S="${WORKDIR}/fahclient_${PV}-64bit-release"
+
+LICENSE="FAH-EULA-2014 FAH-special-permission"
+SLOT="0"
+KEYWORDS="~amd64"
+RESTRICT="mirror bindist strip"
+
+# 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
+DEPEND="dev-util/patchelf"
+RDEPEND="
+	acct-group/foldingathome
+	acct-group/video
+	acct-user/foldingathome
+	app-arch/bzip2
+	|| (
+		dev-libs/openssl-compat:1.0.0
+		=dev-libs/openssl-1.0*:*
+	)
+	sys-devel/gcc
+	sys-libs/glibc
+	sys-libs/zlib
+"
+
+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 ""
+}
+
+src_install() {
+	patchelf --set-rpath "${EPREFIX}/opt/foldingathome" FAHClient || die
+	patchelf --set-rpath "${EPREFIX}/opt/foldingathome" FAHCoreWrapper || die
+
+	dosym "../../usr/$(get_libdir)/libssl.so.1.0.0" /opt/foldingathome/libssl.so.10
+	dosym "../../usr/$(get_libdir)/libcrypto.so.1.0.0" /opt/foldingathome/libcrypto.so.10
+
+	exeinto /opt/foldingathome
+	doexe {FAHClient,FAHCoreWrapper}
+
+	insinto /opt/foldingathome
+	doins sample-config.xml
+
+	newconfd "${FILESDIR}"/7.3/folding-conf.d foldingathome
+	cat <<EOF >"${T}"/fah-init || die
+#!/sbin/openrc-run
+# Copyright 1999-2020 Gentoo Authors
+# 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 <<EOF >"${T}"/fah-init.service || die
+[Unit]
+Description=Folding@Home V7 Client
+Documentation=https://foldingathome.org
+
+[Service]
+Type=simple
+User=foldingathome
+Group=foldingathome
+Nice=19
+WorkingDirectory=${EPREFIX}/opt/foldingathome
+ExecStart=${EPREFIX}/opt/foldingathome/FAHClient --fork=false --pid=false --respawn=false --service=false
+NoNewPrivileges=yes
+PrivateTmp=yes
+ProtectControlGroups=yes
+ProtectSystem=full
+RestrictRealtime=true
+ProtectControlGroups=yes
+
+[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" || die
+}


^ permalink raw reply related	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2022-03-01 12:10 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-07-18 18:42 [gentoo-commits] repo/gentoo:master commit in: sci-biology/foldingathome/ Conrad Kostecki
  -- strict thread matches above, loose matches on Subject: below --
2022-03-01 12:10 Andrew Ammerlaan
2021-07-18 18:42 Conrad Kostecki
2020-05-14 14:59 Ian Stakenvicius
2020-04-24 21:09 Ian Stakenvicius
2020-04-24 21:09 Ian Stakenvicius
2020-03-28  7:01 Joonas Niilola
2020-03-28  7:01 Joonas Niilola
2020-03-27 16:25 Joonas Niilola
2020-03-27  7:17 Joonas Niilola
2020-03-05  4:40 Ian Stakenvicius
2019-06-14 17:46 Thomas Deutschmann
2018-09-14 16:02 Ian Stakenvicius
2018-04-25 15:04 Ian Stakenvicius
2017-09-21 19:00 Ian Stakenvicius
2017-09-20 18:40 Ian Stakenvicius
2017-04-21 15:32 Ian Stakenvicius
2017-04-21 15:15 Ian Stakenvicius
2017-04-21 15:15 Ian Stakenvicius
2017-04-21 15:15 Ian Stakenvicius

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox