Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 31 Jan 2004 20:21:00 -0800 (PST)
From:      Tom McLaughlin <tom@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/62208: astro/tkseti: update to 3.07
Message-ID:  <20040201042100.4F32543D48@mx1.FreeBSD.org>
Resent-Message-ID: <200402010430.i114ULHb047993@freefall.freebsd.org>

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

>Number:         62208
>Category:       ports
>Synopsis:       astro/tkseti: update to 3.07
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jan 31 20:30:21 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Tom McLaughlin
>Release:        FreeBSD 4.9-RELEASE-p1 i386
>Organization:
>Environment:
System: FreeBSD compass.straycat.dhs.org 4.9-RELEASE-p1 FreeBSD 4.9-RELEASE-p1 #0: Sun Dec 21 00:00:21 EST 2003 root@compass.straycat.dhs.org:/usr/obj/usr/src/sys/COMPASS i386


	
>Description:
	The program astro/tkseti was recently updated to version 3.07.  The 
attached patch updates the port as well as adds some additional bugfixes and 
features. 

- tkseti calls mozilla instead of netscape.
- added pkg-message so that users are aware of the port's default setiathome 
  directory which is different from the program's standard location.
- corrected DISTFILE location
- tkseti calls the correct version of `wish` based on the port's RUN_DEPENDS

>How-To-Repeat:
	
>Fix:

	

--- tkseti-3.07.diff begins here ---
diff -Nur tkseti.orig/Makefile tkseti/Makefile
--- tkseti.orig/Makefile	Sun Dec 14 20:33:04 2003
+++ tkseti/Makefile	Sat Jan 31 20:47:41 2004
@@ -6,10 +6,9 @@
 #
 
 PORTNAME=	tkseti
-PORTVERSION=	3.06
-PORTREVISION=	2
+PORTVERSION=	3.07
 CATEGORIES=	astro tk84
-MASTER_SITES=	http://www.cuug.ab.ca/~macdonal/tkseti/
+MASTER_SITES=	http://phileimer.9online.fr/tkseti/
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Tk-based interface to SETI@Home
@@ -18,6 +17,7 @@
 		${LOCALBASE}/sbin/setiathome:${PORTSDIR}/astro/setiathome
 
 NO_BUILD=	yes
+USE_BZIP2=	yes
 
 MAN1=	tkseti.1
 
@@ -29,5 +29,8 @@
 	${INSTALL_DATA}	${WRKSRC}/DOC ${PREFIX}/share/doc/tkseti/DOC
 	${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/tkseti/README
 .endif
+
+post-install:
+	@${CAT} pkg-message
 
 .include <bsd.port.mk>
diff -Nur tkseti.orig/distinfo tkseti/distinfo
--- tkseti.orig/distinfo	Tue Jan 27 23:34:26 2004
+++ tkseti/distinfo	Sat Jan 31 19:21:06 2004
@@ -1,2 +1 @@
-MD5 (tkseti-3.06.tar.gz) = 18022c248c55df03c9946a32875988d3
-SIZE (tkseti-3.06.tar.gz) = 171221
+MD5 (tkseti-3.07.tar.bz2) = 0851e5d1bab03b78ff756bc4779d0eee
diff -Nur tkseti.orig/files/patch-aa tkseti/files/patch-aa
--- tkseti.orig/files/patch-aa	Sun Jun 17 14:29:45 2001
+++ tkseti/files/patch-aa	Sat Jan 31 21:58:16 2004
@@ -1,14 +1,14 @@
---- tkseti.orig	Fri Jun  8 16:23:37 2001
-+++ tkseti	Mon Jun 11 10:22:48 2001
+--- tkseti.orig	Fri Jan 23 03:58:46 2004
++++ tkseti	Sat Jan 31 21:55:01 2004
 @@ -1,6 +1,6 @@
  #!/bin/sh
  # the next line restarts using wish \
 -exec wish "$0" ${1+"$@"}
-+exec wish8.3 "$0" ${1+"$@"}
++exec wish8.4 "$0" ${1+"$@"}
  #############################################################################
  # Visual Tcl v1.20 Project
  #
-@@ -189,11 +189,11 @@
+@@ -194,11 +194,11 @@
      TkSETI can be started if the client is already running, or it can start
      the client manually or automatically for you. This is explained in the
      Setup section that follows.
@@ -25,7 +25,19 @@
  
      tkseti ~/setiathome
  
-@@ -551,7 +551,7 @@
+@@ -368,6 +368,11 @@
+     KDE's kfm:  kfmclient openURL $url
+     lynx:       xterm -e lynx $url
+     
++
++    The following command is used in this FreeBSD port:
++
++    mozilla (no wrapper): /bin/sh -c "mozilla -remote 'openurl($url,new-window)'||exec mozilla $url"
++
+     Proxy Host
+     ==========
+ 
+@@ -564,7 +569,7 @@
      if {[catch {info nameofexecutable} nameofexecutable]} {
          set nameofexecutable wish
      }
@@ -34,7 +46,7 @@
  
      if {[lsearch $argv "--help"] >= 0} {
          puts \n$seti(usage)
-@@ -566,7 +566,7 @@
+@@ -579,7 +584,7 @@
      option add *highlightBackground grey85 user
  
      if {$argc == 0} {
@@ -43,3 +55,21 @@
      } {
          set seti(setidir) [lindex $argv 0]
          if {[string index $seti(setidir) 0] != "/"} {
+@@ -4871,7 +4876,7 @@
+     update idletasks
+     Window show $widget(tkseti)
+     
+-    set seti(tksetiURL)     "http://www.cuug.ab.ca/~macdonal/tkseti/tkseti.html"
++    set seti(tksetiURL)     "http://phileimer.9online.fr/tkseti/CHANGES"
+ 
+ #    set seti(statefile)     $seti(setidir)/state.txt
+ #    set seti(workfile)      $seti(setidir)/work_unit.txt
+@@ -4951,7 +4956,7 @@
+     set seti(_howto_kill)     {kill -KILL $pid}
+     set seti(_howto_pause)    {kill -STOP $pid}
+     set seti(_howto_cont)     {kill -CONT $pid}
+-    set seti(_howto_browse)   {/bin/csh -c "netscape -remote openURL\\\\($url,new-window\\\\) || exec netscape $url"}
++    set seti(_howto_browse)   {/bin/sh -c "mozilla -remote 'openurl($url,new-window)'||exec mozilla $url"}
+     set seti(_howto_statnet)  {}
+     set seti(_howto_startnet) {}
+     set seti(_howto_stopnet)  {}
diff -Nur tkseti.orig/pkg-descr tkseti/pkg-descr
--- tkseti.orig/pkg-descr	Sun Jun 17 14:29:41 2001
+++ tkseti/pkg-descr	Sat Jan 31 20:52:16 2004
@@ -3,7 +3,14 @@
 multiple directories.  It can also fetch the user's statistics from
 the seti@home web site.
 
-WWW: http://www.cuug.ab.ca/~macdonal/tkseti/
+tkseti can be started if the client is already running, or it can 
+start the client manually or automatically for you.  It will look for
+the client files in the directory /var/db/setiathome . If you've run 
+the client elsewhere, or run more than one client, just specify the 
+setiathome client directory on the tkseti command line. For example:
 
-- Pete
-petef@databits.net
+	tkseti ~/setiathome
+
+Make sure the user has write access to the setiathome directory!
+
+WWW: http://phileimer.9online.fr/tkseti/CHANGES
diff -Nur tkseti.orig/pkg-message tkseti/pkg-message
--- tkseti.orig/pkg-message	Wed Dec 31 19:00:00 1969
+++ tkseti/pkg-message	Sat Jan 31 20:51:50 2004
@@ -0,0 +1,13 @@
+***************************************************************************
+
+Make sure the user has write access to the setiathome directory!
+
+tkseti will look for the client files in the directory /var/db/setiathome .
+If you've run the client elsewhere, or run more than one client, just 
+specify the setiathome client directory on the tkseti command line. For
+example:
+
+	tkseti ~/setiathome
+
+***************************************************************************
+
--- tkseti-3.07.diff ends here ---


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



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