head 1.4; access; symbols pkgsrc-2013Q2:1.4.0.54 pkgsrc-2013Q2-base:1.4 pkgsrc-2012Q4:1.4.0.52 pkgsrc-2012Q4-base:1.4 pkgsrc-2011Q4:1.4.0.50 pkgsrc-2011Q4-base:1.4 pkgsrc-2011Q2:1.4.0.48 pkgsrc-2011Q2-base:1.4 pkgsrc-2009Q4:1.4.0.46 pkgsrc-2009Q4-base:1.4 pkgsrc-2008Q4:1.4.0.44 pkgsrc-2008Q4-base:1.4 pkgsrc-2008Q3:1.4.0.42 pkgsrc-2008Q3-base:1.4 cube-native-xorg:1.4.0.40 cube-native-xorg-base:1.4 pkgsrc-2008Q2:1.4.0.38 pkgsrc-2008Q2-base:1.4 pkgsrc-2008Q1:1.4.0.36 pkgsrc-2008Q1-base:1.4 pkgsrc-2007Q4:1.4.0.34 pkgsrc-2007Q4-base:1.4 pkgsrc-2007Q3:1.4.0.32 pkgsrc-2007Q3-base:1.4 pkgsrc-2007Q2:1.4.0.30 pkgsrc-2007Q2-base:1.4 pkgsrc-2007Q1:1.4.0.28 pkgsrc-2007Q1-base:1.4 pkgsrc-2006Q4:1.4.0.26 pkgsrc-2006Q4-base:1.4 pkgsrc-2006Q3:1.4.0.24 pkgsrc-2006Q3-base:1.4 pkgsrc-2006Q2:1.4.0.22 pkgsrc-2006Q2-base:1.4 pkgsrc-2006Q1:1.4.0.20 pkgsrc-2006Q1-base:1.4 pkgsrc-2005Q4:1.4.0.18 pkgsrc-2005Q4-base:1.4 pkgsrc-2005Q3:1.4.0.16 pkgsrc-2005Q3-base:1.4 pkgsrc-2005Q2:1.4.0.14 pkgsrc-2005Q2-base:1.4 pkgsrc-2005Q1:1.4.0.12 pkgsrc-2005Q1-base:1.4 pkgsrc-2004Q4:1.4.0.10 pkgsrc-2004Q4-base:1.4 pkgsrc-2004Q3:1.4.0.8 pkgsrc-2004Q3-base:1.4 pkgsrc-2004Q2:1.4.0.6 pkgsrc-2004Q2-base:1.4 pkgsrc-2004Q1:1.4.0.4 pkgsrc-2004Q1-base:1.4 pkgsrc-2003Q4:1.4.0.2 pkgsrc-2003Q4-base:1.4 netbsd-1-6-1:1.3.0.6 netbsd-1-6-1-base:1.3 netbsd-1-6:1.3.0.8 netbsd-1-6-RELEASE-base:1.3 pkgviews:1.3.0.4 pkgviews-base:1.3 buildlink2:1.3.0.2 buildlink2-base:1.3 netbsd-1-5-PATCH003:1.3 netbsd-1-5-PATCH001:1.1.1.1 netbsd-1-5-RELEASE:1.1.1.1 netbsd-1-4-PATCH003:1.1.1.1 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.4 date 2003.11.08.06.21.14; author xtraeme; state dead; branches; next 1.3; 1.3 date 2002.01.19.15.31.44; author jlam; state Exp; branches; next 1.2; 1.2 date 2001.07.15.14.03.13; author jlam; state Exp; branches; next 1.1; 1.1 date 2000.05.12.05.57.52; author rh; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2000.05.12.05.57.52; author rh; state Exp; branches; next ; desc @@ 1.4 log @Upgrade to 2.4.2, by Soren Jacobsen via PR pkg/23384. Changes since 1.31: * Complete rewrite by new author. * Perl no longer used * Uses curl * ~/.wmWeatherReports/ -> ~/.wmweather/ While here s/USE_X11BASE/USE_X11/, sync DESCR, MASTER_SITES and COMMENT with reality. @ text @$NetBSD: patch-ab,v 1.3 2002/01/19 15:31:44 jlam Exp $ --- GrabWeather.orig Fri Apr 16 17:41:53 1999 +++ GrabWeather @@@@ -38,19 +38,17 @@@@ $StationID = $ARGV[0]; $HTMLFileName = "$StationID.TXT"; + $FTP = "ftp -V -r 5"; $URL = "ftp://weather.noaa.gov/data/observations/metar/decoded/$HTMLFileName"; $DataFileName = "$StationID.dat"; + # $FTP must be able to fetch URLs. # - # I think some of these wget command line options may cause problems - # for some people? Dont know why... (Perhaps they have a ~/.wgetrc file - # that overrides command line options?). - # - $GrabCmd = "wget --proxy=off --passive-ftp --tries 0 -q -O $home/.wmWeatherReports/$StationID.TXT $URL"; - system "$GrabCmd"; + $GrabCmd = "$FTP -o $home/.wmWeatherReports/$StationID.TXT $URL"; + system "$GrabCmd 2>/dev/null"; @ 1.3 log @Strongly buildlinkify and remove unnecessary part of a patch that is already taken care of by REPLACE_PERL. @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.2 2001/07/15 14:03:13 jlam Exp $ @ 1.2 log @* Convert to use buildlink.mk files and mark as USE_BUILDLINK_ONLY. * Use REPLACE_PERL instead of patching GrabWeather directly. * Remove unnecessary dependency on windowmaker; only xpm is required. * Patch manpage to note that we need a FTP client that can fetch URLs, and not wget. Point out that lukemftp satisfies this requirement for inferior platforms. * Take second part of patch from pkg/13377 by Ben Wong so that ftp doesn't output to the terminal. @ text @d1 1 a1 1 $NetBSD$ a4 6 @@@@ -1,4 +1,4 @@@@ -#!/usr/bin/perl +#!/usr/pkg/bin/perl # # Grabs the latest local weather conditions from the National Weather Service (NWS). @ 1.1 log @Initial revision @ text @d3 20 a22 5 --- GrabWeather.orig Fri Apr 16 23:41:53 1999 +++ GrabWeather Tue May 2 13:50:28 2000 @@@@ -49,7 +49,7 @@@@ # for some people? Dont know why... (Perhaps they have a ~/.wgetrc file # that overrides command line options?). d24 4 d29 4 a32 2 + $GrabCmd = "/usr/bin/ftp -o $home/.wmWeatherReports/$StationID.TXT $URL"; system "$GrabCmd"; @ 1.1.1.1 log @Initial import of wmWeather-1.31, a WindowMaker DockApp showing local weather conditions. @ text @@