summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Nigbur <pyrania@gentoo.org>2004-03-28 23:47:50 +0000
committerMarkus Nigbur <pyrania@gentoo.org>2004-03-28 23:47:50 +0000
commitf157fe309b159b416cff57f44293b224cbc378cb (patch)
tree286963d3f98cc3a7ccf755d07e5b84c64e193ac8 /x11-plugins/wmSpaceWeather
parentuse virtual/modutils (diff)
downloadgentoo-2-f157fe309b159b416cff57f44293b224cbc378cb.tar.gz
gentoo-2-f157fe309b159b416cff57f44293b224cbc378cb.tar.bz2
gentoo-2-f157fe309b159b416cff57f44293b224cbc378cb.zip
Kp index location on noaa changed. Closing bug #45803.
Diffstat (limited to 'x11-plugins/wmSpaceWeather')
-rw-r--r--x11-plugins/wmSpaceWeather/ChangeLog6
-rw-r--r--x11-plugins/wmSpaceWeather/files/getkp.patch20
-rw-r--r--x11-plugins/wmSpaceWeather/wmSpaceWeather-1.04.ebuild3
3 files changed, 27 insertions, 2 deletions
diff --git a/x11-plugins/wmSpaceWeather/ChangeLog b/x11-plugins/wmSpaceWeather/ChangeLog
index 44c3e38d9f50..e8f5eb36506d 100644
--- a/x11-plugins/wmSpaceWeather/ChangeLog
+++ b/x11-plugins/wmSpaceWeather/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for x11-plugins/wmSpaceWeather
# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmSpaceWeather/ChangeLog,v 1.4 2004/03/07 16:17:03 geoman Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmSpaceWeather/ChangeLog,v 1.5 2004/03/28 23:47:50 pyrania Exp $
+
+ 29 Mar 2004; Markus Nigbur <pyrania@gentoo.org> wmSpaceWeather-1.04.ebuild,
+ files/getkp.patch:
+ Kp index location on noaa changed. Closing bug #45803.
07 Mar 2004; Stephen P. Becker <geoman@gentoo.org>
wmSpaceWeather-1.04.ebuild:
diff --git a/x11-plugins/wmSpaceWeather/files/getkp.patch b/x11-plugins/wmSpaceWeather/files/getkp.patch
new file mode 100644
index 000000000000..89215be698d8
--- /dev/null
+++ b/x11-plugins/wmSpaceWeather/files/getkp.patch
@@ -0,0 +1,20 @@
+--- wmSpaceWeather/GetKp_ 2004-03-29 01:30:43.112622032 +0200
++++ wmSpaceWeather/GetKp 2004-03-29 01:31:26.568015808 +0200
+@@ -19,7 +19,7 @@
+ }
+
+
+- $grabcmd = "cd /tmp; wget --passive-ftp --tries 2 -q ftp://www.sec.noaa.gov/pub/indices/DGD.txt";
++ $grabcmd = "cd /tmp; wget --passive-ftp --tries 2 -q http://www.sec.noaa.gov/ftpdir/indices/DGD.txt";
+ system "$grabcmd";
+
+
+@@ -68,7 +68,7 @@
+ #
+ # Add in very latest stuff
+ #
+- $grabcmd = "cd /tmp; wget --passive-ftp --tries 2 -q ftp://www.sec.noaa.gov/pub/latest/curind.txt";
++ $grabcmd = "cd /tmp; wget --passive-ftp --tries 2 -q http://www.sec.noaa.gov/ftpdir/latest/curind.txt";
+ system "$grabcmd";
+ %lmonstr = ( "Jan", 1, "Feb", 2, "Mar", 3, "Apr", 4, "May", 5, "Jun", 6, "Jul", 7, "Aug", 8, "Sep", 9, "Oct", 10, "Nov", 11, "Dec", 12);
+
diff --git a/x11-plugins/wmSpaceWeather/wmSpaceWeather-1.04.ebuild b/x11-plugins/wmSpaceWeather/wmSpaceWeather-1.04.ebuild
index 416ffbb1e79e..b4cacfcaf789 100644
--- a/x11-plugins/wmSpaceWeather/wmSpaceWeather-1.04.ebuild
+++ b/x11-plugins/wmSpaceWeather/wmSpaceWeather-1.04.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmSpaceWeather/wmSpaceWeather-1.04.ebuild,v 1.8 2004/03/26 23:10:07 aliz Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmSpaceWeather/wmSpaceWeather-1.04.ebuild,v 1.9 2004/03/28 23:47:50 pyrania Exp $
IUSE=""
@@ -16,6 +16,7 @@ DEPEND="dev-lang/perl
virtual/x11"
src_compile() {
+ epatch ${FILESDIR}/getkp.patch
emake -C wmSpaceWeather clean || die "make clean failed"
COPTS=${CFLAGS} emake -C wmSpaceWeather \