[Midnightbsd-cvs] mports: mports/astro: add boinc projects.
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Thu Oct 2 10:36:00 EDT 2008
Log Message:
-----------
add boinc projects.
Modified Files:
--------------
mports/astro:
Makefile (r1.3 -> r1.4)
Added Files:
-----------
mports/astro/boinc-einsteinathome:
Makefile (r1.1)
distinfo (r1.1)
pkg-descr (r1.1)
pkg-plist (r1.1)
mports/astro/boinc-einsteinathome/files:
pkg-message.in (r1.1)
mports/astro/boinc-milkyway:
Makefile (r1.1)
distinfo (r1.1)
pkg-descr (r1.1)
pkg-plist (r1.1)
mports/astro/boinc-milkyway/files:
app_info.xml.in (r1.1)
pkg-message.in (r1.1)
mports/astro/boinc-setiathome-enhanced:
Makefile (r1.1)
distinfo (r1.1)
pkg-descr (r1.1)
pkg-message (r1.1)
pkg-plist (r1.1)
mports/astro/boinc-setiathome-enhanced/files:
app_info.xml.in (r1.1)
patch-amd64 (r1.1)
-------------- next part --------------
--- /dev/null
+++ astro/boinc-einsteinathome/pkg-descr
@@ -0,0 +1,13 @@
+Einstein at Home - Search for gravitational waves
+
+Use your unused CPU cycles to aid in computations analyzing telescope
+information for possible gravitational waves emitted by pulsars as
+predicted by Albert Einstein.
+
+Einstein at home is based on BOINC (Berkeley Open Infrastructure for
+Network Computing). Several other projects besides Einstein at 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.
+
+WWW: http://einstein.phys.uwm.edu/
--- /dev/null
+++ astro/boinc-einsteinathome/pkg-plist
@@ -0,0 +1,4 @@
+ at cwd %%BOINC_HOME%%
+projects/%%EINSTEIN_SITE%%/app_info.xml
+projects/%%EINSTEIN_SITE%%/%%EINSTEIN_BINARY%%
+ at unexec rmdir %D/projects/%%EINSTEIN_SITE%% 2>/dev/null || true
--- /dev/null
+++ astro/boinc-einsteinathome/Makefile
@@ -0,0 +1,56 @@
+# New ports collection makefile for: boinc-einsteinathome
+# Date created: 20 February 2006
+# Whom: Rene Ladan <r.c.ladan at student.tue.nl>
+#
+# $MidnightBSD: mports/astro/boinc-einsteinathome/Makefile,v 1.1 2008/10/02 14:35:57 laffer1 Exp $
+# $FreeBSD: ports/astro/boinc-einsteinathome/Makefile,v 1.11 2008/06/06 13:02:55 edwin Exp $
+#
+
+PORTNAME= boinc-einsteinathome
+PORTVERSION= 4.18
+CATEGORIES= astro
+MASTER_SITES= http://einstein.phys.uwm.edu/app_test/FreeBSD/
+DISTNAME= einstein_S5R3_${PORTVERSION}_i386-unknown-freebsd
+
+MAINTAINER= ports at MidnightBSD.org
+COMMENT= Search for gravitational waves, a distributed computing project
+LICENSE= unknown
+
+.include <bsd.port.pre.mk>
+
+ONLY_FOR_ARCHS= i386 amd64
+
+LIB_DEPENDS+= c.5:${PORTSDIR}/misc/compat5x
+RUN_DEPENDS+= boinc_client:${PORTSDIR}/net/boinc-client
+
+NO_BUILD= yes
+NO_WRKSUBDIR= yes
+STRIP= #
+
+# these must match settings in ${PORTSDIR}/net/boinc-client/Makefile
+BOINC_USER?= boinc
+BOINC_GROUP?= nobody
+BOINC_HOME?= /var/db/boinc
+
+EINSTEIN_SITE= einstein.phys.uwm.edu
+EINSTEIN_BINARY=${DISTNAME}
+
+.if ${ARCH} == amd64
+AMD64= ""
+.else
+AMD64= "@comment "
+.endif
+
+SUB_FILES= pkg-message
+SUB_LIST= AMD64=${AMD64}
+
+PLIST_SUB= EINSTEIN_BINARY="${EINSTEIN_BINARY}" EINSTEIN_SITE=${EINSTEIN_SITE} \
+ BOINC_HOME=${BOINC_HOME}
+
+do-install:
+ ${INSTALL} -d -o ${BOINC_USER} -g ${BOINC_GROUP} ${FAKE_DESTDIR}${BOINC_HOME}/projects
+ ${INSTALL} -d -o ${BOINC_USER} -g ${BOINC_GROUP} ${FAKE_DESTDIR}${BOINC_HOME}/projects/${EINSTEIN_SITE}
+ ${INSTALL_DATA} -o ${BOINC_USER} -g ${BOINC_GROUP} ${WRKDIR}/projects/${EINSTEIN_SITE}/app_info.xml ${FAKE_DESTDIR}${BOINC_HOME}/projects/${EINSTEIN_SITE}
+ ${INSTALL_PROGRAM} -o ${BOINC_USER} -g ${BOINC_GROUP} ${WRKSRC}/projects/${EINSTEIN_SITE}/${EINSTEIN_BINARY} ${FAKE_DESTDIR}${BOINC_HOME}/projects/${EINSTEIN_SITE}
+
+.include <bsd.port.post.mk>
--- /dev/null
+++ astro/boinc-einsteinathome/distinfo
@@ -0,0 +1,3 @@
+MD5 (einstein_S5R3_4.18_i386-unknown-freebsd.tar.gz) = adef424a702f7b122148bb5b77e370a8
+SHA256 (einstein_S5R3_4.18_i386-unknown-freebsd.tar.gz) = b0aa778225211d5d83e955b8b3a85d75e1a4dfa41e400d03ee626aa65a336f35
+SIZE (einstein_S5R3_4.18_i386-unknown-freebsd.tar.gz) = 1193948
--- /dev/null
+++ astro/boinc-einsteinathome/files/pkg-message.in
@@ -0,0 +1,20 @@
+ATTACHING PROJECT
+
+Just run boinc_gui, choose Attach, and follow instructions.
+Project URL is einstein.phys.uwm.edu
+
+MANUAL INSTALLATION
+ *) If this is your first time in any BOINC project, create a new account at
+ http://einstein.phys.uwm.edu/create_account_form.php
+
+ *) Or get your account key at http://einstein.phys.uwm.edu/get_passwd.php
+
+ *) Attach to the project:
+ cd /var/db/boinc
+ boinc_cmd --project_attach einstein.phys.uwm.edu <account key>
+
+%%AMD64%% IMPORTANT NOTICE FOR AMD64 USERS:
+%%AMD64%%
+%%AMD64%% You have to have this line in /etc/libmap32.conf:
+%%AMD64%% libpthread.so.1 libc_r.so.5
+%%AMD64%% before you attach the project. Otherwise it will not work.
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/astro/Makefile,v
retrieving revision 1.3
retrieving revision 1.4
diff -L astro/Makefile -L astro/Makefile -u -r1.3 -r1.4
--- astro/Makefile
+++ astro/Makefile
@@ -3,6 +3,9 @@
COMMENT = Astronomical ports
+ SUBDIR += boinc-einsteinathome
+ SUBDIR += boinc-milkyway
+ SUBDIR += boinc-setiathome-enhanced
SUBDIR += google-earth
SUBDIR += luna
SUBDIR += xearth
--- /dev/null
+++ astro/boinc-milkyway/pkg-descr
@@ -0,0 +1,4 @@
+Milkyway at home is a research project that uses Internet-connected computers to
+do research in modeling and determining the evolution of the Milkyway galaxy.
+
+WWW: http://milkyway.cs.rpi.edu/milkyway/
--- /dev/null
+++ astro/boinc-milkyway/pkg-plist
@@ -0,0 +1,4 @@
+ at cwd %%BOINC_HOME%%
+projects/%%MILKYWAY_SITE%%/app_info.xml
+projects/%%MILKYWAY_SITE%%/%%MILKYWAY_BINARY%%
+ at unexec rmdir %D/projects/%%MILKYWAY_SITE%% 2>/dev/null || true
--- /dev/null
+++ astro/boinc-milkyway/Makefile
@@ -0,0 +1,66 @@
+# New ports collection makefile for: boinc-milkyway
+# Date created: 8 August 2008
+# Whom: Pav Lucistnik <pav at FreeBSD.org>
+#
+# $MidnightBSD: mports/astro/boinc-milkyway/Makefile,v 1.1 2008/10/02 14:35:57 laffer1 Exp $
+# $FreeBSD: ports/astro/boinc-milkyway/Makefile,v 1.1 2008/08/08 22:22:38 pav Exp $
+#
+
+PORTNAME= boinc-milkyway
+PORTVERSION= 1.21
+CATEGORIES= astro
+MASTER_SITES= http://milkyway.cs.rpi.edu/milkyway/download/
+DISTNAME= astronomy_${PORTVERSION}_${ARCH}-unknown-freebsd
+
+MAINTAINER= ports at MidnightBSD.org
+COMMENT= Modelling the evolution of the Milkyway Galaxy
+LICENSE= unknown
+
+EXTRACT_SUFX= #
+
+.include <bsd.port.pre.mk>
+
+ONLY_FOR_ARCHS= i386 amd64
+
+.if ${OSVERSION} >= 700000
+LIB_DEPENDS+= c.6:${PORTSDIR}/misc/compat6x
+.endif
+
+RUN_DEPENDS+= boinc_client:${PORTSDIR}/net/boinc-client
+
+NO_BUILD= yes
+NO_WRKSUBDIR= yes
+STRIP= #
+
+# these must match settings in ${PORTSDIR}/net/boinc-client/Makefile
+BOINC_USER?= boinc
+BOINC_GROUP?= nobody
+BOINC_HOME?= /var/db/boinc
+
+MILKYWAY_SITE= milkyway.cs.rpi.edu_milkyway
+MILKYWAY_URL= milkyway.cs.rpi.edu/milkyway
+MILKYWAY_BINARY=${DISTNAME}
+
+.if ${ARCH} == amd64
+AMD64= ""
+.else
+AMD64= "@comment "
+.endif
+
+SUB_FILES= pkg-message app_info.xml
+SUB_LIST= AMD64=${AMD64} MILKYWAY_VERSION=${PORTVERSION:S/.//} MILKYWAY_BINARY="${MILKYWAY_BINARY}"
+
+PLIST_SUB= MILKYWAY_BINARY="${MILKYWAY_BINARY}" MILKYWAY_SITE=${MILKYWAY_SITE} \
+ BOINC_HOME=${BOINC_HOME}
+
+do-extract:
+ @${MKDIR} ${WRKDIR}
+ @${CP} ${DISTDIR}/${DISTNAME} ${WRKDIR}
+
+do-install:
+ ${INSTALL} -d -o ${BOINC_USER} -g ${BOINC_GROUP} ${FAKE_DESTDIR}${BOINC_HOME}/projects
+ ${INSTALL} -d -o ${BOINC_USER} -g ${BOINC_GROUP} ${FAKE_DESTDIR}${BOINC_HOME}/projects/${MILKYWAY_SITE}
+ ${INSTALL_DATA} -o ${BOINC_USER} -g ${BOINC_GROUP} ${WRKDIR}/app_info.xml ${FAKE_DESTDIR}${BOINC_HOME}/projects/${MILKYWAY_SITE}
+ ${INSTALL_PROGRAM} -o ${BOINC_USER} -g ${BOINC_GROUP} ${WRKDIR}/${MILKYWAY_BINARY} ${FAKE_DESTDIR}${BOINC_HOME}/projects/${MILKYWAY_SITE}
+
+.include <bsd.port.post.mk>
--- /dev/null
+++ astro/boinc-milkyway/distinfo
@@ -0,0 +1,6 @@
+MD5 (astronomy_1.21_amd64-unknown-freebsd) = b0e2def4033f1d6931b9aea552c6abe6
+SHA256 (astronomy_1.21_amd64-unknown-freebsd) = fe17316df1de0916af60e23b8953be4329514ba1dd0fb691df1b46801a7a464d
+SIZE (astronomy_1.21_amd64-unknown-freebsd) = 315101
+MD5 (astronomy_1.21_i386-unknown-freebsd) = 0c7db6aec0895c2ff2bb071b2b202797
+SHA256 (astronomy_1.21_i386-unknown-freebsd) = 5e1a1af979c18c1056df905a81174374add773c1d746127a0304b76f2fd58bd5
+SIZE (astronomy_1.21_i386-unknown-freebsd) = 288688
--- /dev/null
+++ astro/boinc-milkyway/files/app_info.xml.in
@@ -0,0 +1,17 @@
+<app_info>
+<app>
+<name>astronomy</name>
+</app>
+<file_info>
+<name>%%MILKYWAY_BINARY%%</name>
+<executable/>
+</file_info>
+<app_version>
+<app_name>astronomy</app_name>
+<version_num>%%MILKYWAY_VERSION%%</version_num>
+<file_ref>
+<file_name>%%MILKYWAY_BINARY%%</file_name>
+<main_program/>
+</file_ref>
+</app_version>
+</app_info>
--- /dev/null
+++ astro/boinc-milkyway/files/pkg-message.in
@@ -0,0 +1,20 @@
+ATTACHING PROJECT
+
+Just run boinc_gui, choose Attach, and follow instructions.
+Project URL is milkyway.cs.rpi.edu/milkyway
+
+MANUAL INSTALLATION
+ *) If this is your first time in any BOINC project, create a new account at
+ http://milkyway.cs.rpi.edu/milkyway/create_account_form.php
+
+ *) Or get your account key at http://milkyway.cs.rpi.edu/milkyway/get_passwd.php
+
+ *) Attach to the project:
+ cd /var/db/boinc
+ boinc_cmd --project_attach milkyway.cs.rpi.edu/milkyway <account key>
+
+%%AMD64%% IMPORTANT NOTICE FOR AMD64 USERS:
+%%AMD64%%
+%%AMD64%% You have to have this line in /etc/libmap32.conf:
+%%AMD64%% libpthread.so.1 libc_r.so.5
+%%AMD64%% before you attach the project. Otherwise it will not work.
--- /dev/null
+++ astro/boinc-setiathome-enhanced/pkg-message
@@ -0,0 +1,14 @@
+ATTACHING PROJECT
+
+Just run boinc_gui, choose Attach, and follow instructions.
+Project URL is setiathome.berkeley.edu
+
+MANUAL INSTALLATION
+ *) If this is your first time in any BOINC project, create a new account at
+ http://setiathome.berkeley.edu/create_account_form.php
+
+ *) Or get your account key at http://setiathome.berkeley.edu/get_passwd.php
+
+ *) Attach to the project:
+ cd /var/db/boinc
+ boinc_cmd --project_attach setiathome.berkeley.edu <account key>
--- /dev/null
+++ astro/boinc-setiathome-enhanced/pkg-descr
@@ -0,0 +1,19 @@
+SETI - Search for Extra-Terrestrial Intelligence -- Enhanced version
+
+Use your unused CPU cycles to aid in computations analyzing radio
+telescope information for possible signs of extra-terrestrial intelligence.
+The project exclusively uses the enhanced version since 2006-05-17.
+
+The port automatically optimizes for the host CPU using the CPUTYPE
+variable in /etc/make.conf
+
+Note that there is currently no screensaver support in this version.
+
+The source archive is a repackaged version of
+setiathome_enhanced-client-cvs-2007-08-08.tar.gz at
+http://setiathome.berkeley.edu/seti_source/nightly[/old]/ :
+* The screensaver and server code is removed
+* The configure and Makefile scripts are regenerated to match the
+ net/boinc-client port
+
+WWW: http://setiathome.berkeley.edu/
--- /dev/null
+++ astro/boinc-setiathome-enhanced/pkg-plist
@@ -0,0 +1,4 @@
+ at cwd %%BOINC_HOME%%/projects
+%%SETI_SITE%%/app_info.xml
+%%SETI_SITE%%/%%SETI_BINARY%%
+ at dirrmtry %%SETI_SITE%%
--- /dev/null
+++ astro/boinc-setiathome-enhanced/Makefile
@@ -0,0 +1,94 @@
+# New ports collection makefile for: boinc-setiathome-enhanced
+# Date created: 26 March 2006
+# Whom: Rene Ladan <r.c.ladan at student.tue.nl>
+#
+# $MidnightBSD: mports/astro/boinc-setiathome-enhanced/Makefile,v 1.1 2008/10/02 14:35:58 laffer1 Exp $
+# $FreeBSD: ports/astro/boinc-setiathome-enhanced/Makefile,v 1.17 2008/06/06 13:02:55 edwin Exp $
+
+PORTNAME= boinc-setiathome-enhanced
+PORTVERSION= 5.27
+CATEGORIES= astro
+MASTER_SITES= ftp://rene-ladan.nl/pub/distfiles/
+
+MAINTAINER= ports at MidnightBSD.org
+COMMENT= Setiathome Enhanced for BOINC
+LICENSE= gpl2
+
+BUILD_DEPENDS= ${LOCALBASE}/include/fftw3.h:${PORTSDIR}/math/fftw3 \
+ ${LOCALBASE}/include/BOINC/std_fixes.h:${PORTSDIR}/net/boinc-client
+# fftw3f is statically linked :
+LIB_DEPENDS= fftw3f:${PORTSDIR}/math/fftw3-float
+RUN_DEPENDS= boinc_client:${PORTSDIR}/net/boinc-client
+
+USE_GMAKE= yes
+
+# The compiler flags below are copied from m4/optimizations.m4,
+# leaving out the -march flag which is set by /usr/share/mk/bsd.cpu.mk
+.if ${MACHINE_CPU:Msse3}
+CFLAGS+= -msse3
+.elif ${MACHINE_CPU:Msse2}
+CFLAGS+= -msse2
+.elif ${MACHINE_CPU:Msse}
+CFLAGS+= -msse
+.endif
+.if ${MACHINE_CPU:Mmmx}
+CFLAGS+= -mmmx
+.endif
+.ifdef ${MACHINE_CPU:M3dnow}
+CFLAGS+= -m3dnow
+.endif
+.if ${MACHINE_CPU:Msse3} || ${MACHINE_CPU:Msse2} || ${MACHINE_CPU:Msse}
+CFLAGS+= -mfpmath=sse
+.else
+CFLAGS+= -mfpmath=387
+.endif
+# From http://www.lb.shuttle.de/apastron/boincDown.shtml :
+# what about other 64 bit archs (especially S/390, see gcc.info.gz) ?
+.ifdef ${MACHINE_CPU:Mamd64}
+CFLAGS+= -m64
+.endif
+# no SPARC options (-mvis) available for autodection
+
+CFLAGS+= -I${LOCALBASE}/include -funroll-loops -ffast-math -O3
+CXXFLAGS+= ${CFLAGS}
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= CFLAGS="${CFLAGS}" \
+ CXXFLAGS="${CXXFLAGS}" \
+ BOINCDIR="${LOCALBASE}"
+
+# these must match settings in ${PORTSDIR}/net/boinc-client/Makefile
+BOINC_USER?= boinc
+BOINC_GROUP?= nobody
+BOINC_HOME?= /var/db/boinc
+
+SETI_SITE= setiathome.berkeley.edu
+SETI_BINARY= setiathome-${PORTVERSION}.${ARCH}-portbld-freebsd
+
+SUB_FILES= app_info.xml
+SUB_LIST= STRIPPED_PORTVERSION=${PORTVERSION:S/.//} \
+ SETI_BINARY="${SETI_BINARY}"
+
+PLIST_SUB= SETI_BINARY="${SETI_BINARY}" SETI_SITE=${SETI_SITE} \
+ BOINC_HOME=${BOINC_HOME}
+
+PORTDOCS= AUTHORS COPYING COPYRIGHT README checkin_notes
+do-install:
+ ${MKDIR} -p ${FAKE_DESTDIR}${BOINC_HOME}/projects/${SETI_SITE}
+ ${INSTALL} -d -o ${BOINC_USER} -g ${BOINC_GROUP} ${BOINC_HOME}/projects
+ ${INSTALL} -d -o ${BOINC_USER} -g ${BOINC_GROUP} ${BOINC_HOME}/projects/${SETI_SITE}
+ ${INSTALL_PROGRAM} -o ${BOINC_USER} -g ${BOINC_GROUP} ${WRKSRC}/client/${SETI_BINARY} ${FAKE_DESTDIR}${BOINC_HOME}/projects/${SETI_SITE}/
+ ${INSTALL_DATA} -o ${BOINC_USER} -g ${BOINC_GROUP} ${WRKDIR}/app_info.xml ${FAKE_DESTDIR}${BOINC_HOME}/projects/${SETI_SITE}/
+.ifndef NOPORTDOCS
+ @${MKDIR} ${DOCSDIR}
+.for file in ${PORTDOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}/${file}
+.endfor
+.endif
+
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} == "sparc64"
+BROKEN= Does not install
+.endif
+
+.include <bsd.port.post.mk>
--- /dev/null
+++ astro/boinc-setiathome-enhanced/distinfo
@@ -0,0 +1,3 @@
+MD5 (boinc-setiathome-enhanced-5.27.tar.gz) = 272bc31ba5aeabcc2f2038764f5b0e97
+SHA256 (boinc-setiathome-enhanced-5.27.tar.gz) = a1f47075acf47a3ff503d4b82443448cafcbb3fda98447a3487829ca73191c4e
+SIZE (boinc-setiathome-enhanced-5.27.tar.gz) = 646840
--- /dev/null
+++ astro/boinc-setiathome-enhanced/files/patch-amd64
@@ -0,0 +1,9 @@
+--- configure 2007-09-01 04:00:21.000000000 -0400
++++ configure 2008-01-06 11:24:56.000000000 -0500
+@@ -41958,5 +41958,5 @@
+ fi
+
+- if test -n "`echo ${target} | grep 'x86_64'`"; then
++ if test -n "`echo ${target} | egrep 'x86_64|amd64'`"; then
+ X86_64_TRUE=
+ X86_64_FALSE='#'
--- /dev/null
+++ astro/boinc-setiathome-enhanced/files/app_info.xml.in
@@ -0,0 +1,17 @@
+<app_info>
+ <app>
+ <name>setiathome_enhanced</name>
+ </app>
+ <file_info>
+ <name>%%SETI_BINARY%%</name>
+ <executable/>
+ </file_info>
+ <app_version>
+ <app_name>setiathome_enhanced</app_name>
+ <version_num>%%STRIPPED_PORTVERSION%%</version_num>
+ <file_ref>
+ <file_name>%%SETI_BINARY%%</file_name>
+ <main_program/>
+ </file_ref>
+ </app_version>
+</app_info>
More information about the Midnightbsd-cvs
mailing list