summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordrochner <drochner>2004-07-19 20:09:15 +0000
committerdrochner <drochner>2004-07-19 20:09:15 +0000
commit82eac1c1738b1c4c1fce7e24ad92d49b316ab2ca (patch)
tree6419ad3933a80ce7dd47722508c70a4528f0bdd9
parent17d343ad8d459afe6257c3d8b3191c9ab70b1a26 (diff)
downloadpkgsrc-82eac1c1738b1c4c1fce7e24ad92d49b316ab2ca.tar.gz
import the current "stable" version of BOINC, the distributing
computing framework
-rw-r--r--net/boinc3-coreclient/DESCR2
-rw-r--r--net/boinc3-coreclient/Makefile33
-rw-r--r--net/boinc3-coreclient/PLIST2
-rw-r--r--net/boinc3-coreclient/distinfo8
-rw-r--r--net/boinc3-coreclient/patches/patch-aa13
-rw-r--r--net/boinc3-coreclient/patches/patch-ab19
-rw-r--r--net/boinc3-coreclient/patches/patch-ac13
-rw-r--r--net/boinc3-coreclient/patches/patch-ad12
8 files changed, 102 insertions, 0 deletions
diff --git a/net/boinc3-coreclient/DESCR b/net/boinc3-coreclient/DESCR
new file mode 100644
index 00000000000..92cd82d38b6
--- /dev/null
+++ b/net/boinc3-coreclient/DESCR
@@ -0,0 +1,2 @@
+BOINC is a software platform for distributed computing using volunteer
+computer resources.
diff --git a/net/boinc3-coreclient/Makefile b/net/boinc3-coreclient/Makefile
new file mode 100644
index 00000000000..57764dd9f49
--- /dev/null
+++ b/net/boinc3-coreclient/Makefile
@@ -0,0 +1,33 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/07/19 20:09:15 drochner Exp $
+#
+
+#DISTNAME= boinc-3.07
+DISTNAME= boinc_public-cvs-2004-07-14
+# in the source: 3.20
+PKGNAME= boinc3-coreclient-3.19.20040714
+CATEGORIES= net
+#MASTER_SITES= http://boinc.berkeley.edu/source/archive/
+MASTER_SITES= http://boinc.berkeley.edu/source/nightly/
+
+MAINTAINER= tech-pkg@NetBSD.org
+HOMEPAGE= http://boinc.berkeley.edu/
+COMMENT= Core client for Boinc V3
+
+WRKSRC= ${WRKDIR}/boinc_public
+
+USE_BUILDLINK3= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ENV+= MYSQL_CONFIG=true
+
+BUILDDIRS= RSAEuro client
+
+do-build:
+ cd ${WRKSRC}; for d in ${BUILDDIRS}; do \
+ (cd $$d && ${SETENV} ${MAKE_ENV} ${MAKE}); \
+ done
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/client/boinc_client \
+ ${PREFIX}/bin/boinc3_coreclient
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/net/boinc3-coreclient/PLIST b/net/boinc3-coreclient/PLIST
new file mode 100644
index 00000000000..dd821496027
--- /dev/null
+++ b/net/boinc3-coreclient/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/07/19 20:09:15 drochner Exp $
+bin/boinc3_coreclient
diff --git a/net/boinc3-coreclient/distinfo b/net/boinc3-coreclient/distinfo
new file mode 100644
index 00000000000..2b82f36c654
--- /dev/null
+++ b/net/boinc3-coreclient/distinfo
@@ -0,0 +1,8 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/07/19 20:09:15 drochner Exp $
+
+SHA1 (boinc_public-cvs-2004-07-14.tar.gz) = 125ceba6a85d80e34de7fb2ee0de410d2cca20dc
+Size (boinc_public-cvs-2004-07-14.tar.gz) = 3463359 bytes
+SHA1 (patch-aa) = 62fcec84fb5383568a32b69b80e77e465201323c
+SHA1 (patch-ab) = 48c23be13b932bb30046fee7a89ba1f47ad6db69
+SHA1 (patch-ac) = 2ade89a7d64cad3f2e476cba72ee987dcdb1ab3a
+SHA1 (patch-ad) = c8835343da8107f6b3cf23d6768f4c2cc3e3650f
diff --git a/net/boinc3-coreclient/patches/patch-aa b/net/boinc3-coreclient/patches/patch-aa
new file mode 100644
index 00000000000..d6214407211
--- /dev/null
+++ b/net/boinc3-coreclient/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2004/07/19 20:09:15 drochner Exp $
+
+--- lib/filesys.C.orig 2004-07-14 16:20:54.000000000 +0200
++++ lib/filesys.C
+@@ -44,7 +44,7 @@
+ #include <sys/resource.h>
+ #endif
+ #ifdef HAVE_SYS_MOUNT_H
+-#ifdef __FreeBSD__
++#if defined(__FreeBSD__) || defined(__NetBSD__)
+ #include <sys/param.h>
+ #endif
+ #include <sys/mount.h>
diff --git a/net/boinc3-coreclient/patches/patch-ab b/net/boinc3-coreclient/patches/patch-ab
new file mode 100644
index 00000000000..ede8c5238de
--- /dev/null
+++ b/net/boinc3-coreclient/patches/patch-ab
@@ -0,0 +1,19 @@
+$NetBSD: patch-ab,v 1.1.1.1 2004/07/19 20:09:15 drochner Exp $
+
+--- db/constraints.sql.orig 2004-07-14 20:50:24.000000000 +0200
++++ db/constraints.sql
+@@ -78,14 +78,6 @@ alter table result
+ add index app_received_time (appid, received_time desc);
+ -- html_ops/result_summary.php
+
+-alter table trickle_up
+- add index trickle_handled (appid, handled);
+- -- for trickle handler
+-
+-alter table trickle_down
+- add index trickle_host(hostid, handled);
+- -- for scheduler
+-
+ alter table host
+ add index host_user (userid),
+ -- html_user/host_user.php
diff --git a/net/boinc3-coreclient/patches/patch-ac b/net/boinc3-coreclient/patches/patch-ac
new file mode 100644
index 00000000000..2859bb74435
--- /dev/null
+++ b/net/boinc3-coreclient/patches/patch-ac
@@ -0,0 +1,13 @@
+$NetBSD: patch-ac,v 1.1.1.1 2004/07/19 20:09:15 drochner Exp $
+
+--- RSAEuro/source/global.h.orig 2004-07-15 20:39:04.000000000 +0200
++++ RSAEuro/source/global.h
+@@ -37,7 +37,7 @@ typedef unsigned char *POINTER;
+ typedef unsigned short int UINT2;
+
+ /* UINT4 defines a four byte word */
+-typedef unsigned long int UINT4;
++typedef unsigned int UINT4;
+
+ /* BYTE defines a unsigned character */
+ typedef unsigned char BYTE;
diff --git a/net/boinc3-coreclient/patches/patch-ad b/net/boinc3-coreclient/patches/patch-ad
new file mode 100644
index 00000000000..39cba298fcd
--- /dev/null
+++ b/net/boinc3-coreclient/patches/patch-ad
@@ -0,0 +1,12 @@
+$NetBSD: patch-ad,v 1.1.1.1 2004/07/19 20:09:15 drochner Exp $
+
+--- lib/diagnostics.h.orig 2004-07-15 23:08:14.000000000 +0200
++++ lib/diagnostics.h
+@@ -83,6 +83,7 @@ extern void boinc_set_signal_handler_for
+ #define BOINCSIGNALERROR( errmsg ) \
+ throw boinc_signal_operation_exception( __FILE__, __LINE__, errmsg )
+
++#include <assert.h>
+
+ #ifndef BOINCASSERT
+ #define BOINCASSERT assert