pkgsrc-WIP-changes archive

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

boinc-git: Import boinc-7.6 as wip/boinc-git.



Module Name:	pkgsrc-wip
Committed By:	Mateusz Poszwa <old4%o2.pl@localhost>
Pushed By:	f8l
Date:		Mon Feb 22 18:13:39 2016 +0100
Changeset:	8db1742e27d39d004e1e508c0b33c0d1fa96fe39

Modified Files:
	Makefile
Added Files:
	boinc-git/DESCR
	boinc-git/Makefile
	boinc-git/PLIST
	boinc-git/TODO
	boinc-git/distinfo
	boinc-git/patches/patch-client_scripts_boinc-client.in
	boinc-git/patches/patch-configure.ac
	boinc-git/patches/patch-lib_diagnostics.cpp
	boinc-git/patches/patch-lib_diagnostics.h

Log Message:
boinc-git: Import boinc-7.6 as wip/boinc-git.

BOINC lets you contribute computing power on your home PC to projects
doing research in many scientific areas.
You can contribute to a single project, or to any combination of them.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=8db1742e27d39d004e1e508c0b33c0d1fa96fe39

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile                                           |  1 +
 boinc-git/DESCR                                    |  3 ++
 boinc-git/Makefile                                 | 30 +++++++++++++
 boinc-git/PLIST                                    | 49 ++++++++++++++++++++++
 boinc-git/TODO                                     |  2 +
 boinc-git/distinfo                                 |  6 +++
 .../patches/patch-client_scripts_boinc-client.in   | 19 +++++++++
 boinc-git/patches/patch-configure.ac               | 28 +++++++++++++
 boinc-git/patches/patch-lib_diagnostics.cpp        | 15 +++++++
 boinc-git/patches/patch-lib_diagnostics.h          | 17 ++++++++
 10 files changed, 170 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index a96041d..c6c9ba6 100644
--- a/Makefile
+++ b/Makefile
@@ -238,6 +238,7 @@ SUBDIR+=	bochs
 SUBDIR+=	bogomips
 SUBDIR+=	boinc
 SUBDIR+=	boinc-client
+SUBDIR+=	boinc-git
 SUBDIR+=	boinc-lib
 SUBDIR+=	bonnie++-current
 SUBDIR+=	boo
diff --git a/boinc-git/DESCR b/boinc-git/DESCR
new file mode 100644
index 0000000..66222ac
--- /dev/null
+++ b/boinc-git/DESCR
@@ -0,0 +1,3 @@
+BOINC lets you contribute computing power on your home PC to projects
+doing research in many scientific areas.
+You can contribute to a single project, or to any combination of them.
diff --git a/boinc-git/Makefile b/boinc-git/Makefile
new file mode 100644
index 0000000..31d01cd
--- /dev/null
+++ b/boinc-git/Makefile
@@ -0,0 +1,30 @@
+# $NetBSD$
+
+DISTNAME=	boinc-7.6
+CATEGORIES=	wip
+MASTER_SITES=	${MASTER_SITE_GITHUB:=BOINC/}
+
+GIT_REPOSITORIES=	boinc
+GIT_REPO.boinc=		https://github.com/BOINC/boinc.git
+WRKSRC=			${WRKDIR}/boinc
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	http://www.boinc.berkeley.edu/
+COMMENT=	Open-source software for volunteer computing
+LICENSE=	gnu-gpl-v3
+
+USE_TOOLS+=	autoconf	# for autoreconf
+USE_TOOLS+=	automake pkg-config
+
+USE_LANGUAGES=	c c++ fortran
+
+GNU_CONFIGURE=	yes
+
+pre-configure:
+	${RUN} cd ${WRKSRC} && ./_autosetup
+
+.include "../../www/curl/buildlink3.mk"
+.include "../../sysutils/libnotify/buildlink3.mk"
+
+.include "../../wip/mk/git-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/boinc-git/PLIST b/boinc-git/PLIST
new file mode 100644
index 0000000..cb110ad
--- /dev/null
+++ b/boinc-git/PLIST
@@ -0,0 +1,49 @@
+@comment $NetBSD$
+bin/boinc
+bin/boinc_client
+bin/boinccmd
+bin/switcher
+include/boinc/app_ipc.h
+include/boinc/average.h
+include/boinc/base64.h
+include/boinc/boinc_api.h
+include/boinc/boinc_fcgi.h
+include/boinc/boinc_opencl.h
+include/boinc/cal_boinc.h
+include/boinc/cc_config.h
+include/boinc/cert_sig.h
+include/boinc/cl_boinc.h
+include/boinc/common_defs.h
+include/boinc/coproc.h
+include/boinc/crypt.h
+include/boinc/diagnostics.h
+include/boinc/error_numbers.h
+include/boinc/filesys.h
+include/boinc/graphics2.h
+include/boinc/gui_rpc_client.h
+include/boinc/gutil.h
+include/boinc/hostinfo.h
+include/boinc/md5.h
+include/boinc/md5_file.h
+include/boinc/mem_usage.h
+include/boinc/mfile.h
+include/boinc/miofile.h
+include/boinc/msg_log.h
+include/boinc/network.h
+include/boinc/notice.h
+include/boinc/opencl_boinc.h
+include/boinc/parse.h
+include/boinc/prefs.h
+include/boinc/procinfo.h
+include/boinc/proxy_info.h
+include/boinc/sched_msgs.h
+include/boinc/stackwalker_imports.h
+include/boinc/str_util.h
+include/boinc/svn_version.h
+include/boinc/url.h
+include/boinc/util.h
+include/boinc/version.h
+lib/libboinc.la
+lib/libboinc_api.la
+lib/libboinc_crypt.la
+lib/libboinc_opencl.la
diff --git a/boinc-git/TODO b/boinc-git/TODO
new file mode 100644
index 0000000..54abaff
--- /dev/null
+++ b/boinc-git/TODO
@@ -0,0 +1,2 @@
+Read _autosetup and add version checks.
+Build GUI client, possibly as a separate package.
diff --git a/boinc-git/distinfo b/boinc-git/distinfo
new file mode 100644
index 0000000..8299823
--- /dev/null
+++ b/boinc-git/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (patch-client_scripts_boinc-client.in) = f8adeab7c51783106e8784e4712b20aa5d1fcfae
+SHA1 (patch-configure.ac) = 9173c44906200c0e0a48b7193f0acb5640ca998c
+SHA1 (patch-lib_diagnostics.cpp) = 512ec177f6dce8785ba9c4061ac74a6edd1fa3d7
+SHA1 (patch-lib_diagnostics.h) = 6a7b9ca95b0c951e0473318b386f91a5ee777846
diff --git a/boinc-git/patches/patch-client_scripts_boinc-client.in b/boinc-git/patches/patch-client_scripts_boinc-client.in
new file mode 100644
index 0000000..59f1c8a
--- /dev/null
+++ b/boinc-git/patches/patch-client_scripts_boinc-client.in
@@ -0,0 +1,19 @@
+$NetBSD$
+
+Avoid == in test, as it is not portable.
+
+--- client/scripts/boinc-client.in.orig	2016-02-22 14:20:54.000000000 +0000
++++ client/scripts/boinc-client.in
+@@ -471,10 +471,10 @@ case "$1" in
+             PID=""
+           fi
+         fi
+-        if [ "$PID" == "" ]; then
++        if [ "$PID" = "" ]; then
+           PID=`local_pidof $BOINCEXE_NAME`
+         fi
+-        if [ "$PID" == "" ]; then
++        if [ "$PID" = "" ]; then
+           PID=`local_pidof $BOINCEXE`
+         fi
+         if [ "$PID" != "" ]; then
diff --git a/boinc-git/patches/patch-configure.ac b/boinc-git/patches/patch-configure.ac
new file mode 100644
index 0000000..5ae2f47
--- /dev/null
+++ b/boinc-git/patches/patch-configure.ac
@@ -0,0 +1,28 @@
+$NetBSD$
+
+Avoid == in test, as it is not portable.
+
+--- configure.ac.orig	2016-02-22 14:20:55.000000000 +0000
++++ configure.ac
+@@ -624,10 +624,10 @@ fi
+ AM_CONDITIONAL(BUILD_GRAPHICS_API, [ test "$have_glut" = yes -a "$have_jpeg" = 1])
+ 
+ dnl check for X screen saver lib (X-based idle detection on Linux)
+-if test "$enable_xss" == yes; then
++if test "$enable_xss" = yes; then
+     AC_CHECK_LIB([Xss], [XScreenSaverAllocInfo], [have_Xss="yes"], [have_Xss="no"])
+     AC_CHECK_HEADER([X11/extensions/scrnsaver.h], [have_Xss="yes"], [have_Xss="no"])
+-    if test "$have_Xss" == no; then
++    if test "$have_Xss" = no; then
+         AC_MSG_WARN([libxss missing, disabling X ScreenSaver user idle detection])
+     fi
+ fi
+@@ -1198,7 +1198,7 @@ if test "${ac_cv_func_res_init}" != "yes
+ fi
+ LIBS=$svlibs
+ 
+-if (test "$enable_xss" == yes) && (test "$have_Xss" == yes); then
++if (test "$enable_xss" = yes) && (test "$have_Xss" = yes); then
+     SAH_CHECK_LIB([Xss],[XScreenSaverAllocInfo],[
+         AC_DEFINE([HAVE_XSS],[1],[Define to 1 if you have xss library])
+         CLIENTLIBS="${sah_lib_last} ${CLIENTLIBS}"])
diff --git a/boinc-git/patches/patch-lib_diagnostics.cpp b/boinc-git/patches/patch-lib_diagnostics.cpp
new file mode 100644
index 0000000..70d8e96
--- /dev/null
+++ b/boinc-git/patches/patch-lib_diagnostics.cpp
@@ -0,0 +1,15 @@
+$NetBSD$
+
+Use siginfo_t instead of struct siginfo, which may be a union.
+
+--- lib/diagnostics.cpp.orig	2016-02-22 14:20:58.000000000 +0000
++++ lib/diagnostics.cpp
+@@ -751,7 +751,7 @@ static char *xtoa(size_t x) {
+ #endif
+ 
+ #ifdef HAVE_SIGACTION
+-void boinc_catch_signal(int signal, struct siginfo *siginfo, void *sigcontext) {
++void boinc_catch_signal(int signal, siginfo_t *siginfo, void *sigcontext) {
+ #else
+ void boinc_catch_signal(int signal) {
+ #endif
diff --git a/boinc-git/patches/patch-lib_diagnostics.h b/boinc-git/patches/patch-lib_diagnostics.h
new file mode 100644
index 0000000..dc8c8e1
--- /dev/null
+++ b/boinc-git/patches/patch-lib_diagnostics.h
@@ -0,0 +1,17 @@
+$NetBSD$
+
+Use siginfo_t instead of struct siginfo, which may be a union.
+
+--- lib/diagnostics.h.orig	2016-02-22 14:20:58.000000000 +0000
++++ lib/diagnostics.h
+@@ -124,8 +124,8 @@ extern UINT WINAPI diagnostics_unhandled
+ extern LONG CALLBACK boinc_catch_signal(EXCEPTION_POINTERS *ExceptionInfo);
+ #else
+ #ifdef HAVE_SIGACTION
+-typedef void (*handler_t)(int, struct siginfo *, void *);
+-extern void boinc_catch_signal(int signal, struct siginfo *siginfo, void *sigcontext);
++typedef void (*handler_t)(int, siginfo_t *, void *);
++extern void boinc_catch_signal(int signal, siginfo_t *siginfo, void *sigcontext);
+ #else
+ typedef void (*handler_t)(int);
+ extern void boinc_catch_signal(int signal);


Home | Main Index | Thread Index | Old Index