public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: sci-biology/foldingathome/files/7.3/, sci-biology/foldingathome/
@ 2017-09-21 19:00 Ian Stakenvicius
  0 siblings, 0 replies; only message in thread
From: Ian Stakenvicius @ 2017-09-21 19:00 UTC (permalink / raw
  To: gentoo-commits

commit:     591de6c3bd0d7a69586256114fb276f080130b6e
Author:     Ian Stakenvicius <axs <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 21 18:26:02 2017 +0000
Commit:     Ian Stakenvicius <axs <AT> gentoo <DOT> org>
CommitDate: Thu Sep 21 19:00:39 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=591de6c3

sci-biology/foldingathome: drop old 7.4.4-r1 ebuild

Package-Manager: Portage-2.3.6, Repoman-2.3.1

 sci-biology/foldingathome/files/7.3/fah-init       | 30 --------
 sci-biology/foldingathome/files/7.3/initfolding    |  5 --
 .../foldingathome/foldingathome-7.4.4-r1.ebuild    | 87 ----------------------
 3 files changed, 122 deletions(-)

diff --git a/sci-biology/foldingathome/files/7.3/fah-init b/sci-biology/foldingathome/files/7.3/fah-init
deleted file mode 100644
index c5bb460d482..00000000000
--- a/sci-biology/foldingathome/files/7.3/fah-init
+++ /dev/null
@@ -1,30 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $
-
-extra_commands="unitinfo"
-
-unitinfo() {
-	einfo "$(head -n1 /opt/foldingathome/unitinfo.txt):"
-	sed -e '1,2d' /opt/foldingathome/unitinfo.txt
-}
-
-start() {
-	ebegin "Starting Folding@Home"
-	cd /opt/foldingathome
-	start-stop-daemon --chdir ${PWD} --user foldingathome --nicelevel 19 \
-		--make-pidfile --pidfile "${PIDFILE}" \
-		--start --background --exec ./FAHClient -- ${FOLD_OPTS}
-	eend $?
-}
-
-stop() {
-	ebegin "Stopping Folding@Home"
-	start-stop-daemon --stop --user foldingathome --pidfile "${PIDFILE}"
-	if [ $? -ne 0 ]; then
-		killall --user foldingathome --signal SIGKILL
-		ewarn "killing all processes running as user 'foldingathome' ..."
-	fi
-	eend $?
-}

diff --git a/sci-biology/foldingathome/files/7.3/initfolding b/sci-biology/foldingathome/files/7.3/initfolding
deleted file mode 100644
index 240b7fa2f17..00000000000
--- a/sci-biology/foldingathome/files/7.3/initfolding
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/sh
-
-cd /opt/foldingathome
-/opt/foldingathome/FAHClient --configure
-/bin/chown -R foldingathome:nogroup /opt/foldingathome

diff --git a/sci-biology/foldingathome/foldingathome-7.4.4-r1.ebuild b/sci-biology/foldingathome/foldingathome-7.4.4-r1.ebuild
deleted file mode 100644
index bed9135f0d2..00000000000
--- a/sci-biology/foldingathome/foldingathome-7.4.4-r1.ebuild
+++ /dev/null
@@ -1,87 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-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-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}"
-
-I="opt/foldingathome"
-
-QA_PREBUILT="${I}/*"
-
-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() {
-	local myS="fahclient_${PV}-64bit-release"
-	use x86 && myS="${myS//64bit/32bit}"
-	exeinto ${I}
-	doexe "${FILESDIR}"/7.3/initfolding
-	doexe "${myS}"/{FAHClient,FAHCoreWrapper}
-	newconfd "${FILESDIR}"/7.3/folding-conf.d foldingathome
-	newinitd "${FILESDIR}"/7.3/fah-init foldingathome
-}
-
-pkg_preinst() {
-	# the bash shell is important for "su -c" in init script
-	enewuser foldingathome -1 /bin/bash "${EPREFIX}"/opt/foldingathome
-}
-
-pkg_postinst() {
-	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 "${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"
-	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() {
-	"${EROOT}"${I}/initfolding
-}


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2017-09-21 19:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-21 19:00 [gentoo-commits] repo/gentoo:master commit in: sci-biology/foldingathome/files/7.3/, sci-biology/foldingathome/ Ian Stakenvicius

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