Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Jul 2006 15:55:19 +0200 (CEST)
From:      Rene Ladan <r.c.ladan@gmail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/101022: [MAINTAINER] astro/boinc-setiathome-enhanced: update to 5.13
Message-ID:  <200607291355.k6TDtJu0010287@82-168-79-254.dsl.ip.tiscali.nl>
Resent-Message-ID: <200607291400.k6TE0VYt001719@freefall.freebsd.org>

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

>Number:         101022
>Category:       ports
>Synopsis:       [MAINTAINER] astro/boinc-setiathome-enhanced: update to 5.13
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jul 29 14:00:31 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Rene Ladan
>Release:        FreeBSD 6.1-RELEASE-p2 i386
>Organization:
>Environment:
System: FreeBSD 82-168-79-254.dsl.ip.tiscali.nl 6.1-RELEASE-p2 FreeBSD 6.1-RELEASE-p2 #4: Sat Jun 17 23:10:00 CEST 2006
>Description:
- Update to 5.13

- Use source build.

- Survives `portlint -A` and `port test`

Added file(s):
- files/app_info.xml.in
- pkg-message

Removed file(s):
- files/pkg-message.in

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- boinc-setiathome-enhanced-5.13.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/astro/boinc-setiathome-enhanced/Makefile /usr/home/rene/ports/boinc-setiathome-enhanced/Makefile
--- /usr/ports/astro/boinc-setiathome-enhanced/Makefile	Fri Jul 14 22:34:22 2006
+++ /usr/home/rene/ports/boinc-setiathome-enhanced/Makefile	Sat Jul 29 15:42:07 2006
@@ -5,29 +5,46 @@
 #
 
 PORTNAME=	boinc-setiathome-enhanced
-PORTVERSION=	5.12
+PORTVERSION=	5.13
 CATEGORIES=	astro
-MASTER_SITES=	http://www.lb.shuttle.de/apastron/boinc/
-DISTNAME=	seti${PORTVERSION}freebsd-i386
+MASTER_SITES=	http://home.tiscali.nl/rladan/distfiles/
 
 MAINTAINER=	r.c.ladan@gmail.com
 COMMENT=	Setiathome Enhanced for BOINC
 
-USE_BZIP2=	yes
+BUILD_DEPENDS=	${LOCALBASE}/include/fftw3.h:${PORTSDIR}/math/fftw3 \
+		${LOCALBASE}/include/BOINC/std_fixes.h:${PORTSDIR}/net/boinc-client
+# statically linked :
+LIB_DEPENDS=	fftw3f:${PORTSDIR}/math/fftw3-float
+RUN_DEPENDS=	boinc_client:${PORTSDIR}/net/boinc-client
+
+CFLAGS+=	-I${LOCALBASE}/include -funroll-loops -ffast-math -O3
+CXXFLAGS+=	${CFLAGS}
+GNU_CONFIGURE=	yes
+CONFIGURE_ENV=	CFLAGS="${CFLAGS}" \
+		CXXFLAGS="${CXXFLAGS}" \
+		BOINCDIR="${LOCALBASE}"
+CONFIGURE_ARGS=	--disable-server \
+		--disable-graphics \
+		--enable-fast-math
 
 .include <bsd.port.pre.mk>
 
-ONLY_FOR_ARCHS=	i386 amd64
-
-.if ${OSVERSION} >= 600000
-LIB_DEPENDS+=	c.5:${PORTSDIR}/misc/compat5x
-#also depends on libm.so.3, libstdc++.so.4, libpthread.so.1
+.if ${MACHINE_CPU:Msse3}
+CONFIGURE_ARGS+=	--enable-sse3
+.elif ${MACHINE_CPU:Msse2}
+CONFIGURE_ARGS+=	--enable-sse2
+.elif ${MACHINE_CPU:Msse}
+CONFIGURE_ARGS+=	--enable-sse
 .endif
 
-RUN_DEPENDS+=	boinc_client:${PORTSDIR}/net/boinc-client
+.if ${MACHINE_CPU:Mmmx}
+CONFIGURE_ARGS+=	--enable-mmx
+.endif
 
-NO_BUILD=	yes
-NO_WRKSUBDIR=	yes
+.ifdef ${MACHINE_CPU:M3dnow}
+CONFIGURE_ARGS+=	--enable-3dnow
+.endif
 
 # these must match settings in ${PORTSDIR}/net/boinc-client/Makefile
 BOINC_USER?=	boinc
@@ -35,29 +52,25 @@
 BOINC_HOME?=	/var/db/boinc
 
 SETI_SITE=	setiathome.berkeley.edu
-SETI_BINARY=	setiathome-${PORTVERSION}.i386-unknown-freebsd
-
-.if ${ARCH} == amd64 && ${OSVERSION} >= 600000
-AMD64=		""
-.else
-AMD64=		"@comment "
-.endif
+SETI_BINARY=	setiathome-${PORTVERSION}.${ARCH}-portbld-freebsd
 
-SUB_FILES=	pkg-message
-SUB_LIST=	AMD64=${AMD64}
+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:
 	${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} ${WRKDIR}/${SETI_BINARY} ${BOINC_HOME}/projects/${SETI_SITE}/
+	${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} ${BOINC_HOME}/projects/${SETI_SITE}/
 	${INSTALL_DATA} -o ${BOINC_USER} -g ${BOINC_GROUP} ${WRKDIR}/app_info.xml ${BOINC_HOME}/projects/${SETI_SITE}/
-.if !defined(NOPORTDOCS)
+.ifndef NOPORTDOCS
 	@${MKDIR} ${DOCSDIR}
-.for file in AUTHORS CHANGES COPYING COPYRIGHT README
-	${INSTALL_DATA} ${WRKDIR}/${file} ${DOCSDIR}/${file}
+.for file in ${PORTDOCS}
+	${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}/${file}
 .endfor
 .endif
 
diff -ruN --exclude=CVS /usr/ports/astro/boinc-setiathome-enhanced/distinfo /usr/home/rene/ports/boinc-setiathome-enhanced/distinfo
--- /usr/ports/astro/boinc-setiathome-enhanced/distinfo	Mon May 22 14:09:42 2006
+++ /usr/home/rene/ports/boinc-setiathome-enhanced/distinfo	Sat Jul 29 13:55:54 2006
@@ -1,3 +1,3 @@
-MD5 (seti5.12freebsd-i386.tar.bz2) = f15959f52b11305e330c28484281da51
-SHA256 (seti5.12freebsd-i386.tar.bz2) = d4813a3796da6b5dd5ac3c22bde3a75f438e68430e7ef81537c22e2cba4458a8
-SIZE (seti5.12freebsd-i386.tar.bz2) = 456053
+MD5 (boinc-setiathome-enhanced-5.13.tar.gz) = 15cbcce330cddf418573adf0f7cfc649
+SHA256 (boinc-setiathome-enhanced-5.13.tar.gz) = 86877601e21e0567a4266a6c8014606b9853a7336d9efc1255c8f25f5b7fe951
+SIZE (boinc-setiathome-enhanced-5.13.tar.gz) = 777562
diff -ruN --exclude=CVS /usr/ports/astro/boinc-setiathome-enhanced/files/app_info.xml.in /usr/home/rene/ports/boinc-setiathome-enhanced/files/app_info.xml.in
--- /usr/ports/astro/boinc-setiathome-enhanced/files/app_info.xml.in	Thu Jan  1 01:00:00 1970
+++ /usr/home/rene/ports/boinc-setiathome-enhanced/files/app_info.xml.in	Sat Jul 29 15:40:01 2006
@@ -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>
diff -ruN --exclude=CVS /usr/ports/astro/boinc-setiathome-enhanced/files/pkg-message.in /usr/home/rene/ports/boinc-setiathome-enhanced/files/pkg-message.in
--- /usr/ports/astro/boinc-setiathome-enhanced/files/pkg-message.in	Thu May 25 14:28:57 2006
+++ /usr/home/rene/ports/boinc-setiathome-enhanced/files/pkg-message.in	Thu Jan  1 01:00:00 1970
@@ -1,22 +0,0 @@
-*****************************************************************************
-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>
-*****************************************************************************
-%%AMD64%%  IMPORTANT NOTICE FOR AMD64 USERS RUNNING 6.X:
-%%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.
-%%AMD64%%*****************************************************************************
diff -ruN --exclude=CVS /usr/ports/astro/boinc-setiathome-enhanced/pkg-descr /usr/home/rene/ports/boinc-setiathome-enhanced/pkg-descr
--- /usr/ports/astro/boinc-setiathome-enhanced/pkg-descr	Mon May 22 14:09:42 2006
+++ /usr/home/rene/ports/boinc-setiathome-enhanced/pkg-descr	Sat Jul 29 15:00:33 2006
@@ -1,10 +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 ET.  The project exclusively
-uses the enhanced version as of 2006-05-17.
+telescope information for possible signs of extra-terrestrial intelligence.
+The project exclusively uses the enhanced version since 2006-05-17.
 
-This version is a FreeBSD binary built by Stefan Urbat for Pentium II
-or AMD K6 CPUs and higher (requires MMX instructions). 
+The port automatically optimizes for the host CPU using the CPUTYPE
+variable in /etc/make.conf
 
-WWW: http://www.lb.shuttle.de/apastron/boincDown.shtml#freebsd
+Note that there is currently no screensaver support in this version.
+
+The source archive is a repackaged version of
+setiathome_enhanced-client-cvs-2006-05-12.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://home.tiscali.nl/rladan/distfiles/
diff -ruN --exclude=CVS /usr/ports/astro/boinc-setiathome-enhanced/pkg-message /usr/home/rene/ports/boinc-setiathome-enhanced/pkg-message
--- /usr/ports/astro/boinc-setiathome-enhanced/pkg-message	Thu Jan  1 01:00:00 1970
+++ /usr/home/rene/ports/boinc-setiathome-enhanced/pkg-message	Sat Jul 29 13:08:45 2006
@@ -0,0 +1,16 @@
+*****************************************************************************
+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>
+*****************************************************************************
diff -ruN --exclude=CVS /usr/ports/astro/boinc-setiathome-enhanced/pkg-plist /usr/home/rene/ports/boinc-setiathome-enhanced/pkg-plist
--- /usr/ports/astro/boinc-setiathome-enhanced/pkg-plist	Fri Jul 14 22:34:22 2006
+++ /usr/home/rene/ports/boinc-setiathome-enhanced/pkg-plist	Sat Jul 29 13:26:24 2006
@@ -1,9 +1,3 @@
-%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
-%%PORTDOCS%%%%DOCSDIR%%/CHANGES
-%%PORTDOCS%%%%DOCSDIR%%/COPYING
-%%PORTDOCS%%%%DOCSDIR%%/COPYRIGHT
-%%PORTDOCS%%%%DOCSDIR%%/README
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
 @cwd %%BOINC_HOME%%/projects
 %%SETI_SITE%%/app_info.xml
 %%SETI_SITE%%/%%SETI_BINARY%%
--- boinc-setiathome-enhanced-5.13.patch ends here ---

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



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