Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 131999 Details for
Bug 105211
cpushare-0.22.ebuild (New Package)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
this should be located in /usr/local/portage/net-p2p/cpushare/
cpushare-0.46.ebuild (text/plain), 2.67 KB, created by
CPUShare
on 2007-09-27 02:50:24 UTC
(
hide
)
Description:
this should be located in /usr/local/portage/net-p2p/cpushare/
Filename:
MIME Type:
Creator:
CPUShare
Created:
2007-09-27 02:50:24 UTC
Size:
2.67 KB
patch
obsolete
># Copyright 1999-2007 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >inherit eutils distutils > >DESCRIPTION="CPUShare Sell Client for Linux" >HOMEPAGE="http://www.cpushare.com/" >SRC_URI="https://www.cpushare.com/downloads/cpushare/core/${P}.tar.bz2" > >LICENSE="LGPL-2" >SLOT="0" >KEYWORDS="~amd64 ~x86 ~ppc64 ~ppc" >IUSE="" > >DEPEND="" >RDEPEND="${DEPEND} > >=dev-python/twisted-2.5.0 > >=dev-python/pyopenssl-0.6" > >S=${WORKDIR}/${PN} > >CONFIG_CHECK="SECCOMP" >ERROR_KPROBES="${PN} requires support for Secure Computing (SECCOMP) - this can be enabled in 'Processor type and features -> Enable seccomp to safely compute untrusted bytecode'." > >pkg_preinst() { > enewgroup cpushare > enewuser cpushare -1 -1 /opt/cpushare cpushare >} > >src_compile() { > emake || die "emake failed" >} > >src_install() { > distutils_src_install > > # get rid of this to prevent collision-protect from killing us. it > # is regenerated in pkg_postinst. Same as in twisted ebuild. > rm "${D}/usr/$(get_libdir)"/python*/site-packages/twisted/plugins/dropin.cache > > dobin seccomp-loader > insinto /usr/share/${PN} > doins -r keys > newinitd gentoo/cpushare.init.d cpushare || die "init.d failed" > dodoc README COPYING > dodir /var/log/cpushare /etc/cpushare > fperms 700 /etc/cpushare > fowners cpushare:cpushare /var/log/cpushare /etc/cpushare >} > ># Same as in twisted ebuild. >update_plugin_cache() { > python_version > local tpath="${ROOT}usr/$(get_libdir)/python${PYVER}/site-packages/twisted" > # we have to remove the cache or removed plugins won't be removed > # from the cache (http://twistedmatrix.com/bugs/issue926) > [[ -e "${tpath}/plugins/dropin.cache" ]] && rm -f "${tpath}/plugins/dropin.cache" > if [[ -e "${tpath}/plugin.py" ]]; then > # twisted is still installed, update. > # we have to use getPlugIns here for <=twisted-2.0.1 compatibility > einfo "Regenerating plugin cache" > python -c "from twisted.plugin import IPlugin, getPlugIns;list(getPlugIns(IPlugin))" > fi >} > >pkg_postinst() { > distutils_pkg_postinst > update_plugin_cache > > elog "Download the order.cpu from https://www.cpushare.com/orders/ and copy it" > elog "in the directory /etc/cpushare/, then you can start CPUShare." > elog "If in trouble you can use 'sudo cp order.cpu /etc/cpushare/'." > elog > elog "To start CPUShare, use the init script, e.g.:" > elog " # /etc/init.d/cpushare start" > elog > elog "You should add CPUShare to your default runlevel so that it will be" > elog "started on on every bootup, e.g.:" > elog " # rc-update add cpushare default" > ewarn > ewarn "You must agree with the CPUShare User Agreement before running CPUShare." > ewarn "Running CPUShare is at your own risk." > ewarn >} > >pkg_postrm() { > distutils_pkg_postrm > update_plugin_cache >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 105211
:
67889
|
67890
|
67891
|
67949
|
67956
|
103283
| 131999 |
132002
|
132005
|
136326
|
154839