[Midnightbsd-cvs] mports [18077] trunk/astro: boinc clients
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Sat Mar 7 16:53:02 EST 2015
Revision: 18077
http://svnweb.midnightbsd.org/mports/?rev=18077
Author: laffer1
Date: 2015-03-07 16:53:01 -0500 (Sat, 07 Mar 2015)
Log Message:
-----------
boinc clients
Modified Paths:
--------------
trunk/astro/Makefile
Added Paths:
-----------
trunk/astro/boinc-astropulse/
trunk/astro/boinc-astropulse/Makefile
trunk/astro/boinc-astropulse/distinfo
trunk/astro/boinc-astropulse/files/
trunk/astro/boinc-astropulse/files/patch-client__Makefile.am
trunk/astro/boinc-astropulse/files/patch-client__ap_client_main.cpp
trunk/astro/boinc-astropulse/files/patch-client__ap_fileio.cpp
trunk/astro/boinc-astropulse/files/patch-client__ap_fold.cpp
trunk/astro/boinc-astropulse/files/patch-client__ap_remove_radar.cpp
trunk/astro/boinc-astropulse/files/patch-client__configure.ac
trunk/astro/boinc-astropulse/files/patch-client__m4__sah_check_boinc.m4
trunk/astro/boinc-astropulse/files/pkg-deinstall.in
trunk/astro/boinc-astropulse/files/pkg-install.in
trunk/astro/boinc-astropulse/files/pkg-message.in
trunk/astro/boinc-astropulse/pkg-descr
trunk/astro/boinc-astropulse/pkg-plist
trunk/astro/boinc-setiathome-v7/
trunk/astro/boinc-setiathome-v7/Makefile
trunk/astro/boinc-setiathome-v7/distinfo
trunk/astro/boinc-setiathome-v7/files/
trunk/astro/boinc-setiathome-v7/files/patch-client__Makefile.am
trunk/astro/boinc-setiathome-v7/files/patch-client__vector__analyzeFuncs_sse.cpp
trunk/astro/boinc-setiathome-v7/files/patch-client__vector__analyzeFuncs_vector.cpp
trunk/astro/boinc-setiathome-v7/files/patch-client__vector__analyzeFuncs_x86_64.cpp
trunk/astro/boinc-setiathome-v7/files/patch-client__vector__x86_float4.h
trunk/astro/boinc-setiathome-v7/files/patch-client__vector__x86_ops.h
trunk/astro/boinc-setiathome-v7/files/patch-configure.ac
trunk/astro/boinc-setiathome-v7/files/patch-m4__sah_check_boinc.m4
trunk/astro/boinc-setiathome-v7/files/patch-sah_config.h
trunk/astro/boinc-setiathome-v7/files/pkg-deinstall.in
trunk/astro/boinc-setiathome-v7/files/pkg-install.in
trunk/astro/boinc-setiathome-v7/files/pkg-message.in
trunk/astro/boinc-setiathome-v7/pkg-descr
trunk/astro/boinc-setiathome-v7/pkg-plist
Removed Paths:
-------------
trunk/astro/boinc-milkyway/
trunk/astro/boinc-setiathome-enhanced/
Modified: trunk/astro/Makefile
===================================================================
--- trunk/astro/Makefile 2015-03-07 21:52:44 UTC (rev 18076)
+++ trunk/astro/Makefile 2015-03-07 21:53:01 UTC (rev 18077)
@@ -2,8 +2,8 @@
COMMENT = Astronomical ports
-SUBDIR += boinc-milkyway
-SUBDIR += boinc-setiathome-enhanced
+SUBDIR += boinc-astropulse
+SUBDIR += boinc-setiathome-v7
SUBDIR += google-earth
SUBDIR += gpsd
SUBDIR += libnova
Added: trunk/astro/boinc-astropulse/Makefile
===================================================================
--- trunk/astro/boinc-astropulse/Makefile (rev 0)
+++ trunk/astro/boinc-astropulse/Makefile 2015-03-07 21:53:01 UTC (rev 18077)
@@ -0,0 +1,83 @@
+# $MidnightBSD$
+
+PORTNAME= boinc-astropulse
+PORTVERSION= 6.01
+PORTREVISION= 10
+CATEGORIES= astro
+MASTER_SITES= FREEBSD_LOCAL/rene
+DISTNAME= astropulse-svn-1702 # modified archive, see leftout in top directory
+
+MAINTAINER= ports at MidnightBSD.org
+COMMENT= Astropulse for BOINC
+
+LICENSE= gpl2
+LICENSE_FILE= ${WRKSRC}/COPYING
+
+BUILD_DEPENDS= ${LOCALBASE}/include/fftw3.h:${PORTSDIR}/math/fftw3 \
+ ${NONEXISTENT}:${PORTSDIR}/astro/boinc-setiathome-v7:patch
+RUN_DEPENDS= boinc_client:${PORTSDIR}/net/boinc-client
+LIB_DEPENDS= libfftw3f.so:${PORTSDIR}/math/fftw3-float
+
+GNU_CONFIGURE= yes
+USES= autoreconf gmake libtool pkgconfig tar:xz
+WRKSRC= ${WRKDIR}/${DISTNAME}/client
+
+CPPFLAGS+= -I${LOCALBASE}/include/boinc -I${LOCALBASE}/include
+LIBS+= -L${LOCALBASE}/lib
+
+# these must match settings in ${PORTSDIR}/net/boinc-client/Makefile
+BOINC_CLIENT_USER?= boinc
+BOINC_CLIENT_GROUP?= nobody
+BOINC_CLIENT_HOME?= /var/db/boinc
+
+OPTIONS_DEFINE= X11
+X11_DESC= Build screensaver (requires net/boinc-client with X11)
+
+OPTIONS_SUB= yes
+
+X11_BUILD_DEPENDS= ${LOCALBASE}/lib/libboinc_graphics2.a:${PORTSDIR}/net/boinc-client
+X11_LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg
+X11_USE= GL=gl,glu,glut \
+ XORG=ice,sm,x11,xau,xcb,xext,xi,xdamage,xdmcp,xfixes,xmu,xt,xxf86vm
+X11_CONFIGURE_ENABLE= graphics
+
+.include <bsd.mport.options.mk>
+
+.if ! ${PORT_OPTIONS:MX11}
+BUILD_DEPENDS+= ${LOCALBASE}/include/boinc/std_fixes.h:${PORTSDIR}/net/boinc-client
+.endif
+
+SETI_WORK!= cd ${.CURDIR}/../boinc-setiathome-v7 && ${MAKE} -V WRKSRC
+CONFIGURE_ENV+= BOINCDIR="${NONEXISTENT}" \
+ BOINC_DIR="${NONEXISTENT}" \
+ SETI_BOINC_DIR="${SETI_WORK}"
+CONFIGURE_ARGS+= --disable-static-client \
+ --with-boinc-platform=${ARCH}-portbld-freebsd
+
+SETI_SITE= setiathome.berkeley.edu
+AP_BINARY= astropulse-${PORTVERSION:S/.0/./}.${ARCH}-portbld-freebsd
+
+SUB_FILES= pkg-deinstall pkg-install pkg-message
+SUB_LIST= AP_BINARY=${AP_BINARY} \
+ AP_VERSION=${PORTVERSION:S/.//} \
+ SETI_SITE=${SETI_SITE} \
+ BOINC_CLIENT_HOME=${BOINC_CLIENT_HOME} \
+ BOINC_CLIENT_USER=${BOINC_CLIENT_USER} \
+ BOINC_CLIENT_GROUP=${BOINC_CLIENT_GROUP}
+PLIST_SUB+= AP_BINARY=${AP_BINARY} \
+ SETI_SITE=${SETI_SITE} \
+ BOINC_CLIENT_HOME=${BOINC_CLIENT_HOME} \
+ BOINC_CLIENT_USER=${BOINC_CLIENT_USER} \
+ BOINC_CLIENT_GROUP=${BOINC_CLIENT_GROUP}
+
+do-install:
+ ${INSTALL} -d ${STAGEDIR}${BOINC_CLIENT_HOME}/projects
+ ${INSTALL} -d ${STAGEDIR}${BOINC_CLIENT_HOME}/projects/${SETI_SITE}
+ ${INSTALL_PROGRAM} ${WRKSRC}/${AP_BINARY} \
+ ${STAGEDIR}${BOINC_CLIENT_HOME}/projects/${SETI_SITE}/
+.if ${PORT_OPTIONS:MX11}
+ ${INSTALL_PROGRAM} ${WRKSRC}/ap_graphics \
+ ${STAGEDIR}${BOINC_CLIENT_HOME}/projects/${SETI_SITE}/
+.endif
+
+.include <bsd.port.mk>
Property changes on: trunk/astro/boinc-astropulse/Makefile
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/astro/boinc-astropulse/distinfo
===================================================================
--- trunk/astro/boinc-astropulse/distinfo (rev 0)
+++ trunk/astro/boinc-astropulse/distinfo 2015-03-07 21:53:01 UTC (rev 18077)
@@ -0,0 +1,2 @@
+SHA256 (astropulse-svn-1702.tar.xz) = cfb307628dc02f0407f7571fed7e91b7824fd385278ecfa2b30ed5fb8c38cd46
+SIZE (astropulse-svn-1702.tar.xz) = 7397348
Property changes on: trunk/astro/boinc-astropulse/distinfo
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/astro/boinc-astropulse/files/patch-client__Makefile.am
===================================================================
--- trunk/astro/boinc-astropulse/files/patch-client__Makefile.am (rev 0)
+++ trunk/astro/boinc-astropulse/files/patch-client__Makefile.am 2015-03-07 21:53:01 UTC (rev 18077)
@@ -0,0 +1,11 @@
+--- Makefile.am (revision 633)
++++ Makefile.am (working copy)
+@@ -31,7 +31,7 @@
+ GUI_C_FLAGS = $(CLIENT_C_FLAGS) $(GRAPHICS_CFLAGS)
+ GUI_LD_FLAGS = $(CLIENT_LD_FLAGS)
+ GUI_LD_ADD = -L$(BOINCDIR)/api -L$(BOINCDIR)/lib $(BOINC_LIBS) $(GRAPHICS_LIBS_RAW) $(APP_LIBS)
+- CLIENT_LD_FLAGS += $(LDSTATIC) -nodefaultlibs
++ CLIENT_LD_FLAGS += $(LDSTATIC)
+ CLIENT_LD_ADD += -L$(BOINCDIR)/api -L$(BOINCDIR)/lib $(BOINC_LIBS) $(AM_LIBS) $(APP_LIBS)
+ AP_GRX_SOURCES = ap_gfx_main.cpp
+ else
Property changes on: trunk/astro/boinc-astropulse/files/patch-client__Makefile.am
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/astro/boinc-astropulse/files/patch-client__ap_client_main.cpp
===================================================================
--- trunk/astro/boinc-astropulse/files/patch-client__ap_client_main.cpp (rev 0)
+++ trunk/astro/boinc-astropulse/files/patch-client__ap_client_main.cpp 2015-03-07 21:53:01 UTC (rev 18077)
@@ -0,0 +1,10 @@
+--- ap_client_main.cpp.orig 2012-08-14 02:07:20.000000000 +0200
++++ ap_client_main.cpp 2013-08-06 18:41:38.000000000 +0200
+@@ -1288,7 +1288,6 @@
+ * used to inform the core client GUI of the % complete.
+ */
+ boinc_fraction_done(state.frac_done);
+- boinc_ops_cumulative(state.frac_done*FLOPS_PER_DM*(state.dm_hi-state.dm_low)*log((float)state.fft_len)/log(32768.0),0);
+ debug_loop(5, 2, debug_loop_msg);
+
+ /* This is the size of the power array.
Property changes on: trunk/astro/boinc-astropulse/files/patch-client__ap_client_main.cpp
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/astro/boinc-astropulse/files/patch-client__ap_fileio.cpp
===================================================================
--- trunk/astro/boinc-astropulse/files/patch-client__ap_fileio.cpp (rev 0)
+++ trunk/astro/boinc-astropulse/files/patch-client__ap_fileio.cpp 2015-03-07 21:53:01 UTC (rev 18077)
@@ -0,0 +1,10 @@
+--- ap_fileio.cpp.orig 2012-02-28 00:01:04.000000000 +0100
++++ ap_fileio.cpp 2013-08-05 22:45:10.000000000 +0200
+@@ -22,6 +22,7 @@
+ #include "windows.h"
+ #endif
+
++#include <cmath>
+ #include <cstdio>
+ #include <cstdlib>
+ #include <vector>
Property changes on: trunk/astro/boinc-astropulse/files/patch-client__ap_fileio.cpp
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/astro/boinc-astropulse/files/patch-client__ap_fold.cpp
===================================================================
--- trunk/astro/boinc-astropulse/files/patch-client__ap_fold.cpp (rev 0)
+++ trunk/astro/boinc-astropulse/files/patch-client__ap_fold.cpp 2015-03-07 21:53:01 UTC (rev 18077)
@@ -0,0 +1,10 @@
+--- ap_fold.cpp.orig 2009-04-01 02:11:24.000000000 +0200
++++ ap_fold.cpp 2013-08-06 18:42:02.000000000 +0200
+@@ -283,7 +283,6 @@
+ * used to inform the core client GUI of the % complete.
+ */
+ boinc_fraction_done(state.frac_done);
+- boinc_ops_cumulative(state.frac_done*FLOPS_PER_DM*(state.dm_hi-state.dm_low)*log((double)state.fft_len)/log(32768.0),0);
+
+ freq_count++;
+ /* Report to stdout if we have reached a new "milestone" frequency. */
Property changes on: trunk/astro/boinc-astropulse/files/patch-client__ap_fold.cpp
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/astro/boinc-astropulse/files/patch-client__ap_remove_radar.cpp
===================================================================
--- trunk/astro/boinc-astropulse/files/patch-client__ap_remove_radar.cpp (rev 0)
+++ trunk/astro/boinc-astropulse/files/patch-client__ap_remove_radar.cpp 2015-03-07 21:53:01 UTC (rev 18077)
@@ -0,0 +1,8 @@
+--- ap_remove_radar.cpp.orig 2012-01-26 07:53:16.000000000 +0100
++++ ap_remove_radar.cpp 2012-08-12 00:14:40.000000000 +0200
+@@ -1,5 +1,4 @@
+ #include "astropulse.h"
+-#include "ap_graphics.h"
+ #include "fftw3.h"
+ #include "sbtf.h"
+ #include "ap_debug.h"
Property changes on: trunk/astro/boinc-astropulse/files/patch-client__ap_remove_radar.cpp
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/astro/boinc-astropulse/files/patch-client__configure.ac
===================================================================
--- trunk/astro/boinc-astropulse/files/patch-client__configure.ac (rev 0)
+++ trunk/astro/boinc-astropulse/files/patch-client__configure.ac 2015-03-07 21:53:01 UTC (rev 18077)
@@ -0,0 +1,41 @@
+--- configure.ac.orig 2009-06-11 19:35:16.000000000 +0200
++++ configure.ac 2010-11-28 11:40:22.000000000 +0100
+@@ -7,17 +7,9 @@
+ dnl Process this file with autoconf to produce a configure script.
+ AC_INIT(astropulse, 5.06)
+
+-svnrev="`svn info | grep Revision:`"
+-
+-if test -n "${svnrev}" ; then
+- AC_REVISION("${svnrev}")
+- AC_DEFINE_UNQUOTED(SVN_REV,"${svnrev}",
+- [Define to be the subversion revision number])
+-else
+- AC_REVISION([$Revision: 1190 $])
+- AC_DEFINE(SVN_REV,"$Revision: 1190 $",
++ AC_REVISION([$Revision: 1702 $])
++ AC_DEFINE(SVN_REV,"$Revision: 1702 $",
+ [Define to be the subversion revision number])
+-fi
+
+
+ echo "--- Configuring Astropulse $AC_PACKAGE_VERSION ---"
+@@ -262,9 +254,7 @@
+ dnl AC_CHECK_LIB([stdc++], [main])
+ SAH_GRX_LIBS
+ AC_LANG(C++)
+-SAH_CHECK_BOINC
+ SAH_CHECK_SAH
+-SAH_FIND_SETILIB
+ AC_CACHE_SAVE
+
+ if test "${ac_cv_cxx_compiler_gnu}" = "yes" ; then
+@@ -378,7 +368,7 @@
+ AM_CONDITIONAL(ENABLE_GUI, [test "${enable_graphics}" = yes])
+ AM_CONDITIONAL(LINUX, [test -n "`echo ${target} | grep linux`"])
+ AM_CONDITIONAL(I386, [test -n "`echo ${target} | grep i.86`"])
+-AM_CONDITIONAL(X86_64, [test -n "`echo ${target} | grep 'x86_64'`"])
++AM_CONDITIONAL(X86_64, [test -n "`echo ${target} | ${EGREP} 'x86_64|amd64'`"])
+ AM_CONDITIONAL(PPC, [test -n "`echo ${target} | grep 'powerpc'`" -o -n "`echo ${target} | grep 'ppc'`" ])
+
+
Property changes on: trunk/astro/boinc-astropulse/files/patch-client__configure.ac
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/astro/boinc-astropulse/files/patch-client__m4__sah_check_boinc.m4
===================================================================
--- trunk/astro/boinc-astropulse/files/patch-client__m4__sah_check_boinc.m4 (rev 0)
+++ trunk/astro/boinc-astropulse/files/patch-client__m4__sah_check_boinc.m4 2015-03-07 21:53:01 UTC (rev 18077)
@@ -0,0 +1,11 @@
+--- m4/sah_check_boinc.m4.orig 2010-03-23 22:00:23.000000000 +0100
++++ m4/sah_check_boinc.m4 2011-03-13 16:32:29.000000000 +0100
+@@ -30,7 +30,7 @@
+ cd $thisdir
+ break
+ else
+- if $FIND $boinc_dir -name "std_fixes.h" >& /dev/null
++ if $FIND $boinc_dir -name "std_fixes.h" > /dev/null
+ then
+ BOINCDIR=`$FIND $boinc_dir -name "std_fixes.h" -print | $HEAD -1 | sed 's/\/std_fixes.h//'`
+ cd $BOINCDIR/..
Property changes on: trunk/astro/boinc-astropulse/files/patch-client__m4__sah_check_boinc.m4
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/astro/boinc-astropulse/files/pkg-deinstall.in
===================================================================
--- trunk/astro/boinc-astropulse/files/pkg-deinstall.in (rev 0)
+++ trunk/astro/boinc-astropulse/files/pkg-deinstall.in 2015-03-07 21:53:01 UTC (rev 18077)
@@ -0,0 +1,26 @@
+#!/bin/sh
+
+# $FreeBSD: head/astro/boinc-astropulse/files/pkg-deinstall.in 340719 2014-01-22 15:52:06Z mat $
+
+if [ "$2" != "POST-DEINSTALL" ]; then
+ exit 0
+fi
+
+F=%%BOINC_CLIENT_HOME%%/projects/%%SETI_SITE%%/app_info.xml
+echo Removing astropulse_v6 lines from $F
+
+l=`grep -n "<name>astropulse_v6</name>" $F | cut -f 1 -d :`
+if [ $? -ne 0 ]; then
+ echo $F is corrupt
+ exit 1
+fi
+l1=$(($l-1))
+l2=$(($l+13))
+sed -i.bak "${l1},${l2}d" $F # sed wants the braces
+rm $F.bak
+
+l=`wc -l $F | cut -f 1 -d / | sed 's/ //g'`
+if [ $l -eq 2 ]; then
+ echo Removing empty $F
+ rm $F
+fi
Property changes on: trunk/astro/boinc-astropulse/files/pkg-deinstall.in
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/astro/boinc-astropulse/files/pkg-install.in
===================================================================
--- trunk/astro/boinc-astropulse/files/pkg-install.in (rev 0)
+++ trunk/astro/boinc-astropulse/files/pkg-install.in 2015-03-07 21:53:01 UTC (rev 18077)
@@ -0,0 +1,39 @@
+#!/bin/sh
+
+# $FreeBSD: head/astro/boinc-astropulse/files/pkg-install.in 340719 2014-01-22 15:52:06Z mat $
+
+if [ "$2" != "POST-INSTALL" ]; then
+ exit 0
+fi
+
+F=%%BOINC_CLIENT_HOME%%/projects/%%SETI_SITE%%/app_info.xml
+
+if [ ! -f $F ]; then
+ echo Creating new $F
+ echo "<app_info>" > $F
+ echo "</app_info>" >> $F
+ chown %%BOINC_CLIENT_USER%%:%%BOINC_CLIENT_GROUP%% $F
+fi
+
+echo Adding astropulse_v6 lines to $F
+ed - $F <<EOF
+1a
+<app>
+<name>astropulse_v6</name>
+</app>
+<file_info>
+<name>%%AP_BINARY%%</name>
+<executable/>
+</file_info>
+<app_version>
+<app_name>astropulse_v6</app_name>
+<version_num>%%AP_VERSION%%</version_num>
+<file_ref>
+<file_name>%%AP_BINARY%%</file_name>
+<main_program/>
+</file_ref>
+</app_version>
+.
+w
+q
+EOF
Property changes on: trunk/astro/boinc-astropulse/files/pkg-install.in
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/astro/boinc-astropulse/files/pkg-message.in
===================================================================
--- trunk/astro/boinc-astropulse/files/pkg-message.in (rev 0)
+++ trunk/astro/boinc-astropulse/files/pkg-message.in 2015-03-07 21:53:01 UTC (rev 18077)
@@ -0,0 +1,16 @@
+*****************************************************************************
+ATTACHING PROJECT
+
+Just run boinc_gui (if installed), choose Attach, and follow instructions.
+Project URL is %%SETI_SITE%%
+
+MANUAL INSTALLATION
+ *) If this is your first time in any BOINC project, create a new account at
+ http://%%SETI_SITE%%/create_account_form.php
+
+ *) Or get your account key at http://%%SETI_SITE%%/get_passwd.php
+
+ *) Attach to the project:
+ cd %%BOINC_CLIENT_HOME%%
+ boinccmd --project_attach %%SETI_SITE%% <account key>
+*****************************************************************************
Property changes on: trunk/astro/boinc-astropulse/files/pkg-message.in
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/astro/boinc-astropulse/pkg-descr
===================================================================
--- trunk/astro/boinc-astropulse/pkg-descr (rev 0)
+++ trunk/astro/boinc-astropulse/pkg-descr 2015-03-07 21:53:01 UTC (rev 18077)
@@ -0,0 +1,10 @@
+SETI - Search for Extra-Terrestrial Intelligence -- AstroPulse
+
+The project listens for broad-band, short-time pulses that might represent
+extraterrestial intelligence, or other phenomena such as rapidly rotating
+pulsars or exploding primordial black holes.
+
+The port automatically optimizes for the host CPU using the CPUTYPE
+variable in /etc/make.conf
+
+WWW: http://setiathome.berkeley.edu/
Property changes on: trunk/astro/boinc-astropulse/pkg-descr
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/astro/boinc-astropulse/pkg-plist
===================================================================
--- trunk/astro/boinc-astropulse/pkg-plist (rev 0)
+++ trunk/astro/boinc-astropulse/pkg-plist 2015-03-07 21:53:01 UTC (rev 18077)
@@ -0,0 +1,9 @@
+ at owner %%BOINC_CLIENT_USER%%
+ at group %%BOINC_CLIENT_GROUP%%
+ at dir %%BOINC_CLIENT_HOME%%
+ at dir %%BOINC_CLIENT_HOME%%/projects/
+ at dir %%BOINC_CLIENT_HOME%%/projects/%%SETI_SITE%%
+%%BOINC_CLIENT_HOME%%/projects/%%SETI_SITE%%/%%AP_BINARY%%
+%%X11%%%%BOINC_CLIENT_HOME%%/projects/%%SETI_SITE%%/ap_graphics
+ at owner root
+ at group wheel
Property changes on: trunk/astro/boinc-astropulse/pkg-plist
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/astro/boinc-setiathome-v7/Makefile
===================================================================
--- trunk/astro/boinc-setiathome-v7/Makefile (rev 0)
+++ trunk/astro/boinc-setiathome-v7/Makefile 2015-03-07 21:53:01 UTC (rev 18077)
@@ -0,0 +1,106 @@
+# $MidnightBSD$
+
+PORTNAME= boinc-setiathome-v7
+PORTVERSION= 7.00
+CATEGORIES= astro
+MASTER_SITES= FREEBSD_LOCAL/rene
+DISTNAME= setiathome-svn-1924 # modified archive, see leftout in top directory
+
+MAINTAINER= ports at MidnightBSD.org
+COMMENT= Setiathome Enhanced for BOINC
+
+LICENSE= gpl2
+LICENSE_FILE= ${WRKSRC}/COPYING
+
+BUILD_DEPENDS= ${LOCALBASE}/include/fftw3.h:${PORTSDIR}/math/fftw3
+RUN_DEPENDS= boinc_client:${PORTSDIR}/net/boinc-client
+LIB_DEPENDS= libfftw3f.so:${PORTSDIR}/math/fftw3-float
+
+USES= tar:xz gmake pkgconfig
+USE_AUTOTOOLS= autoconf:env automake:env
+GNU_CONFIGURE= yes
+
+CFLAGS+= -O2 -I${LOCALBASE}/include/boinc -I${LOCALBASE}/include \
+ -L${LOCALBASE}/lib
+.if defined(CPUTYPE)
+CFLAGS+= -march=${CPUTYPE}
+.endif
+
+# these must match settings in ${PORTSDIR}/net/boinc-client/Makefile
+BOINC_CLIENT_USER?= boinc
+BOINC_CLIENT_GROUP?= nobody
+BOINC_CLIENT_HOME?= /var/db/boinc
+
+OPTIONS_DEFINE= X11
+
+X11_DESC= Build screensaver (requires net/boinc-client with X11)
+
+OPTIONS_SUB= yes
+
+X11_BUILD_DEPENDS= ${LOCALBASE}/lib/libboinc_graphics2.a:${PORTSDIR}/net/boinc-client
+X11_LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg
+X11_USE= GL=gl,glu,glut \
+ XORG=ice,sm,x11,xau,xcb,xext,xi,xdamage,xdmcp,xfixes,xmu,xt,xxf86vm
+X11_CONFIGURE_ENABLE= graphics
+
+.include <bsd.mport.options.mk>
+
+.if ! ${PORT_OPTIONS:MX11}
+BUILD_DEPENDS+= ${LOCALBASE}/include/boinc/std_fixes.h:${PORTSDIR}/net/boinc-client
+.endif
+
+.if ${ARCH} == i386 || ${ARCH} == amd64
+# comment out if world is built with clang and port with gcc
+CFLAGS+= -mtune=native
+.endif
+
+.if !empty(MACHINE_CPU:Maltivec)
+CONFIGURE_ARGS+= --enable-altivec
+.endif
+
+CONFIGURE_ENV+= BOINCDIR="${NONEXISTENT}"
+
+CONFIGURE_ARGS+= --disable-static-client --disable-server \
+ --disable-tests \
+ --with-boinc-platform=${ARCH}-portbld-freebsd
+
+SETI_SITE= setiathome.berkeley.edu
+SETI_BINARY= setiathome-${PORTVERSION:S/.0/./}.${ARCH}-portbld-freebsd
+
+SUB_FILES= pkg-deinstall pkg-install pkg-message
+SUB_LIST= SETI_BINARY=${SETI_BINARY} \
+ SETI_SITE=${SETI_SITE} \
+ SETI_VERSION=${PORTVERSION:S/.//} \
+ BOINC_CLIENT_HOME=${BOINC_CLIENT_HOME} \
+ BOINC_CLIENT_USER=${BOINC_CLIENT_USER} \
+ BOINC_CLIENT_GROUP=${BOINC_CLIENT_GROUP}
+PLIST_SUB+= PREFIX=${PREFIX} \
+ SETI_BINARY=${SETI_BINARY} \
+ SETI_SITE=${SETI_SITE} \
+ BOINC_CLIENT_HOME=${BOINC_CLIENT_HOME} \
+ BOINC_CLIENT_USER=${BOINC_CLIENT_USER} \
+ BOINC_CLIENT_GROUP=${BOINC_CLIENT_GROUP}
+
+# str_replace.h is included in newer versions of net/boinc-client,
+# but it is not needed on FreeBSD
+post-patch:
+ ${REINPLACE_CMD} -E -e "s|#include \"str_replace.h\"||" \
+ ${WRKSRC}/client/main.cpp \
+ ${WRKSRC}/client/sah_gfx.cpp \
+ ${WRKSRC}/client/seti.cpp \
+ ${WRKSRC}/client/timecvt.cpp \
+ ${WRKSRC}/db/xml_util.cpp
+
+pre-configure:
+ (cd ${WRKSRC} ; ./_autosetup)
+
+do-install:
+ ${INSTALL} -d ${STAGEDIR}${BOINC_CLIENT_HOME}/projects
+ ${INSTALL} -d ${STAGEDIR}${BOINC_CLIENT_HOME}/projects/${SETI_SITE}
+ ${INSTALL_PROGRAM} ${WRKSRC}/client/${SETI_BINARY} \
+ ${STAGEDIR}${BOINC_CLIENT_HOME}/projects/${SETI_SITE}/
+.if ${PORT_OPTIONS:MX11}
+ ${INSTALL_PROGRAM} ${WRKSRC}/client/seti_graphics \
+ ${STAGEDIR}${BOINC_CLIENT_HOME}/projects/${SETI_SITE}/
+.endif
+.include <bsd.port.mk>
Property changes on: trunk/astro/boinc-setiathome-v7/Makefile
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/astro/boinc-setiathome-v7/distinfo
===================================================================
--- trunk/astro/boinc-setiathome-v7/distinfo (rev 0)
+++ trunk/astro/boinc-setiathome-v7/distinfo 2015-03-07 21:53:01 UTC (rev 18077)
@@ -0,0 +1,2 @@
+SHA256 (setiathome-svn-1924.tar.xz) = 8ef1164462dabe72574c504bcab74d8b0a168833c374872e9fa204737f376298
+SIZE (setiathome-svn-1924.tar.xz) = 992080
Property changes on: trunk/astro/boinc-setiathome-v7/distinfo
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/astro/boinc-setiathome-v7/files/patch-client__Makefile.am
===================================================================
--- trunk/astro/boinc-setiathome-v7/files/patch-client__Makefile.am (rev 0)
+++ trunk/astro/boinc-setiathome-v7/files/patch-client__Makefile.am 2015-03-07 21:53:01 UTC (rev 18077)
@@ -0,0 +1,11 @@
+--- client/Makefile.am.orig 2009-09-23 01:50:50.000000000 +0200
++++ client/Makefile.am 2011-12-04 17:19:18.000000000 +0100
+@@ -165,7 +165,7 @@
+ seti_boinc-analyzeFuncs_altivec.o: vector/analyzeFuncs_altivec.cpp
+ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
+ $(CPPFLAGS) $(seti_boinc_CXXFLAGS) $(CXXFLAGS) -DUSE_ALTIVEC \
+- -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -faltivec \
++ -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -maltivec -mabi=altivec \
+ -c -o $@ $<; then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \
+ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
+ seti_boinc-analyzeFuncs_vector.o: vector/analyzeFuncs_vector.cpp
Property changes on: trunk/astro/boinc-setiathome-v7/files/patch-client__Makefile.am
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/astro/boinc-setiathome-v7/files/patch-client__vector__analyzeFuncs_sse.cpp
===================================================================
--- trunk/astro/boinc-setiathome-v7/files/patch-client__vector__analyzeFuncs_sse.cpp (rev 0)
+++ trunk/astro/boinc-setiathome-v7/files/patch-client__vector__analyzeFuncs_sse.cpp 2015-03-07 21:53:01 UTC (rev 18077)
@@ -0,0 +1,35 @@
+--- client/vector/analyzeFuncs_sse.cpp.origin 2013-08-02 01:08:24.000000000 +0400
++++ client/vector/analyzeFuncs_sse.cpp 2013-08-02 01:18:33.000000000 +0400
+@@ -191,7 +191,7 @@
+ prefetcht0(out+3*yline);
+ // TODO: figure out why the intrinsic version crashes for MinGW build
+ // not critical, but shuffle-only _MM_TRANSPOSE4_PS is optimal on some
+-#if defined(USE_INTRINSICS) && defined(_MM_TRANSPOSE4_PS) && !defined(__GNUC__)
++#if defined(USE_INTRINSICS) && (defined(_MM_TRANSPOSE4_PS) && !defined(__GNUC__) || defined(__clang__))
+ register float4 row0=*(__m128 *)in;
+ register float4 row1=*(__m128 *)(in+xline);
+ register float4 row2=*(__m128 *)(in+2*xline);
+@@ -273,7 +273,7 @@
+
+ // TODO: figure out why the intrinsic version crashes for MinGW build
+ // not critical, but the shuffle-only _MM_TRANSPOSE4_PS is optimal on some
+-#if defined(USE_INTRINSICS) && defined(_MM_TRANSPOSE4_PS) && !defined(__GNUC__)
++#if defined(USE_INTRINSICS) && (defined(_MM_TRANSPOSE4_PS) && !defined(__GNUC__) || defined(__clang__))
+ register float4 row0=*(__m128 *)in;
+ register float4 row1=*(__m128 *)(in+xline);
+ register float4 row2=*(__m128 *)(in+2*xline);
+@@ -1592,8 +1592,14 @@
+ return ( tMax );
+ }
+
++#ifdef __clang__
++#define s_getU( aaaa, ptr ) \
++ aaaa = _mm_loadl_pi(aaaa, (__m64 *)ptr); \
++ aaaa = _mm_loadh_pi(aaaa, ((__m64 *)(ptr))+1 )
++#else
+ #define s_getU( aaaa, ptr ) \
+ aaaa = _mm_loadh_pi( _mm_loadl_pi(aaaa, (__m64 *)ptr), ((__m64 *)(ptr))+1 )
++#endif
+
+ #define s_putU( ptr, aaaa ) \
+ _mm_storel_pi((__m64 *)ptr, aaaa), _mm_storeh_pi( ((__m64 *)ptr)+1 , aaaa)
Property changes on: trunk/astro/boinc-setiathome-v7/files/patch-client__vector__analyzeFuncs_sse.cpp
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/astro/boinc-setiathome-v7/files/patch-client__vector__analyzeFuncs_vector.cpp
===================================================================
--- trunk/astro/boinc-setiathome-v7/files/patch-client__vector__analyzeFuncs_vector.cpp (rev 0)
+++ trunk/astro/boinc-setiathome-v7/files/patch-client__vector__analyzeFuncs_vector.cpp 2015-03-07 21:53:01 UTC (rev 18077)
@@ -0,0 +1,13 @@
+--- client/vector/analyzeFuncs_vector.cpp.orig 2013-07-11 22:32:37.000000000 +0200
++++ client/vector/analyzeFuncs_vector.cpp 2013-07-11 22:41:59.000000000 +0200
+@@ -98,9 +98,7 @@
+
+
+ #ifndef __APPLE_CC__
+-#ifdef HAVE___ISNAN
+-#define isnotnan(x) (!__isnan(x))
+-#elif defined(HAVE__ISNAN)
++#if defined(HAVE__ISNAN)
+ #define isnotnan(x) (!_isnan(x))
+ #elif defined(HAVE_ISNAN)
+ #define isnotnan(x) (!isnan(x))
Property changes on: trunk/astro/boinc-setiathome-v7/files/patch-client__vector__analyzeFuncs_vector.cpp
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/astro/boinc-setiathome-v7/files/patch-client__vector__analyzeFuncs_x86_64.cpp
===================================================================
--- trunk/astro/boinc-setiathome-v7/files/patch-client__vector__analyzeFuncs_x86_64.cpp (rev 0)
+++ trunk/astro/boinc-setiathome-v7/files/patch-client__vector__analyzeFuncs_x86_64.cpp 2015-03-07 21:53:01 UTC (rev 18077)
@@ -0,0 +1,17 @@
+--- client/vector/analyzeFuncs_x86_64.cpp.orig 2011-04-03 07:25:53.000000000 +0200
++++ client/vector/analyzeFuncs_x86_64.cpp 2013-07-29 17:41:37.000000000 +0200
+@@ -61,8 +61,14 @@
+ static const int as [4] __attribute__((aligned(16)))= {INT_MIN, 0, INT_MIN, 0} ; // {-, +, -, +}
+ char *cblock = (char *)alloca(11*16);
+ cblock+=(16-((ssize_t)cblock % 16));
++#ifdef __clang__
++ __m128 *fblock=reinterpret_cast<__m128 *>(cblock);
++ __m128d *dblock=reinterpret_cast<__m128d *>(cblock);
++#else
+ x86_m128 *fblock=reinterpret_cast<x86_m128 *>(cblock);
+ x86_m128d *dblock=reinterpret_cast<x86_m128d *>(cblock);
++#endif
++
+ #define CC dblock[0]
+ #define DD dblock[1]
+ #define cc fblock[2]
Property changes on: trunk/astro/boinc-setiathome-v7/files/patch-client__vector__analyzeFuncs_x86_64.cpp
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/astro/boinc-setiathome-v7/files/patch-client__vector__x86_float4.h
===================================================================
--- trunk/astro/boinc-setiathome-v7/files/patch-client__vector__x86_float4.h (rev 0)
+++ trunk/astro/boinc-setiathome-v7/files/patch-client__vector__x86_float4.h 2015-03-07 21:53:01 UTC (rev 18077)
@@ -0,0 +1,25 @@
+--- client/vector/x86_float4.h.orig 2011-05-22 21:08:50.000000000 +0200
++++ client/vector/x86_float4.h 2013-07-29 18:52:18.000000000 +0200
+@@ -58,11 +58,15 @@
+
+ ALIGNED(static const int sign_bits[4],16)={INT_MIN, INT_MIN, INT_MIN, INT_MIN};
+ ALIGNED(static const int other_bits[4],16)={INT_MAX, INT_MAX, INT_MAX, INT_MAX};
++
++#ifdef __clang__
++#ifndef __EMMINTRIN_H
++typedef long long __m128i __attribute__((__vector_size__(16)));
++#endif
++#endif
+ #define SIGN_BITS (*(__m128i *)sign_bits)
+ #define OTHER_BITS (*(__m128i *)other_bits)
+
+-
+-
+ struct float4 {
+ float4() {};
+ float4(const __m128 b) { m=b; };
+@@ -263,4 +267,3 @@
+
+ #endif
+ #endif
+-
Property changes on: trunk/astro/boinc-setiathome-v7/files/patch-client__vector__x86_float4.h
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/astro/boinc-setiathome-v7/files/patch-client__vector__x86_ops.h
===================================================================
--- trunk/astro/boinc-setiathome-v7/files/patch-client__vector__x86_ops.h (rev 0)
+++ trunk/astro/boinc-setiathome-v7/files/patch-client__vector__x86_ops.h 2015-03-07 21:53:01 UTC (rev 18077)
@@ -0,0 +1,43 @@
+--- client/vector/x86_ops.h.orig 2011-05-22 21:08:50.000000000 +0200
++++ client/vector/x86_ops.h 2013-07-29 17:42:54.000000000 +0200
+@@ -135,7 +135,11 @@
+
+ #if defined(__SSE2__)
+ // SSE2 specific functions/macros here.
+-#ifdef _MSC_VER
++#ifdef __clang__
++#ifndef __EMMINTRIN_H
++#include <emmintrin.h>
++#endif
++#elif defined _MSC_VER
+ typedef __m128d x86_m128d;
+ #else
+ typedef double x86_m128d __attribute__ ((mode(V2DF))) __attribute__((aligned(16)));
+@@ -144,7 +148,11 @@
+
+ #if defined(__SSE__)
+ // SSE specific functions/macros here.
+-#ifdef _MSC_VER
++#ifdef __clang__
++#ifndef __XMMINTRIN_H
++#include <xmmintrin.h>
++#endif
++#elif defined _MSC_VER
+ typedef __m128 x86_m128;
+ typedef __m128i x86_m128i;
+ #else
+@@ -186,6 +194,7 @@
+
+ #endif
+
++#ifndef __clang__
+ #ifndef __m128d
+ #define __m128d x86_m128d
+ #endif
+@@ -197,5 +206,6 @@
+ #ifndef __m128
+ #define __m128 x86_m128
+ #endif
++#endif
+
+ #endif
Property changes on: trunk/astro/boinc-setiathome-v7/files/patch-client__vector__x86_ops.h
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/astro/boinc-setiathome-v7/files/patch-configure.ac
===================================================================
--- trunk/astro/boinc-setiathome-v7/files/patch-configure.ac (rev 0)
+++ trunk/astro/boinc-setiathome-v7/files/patch-configure.ac 2015-03-07 21:53:01 UTC (rev 18077)
@@ -0,0 +1,32 @@
+--- configure.ac.orig 2013-07-02 22:51:54.000000000 +0200
++++ configure.ac 2013-07-11 21:40:55.000000000 +0200
+@@ -5,17 +5,10 @@
+
+ AC_PREREQ(2.57)
+ AC_INIT(setiathome_v7, 7.00, korpela at ssl.berkeley.edu)
+-svnrev="`svn info | grep Revision:`"
+
+-if test -n "${svnrev}" ; then
+- AC_REVISION("${svnrev}")
+- AC_DEFINE_UNQUOTED(SVN_REV,"${svnrev}",
+- [Define to be the subversion revision number])
+-else
+- AC_REVISION([$Revision: 1146 $])
+- AC_DEFINE(SVN_REV,"$Revision: 1146 $",
+- [Define to be the subversion revision number])
+-fi
++AC_REVISION([$Revision: 1924 $])
++AC_DEFINE(SVN_REV,"$Revision: 1924 $",
++ [Define to be the subversion revision number])
+
+ AC_CANONICAL_TARGET
+ AM_INIT_AUTOMAKE(dist-zip)
+@@ -55,8 +48,6 @@
+ fi
+
+ # set posix source on linux
+-CFLAGS="-D_POSIX_C_SOURCE=1 ${CFLAGS}"
+-CXXFLAGS="-D_POSIX_C_SOURCE=1 ${CXXFLAGS}"
+
+ AC_ARG_ENABLE(intrinsics,
+ AS_HELP_STRING([--disable-intrinsics],
Property changes on: trunk/astro/boinc-setiathome-v7/files/patch-configure.ac
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/astro/boinc-setiathome-v7/files/patch-m4__sah_check_boinc.m4
===================================================================
--- trunk/astro/boinc-setiathome-v7/files/patch-m4__sah_check_boinc.m4 (rev 0)
+++ trunk/astro/boinc-setiathome-v7/files/patch-m4__sah_check_boinc.m4 2015-03-07 21:53:01 UTC (rev 18077)
@@ -0,0 +1,11 @@
+--- m4/sah_check_boinc.m4.orig 2008-09-09 18:55:19.000000000 +0200
++++ m4/sah_check_boinc.m4 2011-03-13 16:24:18.000000000 +0100
+@@ -30,7 +30,7 @@
+ cd $thisdir
+ break
+ else
+- if $FIND $boinc_dir -name "std_fixes.h" >& /dev/null
++ if $FIND $boinc_dir -name "std_fixes.h" > /dev/null
+ then
+ BOINCDIR=`$FIND $boinc_dir -name "std_fixes.h" -print | $HEAD -1 | sed 's/\/std_fixes.h//'`
+ cd $BOINCDIR/..
Property changes on: trunk/astro/boinc-setiathome-v7/files/patch-m4__sah_check_boinc.m4
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/astro/boinc-setiathome-v7/files/patch-sah_config.h
===================================================================
--- trunk/astro/boinc-setiathome-v7/files/patch-sah_config.h (rev 0)
+++ trunk/astro/boinc-setiathome-v7/files/patch-sah_config.h 2015-03-07 21:53:01 UTC (rev 18077)
@@ -0,0 +1,11 @@
+--- sah_config.h.orig 2012-09-19 00:45:14.000000000 +0200
++++ sah_config.h 2013-07-19 18:35:22.000000000 +0200
+@@ -21,7 +21,7 @@
+ #define AVX_MASKSTORE_TYPECAST(x) reinterpret_cast<__m256i>(x)
+
+ /* Define to 1 to build a graphical application */
+-#define BOINC_APP_GRAPHICS 1
++/* #undef BOINC_APP_GRAPHICS */
+
+ /* Define to a string identifying your compiler */
+ #define COMPILER_STRING "g++ (GCC) 4.4.6 20110731 (Red Hat 4.4.6-3)"
Property changes on: trunk/astro/boinc-setiathome-v7/files/patch-sah_config.h
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/astro/boinc-setiathome-v7/files/pkg-deinstall.in
===================================================================
--- trunk/astro/boinc-setiathome-v7/files/pkg-deinstall.in (rev 0)
+++ trunk/astro/boinc-setiathome-v7/files/pkg-deinstall.in 2015-03-07 21:53:01 UTC (rev 18077)
@@ -0,0 +1,26 @@
+#!/bin/sh
+
+# $FreeBSD$
+
+if [ "$2" != "POST-DEINSTALL" ]; then
+ exit 0
+fi
+
+F=%%BOINC_CLIENT_HOME%%/projects/%%SETI_SITE%%/app_info.xml
+echo Removing setiathome_v7 lines from $F
+
+l=`grep -n "<name>setiathome_v7</name>" $F | cut -f 1 -d :`
+if [ $? -ne 0 ]; then
+ echo $F is corrupt
+ exit 1
+fi
+l1=$(($l-1))
+l2=$(($l+13))
+sed -i.bak "${l1},${l2}d" $F # sed wants the braces
+rm $F.bak
+
+l=`wc -l $F | cut -f 1 -d / | sed 's/ //g'`
+if [ $l -eq 2 ]; then
+ echo Removing empty $F
+ rm $F
+fi
Property changes on: trunk/astro/boinc-setiathome-v7/files/pkg-deinstall.in
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/astro/boinc-setiathome-v7/files/pkg-install.in
===================================================================
--- trunk/astro/boinc-setiathome-v7/files/pkg-install.in (rev 0)
+++ trunk/astro/boinc-setiathome-v7/files/pkg-install.in 2015-03-07 21:53:01 UTC (rev 18077)
@@ -0,0 +1,39 @@
+#!/bin/sh
+
+# $FreeBSD$
+
+if [ "$2" != "POST-INSTALL" ]; then
+ exit 0
+fi
+
+F=%%BOINC_CLIENT_HOME%%/projects/%%SETI_SITE%%/app_info.xml
+
+if [ ! -f $F ]; then
+ echo Creating new $F
+ echo "<app_info>" > $F
+ echo "</app_info>" >> $F
+ chown %%BOINC_CLIENT_USER%%:%%BOINC_CLIENT_GROUP%% $F
+fi
+
+echo Adding setiathome_v7 lines to $F
+ed - $F <<EOF
+1a
+<app>
+<name>setiathome_v7</name>
+</app>
+<file_info>
+<name>%%SETI_BINARY%%</name>
+<executable/>
+</file_info>
+<app_version>
+<app_name>setiathome_v7</app_name>
+<version_num>%%SETI_VERSION%%</version_num>
+<file_ref>
+<file_name>%%SETI_BINARY%%</file_name>
+<main_program/>
+</file_ref>
+</app_version>
+.
+w
+q
+EOF
Property changes on: trunk/astro/boinc-setiathome-v7/files/pkg-install.in
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/astro/boinc-setiathome-v7/files/pkg-message.in
===================================================================
--- trunk/astro/boinc-setiathome-v7/files/pkg-message.in (rev 0)
+++ trunk/astro/boinc-setiathome-v7/files/pkg-message.in 2015-03-07 21:53:01 UTC (rev 18077)
@@ -0,0 +1,16 @@
+*****************************************************************************
+ATTACHING PROJECT
+
+Just run boinc_gui (if installed), choose Attach, and follow instructions.
+Project URL is %%SETI_SITE%%
+
+MANUAL INSTALLATION
+ *) If this is your first time in any BOINC project, create a new account at
+ http://%%SETI_SITE%%/create_account_form.php
+
+ *) Or get your account key at http://%%SETI_SITE%%/get_passwd.php
+
+ *) Attach to the project:
+ cd %%BOINC_CLIENT_HOME%%
+ boinccmd --project_attach %%SETI_SITE%% <account key>
+*****************************************************************************
Property changes on: trunk/astro/boinc-setiathome-v7/files/pkg-message.in
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/astro/boinc-setiathome-v7/pkg-descr
===================================================================
--- trunk/astro/boinc-setiathome-v7/pkg-descr (rev 0)
+++ trunk/astro/boinc-setiathome-v7/pkg-descr 2015-03-07 21:53:01 UTC (rev 18077)
@@ -0,0 +1,9 @@
+SETI - Search for Extra-Terrestrial Intelligence -- Version 7
+
+Use your unused CPU cycles to aid in computations analyzing radio
+telescope information for possible signs of extra-terrestrial intelligence.
+
+The port automatically optimizes for the host CPU using the CPUTYPE
+variable in /etc/make.conf
+
+WWW: http://setiathome.berkeley.edu/
Property changes on: trunk/astro/boinc-setiathome-v7/pkg-descr
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/astro/boinc-setiathome-v7/pkg-plist
===================================================================
--- trunk/astro/boinc-setiathome-v7/pkg-plist (rev 0)
+++ trunk/astro/boinc-setiathome-v7/pkg-plist 2015-03-07 21:53:01 UTC (rev 18077)
@@ -0,0 +1,9 @@
+ at owner %%BOINC_CLIENT_USER%%
+ at group %%BOINC_CLIENT_GROUP%%
+ at dir %%BOINC_CLIENT_HOME%%
+ at dir %%BOINC_CLIENT_HOME%%/projects/
+ at dir %%BOINC_CLIENT_HOME%%/projects/%%SETI_SITE%%
+%%BOINC_CLIENT_HOME%%/projects/%%SETI_SITE%%/%%SETI_BINARY%%
+%%X11%%%%BOINC_CLIENT_HOME%%/projects/%%SETI_SITE%%/seti_graphics
+ at owner root
+ at group wheel
Property changes on: trunk/astro/boinc-setiathome-v7/pkg-plist
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
More information about the Midnightbsd-cvs
mailing list