Date: Mon, 14 Feb 2000 02:19:11 +0100 From: Christian Weisgerber <naddy@mips.rhein-neckar.de> To: gnats-admin@FreeBSD.org, freebsd-ports@FreeBSD.org Cc: stb@FreeBSD.org Subject: Re: ports/16699: astro/setiathome obsolete Message-ID: <20000214021911.N11037@bigeye.rhein-neckar.de> In-Reply-To: <200002131540.HAA92900@freefall.freebsd.org>; from gnats-admin@FreeBSD.org on Sun, Feb 13, 2000 at 07:40:01AM -0800 References: <200002131508.QAA05933@bigeye.rhein-neckar.de> <200002131540.HAA92900@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--ZoaI/ZTpAVc4A5k6 Content-Type: text/plain; charset=us-ascii gnats-admin@FreeBSD.org: > >Category: ports > >Responsible: freebsd-ports > >Synopsis: astro/setiathome obsolete > >Arrival-Date: Sun Feb 13 07:40:00 PST 2000 I have appended a patch to bring the setiathome port up to version 2.0. This has seen very little testing, but since it has been announced that the v1.x clients will stop working, this will in any case be better than nothing. -- Christian "naddy" Weisgerber naddy@mips.rhein-neckar.de --ZoaI/ZTpAVc4A5k6 Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="setiathome.patch" diff -u -uNr /usr/ports/astro/setiathome/Makefile setiathome/Makefile --- /usr/ports/astro/setiathome/Makefile Wed Feb 9 06:32:55 2000 +++ setiathome/Makefile Mon Feb 14 01:44:01 2000 @@ -6,11 +6,12 @@ # $FreeBSD: ports/astro/setiathome/Makefile,v 1.15 2000/02/08 09:25:46 peter Exp $ # -PKGNAME= setiathome-1.2 +PKGNAME= setiathome-2.0 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 @@ -20,40 +21,23 @@ EXTRACT_BEFORE_ARGS= -xf EXTRACT_AFTER_ARGS= -MAN1= setiathome.1 +MAN1= setiathome.1 xsetiathome.1 .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.0.i386-unknown-freebsd3.3.tar +WRKSRC= setiathome-2.0.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.0.i386-unknown-freebsd2.2.8.tar +WRKSRC= setiathome-2.0.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.0.i386-unknown-freebsd2.2.8.tar \ + setiathome-2.0.i386-unknown-freebsd3.3.tar .endif NO_BUILD= "binary distribution" @@ -76,9 +60,10 @@ fi; do-install: - ${INSTALL_PROGRAM} ${WRKDIR}/${WRKSRC}/setiathome ${PREFIX}/bin - ${INSTALL_SCRIPT} ${FILESDIR}/setiathome.sh ${PREFIX}/etc/rc.d - ${INSTALL_MAN} ${FILESDIR}/setiathome.1 ${MAN1PREFIX}/man/man1 + ${INSTALL_PROGRAM} ${WRKDIR}/${WRKSRC}/setiathome ${PREFIX}/bin + ${INSTALL_SCRIPT} ${FILESDIR}/setiathome.sh ${PREFIX}/etc/rc.d + ${INSTALL_MAN} ${FILESDIR}/setiathome.1 ${MAN1PREFIX}/man/man1 + ${INSTALL_MAN} ${FILESDIR}/xsetiathome.1 ${MAN1PREFIX}/man/man1 post-install: @PKG_PREFIX=${PREFIX} PACKAGE_BUILDING=${PACKAGE_BUILDING} \ diff -u -uNr /usr/ports/astro/setiathome/files/md5 setiathome/files/md5 --- /usr/ports/astro/setiathome/files/md5 Tue Jun 8 11:49:43 1999 +++ setiathome/files/md5 Fri Feb 11 15:00:11 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.0.i386-unknown-freebsd2.2.8.tar) = 1af8c81249f97f41e8c36b2db9094300 +MD5 (setiathome-2.0.i386-unknown-freebsd3.3.tar) = ca7816ab30b9732075ae0ef95cbb2933 diff -u -uNr /usr/ports/astro/setiathome/files/setiathome.1 setiathome/files/setiathome.1 --- /usr/ports/astro/setiathome/files/setiathome.1 Sun Aug 29 22:04:00 1999 +++ setiathome/files/setiathome.1 Mon Feb 14 01:57:57 2000 @@ -1,5 +1,4 @@ -.\" Copyright status unkown -.\" $FreeBSD: ports/astro/setiathome/files/setiathome.1,v 1.8 1999/08/29 10:56:21 peter Exp $ +.\" $FreeBSD$ .Dd May 19, 1999 .Dt setiathome 1 LOCAL .Os FreeBSD @@ -11,40 +10,46 @@ .Op Ar options .Sh DESCRIPTION .Nm -is the +is the .Ux -version of the +version of the .Tn SETI@home -client. It downloads radio telescope data from a network server, analyzes -the data looking for signals of extraterrestrial origin, and uploads results -to the server, repeating this cycle indefinitely. See -http://setiahome.ssl.berkeley.edu/ for more information. +client. +It downloads radio telescope data from a network server, +analyzes the data looking for signals of extraterrestrial origin, +and uploads results to the server, repeating this cycle indefinitely. +See +.Li http://setiathome.berkeley.edu +for more information. .Pp The first time you run .Nm -it will interactively ask you for email address, name, country etc. This -info is stored in a file and no interaction is needed when you run the -program subsequently. +it will interactively +ask you for E-mail address, name, country etc. +This info is stored in a file and no interaction is +needed when you run the program subsequently. .Pp After this you can run .Nm -in the background, and direct its output to +in the background, +and direct its output to .Pa /dev/null if you like. .Pp .Nm -can be freely aborted and restarted. It saves its state in files, -and will pick up where it left off. +can be freely aborted and restarted. +It saves its state in files, and will pick up where it left off. .Pp -If you want to run multiple instances of setiathome +If you want to run multiple instances of +.Nm (on a multiprocessor machine, or on multiple machines -that share a filesystem) each one must be run -in a different directory. +that share a filesystem) each one must be run in a different directory. .Pp .Nm requires about 0.5\ MBytes of disk space per working directory, and about -12\ MBytes of memory per instance. If you have ample physical memory, it's work load -should be almost undetectable. Additionally, +15\ MBytes of memory per instance. +If you have ample physical memory, its work load should be almost undetectable. +Additionally, .Nm requires a permanent or .Dq dial on demand @@ -119,56 +124,88 @@ .Va working directory .Li && setiathome -email >/dev/null .Ed +.Pp to the user's crontab. .Sh OPTIONS .Bl -tag -width countries .It Fl countries -Show list of country codes (a numeric country code must be entered during -registration). +Show list of country codes. .It Fl email -Send email (to the email address registered with -.Tn SETI@home ) -on errors. Useful if you run -.Nm -in the background with the output directed to +Send E-mail (to login E-mail address) on errors. +Useful if you run in background directed to .Pa /dev/null . +.It Fl graphics +Generate a data stream for the +.Xr xsetiathome 1 +graphical interface. .It Fl login -Log in to or register with -.Tn SETI@home . +Login or create new account. .It Fl nice Ar N -Set +Set .Xr nice 1 -priority to +priority to .Ar N (default 1). -.It Fl proxy Va hostname Ns Xo -.Op Li : Ns Va port -.Xc -Use the HTTP proxy server -.Ar hostname -at port -.Ar port -to download work units and upload results. Alternatively, you can set the -environment variable -.Ev HTTP_PROXY . +.It Fl nolock +Omit the multiple-instance check, which uses file locking +(not available on some NFS systems). +.It Fl proxy Ar hostname : Ns Ar port +Connect to +.Tn SETI@home +server via specified HTTP proxy server and port. +.It Fl socks_passwd Ar password +SOCKS +.Ar password . +.It Fl socks_server Ar hostname : Ns Ar port +Connect to +.Tn SETI@home +server via specified SOCKS server and port. +Overrides +.Ev SOCKS_SERVER . +SOCKS versions 4 and 5 are supported. +.It Fl socks_user Ar name +SOCKS user +.Ar name . .It Fl stop_after_process -Process the current work unit and exit before uploading the result. +Stop after processing current work unit. +Do not send result. .It Fl stop_after_xfer -Process the current work unit and upload the result, then exit. +Stop after current work unit has been sent to the SETI +server and a new work unit has been obtained. +(See also +.Pa stop_after_send.sah +mentioned in +.Sx FILES +below.) +.It Fl verbose +Print a running summary of the work being done. .It Fl version Show software version. .El .Sh ENVIRONMENT -.Bl -tag -width HTTP_PROXY +.Bl -tag -width SOCKS_SERVER .It Ev HTTP_PROXY -The address (in the form -.Do Va hostname Ns +If defined, +.Nm +will connect through a proxy server, specified as +.Do Ns Va hostname Ns .Op Li : Ns Va port -.Dc ) -of a HTTP proxy server to download work units and upload results via. +.Dc . +.It Ev SOCKS_SERVER +If defined, +.Nm +will connect through a SOCKS server, specified as +.Do Ns Va hostname Ns +.Op Li : Ns Va port +.Dc . +.It Ev SOCKS_USER , Ev SOCKS_PASSWD +If defined, these will be used as the login name and password +for the SOCKS server. +Otherwise +.Nm +will query you. .El .Sh FILES -.Pp .Bl -tag -width /var/db -compact .It Pa /usr/local/etc/setiathome.conf Optional configuration file for the start-up script. @@ -176,7 +213,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,30 +221,38 @@ (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. +These should not be modified. +.It Pa /var/db/setiathome/ Ns Xo +.Op Ns Va n Ns Pa / Ns +.Pa pid.sah +.Xc +The process ID of the current instance. +.It Pa /var/db/setiathome/ Ns Xo +.Op Ns Va n Ns Pa / Ns +.Pa stop_after_send.sah +.Xc +While the client is running, touch this file in the working directory +to finish up your current work unit, return your result, and not +download a new work unit. +When the processing is finished, and the result sent, the client will stop. .El -.Sh BUGS -As of version 1.1, the proxy setting ignores the -.Va port -argument in both the option and the environment variable. -.Pp -There is currently no easy way to run -.Nm -continuosly if you don't have a permanent or -.Dq dial on demand -Internet connection. +.Sh SEE ALSO +.Xr xsetiathome 1 .Sh AUTHORS .Tn SETI@home was developed by David Anderson, Jeff Cobb, Charles Congdon, Charlie Fenton, David Gedye, Kyle Granger, Eric Korpela, Matt Lebofsky, Peter Leiser, Brad Silen, Woody Sullivan, and Dan Werthimer. .Pp -.An Stefan Bethke <stb@freebsd.org> -amended the original manual page for this FreeBSD port. +.An Stefan Bethke Aq stb@freebsd.org +amended the original manual page for this +.Fx +port. diff -u -uNr /usr/ports/astro/setiathome/files/setiathome.sh setiathome/files/setiathome.sh --- /usr/ports/astro/setiathome/files/setiathome.sh Wed May 19 00:40:34 1999 +++ setiathome/files/setiathome.sh Mon Feb 14 01:55:51 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 -u -uNr /usr/ports/astro/setiathome/files/xsetiathome.1 setiathome/files/xsetiathome.1 --- /usr/ports/astro/setiathome/files/xsetiathome.1 Thu Jan 1 01:00:00 1970 +++ setiathome/files/xsetiathome.1 Mon Feb 14 01:38:48 2000 @@ -0,0 +1,80 @@ +.\" $FreeBSD$ +.Dd Feb 13, 2000 +.Dt xsetiathome 1 LOCAL +.Os FreeBSD +.Sh NAME +.Nm xsetiathome +.Nd display SETI data under X Windows +.Sh SYNOPSIS +.Nm +.Op Fl fullscreen +.Sh DESCRIPTION +.Nm +is a graphical display for +.Xr setiathome 1 . +To use it you must run +.Xr setiathome 1 +with the +.Fl graphics +flag. +.Pp +A typical invocation of +.Nm +will look like this: +.Bd -literal -offset indent +% setiathome -graphics & +% xsetiathome +.Ed +.Pp +Alternatively, +.Nm +can be executed in screensaver mode, +which requires an external application such as +.Xr xautolock 1 . +.Sh OPTIONS +.Bl -tag -width fullscreenx +.It Fl fullscreen +Take over the entire display. +When running in this mode, any mouse presses will exit the application. +.El +.Sh SEE ALSO +.Xr setiathome 1 +.Sh BUGS +Please note, this +.Nm +binary is an initial experiment. +We are fully aware that it may have some significant bugs and +we are continuing to work on it. +Please do not report bugs on this binary at this time. +.Pp +Only one instance of +.Ic setiathome -graphics +can be operating at any one time on a system. +There is no conflict resolution with the allocated shared memory +segments and semaphores. +Therefore, only one instance of +.Nm +is practical. +.Pp +Outstanding shared memory segments and semaphores may be left +active in case of an abnormal exit of the +.Ic setiathome -graphics +process. +These can prevent any future invocation of +.Ic setiathome -graphics . +To resolve this problem, use +.Xr ipcs 1 +and +.Xr ipcrm 1 +to remove shared memory segments and semaphores that +are not associated with a process. +This behavior may vary depending upon how your +.Ux +system handles this situation. +.Pp +The +.Nm +process may affect system performance adversely. +This behavior may vary depending upon your version of the +X11 Window System client libraries and/or your X server +and its operating mode/visual depth. diff -u -uNr /usr/ports/astro/setiathome/pkg/INSTALL setiathome/pkg/INSTALL --- /usr/ports/astro/setiathome/pkg/INSTALL Wed May 19 00:40:35 1999 +++ setiathome/pkg/INSTALL Mon Feb 14 01:47:37 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 --ZoaI/ZTpAVc4A5k6-- 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?20000214021911.N11037>