Skip site navigation (1)Skip section navigation (2)
Date:      Wed,  2 Aug 2006 03:31:15 +0300 (IDT)
From:      Yonatan <onatan@gmail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/101235: New port: biology/foldingathome - Folding@Home distributed computing client
Message-ID:  <20060802003115.1E77D2841A@laptop.afarsec.com>
Resent-Message-ID: <200608020040.k720eDmK079263@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         101235
>Category:       ports
>Synopsis:       New port: biology/foldingathome - Folding@Home distributed computing client
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Aug 02 00:40:13 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Yonatan
>Release:        FreeBSD 6.1-STABLE i386
>Organization:
Afarsec
>Environment:
System: FreeBSD laptop.afarsec.com 6.1-STABLE FreeBSD 6.1-STABLE #1: Fri Jun 23 12:39:24 IDT 2006 root@laptop.afarsec.com:/usr/obj/usr/src/sys/GENERIC i386
>Description:
This is some wrapping around the Linux version of Folding@Home.
Please veryfy my work in 2 main areas:
1. After downloading Work Unit, the port says something about "unzipping" it.
Please verify that this is an internal phrasing, and that archivers/unzip
is not required.
2. Just before churning, there is some message that speaks about License. As
far as I can tell, the license is GPL, but IANAL.
>How-To-Repeat:
N/A
>Fix:

--- foldingathome.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	.
#	./Makefile
#	./distinfo
#	./scripts
#	./scripts/FoldingAtHome
#	./pkg-descr
#
echo c - .
mkdir -p . > /dev/null 2>&1
echo x - ./Makefile
sed 's/^X//' >./Makefile << 'END-of-./Makefile'
X# Ports collection makefile for:  foldingathome
X# Date created:			  2/8/2006
X# Whom:				  Yonatan <onatan@gmail.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	foldingathome
XPORTVERSION=	5.02
XCATEGORIES=	biology
XMASTER_SITES=	http://www.stanford.edu/group/pandegroup/release/
XDISTNAME=	FAH${PORTVERSION:S/.//}-Linux
XEXTRACT_SUFX=	.exe
X
XMAINTAINER=	onatan@gmail.com
XCOMMENT=	Distributed client for Protein Folding
X
XUSE_LINUX=	yes
XREINPLACE_ARGS=
XPLIST_FILES=	share/${PORTNAME}/${DISTNAME}${EXTRACT_SUFX} \
X		bin/FoldingAtHome
X
Xdo-extract:
X	${MKDIR} ${WRKSRC}
X	${CP} ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} ${WRKSRC}
X
Xdo-build:
X	${BRANDELF} -t Linux ${WRKSRC}/${DISTNAME}${EXTRACT_SUFX}
X	${CHMOD} 755 ${WRKSRC}/${DISTNAME}${EXTRACT_SUFX}
X
Xdo-install:
X	${MKDIR} ${PREFIX}/bin
X	${REINPLACE_CMD} -e "s|DATADIR|${DATADIR}|" ${SCRIPTDIR}/FoldingAtHome \
X		| ${REINPLACE_CMD} -e "s|BINNAME|${DISTNAME}${EXTRACT_SUFX}|" \
X		> ${PREFIX}/bin/FoldingAtHome
X	${CHMOD} 755 ${PREFIX}/bin/FoldingAtHome
X	${MKDIR} ${DATADIR}
X	${CP} ${WRKSRC}/${DISTNAME}${EXTRACT_SUFX} ${DATADIR}/
X
X.include <bsd.port.mk>
END-of-./Makefile
echo x - ./distinfo
sed 's/^X//' >./distinfo << 'END-of-./distinfo'
XMD5 (FAH502-Linux.exe) = 4855e808fb94e6d2c5fde345aea0cdc3
XSHA256 (FAH502-Linux.exe) = 02e2d3665a6e8f8fc89c7751b8faadff6885d34860643bdd4107d92825754d33
XSIZE (FAH502-Linux.exe) = 249236
END-of-./distinfo
echo c - ./scripts
mkdir -p ./scripts > /dev/null 2>&1
echo x - ./scripts/FoldingAtHome
sed 's/^X//' >./scripts/FoldingAtHome << 'END-of-./scripts/FoldingAtHome'
X#!/bin/sh
XCURDIR=`pwd`
Xcd DATADIR
Xnice -n 20 ./BINNAME -freeBSD
Xcd $CURDIR
END-of-./scripts/FoldingAtHome
echo x - ./pkg-descr
sed 's/^X//' >./pkg-descr << 'END-of-./pkg-descr'
XFolding@Home is a distributed computing project -- people from through out the
Xworld download and run software to band together to make one of the largest
Xsupercomputers in the world. Every computer makes the project closer to our
Xgoals.
XFolding@Home uses novel computational methods coupled to distributed computing,
Xto simulate problems thousands to millions of times more challenging than
Xpreviously achieved. 
X
XWWW: http://folding.standford.edu
END-of-./pkg-descr
exit
--- foldingathome.shar ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060802003115.1E77D2841A>