diff options
author | Tomas Chvatal <scarabeus@gentoo.org> | 2009-01-31 15:19:36 +0000 |
---|---|---|
committer | Tomas Chvatal <scarabeus@gentoo.org> | 2009-01-31 15:19:36 +0000 |
commit | d47863bc51c405215f4e17e7f7f904771bc0517a (patch) | |
tree | 92c65c0411c1af5f4b5c316673a886089eddacb8 /sci-misc/boinc | |
parent | Mask cuda use flag for boinc. Make it work only for nonhardened amd64 and x86. (diff) | |
download | historical-d47863bc51c405215f4e17e7f7f904771bc0517a.tar.gz historical-d47863bc51c405215f4e17e7f7f904771bc0517a.tar.bz2 historical-d47863bc51c405215f4e17e7f7f904771bc0517a.zip |
Version bump. Remove old cruft. Per bug #251766.
Package-Manager: portage-2.2_rc23/cvs/Linux x86_64
Diffstat (limited to 'sci-misc/boinc')
21 files changed, 254 insertions, 1220 deletions
diff --git a/sci-misc/boinc/ChangeLog b/sci-misc/boinc/ChangeLog index 9013b63fa454..1321e2b759cf 100644 --- a/sci-misc/boinc/ChangeLog +++ b/sci-misc/boinc/ChangeLog @@ -1,6 +1,20 @@ # ChangeLog for sci-misc/boinc # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-misc/boinc/ChangeLog,v 1.46 2009/01/21 10:44:26 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-misc/boinc/ChangeLog,v 1.47 2009/01/31 15:19:36 scarabeus Exp $ + +*boinc-6.4.5 (31 Jan 2009) + + 31 Jan 2009; Tomas Chvatal <scarabeus@gentoo.org> + -files/08_all_Makefile.patch, -files/boinc-4.72.20050813-gcc4-fix.patch, + -files/boinc-5.2.14-gcc-4.1.patch, -files/boinc-5.10.45-gcc4.3.patch, + -files/boinc-6.2.15-mute-warnings.patch, + -files/boinc-6.2.15-project-list-size.patch, files/boinc.conf, + files/boinc.init, -files/gui_rpc_auth.cfg, metadata.xml, + -boinc-4.72.20050813-r3.ebuild, -boinc-5.2.14.ebuild, + -boinc-5.4.11.ebuild, -boinc-5.5.6.ebuild, -boinc-5.8.15.ebuild, + -boinc-5.10.28.ebuild, -boinc-5.10.45.ebuild, -boinc-6.2.15.ebuild, + +boinc-6.4.5.ebuild: + Version bump. Remove old cruft. Per bug #251766. 21 Jan 2009; SĂ©bastien Fabbro <bicatali@gentoo.org> metadata.xml: Updated maintainership for scarabeus diff --git a/sci-misc/boinc/Manifest b/sci-misc/boinc/Manifest index cd6fe67155dc..79b836ca49a7 100644 --- a/sci-misc/boinc/Manifest +++ b/sci-misc/boinc/Manifest @@ -1,40 +1,6 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -AUX 08_all_Makefile.patch 792 RMD160 b2126e243dc1c7b49e44740e67fe9b3b2aa9e6c3 SHA1 581132deec4ec3b305f8343aa4a12132e59d8e97 SHA256 bbbd219ac38491e0afb3d58d4a29eda79a30fdf4eed3f46cf18b66ce25f0b6df -AUX boinc-4.72.20050813-gcc4-fix.patch 315 RMD160 5dab42ab983a65f604379129778ceb998709d35c SHA1 a0962070649c9de2b03f422cb94fcc4f29161f64 SHA256 33a51d973482e8f912ce702e95e074c864b45ca5e8a0224f5c591e3d06e39fe6 -AUX boinc-5.10.45-gcc4.3.patch 1765 RMD160 369ad23dab9790ba2c4e3304df1df5957f75a0a9 SHA1 f351a5da162d786b02175a2e7310aa73b3e8f884 SHA256 157c7a1235b3af86d5b65801caf26c82a92a71a51435a18b5a048906488e2db2 -AUX boinc-5.2.14-gcc-4.1.patch 433 RMD160 8ba92e4c8220fe3fd3bce8bb1bdbb6005b341b26 SHA1 3563ffd4227e32a9944b4dd785615cb47a6f1638 SHA256 44b584967c066def876976950366a9e26bb4763f1a48fb165df2aa9f27d4ae0e -AUX boinc-6.2.15-mute-warnings.patch 1155 RMD160 a3673a3eed683bc30911e9a803e2b0a596a04a0e SHA1 3e7f6f9a701da2fc182673be91877a8ae529131c SHA256 f8dd1593e27d61bd292ad5551040d8fad87f7c5ef0efa5e72cb808c8122512c7 -AUX boinc-6.2.15-project-list-size.patch 508 RMD160 b63342aece3a93e519ee1c97c3eae1db4988856e SHA1 4290cdb78f47321503c7a0310ded0aab90cd5c21 SHA256 9bfa67c54901af934dbc321d23af3f63790d6aa9f70355061a251efc2c362357 -AUX boinc.conf 440 RMD160 eb56e84e0bb56d033fb1b8ff692343eb22fd6877 SHA1 7560db67952b01152f69f3caa5511d267533cc33 SHA256 bf989320e14597fc24d54a24881dafec8a141075a7da71138ca32771d66c6713 -AUX boinc.init 1823 RMD160 946cd1f150fc0878dd3523142085147955709416 SHA1 60fad8a5cddec744f170be49d7254fff1f30ee2b SHA256 2eeb0a668dbe62905097e7a93acae854520ae0d939061543013a663c3ddf812a -AUX gui_rpc_auth.cfg 0 RMD160 9c1185a5c5e9fc54612808977ee8f548b2258d31 SHA1 da39a3ee5e6b4b0d3255bfef95601890afd80709 SHA256 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 -DIST boinc-5.10.28.tar.bz2 17176403 RMD160 9165a68836384f13e29f82c120fb43eaafd5825e SHA1 b96c0be56c608f7db0ddba14f9f6b35b6575636a SHA256 7a9c1d02b7216e7c031e88bf4feec4fc399909cfb965be2de170489b232ace42 -DIST boinc-5.10.45.tar.bz2 18151280 RMD160 63ece8c4179869418f4457e6efca27e8cb4b4f71 SHA1 e7a2c431b8660cb0f1d6f0d8b65b26bf1386b636 SHA256 8f81f5c95b6f566ccdf9f67dc9453dd661c44b8a415ad174a080ce7942a33118 -DIST boinc-5.2.14-patches.tar.bz2 8906 RMD160 9cf31b1cb2f9744aaf931fd718349b8e9d2c9434 SHA1 0f454f394d94227d30fdce32ee9510e1ee3ce5f0 SHA256 b70fbb66d24226f59c0f97456bc5d264a22cd20295c320b0f5f33a712ef4aee6 -DIST boinc-5.2.14.tar.bz2 6493301 RMD160 e5a87514c9a1062d5b777c2ab008b3d253ccfe80 SHA1 733d94651f92e75cc8390b199782c1d0fdbc51ec SHA256 54625d44535534094e85d41172c3c30a12d114f074ac8dcbca07372c4d7c484d -DIST boinc-5.4.11.tar.bz2 9604328 RMD160 5dc29d9720ca3bff6015991fbabe97929b4b1fb0 SHA1 3cca64c425f0ed6c4f511bb3537a59e0594db090 SHA256 cd67228ca08794714177e101f8a3b611a1f5e7d24506aaf3cf4edfa548c04a85 -DIST boinc-5.5.6.tar.bz2 9211643 RMD160 f1fc9405184146bce972002332b6271ab6940849 SHA1 ca51c621306d42a9a09e5949f9e86a2af1102267 SHA256 a23b01016c3c6664ad1ec21b8731a4a2648b47a8ceac8bcc13f09f86af017194 -DIST boinc-5.8.15.tar.bz2 3544744 RMD160 cdeb0a544be911db3f1d505f6cd9eb7c8a4971cb SHA1 924af911f22ca175c78614a9da9177e430a9a61e SHA256 0e428af6a76dd41786f15c9de0a31a403613b2e366c0f5b950e2be266f82b902 -DIST boinc-6.2.15.tar.bz2 9190009 RMD160 37cbcd520a309f1e8cfb8805558be4490c13703c SHA1 386e0c009973e0da903a5a0a92f1dac92ccd9789 SHA256 7d0a8ff05d85e4739a0aa3a4d905bf6c3ec25275d73b35f7e497154996cf0bac -DIST boinc_6.2.15_i686-pc-linux-gnu.sh 4354474 RMD160 c9d51d0de3690e100fe6ff593b007fd32a4b867b SHA1 ecaede21b8167773077b82f578646485032ff7bc SHA256 0c7512800a49e09f27b3d086c06bc6472253ac2c39de07b091279df3ad68b9cb -DIST boinc_6.2.15_x86_64-pc-linux-gnu.sh 4545778 RMD160 039e88eeaa001f7dd394aaa959b9d6adc134bf3d SHA1 19e0d13549489c249c1bcdb629ef199c584c94d2 SHA256 33764c50d6761ffdfd4f9876cad595c3f0e0959bc16b6104aa6ed103e51d4b5b -DIST boinc_public-cvs-2005-08-13.tar.gz 6054534 RMD160 2585effd13c1b6e093141dbc34bebd770c6041be SHA1 3c76cb8b00ad7e26fe05cfacfe135fd2fbaeb99d SHA256 3a8b7f3d462a0fa5f1d0ad14c77f790a3cf12b1237a09636cd82b9bfefc2afb7 -EBUILD boinc-4.72.20050813-r3.ebuild 2406 RMD160 61c3f6b68d11274809b28be2884e1193628df5bd SHA1 2ccc849dc4c126927b604e6f0c423ad1f09ec7ac SHA256 b3654c9661ed7665ebd979ec06a598c9bca8a4b92c0d20f11a2692b752d3b9aa -EBUILD boinc-5.10.28.ebuild 3265 RMD160 2f7c28dd5ea8f0b43c81340664250fb4a6675078 SHA1 c66861288e679b8f534982b19446964a714851ce SHA256 abb9585c34343ced9c37afbea92b98f9517bb6a7357eaab07c1aaeb87da082bc -EBUILD boinc-5.10.45.ebuild 3389 RMD160 c915ece49504f17259c1e280b58578020bd9a010 SHA1 12bee5ac7d6f90c22b1c354f4f2ada8f57a01756 SHA256 edfbd0e76fe81c7d782e6479876d9fccb2c312b4ebabff24900ba78d7fa79cd2 -EBUILD boinc-5.2.14.ebuild 2865 RMD160 5c487bd33698548f7b7bcce640ed6aff19af2d19 SHA1 34a37c912386a56bbfef454d88c30307ce0edd9e SHA256 a25fcfc7b5b547284f82137fb289f39c5de49bbe74d573db5f7b9ce798a41b23 -EBUILD boinc-5.4.11.ebuild 2852 RMD160 352a4461cb1eecab7fd58075487e605bd25e020b SHA1 ce232ac48c604fd2b0507c8f4c3c251b6f540d82 SHA256 40ca209c770d950614226a34041d9fe10d7c5c37f772a51f5012072c013ed281 -EBUILD boinc-5.5.6.ebuild 3084 RMD160 2a012f47be92b9de7504f576d7397cd2c770b66c SHA1 64cbfcf31c3b441c311d31090cc658d35083cad6 SHA256 8971eaf9a31c3265b8c61f49fd42f1fb79130891fd72af19956b60fd6b472643 -EBUILD boinc-5.8.15.ebuild 3260 RMD160 882057492e1ed36a3d89cafd0d1edf45a8efa18e SHA1 c7761c2e45d5ac503033a2b8fa56c9bcdbc8a9df SHA256 1224a7110ccbec86801b69a02d2aeff7655ee4efe3a0d99ab0908c6615524bea -EBUILD boinc-6.2.15.ebuild 6750 RMD160 23f5ccc1a5df9db321ff33c85f83d5601e844dbb SHA1 e78b385d3dba9879a77d737f794e1dd7aaf27258 SHA256 2146dd330f69a9f92dd3ae87dd2a9396c0768ff98e264f1855350791e8411971 -MISC ChangeLog 9040 RMD160 239a138fa9e6b528ac8661e111952c439c772013 SHA1 0fa3d00199a98da05b950e2baf4f5ebe8b5efe4d SHA256 54377fdee8142b2d6a1b2bc6c94476a3830413211b53927c7af9902c5e1d66f4 -MISC metadata.xml 489 RMD160 0d2e5535b251cb8b91b9b47dbef0e2d8399189d0 SHA1 1bed8e4dd03d52c16a4d1c9f601822034443cc94 SHA256 6d57806966b56131f5d47b9f97cb2f84320c25740987499711ca7be7778c4d20 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.9 (GNU/Linux) - -iEYEARECAAYFAkl2/JYACgkQ1ycZbhPLE2CRhwCdGSH0zLM4jPbbrmzplTDS1Tix -Y1AAn1wa5f+yKmPfjpA60Rx05JGYv+Vi -=H65s ------END PGP SIGNATURE----- +AUX boinc.conf 711 RMD160 b6bb25b9d10cbefd3de5d653e701e056e2de4587 SHA1 570929cb4ed50d4fc4408624c4d0d330e208609c SHA256 032f07145ee230f069ffdc93befe90c047fba4314aedfc8024bdb44c06798e9e +AUX boinc.init 2814 RMD160 54d549964de9aca444851b60f69b76acd1e3d329 SHA1 8876f70b534c508436823c6fff542dcf1ede22a4 SHA256 4e75b417ed875c82d6800781152b9f15faad45c64d1394a48433a8aaec5818c0 +DIST boinc-6.4.5.tar.bz2 7641082 RMD160 5d2cb9e645aec52c91fcf791eac8146a202594ca SHA1 6038e13c828b411b18a0f255454c3210d3581deb SHA256 f2ec1a11cc455b3f445470d5261ab37d76ffde53e98ecf3dbc6463793de58363 +EBUILD boinc-6.4.5.ebuild 3696 RMD160 2423d534cd5e89dad0119c2cc80de62d1613d931 SHA1 3448405d6eb792f570fdba5402eb219700f88492 SHA256 251d487547524897baa38aa5856688bd110513a7e7e4bcdb3c29c77873b14cfe +MISC ChangeLog 9703 RMD160 46917959db94e11c966543d4bbc8bcd33d7d24f9 SHA1 df3596d5940fed163b4be9bba2c680f6e642ab71 SHA256 2793c2ccf32ad5c3b745840c377f0f7dc5eea176e57d964b1e84a14b976b3b88 +MISC metadata.xml 697 RMD160 8cfc36bbae9395d2675629d68af1c6354244bd5f SHA1 bcfd28d367a81a6fa8b6a548703270cb066a9392 SHA256 614f44eeb4b76fccb040b9ab7dee69e50152c930a9224946010f39e7eed6e04c diff --git a/sci-misc/boinc/boinc-4.72.20050813-r3.ebuild b/sci-misc/boinc/boinc-4.72.20050813-r3.ebuild deleted file mode 100644 index 08a6a4637b3a..000000000000 --- a/sci-misc/boinc/boinc-4.72.20050813-r3.ebuild +++ /dev/null @@ -1,95 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-misc/boinc/boinc-4.72.20050813-r3.ebuild,v 1.13 2008/04/17 19:04:16 markusle Exp $ - -inherit eutils wxwidgets depend.apache - -MY_PN="boinc_public-cvs" -MY_PV="2005-08-13" -S=${WORKDIR}/boinc_public - -DESCRIPTION="The Berkeley Open Infrastructure for Network Computing" -HOMEPAGE="http://boinc.ssl.berkeley.edu/" -SRC_URI="http://boinc.ssl.berkeley.edu/source/nightly/${MY_PN}-${MY_PV}.tar.gz" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86" -IUSE="server X" - -RDEPEND="sys-libs/zlib - X? ( =x11-libs/wxGTK-2.6* ) - server? ( >=virtual/mysql-4.0 - virtual/php - >=dev-lang/python-2.2.3 - >=dev-python/mysql-python-0.9.2 )" -DEPEND=">=sys-devel/gcc-3.0.4 - >=sys-devel/autoconf-2.59 - >=sys-devel/automake-1.9.3 - X? ( x11-libs/libXmu - x11-libs/libXt - x11-libs/libX11 - x11-proto/xproto - virtual/glut - virtual/glu - media-libs/jpeg ) - server? ( virtual/imap-c-client ) - ${RDEPEND}" - -want_apache server - -src_unpack() { - unpack ${A} - cd "${S}" - - # GCC 4 patch, bug 112133. - epatch "${FILESDIR}"/${P}-gcc4-fix.patch - - # point to a proper mouse device - sed -e "s:/dev/mouse:/dev/input/mice:g" -i client/hostinfo_unix.C || die -} - -src_compile() { - if use X; then - WX_GTK_VER=2.6 - need-wxwidgets gtk2 - wxconf="--with-wx-config=${WX_CONFIG}" - fi - - econf \ - --enable-client \ - --disable-static-client \ - ${wxconf} \ - $(use_enable server) \ - $(use_with X x) || die "econf failed" - emake || die "emake failed" -} - -src_install() { - make install DESTDIR="${D}" || die "make install failed" - - newinitd "${FILESDIR}"/boinc.init boinc - newconfd "${FILESDIR}"/boinc.conf boinc - - make_desktop_entry boinc_gui BOINC boinc Science /var/lib/boinc -} - -pkg_preinst() { - enewgroup boinc - enewuser boinc -1 -1 /var/lib/boinc boinc -} - -pkg_postinst() { - echo - einfo "You need to attach to a project to do anything useful with boinc." - einfo "You can do this by running /etc/init.d/boinc attach" - einfo "BOINC The howto for configuration is located at:" - einfo "http://boinc.berkeley.edu/anonymous_platform.php" - if use server;then - echo - einfo "You have chosen to enable server mode. this ebuild has installed" - einfo "the necessary packages to be a server. You will need to have a" - einfo "project. Contact BOINC directly for further information." - fi - echo -} diff --git a/sci-misc/boinc/boinc-5.10.28.ebuild b/sci-misc/boinc/boinc-5.10.28.ebuild deleted file mode 100644 index cabe05bc0091..000000000000 --- a/sci-misc/boinc/boinc-5.10.28.ebuild +++ /dev/null @@ -1,115 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-misc/boinc/boinc-5.10.28.ebuild,v 1.3 2008/04/17 19:04:16 markusle Exp $ - -inherit flag-o-matic wxwidgets depend.apache - -DESCRIPTION="The Berkeley Open Infrastructure for Network Computing" -HOMEPAGE="http://boinc.ssl.berkeley.edu/" -SRC_URI="mirror://gentoo//${P}.tar.bz2" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="~amd64 ~ia64 ~ppc ~sparc ~x86" -IUSE="server X unicode" - -RDEPEND="sys-libs/zlib - >=net-misc/curl-7.15.5 - >=dev-libs/openssl-0.9.7 - X? ( =x11-libs/wxGTK-2.6* ) - server? ( >=virtual/mysql-4.0 - virtual/php - >=dev-lang/python-2.2.3 - >=dev-python/mysql-python-0.9.2 )" -DEPEND=">=sys-devel/gcc-3.0.4 - >=sys-devel/autoconf-2.58 - >=sys-devel/automake-1.8 - >=dev-util/pkgconfig-0.15 - >=sys-devel/m4-1.4 - X? ( x11-libs/libXmu - x11-libs/libXt - x11-libs/libX11 - x11-proto/xproto - virtual/glut - virtual/glu - media-libs/jpeg ) - server? ( virtual/imap-c-client ) - ${RDEPEND}" - -want_apache server - -src_unpack() { - unpack ${A} - cd "${S}" -} - -src_compile() { - append-flags -O3 -funroll-loops -fforce-addr -ffast-math - - if use X; then - WX_GTK_VER=2.6 - if use unicode; then - need-wxwidgets unicode - else - need-wxwidgets gtk2 - fi - wxconf="--with-wx-config=${WX_CONFIG}" - fi - - # Just run the necessary tools directly - #einfo "Running necessary autotools..." - #aclocal -I m4 || die "aclocal failed." - #autoheader || die "autoheader failed." - #automake || die "automake failed." - #autoconf || die "autoconf failed." - econf \ - --enable-client \ - --disable-static-client \ - --with-ssl \ - ${wxconf} \ - $(use_enable unicode) \ - $(use_enable server) \ - $(use_with X x) || die "econf failed" - # Make it link to the compiled libs, not the installed ones - sed -e "s|LDFLAGS = |LDFLAGS = -L../lib |g" -i */Makefile || \ - die "sed failed" - # Force -j1 - bug 136374. - emake -j1 || die "emake failed" -} - -src_install() { - make install DESTDIR=""${D}"" || die "make install failed" - mkdir "${D}"/var "${D}"/var/lib "${D}"/var/lib/boinc/ - cp "${S}"/ca-bundle.crt "${D}"/var/lib/boinc - chown boinc:boinc "${D}"/var/lib/boinc - newinitd "${FILESDIR}"/boinc.init boinc - newconfd "${FILESDIR}"/boinc.conf boinc - - make_desktop_entry boinc_gui BOINC boinc Science /var/lib/boinc -} - -pkg_preinst() { - enewgroup boinc - enewuser boinc -1 -1 /var/lib/boinc boinc -} - -pkg_postinst() { - echo - einfo "You need to attach to a project to do anything useful with boinc." - einfo "You can do this by running /etc/init.d/boinc attach" - einfo "BOINC The howto for configuration is located at:" - einfo "http://boinc.berkeley.edu/anonymous_platform.php" - if use server;then - echo - einfo "You have chosen to enable server mode. this ebuild has installed" - einfo "the necessary packages to be a server. You will need to have a" - einfo "project. Contact BOINC directly for further information." - fi - echo - # Add warning about the new password for the client, bug 121896. - einfo "If you need to use the graphical client the password is in " - einfo "/var/lib/boinc/gui_rpc_auth.cfg which is randomly generated " - einfo "by BOINC upon successfully running the gui for the first time." - einfo "You can change this to something more memorable." - echo -} diff --git a/sci-misc/boinc/boinc-5.10.45.ebuild b/sci-misc/boinc/boinc-5.10.45.ebuild deleted file mode 100644 index 98532635e4eb..000000000000 --- a/sci-misc/boinc/boinc-5.10.45.ebuild +++ /dev/null @@ -1,120 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-misc/boinc/boinc-5.10.45.ebuild,v 1.3 2008/04/18 17:57:38 markusle Exp $ - -inherit flag-o-matic wxwidgets depend.apache - -DESCRIPTION="The Berkeley Open Infrastructure for Network Computing" -HOMEPAGE="http://boinc.ssl.berkeley.edu/" -SRC_URI="mirror://gentoo//${P}.tar.bz2" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="~amd64 ~ia64 ~ppc ~sparc ~x86" -IUSE="server X unicode" - -RDEPEND="sys-libs/zlib - >=net-misc/curl-7.15.5 - >=dev-libs/openssl-0.9.7 - X? ( =x11-libs/wxGTK-2.8* ) - server? ( >=virtual/mysql-4.0 - virtual/php - >=dev-lang/python-2.2.3 - >=dev-python/mysql-python-0.9.2 )" -DEPEND=">=sys-devel/gcc-3.0.4 - >=sys-devel/autoconf-2.58 - >=sys-devel/automake-1.8 - >=dev-util/pkgconfig-0.15 - >=sys-devel/m4-1.4 - X? ( x11-libs/libXmu - x11-libs/libXt - x11-libs/libX11 - x11-proto/xproto - virtual/glut - virtual/glu - media-libs/jpeg ) - server? ( virtual/imap-c-client ) - ${RDEPEND}" - -want_apache server - -src_unpack() { - unpack ${A} - cd "${S}" - epatch "${FILESDIR}"/${P}-gcc4.3.patch -} - -src_compile() { - #upstream recommendation for flags - append-flags -O3 -funroll-loops -fforce-addr -ffast-math - - local wxconf="" - if use X; then - WX_GTK_VER=2.8 - if use unicode; then - need-wxwidgets unicode - else - need-wxwidgets gtk2 - fi - wxconf="${wxconf} --with-wx-config=${WX_CONFIG}" - else - wxconf="${wxconf} --without-wxdir" - fi - - # Just run the necessary tools directly - #einfo "Running necessary autotools..." - #aclocal -I m4 || die "aclocal failed." - #autoheader || die "autoheader failed." - #automake || die "automake failed." - #autoconf || die "autoconf failed." - econf \ - --enable-client \ - --disable-static-client \ - --with-ssl \ - ${wxconf} \ - $(use_enable unicode) \ - $(use_enable server) \ - $(use_with X x) || die "econf failed" - # Make it link to the compiled libs, not the installed ones - sed -e "s|LDFLAGS = |LDFLAGS = -L../lib |g" -i */Makefile || \ - die "sed failed" - # Force -j1 - bug 136374. - emake -j1 || die "emake failed" -} - -src_install() { - emake DESTDIR=""${D}"" install || die "make install failed" - mkdir -p "${D}"/var/lib/boinc/ - cp "${S}"/ca-bundle.crt "${D}"/var/lib/boinc - chown boinc:boinc "${D}"/var/lib/boinc - newinitd "${FILESDIR}"/boinc.init boinc - newconfd "${FILESDIR}"/boinc.conf boinc - - make_desktop_entry boinc_gui BOINC boinc Science /var/lib/boinc -} - -pkg_preinst() { - enewgroup boinc - enewuser boinc -1 -1 /var/lib/boinc boinc -} - -pkg_postinst() { - echo - einfo "You need to attach to a project to do anything useful with boinc." - einfo "You can do this by running /etc/init.d/boinc attach" - einfo "BOINC The howto for configuration is located at:" - einfo "http://boinc.berkeley.edu/anonymous_platform.php" - if use server;then - echo - einfo "You have chosen to enable server mode. this ebuild has installed" - einfo "the necessary packages to be a server. You will need to have a" - einfo "project. Contact BOINC directly for further information." - fi - echo - # Add warning about the new password for the client, bug 121896. - einfo "If you need to use the graphical client the password is in " - einfo "/var/lib/boinc/gui_rpc_auth.cfg which is randomly generated " - einfo "by BOINC upon successfully running the gui for the first time." - einfo "You can change this to something more memorable." - echo -} diff --git a/sci-misc/boinc/boinc-5.2.14.ebuild b/sci-misc/boinc/boinc-5.2.14.ebuild deleted file mode 100644 index 8f110304ea3b..000000000000 --- a/sci-misc/boinc/boinc-5.2.14.ebuild +++ /dev/null @@ -1,106 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-misc/boinc/boinc-5.2.14.ebuild,v 1.15 2008/04/17 19:04:16 markusle Exp $ - -inherit eutils wxwidgets depend.apache - -DESCRIPTION="The Berkeley Open Infrastructure for Network Computing" -HOMEPAGE="http://boinc.ssl.berkeley.edu/" -SRC_URI="mirror://gentoo//${P}.tar.bz2 - mirror://gentoo/${P}-patches.tar.bz2" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="~amd64 ~ia64 ~ppc ~sparc ~x86" -IUSE="server X unicode" - -RDEPEND="sys-libs/zlib - >=net-misc/curl-7.15.0 - >=dev-libs/openssl-0.9.7 - X? ( =x11-libs/wxGTK-2.6* ) - server? ( >=virtual/mysql-4.0 - virtual/php - >=dev-lang/python-2.2.3 - >=dev-python/mysql-python-0.9.2 )" -DEPEND=">=sys-devel/gcc-3.0.4 - >=sys-devel/autoconf-2.59 - >=sys-devel/automake-1.9.3 - X? ( x11-libs/libXmu - x11-libs/libXt - x11-libs/libX11 - x11-proto/xproto - virtual/glut - virtual/glu - media-libs/jpeg ) - server? ( virtual/imap-c-client ) - ${RDEPEND}" - -want_apache server - -src_unpack() { - unpack ${A} - cd "${S}" - - # Apply patches, most of which from Debian - EPATCH_SOURCE="${WORKDIR}/patches" EPATCH_SUFFIX="patch" epatch - epatch "${FILESDIR}"/08_all_Makefile.patch - epatch "${FILESDIR}"/${P}-gcc-4.1.patch - - # point to a proper mouse device - sed -e "s:/dev/mouse:/dev/input/mice:g" -i client/hostinfo_unix.C || die -} - -src_compile() { - if use X; then - WX_GTK_VER=2.6 - if use unicode; then - need-wxwidgets unicode - else - need-wxwidgets gtk2 - fi - wxconf="--with-wx-config=${WX_CONFIG}" - fi - - econf \ - --enable-client \ - --disable-static-client \ - ${wxconf} \ - $(use_enable unicode) \ - $(use_enable server) \ - $(use_with X x) || die "econf failed" - emake || die "emake failed" -} - -src_install() { - make install DESTDIR="${D}" || die "make install failed" - - newinitd "${FILESDIR}"/boinc.init boinc - newconfd "${FILESDIR}"/boinc.conf boinc - - make_desktop_entry boinc_gui BOINC boinc Science /var/lib/boinc -} - -pkg_preinst() { - enewgroup boinc - enewuser boinc -1 -1 /var/lib/boinc boinc -} - -pkg_postinst() { - echo - einfo "You need to attach to a project to do anything useful with boinc." - einfo "You can do this by running /etc/init.d/boinc attach" - einfo "BOINC The howto for configuration is located at:" - einfo "http://boinc.berkeley.edu/anonymous_platform.php" - if use server;then - echo - einfo "You have chosen to enable server mode. this ebuild has installed" - einfo "the necessary packages to be a server. You will need to have a" - einfo "project. Contact BOINC directly for further information." - fi - echo - # Add warning about the new password for the client, bug 121896. - einfo "If you need to use the graphical client the password is in " - einfo "/var/lib/boinc/gui_rpc_auth.cfg which is randomly generated " - einfo "by BOINC. You can change this to something more memorable." - echo -} diff --git a/sci-misc/boinc/boinc-5.4.11.ebuild b/sci-misc/boinc/boinc-5.4.11.ebuild deleted file mode 100644 index 867b756a10af..000000000000 --- a/sci-misc/boinc/boinc-5.4.11.ebuild +++ /dev/null @@ -1,106 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-misc/boinc/boinc-5.4.11.ebuild,v 1.10 2008/04/17 19:04:16 markusle Exp $ - -inherit eutils wxwidgets depend.apache - -DESCRIPTION="The Berkeley Open Infrastructure for Network Computing" -HOMEPAGE="http://boinc.ssl.berkeley.edu/" -SRC_URI="mirror://gentoo//${P}.tar.bz2" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="~amd64 ~ia64 ~ppc ~sparc ~x86" -IUSE="server X unicode" - -RDEPEND="sys-libs/zlib - >=net-misc/curl-7.15.0 - >=dev-libs/openssl-0.9.7 - X? ( =x11-libs/wxGTK-2.6* ) - server? ( >=virtual/mysql-4.0 - virtual/php - >=dev-lang/python-2.2.3 - >=dev-python/mysql-python-0.9.2 )" -DEPEND=">=sys-devel/gcc-3.0.4 - >=sys-devel/autoconf-2.58 - >=sys-devel/automake-1.8 - >=dev-util/pkgconfig-0.15 - >=sys-devel/m4-1.4 - X? ( x11-libs/libXmu - x11-libs/libXt - x11-libs/libX11 - x11-proto/xproto - virtual/glut - virtual/glu - media-libs/jpeg ) - server? ( virtual/imap-c-client ) - ${RDEPEND}" - -want_apache server - -src_unpack() { - unpack ${A} - cd "${S}" - - # point to a proper mouse device - sed -e "s:/dev/mouse:/dev/input/mice:g" -i client/hostinfo_unix.C || die -} - -src_compile() { - if use X; then - WX_GTK_VER=2.6 - if use unicode; then - need-wxwidgets unicode - else - need-wxwidgets gtk2 - fi - wxconf="--with-wx-config=${WX_CONFIG}" - fi - - econf \ - --enable-client \ - --disable-static-client \ - ${wxconf} \ - $(use_enable unicode) \ - $(use_enable server) \ - $(use_with X x) || die "econf failed" - # Make it link to the compiled libs, not the installed ones - sed -e "s|LDFLAGS = |LDFLAGS = -L../lib |g" -i */Makefile || \ - die "sed failed" - # Force -j1 - bug 136374. - emake -j1 || die "emake failed" -} - -src_install() { - make install DESTDIR="${D}" || die "make install failed" - - newinitd "${FILESDIR}"/boinc.init boinc - newconfd "${FILESDIR}"/boinc.conf boinc - - make_desktop_entry boinc_gui BOINC boinc Science /var/lib/boinc -} - -pkg_preinst() { - enewgroup boinc - enewuser boinc -1 -1 /var/lib/boinc boinc -} - -pkg_postinst() { - echo - einfo "You need to attach to a project to do anything useful with boinc." - einfo "You can do this by running /etc/init.d/boinc attach" - einfo "BOINC The howto for configuration is located at:" - einfo "http://boinc.berkeley.edu/anonymous_platform.php" - if use server;then - echo - einfo "You have chosen to enable server mode. this ebuild has installed" - einfo "the necessary packages to be a server. You will need to have a" - einfo "project. Contact BOINC directly for further information." - fi - echo - # Add warning about the new password for the client, bug 121896. - einfo "If you need to use the graphical client the password is in " - einfo "/var/lib/boinc/gui_rpc_auth.cfg which is randomly generated " - einfo "by BOINC. You can change this to something more memorable." - echo -} diff --git a/sci-misc/boinc/boinc-5.5.6.ebuild b/sci-misc/boinc/boinc-5.5.6.ebuild deleted file mode 100644 index 6e26d6865773..000000000000 --- a/sci-misc/boinc/boinc-5.5.6.ebuild +++ /dev/null @@ -1,112 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-misc/boinc/boinc-5.5.6.ebuild,v 1.13 2008/04/17 19:04:16 markusle Exp $ - -inherit eutils wxwidgets depend.apache - -DESCRIPTION="The Berkeley Open Infrastructure for Network Computing" -HOMEPAGE="http://boinc.ssl.berkeley.edu/" -SRC_URI="mirror://gentoo//${P}.tar.bz2" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="~amd64 ~ia64 ~ppc ~sparc ~x86" -IUSE="server X unicode" - -RDEPEND="sys-libs/zlib - >=net-misc/curl-7.15.0 - >=dev-libs/openssl-0.9.7 - X? ( =x11-libs/wxGTK-2.6* ) - server? ( >=virtual/mysql-4.0 - virtual/php - >=dev-lang/python-2.2.3 - >=dev-python/mysql-python-0.9.2 )" -DEPEND=">=sys-devel/gcc-3.0.4 - >=sys-devel/autoconf-2.58 - >=sys-devel/automake-1.8 - >=dev-util/pkgconfig-0.15 - >=sys-devel/m4-1.4 - X? ( x11-libs/libXmu - x11-libs/libXt - x11-libs/libX11 - x11-proto/xproto - virtual/glut - virtual/glu - media-libs/jpeg ) - server? ( virtual/imap-c-client ) - ${RDEPEND}" - -want_apache server - -src_unpack() { - unpack ${A} - cd "${S}" - - # point to a proper mouse device - sed -e "s:/dev/mouse:/dev/input/mice:g" -i client/hostinfo_unix.C || die -} - -src_compile() { - if use X; then - WX_GTK_VER=2.6 - if use unicode; then - need-wxwidgets unicode - else - need-wxwidgets gtk2 - fi - wxconf="--with-wx-config=${WX_CONFIG}" - fi - - # Just run the necessary tools directly - einfo "Running necessary autotools..." - aclocal -I m4 || die "aclocal failed." - autoheader || die "autoheader failed." - automake || die "automake failed." - autoconf || die "autoconf failed." - econf \ - --enable-client \ - --disable-static-client \ - ${wxconf} \ - $(use_enable unicode) \ - $(use_enable server) \ - $(use_with X x) || die "econf failed" - # Make it link to the compiled libs, not the installed ones - sed -e "s|LDFLAGS = |LDFLAGS = -L../lib |g" -i */Makefile || \ - die "sed failed" - # Force -j1 - bug 136374. - emake -j1 || die "emake failed" -} - -src_install() { - make install DESTDIR="${D}" || die "make install failed" - - newinitd "${FILESDIR}"/boinc.init boinc - newconfd "${FILESDIR}"/boinc.conf boinc - - make_desktop_entry boinc_gui BOINC boinc Science /var/lib/boinc -} - -pkg_preinst() { - enewgroup boinc - enewuser boinc -1 -1 /var/lib/boinc boinc -} - -pkg_postinst() { - echo - einfo "You need to attach to a project to do anything useful with boinc." - einfo "You can do this by running /etc/init.d/boinc attach" - einfo "BOINC The howto for configuration is located at:" - einfo "http://boinc.berkeley.edu/anonymous_platform.php" - if use server;then - echo - einfo "You have chosen to enable server mode. this ebuild has installed" - einfo "the necessary packages to be a server. You will need to have a" - einfo "project. Contact BOINC directly for further information." - fi - echo - # Add warning about the new password for the client, bug 121896. - einfo "If you need to use the graphical client the password is in " - einfo "/var/lib/boinc/gui_rpc_auth.cfg which is randomly generated " - einfo "by BOINC. You can change this to something more memorable." - echo -} diff --git a/sci-misc/boinc/boinc-5.8.15.ebuild b/sci-misc/boinc/boinc-5.8.15.ebuild deleted file mode 100644 index 63ac8e9ff2af..000000000000 --- a/sci-misc/boinc/boinc-5.8.15.ebuild +++ /dev/null @@ -1,115 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-misc/boinc/boinc-5.8.15.ebuild,v 1.6 2008/02/05 15:36:38 hollow Exp $ - -inherit flag-o-matic wxwidgets depend.apache - -DESCRIPTION="The Berkeley Open Infrastructure for Network Computing" -HOMEPAGE="http://boinc.ssl.berkeley.edu/" -SRC_URI="mirror://gentoo//${P}.tar.bz2" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="~amd64 ~ia64 ~ppc ~sparc ~x86" -IUSE="server X unicode" - -RDEPEND="sys-libs/zlib - >=net-misc/curl-7.15.5 - >=dev-libs/openssl-0.9.7 - X? ( =x11-libs/wxGTK-2.6* ) - server? ( >=virtual/mysql-4.0 - virtual/php - >=dev-lang/python-2.2.3 - >=dev-python/mysql-python-0.9.2 )" -DEPEND=">=sys-devel/gcc-3.0.4 - >=sys-devel/autoconf-2.58 - >=sys-devel/automake-1.8 - >=dev-util/pkgconfig-0.15 - >=sys-devel/m4-1.4 - X? ( x11-libs/libXmu - x11-libs/libXt - x11-libs/libX11 - x11-proto/xproto - virtual/glut - virtual/glu - media-libs/jpeg ) - server? ( virtual/imap-c-client ) - ${RDEPEND}" - -want_apache server - -src_unpack() { - unpack ${A} - cd "${S}" -} - -src_compile() { - append-flags -O3 -funroll-loops -fforce-addr -ffast-math - - if use X; then - WX_GTK_VER=2.6 - if use unicode; then - need-wxwidgets unicode - else - need-wxwidgets gtk2 - fi - wxconf="--with-wx-config=${WX_CONFIG}" - fi - - # Just run the necessary tools directly - #einfo "Running necessary autotools..." - #aclocal -I m4 || die "aclocal failed." - #autoheader || die "autoheader failed." - #automake || die "automake failed." - #autoconf || die "autoconf failed." - econf \ - --enable-client \ - --disable-static-client \ - --with-ssl \ - ${wxconf} \ - $(use_enable unicode) \ - $(use_enable server) \ - $(use_with X x) || die "econf failed" - # Make it link to the compiled libs, not the installed ones - sed -e "s|LDFLAGS = |LDFLAGS = -L../lib |g" -i */Makefile || \ - die "sed failed" - # Force -j1 - bug 136374. - emake -j1 || die "emake failed" -} - -src_install() { - make install DESTDIR="${D}" || die "make install failed" - mkdir "${D}"/var "${D}"/var/lib "${D}"/var/lib/boinc/ - cp "${S}"/ca-bundle.crt "${D}"/var/lib/boinc - chown boinc:boinc "${D}"/var/lib/boinc - newinitd "${FILESDIR}"/boinc.init boinc - newconfd "${FILESDIR}"/boinc.conf boinc - - make_desktop_entry boinc_gui BOINC boinc Science /var/lib/boinc -} - -pkg_preinst() { - enewgroup boinc - enewuser boinc -1 -1 /var/lib/boinc boinc -} - -pkg_postinst() { - echo - einfo "You need to attach to a project to do anything useful with boinc." - einfo "You can do this by running /etc/init.d/boinc attach" - einfo "BOINC The howto for configuration is located at:" - einfo "http://boinc.berkeley.edu/anonymous_platform.php" - if use server;then - echo - einfo "You have chosen to enable server mode. this ebuild has installed" - einfo "the necessary packages to be a server. You will need to have a" - einfo "project. Contact BOINC directly for further information." - fi - echo - # Add warning about the new password for the client, bug 121896. - einfo "If you need to use the graphical client the password is in " - einfo "/var/lib/boinc/gui_rpc_auth.cfg which is randomly generated " - einfo "by BOINC upon successfully running the gui for the first time." - einfo "You can change this to something more memorable." - echo -} diff --git a/sci-misc/boinc/boinc-6.2.15.ebuild b/sci-misc/boinc/boinc-6.2.15.ebuild deleted file mode 100644 index dc1fafd672cf..000000000000 --- a/sci-misc/boinc/boinc-6.2.15.ebuild +++ /dev/null @@ -1,216 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-misc/boinc/boinc-6.2.15.ebuild,v 1.3 2008/11/28 00:06:59 scarabeus Exp $ - -EAPI="1" - -inherit depend.apache flag-o-matic wxwidgets autotools - -MY_PV="${PV//./_}" -DESCRIPTION="The Berkeley Open Infrastructure for Network Computing" -HOMEPAGE="http://boinc.ssl.berkeley.edu/" -SRC_URI="http://dev.gentooexperimental.org/~scarabeus/${P}.tar.bz2 - bindist? ( amd64? ( http://${PN}dl.ssl.berkeley.edu/dl/${P/-/_}_x86_64-pc-linux-gnu.sh ) - x86? ( http://${PN}dl.ssl.berkeley.edu/dl/${P/-/_}_i686-pc-linux-gnu.sh ) - )" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="~amd64 ~ia64 ~ppc ~sparc ~x86" -IUSE="X bindist server unicode" -# bindist is only for x86 and amd64 for rest package.use.mask - -RDEPEND="sys-libs/zlib - >=net-misc/curl-7.15.5 - >=dev-libs/openssl-0.9.7 - X? ( =x11-libs/wxGTK-2.8* ) - server? ( - !bindist? ( - >=virtual/mysql-4.0 - virtual/php - >=dev-lang/python-2.2.3 - >=dev-python/mysql-python-0.9.2 - ) - )" -DEPEND="app-misc/ca-certificates - !bindist? ( - >=sys-devel/gcc-3.0.4 - >=sys-devel/autoconf-2.58 - >=sys-devel/automake-1.8 - >=dev-util/pkgconfig-0.15 - >=sys-devel/m4-1.4 - ) - X? ( x11-libs/libXmu - x11-libs/libXt - x11-libs/libX11 - x11-proto/xproto - media-libs/freeglut - virtual/glu - media-libs/jpeg ) - server? ( !bindist? ( virtual/imap-c-client ) ) - ${RDEPEND}" -# subversion is not needed only if user choose binary for amd64 or x86 -want_apache server - -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 - - if ! use bindist; then - unpack ${P}.tar.bz2 - cd "${S}" - # replace CXXFLAGS, those added are suggested by upstream - sed -i \ - -e "s:-O3 -fomit-frame-pointer -fforce-addr -ffast-math \$(AM_CPPFLAGS):\$(AM_CPPFLAGS) -O3 -funroll-loops -fforce-addr -ffast-math:" \ - client/Makefile.am || die "sed client/Makefile.am failed" - # silence warnings - epatch "${FILESDIR}"/"${P}"-project-list-size.patch - epatch "${FILESDIR}"/"${P}"-mute-warnings.patch - # do autoreconf - rm "${S}"/m4/libtool.m4 - AT_M4DIR="m4" eautoreconf - else - use server && elog "Server feature is working only for source build, please disable bindist if you really intend to use server." - use x86 && target="i686" || target="x86_64" - cp "${DISTDIR}"/${P/-/_}_${target}-pc-linux-gnu.sh "${WORKDIR}" - cd "${WORKDIR}" - sh ${P/-/_}_${target}-pc-linux-gnu.sh - fi - # patch up certificates - mkdir "${S}"/curl/ - ln -s /etc/ssl/certs/ca-certificates.crt "${S}"/curl/ca-bundle.crt - sed -i \ - -e "s:::g" \ - "${S}"/Makefile -} - -src_compile() { - if ! use bindist; then - if use X; then - WX_GTK_VER=2.8 - use unicode && need-wxwidgets unicode || need-wxwidgets gtk2 - wxconf="--with-wx-config=${WX_CONFIG}" - fi - - econf \ - --enable-client \ - --with-ssl \ - ${wxconf} \ - $(use_enable unicode) \ - $(use_enable server) \ - $(use_with X x) || die "econf failed" - - # Make it link to the compiled libs, not the installed ones - # remove precompiled binaries from svn - sed -i \ - -e "s:LDFLAGS = :LDFLAGS = -L../lib :g" \ - */Makefile || die "sed failed" - emake -j1 || die "emake failed" - fi -} - -src_install() { - dodir /var/lib/${PN} - newinitd "${FILESDIR}"/${PN}.init ${PN} - newconfd "${FILESDIR}"/${PN}.conf ${PN} - if ! use bindist; then - make install DESTDIR="${D}" || die "make install failed" - # icon - newicon "${S}"/sea/${PN}mgr.48x48.png ${PN}.png - # wrapper to allow gui to load gui_rpc_auth.cfg because ${PN} devs assume curdir to be datadir for ${PN}_gui - mv "${D}"/usr/bin/${PN}_gui "${D}"/usr/bin/${PN}mgr - echo "cd \"/var/lib/${PN}\" && exec /usr/bin/${PN}mgr \$@" > "${D}"/usr/bin/${PN}_gui - chmod 755 "${D}"/usr/bin/${PN}_gui - # desktop - if use X; then - make_desktop_entry ${PN}_gui ${PN} ${PN} "Education;Science" /var/lib/${PN} - fi - # required headers by seti@home - insopts -m0644 - insinto /usr/include/${PN} - doins "${S}"/api/{reduce.h,graphics_api.h,graphics_data.h,${PN}_gl.h} - # symlink locale so it actualy work for source dist. - insinto /usr/share/locale/ - cd "${S}"/locale/client - for LNG in ${LINGUAS}; do - doins -r ${LNG} - done - dosym /usr/share/locale /var/lib/${PN}/locale - cd "${S}" - else - local S_BIN="${WORKDIR}"/BOINC - cd "${S_BIN}" - # fix ${PN}.conf file for binary package - sed -i -e "s:/usr/bin/${PN}_client:/opt/${PN}/${PN}:g" "${D}"/etc/conf.d/${PN} - if use X; then - # icon - newicon "${S_BIN}"/${PN}mgr.48x48.png ${PN}.png - # desktop - make_desktop_entry /opt/${PN}/run_manager "${PN}" ${PN} "Education;Science" /var/lib/${PN} - fi - # use correct path in scripts - sed -i \ - -e "s:${S_BIN}:/var/lib/${PN}:g" \ - -e "s:./${PN}:/opt/${PN}/${PN}:g" \ - run_client || die "sed run_client failed" - sed -i \ - -e "s:${S_BIN}:/var/lib/${PN}:g" \ - -e "s:./${PN}mgr:/opt/${PN}/${PN}mgr:g" \ - run_manager || die "sed run_manager failed" - # install binaries - exeopts -m0755 - exeinto /opt/${PN} - - doexe "${S_BIN}"//{${PN},${PN}_cmd,${PN}cmd,${PN}mgr,run_client,run_manager} - fowners 0:${PN} /opt/${PN}/{${PN},${PN}_cmd,${PN}cmd,${PN}mgr,run_client,run_manager} - # locale - mkdir -p "${D}"/opt/${PN}/locale - insopts -m0644 - insinto /opt/${PN}/ - cd "${S_BIN}"/locale/ - for LNG in ${LINGUAS}; do - doins -r "${LNG}" - done - dosym /opt/${PN}/locale /var/lib/${PN}/locale - cd "${S}" - fi - dosym /etc/ssl/certs/ca-certificates.crt /var/lib/${PN}/ca-bundle.crt - insopts -m0640 - insinto /var/lib/${PN} - doins "${FILESDIR}"/gui_rpc_auth.cfg - fowners ${PN}:${PN} /var/lib/${PN}/gui_rpc_auth.cfg - fowners ${PN}:${PN} /var/lib/${PN}/ -} - -pkg_preinst() { - enewgroup ${PN} - enewuser ${PN} -1 -1 /var/lib/${PN} ${PN} -} - -pkg_postinst() { - echo - if use bindist; then - elog "You are using the binary distributed version." - elog "The manager can be found at /opt/${PN}/run_manager" - fi - elog "You need to attach to a project to do anything useful with ${PN}." - elog "You can do this by running /etc/init.d/${PN} attach" - elog "${PN} The howto for configuration is located at:" - elog "http://${PN}.berkeley.edu/anonymous_platform.php" - if use server && ! use bindist ; then - echo - elog "You have chosen to enable server mode. this ebuild has installed" - elog "the necessary packages to be a server. You will need to have a" - elog "project. Contact ${PN} directly for further information." - fi - echo - # 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/${PN}/gui_rpc_auth.cfg which is for first run empty." - elog "You should change this to something more secure." - echo -} diff --git a/sci-misc/boinc/boinc-6.4.5.ebuild b/sci-misc/boinc/boinc-6.4.5.ebuild new file mode 100644 index 000000000000..c2d4ef07c4b9 --- /dev/null +++ b/sci-misc/boinc/boinc-6.4.5.ebuild @@ -0,0 +1,150 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-misc/boinc/boinc-6.4.5.ebuild,v 1.1 2009/01/31 15:19:36 scarabeus Exp $ + +# +# Don't forget to keep things in sync with binary boinc package! +# + +EAPI="2" + +inherit flag-o-matic depend.apache eutils wxwidgets + +DESCRIPTION="The Berkeley Open Infrastructure for Network Computing" +HOMEPAGE="http://boinc.ssl.berkeley.edu/" +SRC_URI="http://dev.gentooexperimental.org/~scarabeus/${P}.tar.bz2" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~ia64 ~ppc ~sparc ~x86" +IUSE="X cuda server" + +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 + ) + server? ( + >=virtual/mysql-5.0 + dev-python/mysql-python + ) +" +DEPEND="${RDEPEND} + sys-devel/gettext + server? ( virtual/imap-c-client ) + X? ( + media-libs/freeglut + media-libs/jpeg + x11-libs/wxGTK:2.8[X,opengl] + ) +" + +src_prepare() { + # use system ssl certificates + mkdir "${S}"/curl + cp /etc/ssl/certs/ca-certificates.crt "${S}"/curl/ca-bundle.crt + # copy icons to correct location + cp "${S}"/sea/*.png "${S}"/clientgui/res/ + # fix stripping + ## TODO +} + +src_configure() { + local wxconf="" + local config="" + + # define preferable CFLAGS (recommended by upstream) + append-flags -O3 -funroll-loops -fforce-addr -ffast-math + + # look for wxGTK + if use X; then + WX_GTK_VER="2.8" + need-wxwidgets unicode + wxconf="${wxconf} --with-wx-config=${WX_CONFIG}" + else + wxconf="${wxconf} --without-wxdir" + fi + + # nonstandard enable + use server || config="--disable-server" + + # configure + econf \ + --disable-dependency-tracking \ + --with-gnu-ld \ + --enable-unicode \ + --enable-client \ + --with-ssl \ + ${wxconf} \ + ${config} \ + $(use_with X x) + + # Fix LDFLAGS. Link to compiled stuff and not to installed one + sed -i \ + -e "s|LDFLAGS = |LDFLAGS = -L../lib |g" \ + */Makefile || die "sed failed" +} + +src_compile() { + # disable paralel build. + emake -j1 || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "make install failed" + + dodir /var/lib/${PN}/ + keepdir /var/lib/${PN}/ + + if use X; then + newicon "${S}"/sea/${PN}mgr.48x48.png ${PN}.png + make_desktop_entry /usr/bin/boinc_gui "${PN}" ${PN} "Education;Science" /var/lib/${PN} + fi + + # cleanup cruft + rm "${D}"/usr/bin/ca-bundle.crt + rm -rf "${D}"/etc/ + + newinitd "${FILESDIR}"/${PN}.init ${PN} + newconfd "${FILESDIR}"/${PN}.conf ${PN} +} + +pkg_setup() { + enewgroup ${PN} + if use cuda; then + enewuser ${PN} -1 -1 /var/lib/${PN} "${PN},video" + else + enewuser ${PN} -1 -1 /var/lib/${PN} "${PN}" + fi +} + +pkg_postinst() { + echo + elog "You are using the source compiled version." + elog "The manager can be found at /usr/bin/${PN}_gui" + elog + elog "You need to attach to a project to do anything useful with ${PN}." + elog "You can do this by running /etc/init.d/${PN} attach" + elog "The howto for configuration is located at:" + elog "http://${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/${PN}/gui_rpc_auth.cfg" + elog "Where /var/lib/ is default RUNTIMEDIR, that can be changed in:" + elog "/etc/conf.d/${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." + if use cuda; then + elog "To be able to use CUDA you should add boinc user to video group." + elog "To do so run as root:" + elog "gpasswd -a boinc video" + fi +} diff --git a/sci-misc/boinc/files/08_all_Makefile.patch b/sci-misc/boinc/files/08_all_Makefile.patch deleted file mode 100644 index 4968ed7bbaee..000000000000 --- a/sci-misc/boinc/files/08_all_Makefile.patch +++ /dev/null @@ -1,25 +0,0 @@ -# 08_all-Makefile.patches by Marcus D. Hanwell <cryos@gentoo.org> -# -# Link to ../lib with a higher precedence than /usr/lib - allows upgrades ---- client/Makefile.in 2005-12-05 01:28:26.000000000 +0000 -+++ client/Makefile.in 2005-12-11 21:00:07.000000000 +0000 -@@ -336,7 +336,7 @@ - - AM_CFLAGS = $(AM_CPPFLAGS) - AM_CXXFLAGS = $(AM_CPPFLAGS) --AM_LDFLAGS = -+AM_LDFLAGS = -L../lib - - # dependencies to make sure libs gets compiled before - # programs linking to them: ---- clientgui/Makefile.in 2005-12-11 21:07:55.000000000 +0000 -+++ clientgui/Makefile.in 2005-12-11 21:07:29.000000000 +0000 -@@ -354,7 +354,7 @@ - - AM_CFLAGS = $(AM_CPPFLAGS) - AM_CXXFLAGS = $(AM_CPPFLAGS) --AM_LDFLAGS = -+AM_LDFLAGS = -L../lib - - # dependencies to make sure libs gets compiled before - # programs linking to them: diff --git a/sci-misc/boinc/files/boinc-4.72.20050813-gcc4-fix.patch b/sci-misc/boinc/files/boinc-4.72.20050813-gcc4-fix.patch deleted file mode 100644 index a0624b3e05a2..000000000000 --- a/sci-misc/boinc/files/boinc-4.72.20050813-gcc4-fix.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- boinc_public/lib/shmem.C.orig 2005-11-11 02:46:07.000000000 +0100 -+++ boinc_public/lib/shmem.C 2005-11-11 02:46:20.000000000 +0100 -@@ -128,7 +128,7 @@ - return ERR_SHMGET; - } - p = shmat(id, 0, 0); -- if ((int)p == -1) { -+ if ((long)p == -1) { - return ERR_SHMAT; - } - *pp = p; diff --git a/sci-misc/boinc/files/boinc-5.10.45-gcc4.3.patch b/sci-misc/boinc/files/boinc-5.10.45-gcc4.3.patch deleted file mode 100644 index 778d016419e3..000000000000 --- a/sci-misc/boinc/files/boinc-5.10.45-gcc4.3.patch +++ /dev/null @@ -1,55 +0,0 @@ -diff -Naur boinc-5.10.45/client/client_msgs.C boinc-5.10.45.new/client/client_msgs.C ---- boinc-5.10.45/client/client_msgs.C 2008-04-15 13:20:37.000000000 -0400 -+++ boinc-5.10.45.new/client/client_msgs.C 2008-04-17 14:26:48.000000000 -0400 -@@ -27,6 +27,7 @@ - - using std::deque; - -+#include <cstring> - #include "log_flags.h" - #include "client_types.h" - #include "client_msgs.h" -diff -Naur boinc-5.10.45/client/cs_account.C boinc-5.10.45.new/client/cs_account.C ---- boinc-5.10.45/client/cs_account.C 2008-04-15 13:20:36.000000000 -0400 -+++ boinc-5.10.45.new/client/cs_account.C 2008-04-17 14:28:19.000000000 -0400 -@@ -30,6 +30,7 @@ - #endif - #endif - -+#include <algorithm> - #include "filesys.h" - #include "parse.h" - #include "str_util.h" -diff -Naur boinc-5.10.45/lib/crypt.C boinc-5.10.45.new/lib/crypt.C ---- boinc-5.10.45/lib/crypt.C 2008-04-15 13:19:19.000000000 -0400 -+++ boinc-5.10.45.new/lib/crypt.C 2008-04-17 14:24:26.000000000 -0400 -@@ -28,6 +28,7 @@ - #include <cstdlib> - #endif - -+#include <cstring> - #include "md5_file.h" - #include "error_numbers.h" - -diff -Naur boinc-5.10.45/lib/parse.h boinc-5.10.45.new/lib/parse.h ---- boinc-5.10.45/lib/parse.h 2008-04-15 13:19:19.000000000 -0400 -+++ boinc-5.10.45.new/lib/parse.h 2008-04-17 14:23:30.000000000 -0400 -@@ -27,6 +27,7 @@ - #include <cstdlib> - #include <string> - #include <math.h> -+#include <cstring> - #ifdef solaris - #include <ieeefp.h> - #endif -diff -Naur boinc-5.10.45/lib/procinfo_unix.C boinc-5.10.45.new/lib/procinfo_unix.C ---- boinc-5.10.45/lib/procinfo_unix.C 2008-04-15 13:19:19.000000000 -0400 -+++ boinc-5.10.45.new/lib/procinfo_unix.C 2008-04-17 14:25:30.000000000 -0400 -@@ -29,6 +29,7 @@ - - #include <stdio.h> - -+#include <cstring> - #include <ctype.h> - #include <sys/types.h> - #include <dirent.h> diff --git a/sci-misc/boinc/files/boinc-5.2.14-gcc-4.1.patch b/sci-misc/boinc/files/boinc-5.2.14-gcc-4.1.patch deleted file mode 100644 index 6f350aed7801..000000000000 --- a/sci-misc/boinc/files/boinc-5.2.14-gcc-4.1.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff -ur boinc-5.2.14-orig/clientgui/BOINCTaskBar.h boinc-5.2.14/clientgui/BOINCTaskBar.h ---- boinc-5.2.14-orig/clientgui/BOINCTaskBar.h 2006-04-13 14:09:32.000000000 -0400 -+++ boinc-5.2.14/clientgui/BOINCTaskBar.h 2006-04-13 14:10:03.000000000 -0400 -@@ -76,7 +76,7 @@ - #endif - - #ifndef __WXMSW__ -- inline bool CTaskBarIcon::IsBalloonsSupported() { -+ inline bool IsBalloonsSupported() { - return false; - } - #endif - diff --git a/sci-misc/boinc/files/boinc-6.2.15-mute-warnings.patch b/sci-misc/boinc/files/boinc-6.2.15-mute-warnings.patch deleted file mode 100644 index a2a9ba32f9e9..000000000000 --- a/sci-misc/boinc/files/boinc-6.2.15-mute-warnings.patch +++ /dev/null @@ -1,47 +0,0 @@ ---- lib/parse.h.orig 2008-09-15 16:37:16.000000000 -0700 -+++ lib/parse.h 2008-09-15 16:44:37.000000000 -0700 -@@ -23,9 +23,10 @@ - #ifdef _WIN32 - #include "boinc_win.h" - #else --#include "config.h" -+//#include "config.h" - #include <stdio.h> - #include <stdlib.h> -+#include <cstring> - #ifdef HAVE_STRING_H - #include <string.h> - #endif ---- api/boinc_gl.h.orig 2008-09-15 16:42:22.000000000 -0700 -+++ api/boinc_gl.h 2008-09-15 16:42:42.000000000 -0700 -@@ -37,7 +37,7 @@ - - - #else // !_WIN32, !__APPLE_CC__ --#include "config.h" -+//#include "config.h" - - # if defined(HAVE_GL_H) - # include <gl.h> ---- ./api/texfont.C.orig 2008-09-15 18:28:54.000000000 -0700 -+++ ./api/texfont.C 2008-09-15 18:31:56.000000000 -0700 -@@ -7,6 +7,8 @@ - #pragma warning (disable:4244) // disable bogus conversion warnings - #endif - -+#include "config.h" -+ - #include <assert.h> - #include <ctype.h> - #include <stdlib.h> ---- api/txf_util.C.orig 2008-09-15 18:32:24.000000000 -0700 -+++ api/txf_util.C 2008-09-15 18:32:40.000000000 -0700 -@@ -24,6 +24,8 @@ - #include "boinc_win.h" - #endif - -+#include "config.h" -+ - #include <cstring> - #include "filesys.h" - #include "boinc_api.h" diff --git a/sci-misc/boinc/files/boinc-6.2.15-project-list-size.patch b/sci-misc/boinc/files/boinc-6.2.15-project-list-size.patch deleted file mode 100644 index 2f28f3bc018b..000000000000 --- a/sci-misc/boinc/files/boinc-6.2.15-project-list-size.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- clientgui/ProjectInfoPage.cpp.orig 2008-09-16 17:17:02.000000000 -0700 -+++ clientgui/ProjectInfoPage.cpp 2008-09-16 17:57:51.000000000 -0700 -@@ -132,6 +132,7 @@ - m_pProjectListCtrl = new CProjectListCtrl; - m_pProjectListCtrl->Create( itemWizardPage23 ); - itemFlexGridSizer3->Add(m_pProjectListCtrl, 0, wxGROW|wxRIGHT, 10); -+ itemFlexGridSizer3->SetMinSize(-1,200); - - wxFlexGridSizer* itemFlexGridSizer11 = new wxFlexGridSizer(2, 1, 0, 0); - itemFlexGridSizer11->AddGrowableRow(0); diff --git a/sci-misc/boinc/files/boinc.conf b/sci-misc/boinc/files/boinc.conf index 827025b7da20..223b160b4b4c 100644 --- a/sci-misc/boinc/files/boinc.conf +++ b/sci-misc/boinc/files/boinc.conf @@ -18,3 +18,11 @@ 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/files/boinc.init b/sci-misc/boinc/files/boinc.init index 8a2543faae3b..55ebfd4398ff 100644 --- a/sci-misc/boinc/files/boinc.init +++ b/sci-misc/boinc/files/boinc.init @@ -3,49 +3,85 @@ opts="${opts} attach" depend() { - use dns - need net + # we can use dns and net, but we can also in most cases live without them + use dns net } -start() { - ebegin "Starting BOINC" - if [ ! -d ${RUNTIMEDIR} ]; then - einfo "Directory ${RUNTIMEDIR} not existing, creating now." - /bin/mkdir ${RUNTIMEDIR} - /bin/chown ${USER}:${GROUP} ${RUNTIMEDIR} - if [ ! -d ${RUNTIMEDIR} ]; then - eerror "Directory ${RUNTIMEDIR} could not be created!" +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 +} - cd ${RUNTIMEDIR} +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 +} - 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! 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 and attach to a project with that." +cuda_check() { + if [[ -f /opt/cuda/lib/libcudart.so ]]; then + # symlink wont harm :] + ln -snf /opt/cuda/lib/libcudart.so $RUNTIMEDIR/libcudart.so fi +} - # if the log file doesn't exist, create it with root privs, then change ownership to boinc - if [ ! -f ${LOGFILE} ]; then - touch ${LOGFILE} - chown ${USER}:${GROUP} ${LOGFILE} - else - mv ${LOGFILE} ${LOGFILE}.old - touch ${LOGFILE} - chown ${USER}:${GROUP} ${LOGFILE} +start() { + ebegin "Starting BOINC" + + create_work_directory + cuda_check + + 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 - if [ ${ALLOW_REMOTE_RPC} = "yes" ]; then + 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}" - setsid start-stop-daemon --quiet --start --chdir ${RUNTIMEDIR} \ + ${CHRT} start-stop-daemon \ + --quiet --start --chdir ${RUNTIMEDIR} \ --exec ${BOINCBIN} --chuid ${USER}:${GROUP} \ - --nicelevel ${NICELEVEL} -- ${ARGS} > ${LOGFILE} 2>&1 & + --background --stdout ${LOGFILE} --stderr ${LOGFILE} \ + --nicelevel ${NICELEVEL} -- ${ARGS} - eend $? + 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() { @@ -55,26 +91,27 @@ attach() { read key RC_QUIET_STDOUT="yes" svc_status - if [ $? == 1 ]; then + if [[ $? = 1 ]]; then svc_start fi ebegin "Attaching to project" - # boinc cmd does not return 1 when it fails currently - boinc_cmd --project_attach ${url} ${key} &> /dev/null + # 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} + tail $LOGFILE } stop() { ebegin "Stopping BOINC" - start-stop-daemon --stop --quiet --exec ${BOINCBIN} + start-stop-daemon --stop --retry 3 --quiet --exec $BOINCBIN eend $? } restart() { svc_stop - sleep 6 svc_start } diff --git a/sci-misc/boinc/files/gui_rpc_auth.cfg b/sci-misc/boinc/files/gui_rpc_auth.cfg deleted file mode 100644 index e69de29bb2d1..000000000000 --- a/sci-misc/boinc/files/gui_rpc_auth.cfg +++ /dev/null diff --git a/sci-misc/boinc/metadata.xml b/sci-misc/boinc/metadata.xml index dd6bddd3cce9..1fc5c3ddbe65 100644 --- a/sci-misc/boinc/metadata.xml +++ b/sci-misc/boinc/metadata.xml @@ -11,5 +11,10 @@ </longdescription> <use> <flag name='server'>Enable compilation of server</flag> + <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> |