aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2011-05-31 12:29:09 +0200
committerTomas Chvatal <scarabeus@gentoo.org>2011-05-31 12:29:09 +0200
commit892c576874fbca764ac4b91a94eb49fa36856167 (patch)
tree8b13e443c4c07fb216c9fd867f116748f162baa6 /sci-misc
parentipp bump (diff)
downloadsci-892c576874fbca764ac4b91a94eb49fa36856167.tar.gz
sci-892c576874fbca764ac4b91a94eb49fa36856167.tar.bz2
sci-892c576874fbca764ac4b91a94eb49fa36856167.zip
[sci-misc/boinc-bin] Remove obsolete package version.
Diffstat (limited to 'sci-misc')
-rw-r--r--sci-misc/boinc-bin/ChangeLog33
-rw-r--r--sci-misc/boinc-bin/Manifest17
-rw-r--r--sci-misc/boinc-bin/boinc-bin-6.4.5.ebuild125
-rw-r--r--sci-misc/boinc-bin/files/boinc.conf28
-rw-r--r--sci-misc/boinc-bin/files/boinc.init116
-rw-r--r--sci-misc/boinc-bin/metadata.xml16
6 files changed, 0 insertions, 335 deletions
diff --git a/sci-misc/boinc-bin/ChangeLog b/sci-misc/boinc-bin/ChangeLog
deleted file mode 100644
index 906392841..000000000
--- a/sci-misc/boinc-bin/ChangeLog
+++ /dev/null
@@ -1,33 +0,0 @@
-# ChangeLog for sci-misc/boinc-bin
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: $
-
- 14 Mar 2011; Justin Lecher <jlec@gentoo.org> boinc-bin-6.4.5.ebuild:
- Moved media-libs/jpeg -> virtual/jpeg
-
- 23 Jan 2009; Tomas Chvatal <scarabeus@gentoo.org> files/boinc.init,
- boinc-bin-6.4.5.ebuild:
- cuda working.
-
- 22 Jan 2009; Tomas Chvatal <scarabeus@gentoo.org> -boinc-bin-6.5.0.ebuild:
- Dont bother with prereleases (waste of time).
-
- 22 Jan 2009; Tomas Chvatal <scarabeus@gentoo.org> files/boinc.init,
- boinc-bin-6.4.5.ebuild, boinc-bin-6.5.0.ebuild:
- Moar init.d fixups.
-
- 22 Jan 2009; Tomas Chvatal <scarabeus@gentoo.org> files/boinc.conf,
- files/boinc.init, boinc-bin-6.4.5.ebuild, boinc-bin-6.5.0.ebuild:
- Update initscripts and ebuilds a bit.
-
-*boinc-bin-6.4.5 (21 Jan 2009)
-
- 21 Jan 2009; Tomas Chvatal <scarabeus@gentoo.org> +boinc-bin-6.5.0.ebuild:
- Add normal binary release
-
-*boinc-bin-6.5.0 (21 Jan 2009)
-
- 21 Jan 2009; Tomas Chvatal <scarabeus@gentoo.org> +files/boinc.conf,
- +files/boinc.init, +metadata.xml, +boinc-bin-6.5.0.ebuild:
- Add binary prerelease.
-
diff --git a/sci-misc/boinc-bin/Manifest b/sci-misc/boinc-bin/Manifest
deleted file mode 100644
index 8cd6caf3d..000000000
--- a/sci-misc/boinc-bin/Manifest
+++ /dev/null
@@ -1,17 +0,0 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-AUX boinc.conf 706 RMD160 dc1a8faaabae2441bbaa23c4a07e9a1f9658ae38 SHA1 5239bdb08fb0ad16944ea68e8b54d3940ac3b091 SHA256 feac94f8f6a893f32908031d0df9dac0c7e0c65448b85c819ff0dd487b4b834a
-AUX boinc.init 2808 RMD160 65ce2f47a2fcc21476cab17eabcfaa4593eaa4c3 SHA1 14defce8894f5f1afcf7e56d14904e3a5b369e41 SHA256 63b0edd80ac82edd866a0c9578d7bec0e7a9afab3f7398707b7943dcabe4377c
-DIST boinc_6.4.5_i686-pc-linux-gnu.sh 4371490 RMD160 cb7687c806f8eb2d2ed974908048be1a057524ec SHA1 32eab0dfd0abcad56d2a4bbbf6a53ac8673a7e8d SHA256 b45884ee6b1f7c1299345f3db06dd368264d0af18d0361d6925eda6688e60778
-DIST boinc_6.4.5_x86_64-pc-linux-gnu.sh 4575051 RMD160 992df581e95d847a36f50bf2595862f53fb712ad SHA1 8ba3ae6e62485f61d0bdeae9aa161d2c1c827b79 SHA256 3471710ff8c25f2c1788f18bbdab057c8a762847862058962bb809b7cdf2fd7d
-EBUILD boinc-bin-6.4.5.ebuild 3518 RMD160 c639479fe57b989c97bbc0194f1e049ffc2563da SHA1 4d149f8fa9f31092fc973532e75e72318f1c9fc0 SHA256 af7803eee1bf5b2a01eb3bf811132aba5565864f58effcd6c5860077e85d93dd
-MISC ChangeLog 1120 RMD160 f79ef03a0ca1f62db39fb8347d6d81bd23232c44 SHA1 d97ed4712d5305533d01eb84c6cd4cc59b471247 SHA256 51c80826fd42722c9d484cba8d09ccf62b804ace3004acfcc4ef08b8de8de4a2
-MISC metadata.xml 471 RMD160 891334e296d850fe56e50b9544c0a7b733740a75 SHA1 adeee8a2ad636bfb0a4306f9abf6a4236aa28560 SHA256 38bca554773db57e79011dea226228dfdc5ea90a3047693b5d47b4bf924af9ea
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.17 (GNU/Linux)
-
-iEYEARECAAYFAk196uEACgkQgAnW8HDreRZPpgCguRxYKuX0f4EysM7FNbRaCEPH
-pf4AoJcxUqYRPdWwIeoJQKoNUwPd+bPz
-=T2kJ
------END PGP SIGNATURE-----
diff --git a/sci-misc/boinc-bin/boinc-bin-6.4.5.ebuild b/sci-misc/boinc-bin/boinc-bin-6.4.5.ebuild
deleted file mode 100644
index ad0778a76..000000000
--- a/sci-misc/boinc-bin/boinc-bin-6.4.5.ebuild
+++ /dev/null
@@ -1,125 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-#
-# Don't forget to keep things in sync with normal boinc package!
-#
-
-EAPI="2"
-
-inherit eutils
-
-MY_PN="${PN//-bin/}"
-MY_PV="${PV//./_}"
-DESCRIPTION="The Berkeley Open Infrastructure for Network Computing"
-HOMEPAGE="http://boinc.ssl.berkeley.edu/"
-SRC_URI="
- amd64? ( http://${MY_PN}dl.ssl.berkeley.edu/dl/${MY_PN}_${PV}_x86_64-pc-linux-gnu.sh )
- x86? ( http://${MY_PN}dl.ssl.berkeley.edu/dl/${MY_PN}_${PV}_i686-pc-linux-gnu.sh )
- "
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="-* ~amd64 ~x86"
-IUSE="X cuda"
-
-DEPEND=""
-RDEPEND="
- !sci-misc/boinc
- app-misc/ca-certificates
- dev-libs/openssl
- net-misc/curl
- sys-apps/util-linux
- sys-libs/zlib
- cuda? (
- >=dev-util/nvidia-cuda-toolkit-2.1
- >=x11-drivers/nvidia-drivers-180.22
- )
- X? (
- media-libs/freeglut
- virtual/jpeg
- x11-libs/wxGTK:2.8[X,opengl]
- )
- "
-
-S="${WORKDIR}"/BOINC
-
-LANGS="ar be bg ca cs da de el en_US es eu fi fr hr hu it ja lt lv nb nl pl pt
-pt_BR ro ru sk sl sv_SE tr uk zh_CN zh_TW"
-for LNG in ${LANGS}; do
- IUSE="${IUSE} linguas_${LNG}"
-done
-
-src_unpack() {
- local target
- use x86 && target="i686" || target="x86_64"
- cp "${DISTDIR}"/${MY_PN}_${PV}_${target}-pc-linux-gnu.sh "${WORKDIR}" \
- || die "failed to prepare binary"
- cd "${WORKDIR}"
- sh ${MY_PN}_${PV}_${target}-pc-linux-gnu.sh &> /dev/null # annoying messages
-}
-
-src_install() {
- newinitd "${FILESDIR}"/${MY_PN}.init ${MY_PN}
- newconfd "${FILESDIR}"/${MY_PN}.conf ${MY_PN}
- # fancy X stuff
- if use X; then
- # icon
- newicon "${S}"/${MY_PN}mgr.48x48.png ${MY_PN}.png
- # desktop
- make_desktop_entry /opt/bin/boinc "${MY_PN}" ${MY_PN} "Education;Science" /var/lib/${MY_PN}
- fi
- # use correct path in scripts
- sed -i \
- -e "s:${S}:/opt/${MY_PN}/:g" \
- -e "s:./${MY_PN}mgr:/opt/${MY_PN}/${MY_PN}mgr:g" \
- run_manager || die "sed run_manager failed"
- # install binaries
- exeopts -m0755
- exeinto /opt/${MY_PN}
- doexe "${S}"/{${MY_PN},${MY_PN}cmd,${MY_PN}mgr,run_manager}
- fowners 0:${MY_PN} /opt/${MY_PN}/{${MY_PN},${MY_PN}cmd,${MY_PN}mgr,run_manager}
- # symlink the important ones to the /opt/bin/
- dosym /opt/${MY_PN}/run_manager /opt/bin/boinc
- # locale
- insopts -m0644
- insinto /opt/${MY_PN}/locale
- cd "${S}"/locale/
- for LNG in ${LINGUAS}; do
- doins -r "${LNG}"
- done
- # certificates
- dosym /etc/ssl/certs/ca-certificates.crt /opt/${MY_PN}/ca-bundle.crt
- # cuda
- use cuda && dosym /opt/cuda/lib/libcudart.so /opt/${MY_PN}/libcudart.so
-}
-
-pkg_setup() {
- enewgroup ${MY_PN}
- if use cuda; then
- enewuser ${MY_PN} -1 -1 /var/lib/${MY_PN} "${MY_PN},video"
- else
- enewuser ${MY_PN} -1 -1 /var/lib/${MY_PN} "${MY_PN}"
- fi
-}
-
-pkg_postinst() {
- echo
- elog "You are using the binary distributed version."
- elog "The manager can be found at /opt/bin/${MY_PN}"
- elog
- elog "You need to attach to a project to do anything useful with ${MY_PN}."
- elog "You can do this by running /etc/init.d/${MY_PN} attach"
- elog "The howto for configuration is located at:"
- elog "http://${MY_PN}.berkeley.edu/anonymous_platform.php"
- elog
- # Add warning about the new password for the client, bug 121896.
- elog "If you need to use the graphical client the password is in:"
- elog "/var/lib/${MY_PN}/gui_rpc_auth.cfg"
- elog "Where /var/lib/ is default RUNTIMEDIR, that can be changed in:"
- elog "/etc/conf.d/${MY_PN}"
- elog "You should change this to something more memorable (can be even blank)."
- elog
- elog "Remember to launch init script before using manager. Or changing the password."
-}
diff --git a/sci-misc/boinc-bin/files/boinc.conf b/sci-misc/boinc-bin/files/boinc.conf
deleted file mode 100644
index 884189a37..000000000
--- a/sci-misc/boinc-bin/files/boinc.conf
+++ /dev/null
@@ -1,28 +0,0 @@
-# Config file for /etc/init.d/boinc
-
-# Owner of BOINC process (must be existing)
-USER="boinc"
-GROUP="boinc"
-
-# Directory with runtime data: Work units, project binaries, user info etc.
-RUNTIMEDIR="/var/lib/boinc"
-
-# Location of the boinc command line binary
-BOINCBIN="/opt/boinc/boinc"
-
-# Logfile (/dev/null for nowhere)
-LOGFILE="/var/log/boinc.log"
-
-# Allow remote gui RPC yes or no
-ALLOW_REMOTE_RPC="no"
-
-# nice level
-NICELEVEL="19"
-
-# scheduling parameters, arguments to chrt(1)
-SCHED_PARAM="--batch 0"
-
-# Relative CPU allocation for boinc user, default is 1024,
-# requires CONFIG_FAIR_GROUP_SCHED and CONFIG_USER_SCHED,
-# see /usr/src/linux/Documentation/scheduler/sched-design-CFS.txt
-CPU_SHARE="128"
diff --git a/sci-misc/boinc-bin/files/boinc.init b/sci-misc/boinc-bin/files/boinc.init
deleted file mode 100644
index 54812d104..000000000
--- a/sci-misc/boinc-bin/files/boinc.init
+++ /dev/null
@@ -1,116 +0,0 @@
-#!/sbin/runscript
-
-opts="${opts} attach"
-
-depend() {
- # we can use dns and net, but we can also in most cases live without them
- use dns net
-}
-
-create_work_directory() {
- if [[ ! -d $RUNTIMEDIR ]]; then
- einfo "Directory $RUNTIMEDIR not existing, creating now."
- mkdir $RUNTIMEDIR
- chown ${USER}:${GROUP} $RUNTIMEDIR
- if [[ ! -d $RUNTIMEDIR ]]; then
- eeror "Directory $RUNTIMEDIR could not be created!"
- return 1
- fi
- ln -s /etc/ssl/certs/ca-certificates.crt $RUNTIMEDIR/ca-bundle.crt
- fi
-}
-
-generate_logs() {
- if [[ ! -f $LOGFILE ]]; then
- einfo "No $LOGFILE around. Creating new..."
- einfo "For good log rotation is great tool app-admin/logrotate"
- touch $LOGFILE
- chown ${USER}:${GROUP} $LOGFILE
- fi
-}
-
-cuda_check() {
- if [[ -f /opt/boinc/libcudart.so ]]; then
- # user wanted cuda so lets enable it
- ln -s /opt/cuda/lib/libcudart.so $WORKDIR/libcudart.so
- fi
-}
-
-start() {
- ebegin "Starting BOINC"
-
- create_work_directory
-
- cd $RUNTIMEDIR
-
- if [[ ! -f lockfile ]]; then
- einfo "File $RUNTIMEDIR/lockfile does not exist, assuming first run."
- einfo "You need to setup an account on the BOINC project homepage beforehand!"
- einfo "Go to http://boinc.berkeley.edu/ and locate your project."
- einfo "Then either run /etc/init.d/boinc attach or connect with a gui client"
- einfo "and attach to a project with that."
- echo
- ewarn "Note that for attaching to some project you need your network up and running."
- ewarn "network is needed only for jobs fetching afterwards"
- fi
-
- generate_logs
-
- if [[ ${ALLOW_REMOTE_RPC} = "yes" ]]; then
- ARGS="${ARGS} -allow_remote_gui_rpc"
- fi
-
- # sys-apps/util-linux
- CHRT="/usr/bin/chrt ${SCHED_PARAM}"
-
- ${CHRT} start-stop-daemon \
- --quiet --start --chdir ${RUNTIMEDIR} \
- --exec ${BOINCBIN} --chuid ${USER}:${GROUP} \
- --background --stdout ${LOGFILE} --stderr ${LOGFILE} \
- --nicelevel ${NICELEVEL} -- ${ARGS}
-
- RESULT=$?
-
- if [ "${CPU_SHARE}" -a -d /sys/kernel/uids ]; then
- BUID=`id -u ${USER}`
- # It might take a moment for start-stop-daemon to chuid
- [[ -d /sys/kernel/uids/${BUID} ]] || sleep 5 # 5 was working always here
- if [[ -w /sys/kernel/uids/${BUID}/cpu_share ]]; then
- echo ${CPU_SHARE} > /sys/kernel/uids/${BUID}/cpu_share
- fi
- fi
-
- eend $RESULT
-}
-
-attach() {
- printf " Enter the Project URL: "
- read url
- printf " Enter your Account Key: "
- read key
-
- RC_QUIET_STDOUT="yes" svc_status
- if [[ $? = 1 ]]; then
- svc_start
- fi
- ebegin "Attaching to project"
- # we have to work in runtime directory
- cd $RUNTIMEDIR
- # boinc does not return 1 when it fails currently
- $BOINCBIN --attach_project $url $key &> /dev/null
- eend $?
-
- sleep 10
- tail $LOGFILE
-}
-
-stop() {
- ebegin "Stopping BOINC"
- start-stop-daemon --stop --retry 3 --quiet --exec $BOINCBIN
- eend $?
-}
-
-restart() {
- svc_stop
- svc_start
-}
diff --git a/sci-misc/boinc-bin/metadata.xml b/sci-misc/boinc-bin/metadata.xml
deleted file mode 100644
index 031688039..000000000
--- a/sci-misc/boinc-bin/metadata.xml
+++ /dev/null
@@ -1,16 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<herd>sci</herd>
-<maintainer>
- <email>scarabeus@gentoo.org</email>
- <name>Tomas Chvatal</name>
-</maintainer>
-<use>
- <flag name="cuda">
- Use nvidia cuda toolkit for speeding up computations.
- NOTE: works only for subset of nvidia graphic cards so make sure your card
- is supported before opening bug about it.
- </flag>
-</use>
-</pkgmetadata>