Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Apr 2000 00:15:08 -0400 (EDT)
From:      mike@q9media.com
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/17807: Update port: astro/setiathome 
Message-ID:  <200004050415.AAA57149@merak.tct.net>

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

>Number:         17807
>Category:       ports
>Synopsis:       Update port: astro/setiathome
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Apr  4 21:20:03 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Mike Barcroft
>Release:        FreeBSD 3.4-RELEASE i386
>Organization:
Q9 Media
>Environment:
>Description:

The following is an updated port for Seti@home.  This should resolve ports/16699
and ports/17569.

diff -ruN setiathome.orig/Makefile setiathome/Makefile
--- setiathome.orig/Makefile	Tue Feb  8 04:25:46 2000
+++ setiathome/Makefile	Tue Apr  5 12:00:00 2000
@@ -1,16 +1,18 @@
 # Ports collection makefile for:    setiathome
-# Version required:     1.2
+# Version required:     2.4
 # Date created:         22 Apr 1999
 # Whom:                 stb@freebsd.org
+#			mike@q9media.com
 #
-# $FreeBSD: ports/astro/setiathome/Makefile,v 1.15 2000/02/08 09:25:46 peter Exp $
+# $FreeBSD$
 #
 
-PKGNAME=	setiathome-1.2
+PKGNAME=	setiathome-2.4
 CATEGORIES=	astro
-MASTER_SITES=   http://setiathome.ssl.berkeley.edu/software/ \
-		ftp://ftp.cdrom.com/pub/setiathome/ \
-		http://people.FreeBSD.org/~stb/mirror/setiathome.ssl.berkeley.edu/software/
+MASTER_SITES=	ftp://ftp.cdrom.com/pub/setiathome/ \
+		ftp://alien.ssl.berkeley.edu/pub/ \
+		ftp://setidata.ssl.berkeley.edu/pub/ \
+		ftp://serendip.ssl.berkeley.edu/pub/
 
 MAINTAINER=	stb@freebsd.org
 
@@ -24,36 +26,19 @@
 
 .include <bsd.port.pre.mk>
 
-.if ${OSVERSION} >= 400000
-DISTFILES=      setiathome-1.1.i386-unknown-freebsd4.0.tar
-WRKSRC=         setiathome-1.1.i386-unknown-freebsd4.0
-PKGNAME=	setiathome-1.1
-.elif ${OSVERSION} >= 320000
-DISTFILES=      setiathome-1.2.i386-unknown-freebsd3.2.tar
-WRKSRC=         setiathome-1.2.i386-unknown-freebsd3.2
-.elif ${OSVERSION} >= 310000
-DISTFILES=      setiathome-1.2.i386-unknown-freebsd3.1.tar
-WRKSRC=         setiathome-1.2.i386-unknown-freebsd3.1
-.elif ${OSVERSION} >= 228000
-DISTFILES=      setiathome-1.2.i386-unknown-freebsd2.2.8.tar
-WRKSRC=         setiathome-1.2.i386-unknown-freebsd2.2.8
-.elif ${OSVERSION} >= 227000
-DISTFILES=      setiathome-1.2.i386-unknown-freebsd2.2.7.tar
-WRKSRC=         setiathome-1.2.i386-unknown-freebsd2.2.7
+.if ${OSVERSION} >= 310000
+DISTFILES=      setiathome-2.4.i386-unknown-freebsd3.3.tar
+WRKSRC=         setiathome-2.4.i386-unknown-freebsd3.3
 .elif ${OSVERSION} >= 226000
-DISTFILES=      setiathome-1.2.i386-unknown-freebsd2.2.6.tar
-WRKSRC=         setiathome-1.2.i386-unknown-freebsd2.2.6
+DISTFILES=      setiathome-2.4.i386-unknown-freebsd2.2.8.tar
+WRKSRC=         setiathome-2.4.i386-unknown-freebsd2.2.8
 .else
 DISTFILES=
 .endif
 
 .if make(makesum) || defined(FETCH_ALL)
-DISTFILES=	setiathome-1.2.i386-unknown-freebsd2.2.6.tar	\
-			setiathome-1.2.i386-unknown-freebsd2.2.7.tar	\
-			setiathome-1.2.i386-unknown-freebsd2.2.8.tar	\
-			setiathome-1.2.i386-unknown-freebsd3.1.tar	\
-			setiathome-1.2.i386-unknown-freebsd3.2.tar	\
-			setiathome-1.1.i386-unknown-freebsd4.0.tar
+DISTFILES=	setiathome-2.4.i386-unknown-freebsd3.3.tar	\
+		setiathome-2.4.i386-unknown-freebsd2.2.8.tar
 .endif
 
 NO_BUILD=	"binary distribution"
@@ -70,7 +55,7 @@
 	@if [ -z "${DISTFILES}" ]; then \
 		${ECHO} "It seems you are running FreeBSD `uname -r`, which is not currently";	\
 		${ECHO} "supported.  SETI@home currently supports only FreeBSD 2.2.6 and above,";	\
-		${ECHO} "FreeBSD 3.1. and above, and FreeBSD 4.0."; \
+		${ECHO} "FreeBSD 3.1 and above, and FreeBSD 4.0."; \
 		${ECHO} \
 		exit 72; \
 	fi;
diff -ruN setiathome.orig/files/md5 setiathome/files/md5
--- setiathome.orig/files/md5	Mon Jun  7 07:15:05 1999
+++ setiathome/files/md5	Wed Apr  5 12:00:00 2000
@@ -1,6 +1,2 @@
-MD5 (setiathome-1.2.i386-unknown-freebsd2.2.6.tar) = 003f80532dfa676cab5f4e4ca88d013d
-MD5 (setiathome-1.2.i386-unknown-freebsd2.2.7.tar) = bc44188baaaa4c498243a06afe9b3398
-MD5 (setiathome-1.2.i386-unknown-freebsd2.2.8.tar) = 6080aa90f864a8fe9f18a2c3b56da2cb
-MD5 (setiathome-1.2.i386-unknown-freebsd3.1.tar) = c83a6f13b3356565891558cf23a0207b
-MD5 (setiathome-1.2.i386-unknown-freebsd3.2.tar) = 7fda39ff2927fb03c315cc50de8d200b
-MD5 (setiathome-1.1.i386-unknown-freebsd4.0.tar) = c94f4935f85e3d68de066039063afd7f
+MD5 (setiathome-2.4.i386-unknown-freebsd2.2.8.tar) = 2fe0d24be297a913998c3fc110d97ee4
+MD5 (setiathome-2.4.i386-unknown-freebsd3.3.tar) = 0d9bb4cc621388a008bf81b6dcd43068
diff -ruN setiathome.orig/files/setiathome.1 setiathome/files/setiathome.1
--- setiathome.orig/files/setiathome.1	Sun Aug 29 06:56:21 1999
+++ setiathome/files/setiathome.1	Wed Apr  5 12:00:00 2000
@@ -1,5 +1,5 @@
-.\" Copyright status unkown
-.\" $FreeBSD: ports/astro/setiathome/files/setiathome.1,v 1.8 1999/08/29 10:56:21 peter Exp $
+.\" Copyright status unknown
+.\" $FreeBSD$
 .Dd May 19, 1999
 .Dt setiathome 1 LOCAL
 .Os FreeBSD
@@ -176,7 +176,7 @@
 Start-up script.
 .It Pa /var/db/setiathome/
 Primary working directory.
-.It Pa /var/db/setiathome/user_info.txt
+.It Pa /var/db/setiathome/user_info.sah
 Registration data.
 .It Pa /var/db/setiathome/ Ns Va n Ns Pa /
 Working directories for additional process
@@ -184,12 +184,12 @@
 (when running more than one instance).
 .It Pa /var/db/setiathome/ Ns Xo
 .Op Ns Va n Ns Pa / Ns 
-.Pa lock.txt
+.Pa lock.sah
 .Xc
 Lock file to prevent multiple instances to work on the same data.
 .It Pa /var/db/setiathome/ Ns Xo
 .Op Ns Va n Ns Pa / Ns 
-.Pa *.txt
+.Pa *.sah
 .Xc
 Working files.
 .El
diff -ruN setiathome.orig/files/setiathome.sh setiathome/files/setiathome.sh
--- setiathome.orig/files/setiathome.sh	Tue May 18 18:40:34 1999
+++ setiathome/files/setiathome.sh	Wed Apr  5 12:00:00 2000
@@ -35,9 +35,9 @@
 					"unable to start: ${seti_wrkdir}/${i} is missing."
 				exit 72
 			fi
-			if [ ! -f ${seti_wrkdir}/${i}/user_info.txt ]; then
+			if [ ! -f ${seti_wrkdir}/${i}/user_info.sah ]; then
 				logger -sp daemon.err -t setiathome \
-					"unable to start: please log in to SETI@home first. (${seti_wrkdir}/${i}/user_info.txt is missing.)"
+					"unable to start: please log in to SETI@home first. (${seti_wrkdir}/${i}/user_info.sah is missing.)"
 				exit 72
 			fi
 		done
@@ -57,7 +57,7 @@
 		mkdir -p ${seti_wrkdir}
 		chown ${seti_user} ${seti_wrkdir}
 		chmod u=Xrw,g=Xr,o=Xr ${seti_wrkdir}
-		if [ -f ${seti_wrkdir}/user_info.txt ]; then
+		if [ -f ${seti_wrkdir}/user_info.sah ]; then
 			echo "      It seems you have already registered with SETI@home.  Would you like"
 			echo -n "      to repeat the procedure? [Y/n] "
 			read a
@@ -78,8 +78,8 @@
 				chown ${seti_user} ${seti_wrkdir}/${i}
 				chmod 755 ${seti_wrkdir}/${i}
 				# Assume the user want's all processes to run with the same registration
-				rm -f ${seti_wrkdir}/${i}/user_info.txt
-				ln -sf ../user_info.txt ${seti_wrkdir}/${i}
+				rm -f ${seti_wrkdir}/${i}/user_info.sah
+				ln -sf ../user_info.sah ${seti_wrkdir}/${i}
 				i=`expr ${i} - 1`
 			done
 		fi
diff -ruN setiathome.orig/pkg/INSTALL setiathome/pkg/INSTALL
--- setiathome.orig/pkg/INSTALL	Tue May 18 18:40:35 1999
+++ setiathome/pkg/INSTALL	Wed Apr  5 12:00:00 2000
@@ -51,7 +51,7 @@
 
 		${RCD} register
 
-		if [ ! -f ${DBDIR}/user_info.txt ]; then
+		if [ ! -f ${DBDIR}/user_info.sah ]; then
 			echo "unable to start setiathome: it seems registration or login failed."
 			exit 0
 		fi
	

>How-To-Repeat:
>Fix:

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


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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