pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/boinc3-seti seti@home client for the BOINC-3 frame...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e05c6a150c20
branches:  trunk
changeset: 478220:e05c6a150c20
user:      drochner <drochner%pkgsrc.org@localhost>
date:      Mon Jul 19 20:14:21 2004 +0000

description:
seti@home client for the BOINC-3 framework
(tested on i386 and amd64, has runtime problems on sparc64)

diffstat:

 net/boinc3-seti/DESCR              |   7 ++++++
 net/boinc3-seti/Makefile           |  43 ++++++++++++++++++++++++++++++++++++++
 net/boinc3-seti/PLIST              |   4 +++
 net/boinc3-seti/distinfo           |   5 ++++
 net/boinc3-seti/files/app_info.xml |  18 +++++++++++++++
 net/boinc3-seti/patches/patch-aa   |  13 +++++++++++
 6 files changed, 90 insertions(+), 0 deletions(-)

diffs (114 lines):

diff -r c58e020b779d -r e05c6a150c20 net/boinc3-seti/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/boinc3-seti/DESCR     Mon Jul 19 20:14:21 2004 +0000
@@ -0,0 +1,7 @@
+SETI@home is a scientific experiment that uses Internet-connected computers
+in the Search for Extraterrestrial Intelligence (SETI). You can participate
+by running a free program that downloads and analyzes radio telescope data.
+This version of SETI@home is based on BOINC (Berkeley Open Infrastructure
+for Network Computing). Several other projects besides SETI@home are
+using BOINC. BOINC lets you participate in more than one project, and it
+lets you specify what fraction of your computer time should go to each project.
diff -r c58e020b779d -r e05c6a150c20 net/boinc3-seti/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/boinc3-seti/Makefile  Mon Jul 19 20:14:21 2004 +0000
@@ -0,0 +1,43 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/07/19 20:14:21 drochner Exp $
+#
+
+DISTNAME=              seti_boinc-client-cvs-2004-07-15
+PKGNAME=               boinc3-seti-20040715
+CATEGORIES=            net
+MASTER_SITES=          http://boinc.berkeley.edu/seti_source/nightly/
+
+MAINTAINER=            tech-pkg%NetBSD.org@localhost
+HOMEPAGE=              http://setiweb.ssl.berkeley.edu/
+COMMENT=               SETI@home client for the BOINC framework
+
+WRKSRC=                ${WRKDIR}/seti_boinc
+USE_BUILDLINK3=                yes
+GNU_CONFIGURE=         yes
+CONFIGURE_ENV+=                BOINCDIR=${BUILDLINK_DIR}/boinc3
+# XXX don't know why MySQL is needed here
+#CONFIGURE_ENV+=               MYSQL_CONFIG=true
+USE_GNU_TOOLS+=                make
+
+CLIENTBINNAME= setiathome-3.10.${MACHINE_GNU_PLATFORM}
+CLIENTVERSION= 310
+
+PLIST_SUBST+=  CLIENTBINNAME=${CLIENTBINNAME}
+APPINFO_SED=   -e "s|@CLIENTBINNAME@|${CLIENTBINNAME}|g"
+APPINFO_SED+=  -e "s|@CLIENTVERSION@|${CLIENTVERSION}|g"
+
+# XXX hack: boinc-lib detection code is too stupid...
+pre-configure:
+       ${TOUCH} ${BUILDLINK_DIR}/boinc3/Makefile.am
+
+SBDIR= ${PREFIX}/lib/boinc3-seti
+
+do-install:
+       ${INSTALL_DATA_DIR} ${SBDIR}
+       ${INSTALL_PROGRAM} ${WRKSRC}/client/${CLIENTBINNAME} ${SBDIR}
+       ${SED} ${APPINFO_SED} <${FILESDIR}/app_info.xml \
+               >${WRKDIR}/app_info.xml
+       ${INSTALL_DATA} ${WRKDIR}/app_info.xml ${SBDIR}
+
+.include "../../net/boinc3-libs/buildlink3.mk"
+.include "../../databases/mysql-client/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r c58e020b779d -r e05c6a150c20 net/boinc3-seti/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/boinc3-seti/PLIST     Mon Jul 19 20:14:21 2004 +0000
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/07/19 20:14:21 drochner Exp $
+lib/boinc3-seti/app_info.xml
+lib/boinc3-seti/${CLIENTBINNAME}
+@dirrm lib/boinc3-seti
diff -r c58e020b779d -r e05c6a150c20 net/boinc3-seti/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/boinc3-seti/distinfo  Mon Jul 19 20:14:21 2004 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/07/19 20:14:21 drochner Exp $
+
+SHA1 (seti_boinc-client-cvs-2004-07-15.tar.gz) = 1d4ef530895a464e9cec657cacaaea1b12f1002f
+Size (seti_boinc-client-cvs-2004-07-15.tar.gz) = 1202670 bytes
+SHA1 (patch-aa) = 300a6fbb7da1bcfa93e23cd136670e4f8456fcdc
diff -r c58e020b779d -r e05c6a150c20 net/boinc3-seti/files/app_info.xml
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/boinc3-seti/files/app_info.xml        Mon Jul 19 20:14:21 2004 +0000
@@ -0,0 +1,18 @@
+<!-- $NetBSD: app_info.xml,v 1.1.1.1 2004/07/19 20:14:21 drochner Exp $ -->
+
+<app_info>
+    <app>
+        <name>setiathome</name>
+    </app>
+    <file_info>
+        <name>@CLIENTBINNAME@</name>
+    </file_info>
+    <app_version>
+        <app_name>setiathome</app_name>
+        <version_num>@CLIENTVERSION@</version_num>
+        <file_ref>
+            <file_name>@CLIENTBINNAME@</file_name>
+            <main_program/>
+        </file_ref>
+    </app_version>
+</app_info>
diff -r c58e020b779d -r e05c6a150c20 net/boinc3-seti/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/boinc3-seti/patches/patch-aa  Mon Jul 19 20:14:21 2004 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2004/07/19 20:14:21 drochner Exp $
+
+--- db/xml_util.h.orig 2004-07-16 00:36:18.000000000 +0200
++++ db/xml_util.h
+@@ -381,7 +381,7 @@ std::vector<T> base85_decode(const char 
+             if (p[i]!='_') break;
+               npads++;
+                 }
+-          for (i=0;i<std::min(eol-p,5-npads);i++) {
++          for (i=0;i<std::min((int)(eol-p),5-npads);i++) {
+               val*=85;
+               if ((p[i]>='0') && (p[i]<='9')) {
+                 val=p[i]-'0';



Home | Main Index | Thread Index | Old Index