From d32bcba4ceadeb69f839d489d80f645cbb7c1d99 Mon Sep 17 00:00:00 2001 From: drochner Date: Mon, 19 Jul 2004 20:14:21 +0000 Subject: seti@home client for the BOINC-3 framework (tested on i386 and amd64, has runtime problems on sparc64) --- 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(+) create mode 100644 net/boinc3-seti/DESCR create mode 100644 net/boinc3-seti/Makefile create mode 100644 net/boinc3-seti/PLIST create mode 100644 net/boinc3-seti/distinfo create mode 100644 net/boinc3-seti/files/app_info.xml create mode 100644 net/boinc3-seti/patches/patch-aa (limited to 'net') diff --git a/net/boinc3-seti/DESCR b/net/boinc3-seti/DESCR new file mode 100644 index 00000000000..fdf02bfc5f4 --- /dev/null +++ b/net/boinc3-seti/DESCR @@ -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 --git a/net/boinc3-seti/Makefile b/net/boinc3-seti/Makefile new file mode 100644 index 00000000000..28ee1281d98 --- /dev/null +++ b/net/boinc3-seti/Makefile @@ -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 +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 --git a/net/boinc3-seti/PLIST b/net/boinc3-seti/PLIST new file mode 100644 index 00000000000..6924710fb3f --- /dev/null +++ b/net/boinc3-seti/PLIST @@ -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 --git a/net/boinc3-seti/distinfo b/net/boinc3-seti/distinfo new file mode 100644 index 00000000000..9bc313aa6c9 --- /dev/null +++ b/net/boinc3-seti/distinfo @@ -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 --git a/net/boinc3-seti/files/app_info.xml b/net/boinc3-seti/files/app_info.xml new file mode 100644 index 00000000000..dbfa11eec0f --- /dev/null +++ b/net/boinc3-seti/files/app_info.xml @@ -0,0 +1,18 @@ + + + + + setiathome + + + @CLIENTBINNAME@ + + + setiathome + @CLIENTVERSION@ + + @CLIENTBINNAME@ + + + + diff --git a/net/boinc3-seti/patches/patch-aa b/net/boinc3-seti/patches/patch-aa new file mode 100644 index 00000000000..f5acef67e9f --- /dev/null +++ b/net/boinc3-seti/patches/patch-aa @@ -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 base85_decode(const char + if (p[i]!='_') break; + npads++; + } +- for (i=0;i='0') && (p[i]<='9')) { + val=p[i]-'0'; -- cgit v1.2.3