Date: Tue, 30 Jul 2002 14:57:25 +0800 (CST) From: Yen-Ming Lee <leeym@utopia.leeym.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/41150: new port: astro/setistat Message-ID: <20020730065725.D86CA3E9C16@utopia.leeym.com>
next in thread | raw e-mail | index | archive | help
>Number: 41150 >Category: ports >Synopsis: new port: astro/setistat >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Jul 30 00:00:08 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Yen-Ming Lee >Release: FreeBSD 4.6-STABLE i386 >Organization: >Environment: System: FreeBSD utopia.leeym.com 4.6-STABLE FreeBSD 4.6-STABLE #51: Tue Jul 23 05:19:48 CST 2002 root@utopia.leeym.com:/usr/obj/usr/src/sys/UTOPIA i386 >Description: SetiStat shows some data of your SETI@home client. It gives you data about the account's owner, how many work units have been returned, how much time was spent on the SETI@home project, average time for processing work units, progress of current work unit, time spent on it and some more. WWW: http://www.rexi.org/software.html#setistat >How-To-Repeat: >Fix: --- setistat.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: # # setistat # setistat/Makefile # setistat/pkg-comment # setistat/pkg-descr # setistat/pkg-plist # setistat/distinfo # setistat/files # setistat/files/patch-setistat::clientmanager.c # echo c - setistat mkdir -p setistat > /dev/null 2>&1 echo x - setistat/Makefile sed 's/^X//' >setistat/Makefile << 'END-of-setistat/Makefile' X# New ports collection makefile for: setistat X# Date created: 25 June 2002 X# Whom: Yen-Ming Lee <leeym@leeym.com> X# X# $FreeBSD$ X# X XPORTNAME= setistat XPORTVERSION= 0.4 XCATEGORIES= astro XMASTER_SITES= http://www.rexi.org/downloads/ X XMAINTAINER= leeym@leeym.com X XLIB_DEPENDS= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt X XGNU_CONFIGURE= yes XUSE_BZIP2= yes XCONFIGURE_ARGS= --with-extra-includes=${PREFIX}/include \ X --with-extra-libs="${PREFIX}/lib -lgnugetopt" X XMAN1= setistat.1 X Xpost-install: X.if !defined(NOPORTDOCS) X @${MKDIR} ${DOCSDIR} X.for file in setistat.lsm setistat.doxygen setistatrc-sample setistat.kdevprj X @${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} X.endfor X.endif X X.include <bsd.port.mk> END-of-setistat/Makefile echo x - setistat/pkg-comment sed 's/^X//' >setistat/pkg-comment << 'END-of-setistat/pkg-comment' XShows some data of your SETI@home client END-of-setistat/pkg-comment echo x - setistat/pkg-descr sed 's/^X//' >setistat/pkg-descr << 'END-of-setistat/pkg-descr' XSetiStat shows some data of your SETI@home client. It gives you data Xabout the account's owner, how many work units have been returned, how Xmuch time was spent on the SETI@home project, average time for Xprocessing work units, progress of current work unit, time spent on it Xand some more. X XThere's not much to say about it yet. You can look at it and see how all Xthe nifty numbers change while the work unit is processed. The display Xis updated every 20 seconds, but you can change that in your .setistatrc Xfile or by the --refresh command line argument. You can also press 'r' Xto update the display. Finally, if you're tired of staring at the Xscreen, you can press 'q' to quit SetiStat. XTo get a full list of possible key commands press 'h'. X XYou can find new versions of SetiStat at XWWW: http://www.rexi.org/software.html#setistat X XThis program is released under the terms of the GNU GPL version 2 or Xany later version. See the file COPYING for details. END-of-setistat/pkg-descr echo x - setistat/pkg-plist sed 's/^X//' >setistat/pkg-plist << 'END-of-setistat/pkg-plist' Xbin/setistat X%%PORTDOCS%%share/doc/setistat/setistat.lsm X%%PORTDOCS%%share/doc/setistat/setistat.doxygen X%%PORTDOCS%%share/doc/setistat/setistatrc-sample X%%PORTDOCS%%share/doc/setistat/setistat.kdevprj X%%PORTDOCS%%@dirrm share/doc/setistat END-of-setistat/pkg-plist echo x - setistat/distinfo sed 's/^X//' >setistat/distinfo << 'END-of-setistat/distinfo' XMD5 (setistat-0.4.tar.bz2) = 2c037f94773b07bda0806e06e5eed616 END-of-setistat/distinfo echo c - setistat/files mkdir -p setistat/files > /dev/null 2>&1 echo x - setistat/files/patch-setistat::clientmanager.c sed 's/^X//' >setistat/files/patch-setistat::clientmanager.c << 'END-of-setistat/files/patch-setistat::clientmanager.c' X--- setistat/clientmanager.c.orig Tue Jun 18 00:49:20 2002 X+++ setistat/clientmanager.c Thu Jul 4 00:11:43 2002 X@@ -119,14 +119,22 @@ X /* if WORKUNITFILE isn't found, processing is finished */ X snprintf(filename, sizeof(filename) - 1, "%s/%s", path, WORKUNITFILE); X if((testfile = fopen(filename, "r")) == NULL) X+ { X if(errno == ENOENT) X return TRUE; X+ } X+ else X+ fclose(testfile); X X /* if RESULTFILE isn't found, processing isn't yet finished */ X snprintf(filename, sizeof(filename) - 1, "%s/%s", path, RESULTFILE); X if((testfile = fopen(filename, "r")) == NULL) X+ { X if(errno == ENOENT) X return FALSE; X+ } X+ else X+ fclose(testfile); X X /* assume that processing isn't finished by default */ X return FALSE; END-of-setistat/files/patch-setistat::clientmanager.c exit --- setistat.shar ends here --- >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?20020730065725.D86CA3E9C16>